如需转载请注明出处:https://blog.csdn.net/qq_29350001/article/details/92798144
h
speed 4000
device = STM32F429ZI
erase
loadbin BOOT.bin 0x8000000
loadbin 正式版本.bin 0x08004000
loadbin 工厂测试.bin 0x08020000
savebin 工厂生产.bin 0x08000000 0x00080000
rx 3
qc
exit
一直在用这个脚本烧写程序,但是,细细一看有点懵。
里面 h,rx 3,qc 等的含义不太清楚。
接下来详细总结一下,Jlink都还有哪些常用的命令。
一、查看jlink命令
使用的jlink版本如下图:
jlink命令:
J-Link>?
Available commands are:
----------------------
f Firmware info(固件信息)
h halt(暂停CPU)
g go(运行)
Sleep Waits the given time (in milliseconds). Syntax: Sleep <delay>(等待给定时间(以毫秒为单位))
s Single step the target chip(单步调试目标芯片)
st Show hardware status(显示硬件状态)
hwinfo Show hardware info(显示硬件信息)
mem Read memory. Syntax: mem <