Skip to main content
Minti
Associate
February 9, 2021
Question

Write Backupcode from QSPi to SDRAM when flashing from IDE

  • February 9, 2021
  • 0 replies
  • 428 views

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

This topic has been closed for replies.