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

Locating Code

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

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

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

Children
No data