This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Debugging with a bootloader

I have written a bootloader for a cortex-M1 processor that starts at 0x0. It correctly loads the code I have stored in a serial flash chip to RAM starting at 0x60000000. I can successfully go through the debugger with this project and then when I jump to my other projects reset vector I can correctly go through the assembly.

However, I do not want to go through the assembly of my main application I want to debug it like a normal project. What is the best way to do this?

Right now I have two separate projects with each having their own main.c files. If I have to combine the projects, what is the best way to do that?

Parents
  • Doesn't seem to work, do I need to have the projects in a multi-project workspace? Otherwise, as soon as I hit debug on the main application it just executes code skipping any set breakpoints unless I manage to stop the program, and then it will respond to break points if I resume running.

Reply
  • Doesn't seem to work, do I need to have the projects in a multi-project workspace? Otherwise, as soon as I hit debug on the main application it just executes code skipping any set breakpoints unless I manage to stop the program, and then it will respond to break points if I resume running.

Children