Is there an External Loader for flashing the QSPI flash?

Hi, All.
I want to flash my software to the QSPI flash using STLink and the STM32CubeProgrammer. To do so, I need an external loader. Is there such a loader to be found somewhere?
thank :slight_smile:

Hi!

Well, i was looking for the same thing a while ago and found your message. I remembered that someone else was looking for it, so i’m here to help if it is still actual.

So with AI help i managed to create one, which can program both internal and external flash (and i’m using it with a custom build which doesn’t use the provided bootloader binaries, thus keeping internal flash for some XIP code and external flash for some other code copied to ITCM and data)

libDaisy/core/Makefile have to be changed: replace
OCDFLAGS = -f $(PGM_DEVICE) -f target/$(CHIPSET).cfg
with
OCDFLAGS = -f $(PGM_DEVICE) -f ./daisy_qspi.cfg
after copying daisy_qspi.cfg.txt as daisy_qspi.cfg to the folder you run make from, and then

make program

and you will get it flashed with BOOT_NONE application (which initially could only use internal flash)

Should admit it was not an easy ride (so tricky at parts)… but i’m happy to finally have it. Let me know if it works for you :slight_smile:

daisy_qspi.cfg.txt (3.9 KB)

1 Like