basic_framework/daplink.cfg

34 lines
543 B
INI

# choose st-link/j-link/dap-link etc.
# choose CMSIS-DAP Debugger
##adapter driver dap-link
# 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
source [find interface/cmsis-dap.cfg]
transport select swd
# increase working area to 64KB
set WORKAREASIZE 0x10000
source [find target/stm32f4x.cfg]
reset_config none