官方参考文档:J-Link Commander - SEGGER Wiki
一、运行
打开windows命令行窗口,找到有jlink.exe文件的地方,直接输入jlink.exe即可运行
二、常用命令
输入命令时候,大小写不影响
Command (long) | Command (short) | Explanation | Example |
Basic | |||
? | ? | Show information about all or specific commands | |
Exit | Exit | Close J-Link connection and quit | |
Configuration - J-Link | |||
SelectProbe | SelPrb | Show list of all connected probes via specified interface. The Probe to communicate with can then be selected | SelectProbe USB IP |
ShowEmuList | ShowEmuList | Show list of all connected probes via specified interface | ShowEmuList USB IP |
USB | USB | Connect to J-Link via USB | 1、USB 600100000 2、USB J-Link |
Configuration - Target (CPU) | |||
Connect | Con | Connect to target device | |
Device | Device | Select specific device J-Link shall connect to | |
Debugging | |||
Halt | H | Halt CPU | |
Reset | R | Reset CPU | |
Debugging - Memory operation | |||
Mem | Mem | Read memory and show corresponding ASCII values | Mem 0x0 0x100 |
Mem8 | Mem8 | Read 8-bit items | mem8 0x08000000 16 |
Mem16 | Mem16 | Read 16-bit items | Mem16 0x0 100 |
Mem32 | Mem32 | Read 32-bit items |