2020-05-25 22:56:06 +00:00
|
|
|
|
|
|
|
# Setup Monitor Mode Debugging
|
|
|
|
# Per .platformio/packages/framework-arduinoadafruitnrf52-old/cores/nRF5/linker/nrf52840_s140_v6.ld
|
|
|
|
# our appload starts at 0x26000
|
|
|
|
# Disable for now because our version on board doesn't support monitor mode debugging
|
|
|
|
# mon exec SetMonModeDebug=1
|
|
|
|
# mon exec SetMonModeVTableAddr=0x26000
|
|
|
|
|
2020-04-30 03:23:59 +00:00
|
|
|
# the jlink debugger seems to want a pause after reset before we tell it to start running
|
|
|
|
define restart
|
|
|
|
monitor reset
|
|
|
|
shell sleep 1
|
|
|
|
cont
|
|
|
|
end
|