2021-02-09 01:12 AM
My application is executed from flash and external SDRAM.
I have a bootloader(seperat project) that saves the volatile SDRAM content on a QSPI.
Normaly my application is applyed by a .hex file that is located on the SD-Card.
So my bootloader can clearly decide if the QSPI needs to be updated or not.
The Problem now is that if i'm flashing via IDE the bootloader always takes the old code from the QSPI.
Is there a way where i can tell my bootloader that im flashing via IDE?
Or is there no other way then to write two seperat bootloaders?
I'm useing:
STM32F767NI
Segger Debugger
TrueStudio