- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
How do you debug an app that was bootloaded into RAM from flash (via SREC)?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2012 06:03 PM
OK, one more question.
Assume that I am writing an app that is too large to fit into BRAM. The app can be successfully compiled, converted to SREC, and then stored in Flash. The linker script is modified to indicate that the app will run from external RAM. The sample SDK bootloader works perfectly, and loads the SREC image into RAM and starts execution. (Can see output on the console.)
Now - how the heck do I get the GDB debugger to connect to the app in RAM once it's running? It's not feasible to get the app working perfectly without a debugger, but I'm not sure how to skip over the bootloader (which is the "running app" from Eclipse's point of view) and start debugging once it jumps to my app.
Thanks-
Andy
Solved! Go to Solution.
Re: How do you debug an app that was bootloaded into RAM from flash (via SREC)?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
04-19-2012 08:05 PM











