cancel
Showing results for 
Search instead for 
Did you mean: 

How to either load the symbol table or combine ELF files?

mreed
Associate III

Working on the bootloader, it successfully downloads the binary, verifies it, programs it and jumps to it. But in the loaded application is crashing. 

Using System Workbench (Eclipse)

I had a similar problem a few years ago and I recall I loaded the application's symbol table in the debugger console, but I don't remember the commands and I have not yet found them on line.

I was also thinking: it would be a lot easier if I could simply load the bootloader and the application together as one with both symbol tables. But everything I've found for combining them removes the symbol table. And Eclipse will only let you load one ELF file.

Anyone have any ideas? :)

10 REPLIES 10

Yes, I've suggested in the past that ST change the system_stm32xyz.c file's SystemInit() to use the linker symbol to set SCB->VTOR, but a decade plus later we still have #define nonsense creating multiple dependencies when the address changes.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..