GD-Link Adapter User Guide List of Tables Table 2-1. The working status of GD-Link adapter represented by different LEDs ...... 5 Table 2-2. Pin function of GD-Link adapter ..................6 Table 5-1. Revision history ........................ 21...
IDE such as Keil or IAR. Another important function is offline programming. The objective of this user guide is to describe how to use GD-Link adapter to achieve the above function.
When using the GD-Link offline programming function, please download the latest version of tool GigaDevice GD-Link Programmer from website https://www.gd32mcu.com/cn/download/7?kw= and perform the following operations. 3.2. Update user code Plug GD-Link adapter into PC USB connector, LED4 will turn on, which indicates that GD-...
2. Select erase mode, page erase or chip erase. 3. Set the maximum number of programming. Figure 3-1. GD-Link adapter offline download configuration Then select the file to download, click tool menu “GD-Link->Upadata file”, and choose a specific GD MCU model.
GD-Link Adapter User Guide Next, click “Add” label and load the bin file, fill in the address of the target mcu to be downloaded in the pop-up interface box. In this process, user can add multiple bin files (supports up to eight files) at the same time and download them to different address ranges of the target MCU.
GD-Link Adapter User Guide Figure 3-5. Configure option byte After adding the bin file and configuring option bytes, click lable menu “Update” and "Yes" to update user code. Figure 3-6. Updata bin file...
Complete the above steps correctly, presses button KEY1, then LED1 will flash at the moment, it indicates that the GD-Link adapter is downloading the user code to target board. If the user code is downloaded to the target board correctly, the buzzer will sound and at the same time, LED1 will stop flashing and turn on normally.
GD-Link Adapter User Guide Figure 3-9. GD-Link adapter update firmware situation 1 figure 2 3. There are two steps in the upgrade process. In step1, GD-Link LED3 is always bright. In step2, GD-Link LED2 is always bright. The prompt interface is shown in Figure 3-10.
GD-Link Adapter User Guide Figure 3-11. GD-Link adapter update firmware situation 1 figure 4 4. When the progress bar reaches 100%, click OK to complete the firmware update. The prompt interface is shown in Figure 3-12. GD-Link adapter update firmware situation 1 figure Figure 3-12.
The prompt interface is shown in Figure 3-13. GD- Link adapter update firmware situation 1 figure Figure 3-13. GD-Link adapter update firmware situation 1 figure 6 3.3.2. Update prompt type 2 1. After clicking tool menu "GD-Link->Updata Firmware", user can directly update the firmware without powering off and then long pressing KEY1 to power on, and click “OK”...
GD-Link LED2 is always bright. The prompt interface is shown in Figure 3-15. GD-Link adapter update firmware situation 2 figure Figure 3-15. GD-Link adapter update firmware situation 2 figure 2 3. The firmware version number is displayed on the right side of the interface, indicating that the firmware upgrade is successful.
GD-Link Adapter User Guide 3.4. Auto-load signal introduction GD-Link provides some signals for the burning machine. The Figure 3-17. Schematic diagram of GD-Link auto load signals shows the definitions of the auto-load signals. Figure 3-17. Schematic diagram of GD-Link auto load signals All signals are active low.
Programming in IDE 4.1. In Keil (Version 5.26 above) for programming Power on and connect GD-Link adapter with target board via JTAG/SWD interface. Select “CMSIS-DAP Debugger” or “CMSIS-DAP ARMv8-M Debugger” in “Configure Flash Tools” Tools menu. Figure 4-1. Debug settings in Keil...
GD-Link Adapter User Guide Figure 4-2. JTAG/SWD Port selection in Keil Select “Utilities” page, and then select “CMSIS-DAP Debugger”, then click “Settings” command button, “Add” the correct flash programming algorithm according to the GD32 MCU which is using.
GD-Link Adapter User Guide Figure 4-3. Flash programming algorithm selection in Keil 4.2. In IAR (Version 8.32 above) for programming Power on and connect GD-Link adapter with target board via JTAG/SWD interface. Right-click the project name, select the “Options”.
GD-Link Adapter User Guide Figure 4-5. Debugger settings in IAR Select “JTAG or SW” interface in “CMSIS DAP->JTAG/SW->Interface” tool menu. Figure 4-6. Interface selection in IAR...
GD-Link Adapter User Guide Revision history Table 5-1. Revision history Revision No. Description Date Initial Release Jul.15, 2015 Update file Jul.8, 2019 Add instructions for new features in version 3.6 Sept.23, 2019 1. Add recommended line length range 2. Add the new version of the GD-Link Programmer Aug.20, 2020...
Page 22
Important Notice This document is the property of GigaDevice Semiconductor Inc. and its subsidiaries (the "Company"). This document, including any product of the Company described in this document (the “Product”), is owned by the Company under the intellectual property laws and treaties of the People’s Republic of China and other jurisdictions worldwide.
Need help?
Do you have a question about the GD-Link Adapter and is the answer not in the manual?
Questions and answers