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
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.
Erik
But what happens next is determined by the software...
ST Provide several bootloader examples for the STM32 - have you looked at them?
Look for the Application Notes about IAP (In-Application Programming).