Problem booting from external flash memory (STM32H750, IS25LP128F)
Hello,
I am currently trying to execute and debug a program from the external flash memory (IS25LP128F) on a custom PCB I've designed based on the STM32H750VBT6 MCU. I have followed this tutorial and files from this GitHub repository to create my own external loader.
My clock configuration is as follows:
The external loader was successfully generated and I was able to write to the flash and verify that it was correctly written to using the generated external loader and STM32CUBEProgrammer. It has passed all of the tests from this file so memory-mapped mode should also be enabled.
Now, to execute the program from the external flash memory, I have been following this tutorial but I have been facing some issues:
When I change the linker settings and don't select an external loader, I get the following message
/* Specify the memory areas */
MEMORY
{
FLASH (rx) : ORIGIN = 0x90000000, LENGTH = 16M
DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K
RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K
RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K
RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K
ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K
}When I select an external loader, it manages to flash the board, but it cannot get into the main loop
I've also tried the "restart the chip and restart the debug session" as was done in the tutorial, but it still doesn't get into the main loop
I am using an ST-LINK/V2, if that makes any difference
Thank you for your help,
Vincent