Skip to main content
Associate II
February 12, 2025
Solved

STM32H7R/S custom board with another Flash (SFDP Support)

  • February 12, 2025
  • 2 replies
  • 992 views

Hi,
I am using the STM32H7R7I8T6 in combination with the Macronix MX25L12833F on a custom board. As I understand it, I need to configure the External Memory Manager and the XSPI interface in STM32CubeMX and after initializing the flash via SFDP, the bootloader should jump into the application if the External Memory Loader is configured correctly. Am I right? It is not necessary to write a separate library for the flash and put it in memory mapped mode?

 

When debugging the External Memory Manager, the error message EXTMEM_DRIVER_NOR_SFDP_ERROR_SFDP is returned at step “4 - Analyze SFPD structure to get driver information”.
Does the External Memory Manager support all SFDP flash memory or is there something to consider?

 

Also, I am wondering if the flash memory needs to support XIP (Execute in Place) in order for me to use the flash memory?

This topic has been closed for replies.
Best answer by rdusi

Hello Omar,
thank you very much for the reply, I already tried with the help of the article, but without success. Now we have implemented a custom bootloader and external memory manager. For me SFDP didn't work with the specified flash. Wrong parameters are read in...

2 replies

ST Technical Moderator
February 17, 2025

Hello @rdusi 

Please refer to the article "How to create an external flash loader for an STM32H7RS" to set up your project correctly. 

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Saket_Om
rdusiAuthorBest answer
Associate II
February 17, 2025

Hello Omar,
thank you very much for the reply, I already tried with the help of the article, but without success. Now we have implemented a custom bootloader and external memory manager. For me SFDP didn't work with the specified flash. Wrong parameters are read in...