We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
I wish to install a bootloader in the first sector of internal ROM (starting address 0xc00000 to 0xc01fff) of the XC164. How can I place other code (e.g. application software) to start at address 0xc02000 (sector 2) Thanks Staudinger
Here is the place to start. http://www.keil.com/appnotes/docs/apnt_138.asp
I have read this ap-note. But I don't need the bootloader, I need to know, how to locate my program on an different start address (e.g. 0xc020000). I don't know how to tell the linker, to link my object-files to this start address
I did something similar for this on the XC164. If you're using uVision, go to the L166 Misc page of the target options. I guess you want to put the bootloader into the first flash segment. In this case, set the interrupt vector table address to 0xC10000, and reserve addresses 0xC00000 to 0xC01FFF. A standard reset will start the bootloader, while an alternate reset starts the application code.