2025-03-19 5:17 AM - edited 2025-03-19 5:41 AM
I have a slightly funky setup where I'm using Cube IDE with a manually created project with custom make file and linker files.
If it lives at 0x08000000 all is fine, I can debug with no issues. I want to shift it to 0x08004000 to leave space for a bootloader. I've looked at endless tutorials and posts here and cannot see what I am doing wrong.
I get various different messages. At first invoking the debugger:
No source available for "stm32f030c8_vectors() at 0x8004000"
Then if I reset and try again:
No source available for "__udivsi3() at 0x80041c4"
I've changed Set Program counter (hex) to 0x0800400
Am bored now after chasing my tail for a day or so, is anyone able to help me here and advise me what I might be doing wrong?
I will stress, with the program at 0x0800000, it's only when I change the linker to:
rom (rx) : ORIGIN = 0x08004000, LENGTH = 48K
It stops debugging.
Thanks
2025-03-19 8:54 AM
Ah, apparently M0s don't do vector table relocation.
This mioght take some working out.