[GD32450I-EVAL] Unpack and power on to build a development environment
[Copy link]
This post was last edited by tinnu on 2020-9-13 23:08
1. GD32F4
The GD32F4 series is the earliest M4F core MCU I know of in China. Several other series such as F3 and E1 are M4 cores without hardware FPU, which have obvious disadvantages in some computing scenarios. In addition, the main frequency of F450 is as high as 200MHz, which was the single-chip system with the highest main frequency before those cross-border processors came out.
(ii) GD32450I-EVAL
First, here's a disassembly photo. I didn't want to remove the screen because it's easy to bend the pins every time I pull out the array. But when I was developing the touch screen, I found that there was no information about the touch chip in the development board manual...
1-The board does not directly bring out the serial port, nor does it convert to USB, but converts to 232, using the MAX3232 chip. However, I did not have a female-to-female 232 connector at the moment, so I could not do the serial port experiment.
2- The onboard GD-Link emulator only has the emulation function as always, and the virtual serial port is not included
3-SDRAM is a 16M Micron 48LC16M, which is quite standard. Most boards have this type of external SDRAM.
4- I was really shocked when it came to the external nandflash. The model is GD9FU1G8F3A, GigaDevice’s own 1Gb nandflash. They are so generous with their own products. At this time, I remembered that GigaDevice’s homepage was originally flash…
5- In addition, there is a SPI flash, which is also a self-made product. As long as your program is not earth-shattering, there will be no shortage of space...
6- There are also TF card slot, network port, DCI camera, it can be said that it has everything you need.
7-The most important thing is the screen with RGB interface. It is rare to see MCUs from other manufacturers with such an interface in China. I have the impression that China Core Micro seems to have it, but their M4 does not have FPU. The only one left is Xintang's M481.
I originally had a CD, but where can I find a CD-ROM drive these days...
(III) Power on
When I first got it, it was a bit difficult to power on. I plugged the USB into the GD-Link, but it didn't respond. I also plugged the USB FS into the GD-Link, but it didn't respond. I once suspected that it was GG right after I got it.
But after reading the manual carefully, I found that JP4 needs to jump code to select the power supply method...
When powered on, a camera demo is displayed. You can also take photos by pressing the button. However, the image quality is not very good. I wonder if there is something that needs to be optimized in the demo.
4. Download firmware library and MDK ADDON
http://www.gd32mcu.com/cn/download/7?kw=GD32F4
(V) Configuring the development environment
After adding ADDON, create a project and copy the following file to the directory:
Add path:
.\Application;.\Utilities;.\Lib\Include;.\CMSIS\Include;.\CMSIS;.\Application\littlevglAdd
macro definition:
USE_STDPERIPH_DRIVER,GD32F450
I am using a project that flashes LEDs via systick interrupts. After downloading, the onboard LED1 flashes with a period of 1s.
The original official project is quite magical. Even the system viewer file under the target page is located by itself. Even if the addon is not installed, it can be compiled and downloaded normally. I saw an application manual (GD32F103xx-AN001-Software-Migration-Guide.pdf) saying that because MDK did not support F4 before, it can only be configured in this way.
However, even if the addon is installed, the GD device cannot be found.
first-creater.rar
(14.61 MB, downloads: 41)
Additional content (2020-10-6 20:38): Correction: the SDRAM of this Micron 48LC16M is 256M...
|