background image

 

GD-Link  Adapter  User  Guide

 

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. The Company reserves all rights under such laws and 

treaties and does not grant any license under its patents, copyrights, trademarks, or other intellectual property rights. The names and 

brands of third party referred thereto (if any) are the property of their respective owner and referred to for identification purposes only. 

The  Company makes  no  warranty  of  any  kind,  express  or  implied,  with  regard  to  this  document  or any  Product, including,  but  not 

limited to, the implied warranties of merchantability and fitness for a particular purpose. The Company does not assume any liability 

arising out of the application or use of any Product described in this document. Any information provided in this document is provided 

only for reference purposes. It is the responsibility of the user of this document to properly design, program, and test the functionality 

and  safety  of  any  application  made  of  this  information  and  any  resulting  product.  Except  for  customized  products  which  has  been 

expressly identified in the applicable agreement, the Products are designed, developed, and/or manufactured for ordinary business, 

industrial, personal, and/or household applications only. The Products are not designed, intended, or authorized for use as components 

in  systems  designed  or  intended  for  the  operation  of  weapons,  weapons  systems,  nuclear  installations,  atomic  energy  control 

instruments, combustion control instruments, airplane or spaceship instruments, transportation instruments, traffic signal instruments, 

life-support devices or systems, other medical devices or systems (including resuscitation equipment and surgical implants), pollution 

control or hazardous substances management, or other uses where the failure of the device or Product could cause  personal injury, 

death, property or environmental damage ("Unintended Uses"). Customers shall take any and all actions to ensure using and selling 

the Products in accordance with the applicable laws and regulations. The Company is not liable, in whole or in part, and customers 

shall and hereby do release the Company as well as it’s suppliers and/or distributors from any claim, damage, or other liability arising 

from  or  related  to  all  Unintended Uses  of the  Products.  Customers  shall  indemnify  and  hold the  Co

mpany as well as it’s suppliers 

and/or distributors harmless from and against all claims, costs, damages, and other liabilities, including claims for personal injury or 

death, arising from or related to any Unintended Uses of the Products. 

Information in this document is provided solely in connection with the Products. The Company reserves the right to make changes, 

corrections, modifications or improvements to this document and Products and services described herein at any time, without notice. 

 

© 2022 GigaDevice 

– All rights reserved

 

 

 

Summary of Contents for GD-Link Adapter

Page 1: ...GigaDevice Semiconductor Inc GD Link Adapter User Guide Revision 2 4 May 2022...

Page 2: ...5 2 2 Connecting GD Link adapter with target board 6 3 Offline programming 6 3 1 Tool download 6 3 2 Update user code 6 3 3 Update firmware 10 3 3 1 Update prompt type 1 10 3 3 2 Update prompt type 2...

Page 3: ...update firmware situation 1 figure 3 11 Figure 3 11 GD Link adapter update firmware situation 1 figure 4 12 Figure 3 12 GD Link adapter update firmware situation 1 figure 5 12 Figure 3 13 GD Link ada...

Page 4: ...GD Link Adapter User Guide 4 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...

Page 5: ...line programming The LEDs are used to display the working status of GD Link The Figure 2 1 GD Link adapter hardware shows the position of KEY1 and LEDs on GD Link Table 2 1 The working status of GD Li...

Page 6: ...t the length of the DuPont lines not exceed 10cm Figure 2 2 Schematic diagram of GD Link adapter Table 2 2 Pin function of GD Link adapter GD Link Target Board SWD Target Board JTAG 3V3 3V3 3V3 GND GN...

Page 7: ...oad file open GD Link Programmer software click tool menu GD Link Configuration 1 Configure whether to add read protection to the target chip after downloading code 2 Select erase mode page erase or c...

Page 8: ...les supports up to eight files at the same time and download them to different address ranges of the target MCU Figure 3 3 Load the bin file Figure 3 4 Fill in the address If the MCU selection is the...

Page 9: ...GD Link Adapter User Guide 9 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...

Page 10: ...Programmer click tool menu GD Link Updata Firmware first There are two specific situations please follow the instructions of GD Link Programmer to upgrade the firmware 3 3 1 Update prompt type 1 1 Wh...

Page 11: ...ys bright In step2 GD Link LED2 is always bright The prompt interface is shown in Figure 3 10 GD Link adapter update firmware situation 1 figure 3 and Figure 3 11 GD Link adapter update firmware situa...

Page 12: ...rmware 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...

Page 13: ...figure 6 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 p...

Page 14: ...GD Link adapter update firmware situation 2 figure 2 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 indi...

Page 15: ...atic diagram of GD Link auto load signals All signals are active low When is programming the BUSY signal is low 0V The GOOD signal and NG signal are high 3 3V When programming is successful the GOOD s...

Page 16: ...ming can be started 4 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...

Page 17: ...e 17 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...

Page 18: ...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 pr...

Page 19: ...GD Link Adapter User Guide 19 Figure 4 4 Project Options in IAR Select CMSIS DAP in Debugger Setup Driver tools menu...

Page 20: ...GD Link Adapter User Guide 20 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...

Page 21: ...2 Add the new version of the GD Link Programmer to update the firmware operation process Aug 20 2020 2 3 1 Add the new version of the GD Link Programmer to update the bin file operation process 2 Sup...

Page 22: ...ary business industrial personal and or household applications only The Products are not designed intended or authorized for use as components in systems designed or intended for the operation of weap...

Reviews: