Question
STM32 Application FW aware about custom bootloader
Posted on June 22, 2013 at 09:23
HI,
Should the Application FW aware about custom bootloader seating in first Flash section. In other words should I use modified linker script to build an Applicaiton FW if I'm going to have my custom bootloader in first Flash section. I think to move application 16Khigher to skip first 16K sector with bootloader. Instead of FLASH (rx) : ORIGIN = 0x8000000, LENGTH = 1M To have FLASH (rx) : ORIGIN = 0x8004000, LENGTH = 1M-16K But if you say that STM32 code is position independent I should not care about Flash origin and just to let bootloader to do the job by putting code at the right place in Flash.