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
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.