I’m trying to load a current project into SRAM or QSPI on my Patch, since it’s gotten too large for flash (thanks, fatfs). But I’m having some difficulties with it. Here’s what’s happened
- A while ago, I tried loading another project, a drum kit, into SRAM/QSPI. When I ran “make program-boot” it would load, briefly go through the flashing-LED phase, and then load my project and run. I didn’t have to do anything to get it to load the app.
- When I try the same on a current project, a synth, on a brand-new Daisy Patch, and “make program-boot” it gets stuck in the blinking-LED waiting-to-load app phase.
- I try loading the drum kit into SRAM and, as before, it loads automatically when I use “make program-boot”
- When I try it again with the synth, it loads the drum kit
- If I load the synth into regular flash, it works fine. But when I try again with SRAM, I get the drum kit
- Same with QSPI
I don’t see any errors when I “make program-boot” with the synth, but every time I end up getting the drum kit. I assume I am somehow failing to overwrite the drum kit app when I try to load the synth, but I don’t see how. Is there some action I need to do to clear out the SRAM or QSPI first? What is going on?
I don’t see any differences between the Makefiles of the two projects. Both are using “APP_TYPE=BOOT_QSPI” or BOOT_SRAM, and “OPT=-0s”