No startup script in CubeIDE?
Hi all,
Have switched to the CubeIDE from Atollic. I'm curious about the absence of the startup script (the one with gdb commands) in the CubeIDE. In my project I got a bootloader at the FLASH start and before debugging in Atollic I place these gdb commands in the script:
"
# Reconfigure vector table offset register to match the application location
set *0xe000ed08 = 0x20000
# Get the application stack pointer (First entry in the application vector table)
set $sp = *(unsigned int*)0x20000
# Get the application entry point (Second entry in the application vector table)
set $pc = *(unsigned int*)0x20004
"
So the debugger knows that the location ResetHandler is shifted.
My question is why the debugging session in CubeIDE goes with no problem even when I use the default settings and there's no startup script at all?
