Is there a uVision example of how to manage boot and application code?
He's what I know to do:
- Boot code generated as normal uVision project with vector table relocated to RAM. - Boot code runs then jumps to app code if app CRC flag found (typically at the end of code space to ensure the App update was complete. - App code offset to higher flash
I use the target memory areas in uVision to determine the App prog space. Then use right click options for source to ensure all code, variables show up in the correct place.
Is this the right way of doing it?
Whilst I'm developing the App code I still need the Boot code to be in the project so that I can JTAG for debugging.
Is there any example using uVision3 or 4?
Thanks a bunch.