dajing/daplink.cfg

19 lines
357 B
INI
Raw Normal View History

2024-05-26 21:02:35 +08:00
# choose st-link/j-link/dap-link etc.
# choose CMSIS-DAP Debugger
adapter driver cmsis-dap
# select SWD port
transport select swd
# 0x10000 = 64K Flash Size
# 1MB on robomaster-C
set FLASH_SIZE 0x100000
source [find target/stm32f4x.cfg]
# download speed = 10MHz
# 10MHz on FireDebugger
adapter speed 10000
# connect under reset
# reset_config srst_only