This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

QSPI out of space Musca board

Hello all,

I am trying to adapt the blinky LED example of the Musca board in Keil. My new code for the secure world makes the QSPI run out of space so I removed the __USE_FLASH flag to have my code flashed to the code SRAM region. Unfortunately, I am not able to make the code boot from there. I checked the memory map and everything seems to be where desired...but still the Musca board is not booting from 0x10000000 Any suggestion? 

Thank you in advance!

  • Hello there,

    Not sure if the problem is solved but from what I know the system resets from the QSPI. If you want to run code from the SRAM you can use the debugger. Otherwise, you have to load the code to the QSPI memory and in runtime copy the text to the SRAM. To do that you have to change your linkerfile in order to have the text section LMA as QSPI and the VMA the SRAM.

    Cheers