2011-11-02 19:20:39 +01:00
|
|
|
define connect
|
|
|
|
target remote localhost:3334
|
|
|
|
monitor cortex_m3 vector_catch all
|
2011-11-14 00:13:42 +01:00
|
|
|
# file ./build/fw_revolution/fw_revolution.elf
|
|
|
|
file ./build/bl_ins/bl_ins.elf
|
2011-11-02 19:20:39 +01:00
|
|
|
end
|
|
|
|
|
|
|
|
source CortexM3
|
|
|
|
#monitor reset halt
|
|
|
|
|
|
|
|
define hook-step
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
define hookpost-step
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
|
|
|
define hook-stepi
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
|
|
|
|
define hookpost-stepi
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
|
|
|
define hook-next
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
|
|
|
|
define hookpost-next
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|
|
|
|
define hook-finish
|
|
|
|
monitor cortex_m3 maskisr on
|
|
|
|
end
|
|
|
|
|
|
|
|
define hookpost-finish
|
|
|
|
monitor cortex_m3 maskisr off
|
|
|
|
end
|
|
|
|
|