2026-04-15 2:54 PM - last edited on 2026-04-16 3:53 AM by mƎALLEm
I am using STM32H7R7L8H with MX25L12833F external memory. I created a project with has bootloader, application and external memory loader.
Before starting this project I opened another to test if I can read/write/erase MX25L12833F. By using XSPI in Quad mode I could do all the operations.
Below I shared the configuration:
XSPI1:
EXTMEM_LOADER:
EXTMEM_MANAGER:
With this configuration I built the project and it generated external loader. In STM32CubeProgrammer I can read MX25L12833F memory, it can do mass erase too but it can't do sector erase.
I created an application hex which is located at 0x90000000 and tried to write this file to external memory by using generated loader. Here is the result:
When I read the memory I see this:
How can I fix this problem? Thank you.
2026-04-16 9:09 AM
Hello @kb24
Please refer to the article below:
How to create an external flash loader for an STM3... - STMicroelectronics Community