GigaDevice GD-Link Console User Manual
- June 13, 2024
- GigaDevice
Table of Contents
GigaDevice GD-Link Console
Version: English V 1.0
Pages: 4
Product Information
The GigaDevice GD-Link Console is an application used to operate the flash or config GigaDevice MCUs. It requires a USB cable and GD-Link adaptor for operation. The GD-Link CLI tool allows users to interact with MCUs at high speed.
Function Description
The GD-Link CLI tool enables users to download application programs to the internal flash memory or secure chip of GigaDevice MCUs.
Operating Environment
Software Requirements: Chinese or English Windows XP, Windows 7, and advanced operation systems.
Hardware Requirements: GD-Link adapter (refer to the GD-Link Adapter User Manual).
Package Composition
All files listed in Chart 1 are required.
Product Usage Instructions
Command Set
The available commands are:
-
? : Show the help
-
mem : Perform memory operations (mem8, mem16, mem32)
-
w1, w2, w4 : Write data to memory
-
erase : Erase memory
-
r, g, h : Read memory
-
step : Execute program step by step
-
loadbin : Load a binary file
-
savebin : Save data to a binary file
-
SetPC, SetRDP, ReadAP, WriteAP, ReadDP,
WriteDP: Perform specific operations -
si, sd, q : Additional commands
Other Usage
The GD-Link CLI tool can also be used with bat scripts. Refer to Chart 2 for an example of a bat file content and Chart 3 for an example of a test.gdlink file content.
For more detailed information and instructions, please refer to the complete GigaDevice GD-Link Console User Manual.
1. Introduction
This user manual describes an application used to operate the flash or config GigaDevice MCUs with available USB cable and GD Link adaptor. GD Link CLI is a tool for the user to use MCUs with high speed.
Function description
With GD Link CLI , user can download the application program to the internal f
lash memory or secure chip and so on
Operating environment
Software Requirements Chinese or English Windows XP 、 Windows 7 and advanced
operation systems.
Hardware Requirements: GD Link adapter , referring to the GD Link Adapter User
Manual .
Package composition
A ll files listed in Chart 1 are required.
Instructions
Command set
The command set is as follows:
Command | Remarks |
---|---|
? | Show the help |
mem | Read memory. Syntax: mem [ |
--- | --- |
mem8 | Read 8-bit items. Syntax: mem8 [ |
mem16 | Read 16-bit items. Syntax: mem16 [ |
mem32 | Read 32-bit items. Syntax: mem32 [ |
w1 | Write 8-bit items. Syntax: w1 [ |
w2 | Write 16-bit items. Syntax: w2 [ |
w4 | Write 32-bit items. Syntax: w4 [ |
erase | Erase internal flash of selected device. Syntax: Erase |
r | Reset target |
g | go |
h | halt |
step | step |
loadbin | Load *.bin file into target memory. Syntax: loadbin |
SetPC| Set the PC to specified value. Syntax: SetPC
SetRDP| Set the RDP(Read Protect) to specified level. Syntax: SetRDP
ReadAP| Read a CoreSight AP register. Syntax: ReadAP
WriteAP| Write a CoreSight AP register. Syntax: WriteAP
ReadDP| Reads a CoreSight DP register. Syntax: ReadDP
WriteDP| Write a CoreSight DP register. Syntax: WriteDP
si| Change target interface. Syntax: si
sd| Set up the device Part No. manually. Syntax: sd
q| Quit
Other usage
GD Link CLI can also be used by the bat script, like in chart 2.
Read User Manual Online (PDF format)
Read User Manual Online (PDF format) >>