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

How to change the application start address?

Hi,

I'm using the STM32F103ZD uC and the Keil IDE uVision V4.03q.

I would like to place my default application at the lowest flash address 0x0800 0000 and I like to place my bootloader at address 0x0801 F000.

My question is: what do I need to make my bootloader startup first?
Or is that impossible? I do not want to use the external bootmode pins.

If that's not possible I will have to swap both application locations.

Thanks,

Henk

Parents
  • The Keil tools can't affect the startup address. You have to settle for the alternative boot addresses that the datasheet for you chip documents. If the chip has external boot mode pins and you don't make use of them, then the datasheet will tell if there are any other options (programmable fuses, auto-detected memory layout tables, ...)

    But always try to go the simple route, following the KISS principle (Keep It Simple Stupid). Extra complexities will hurt sometimes in the future when you can't afford it.

Reply
  • The Keil tools can't affect the startup address. You have to settle for the alternative boot addresses that the datasheet for you chip documents. If the chip has external boot mode pins and you don't make use of them, then the datasheet will tell if there are any other options (programmable fuses, auto-detected memory layout tables, ...)

    But always try to go the simple route, following the KISS principle (Keep It Simple Stupid). Extra complexities will hurt sometimes in the future when you can't afford it.

Children