cancel
Showing results for 
Search instead for 
Did you mean: 

where should i check for proper read,write,erase function for fmc_norflash

mbed_engr
Associate II

Regarding FMC NOR Flash, I recently posted about creating my own external loader for the MT28EW01GABA 1Gb NOR Flash on an H753 custom board. Experts advised me to first create a proper BSP (Board Support Package) program to handle read, write, and erase operations, so I resumed work on this after completing the UI design. I used the example provided in C:\Users\abbab\STM32Cube\Repository\STM32Cube_FW_H7_V1.11.2\Projects\STM32H743I-EVAL\Examples\FMC\FMC_NOR.

When running this example, I was able to see the manufacturer ID and Device ID 1&3 alone in the memory browser. However, I need guidance on how to properly enable and verify read, write, and erase operations for the NOR Flash. Could you please guide me on how to check if these functions are working correctly? is this hal library itself enough for bsp and create own loader.

Screenshot (1232).png

Screenshot (1234).png

Best regards,
mbed_engr

1 REPLY 1
KDJEM.1
ST Employee

Hello @mbed_engr,

 

You can use the UART to print a message or toggle LED to check if the WriteReadStatus is passed or not.

For example , once the binary is loaded, you should see the LED on the  board toggling every T. This verifies that the FMC configurations for the NOR flash are done correctly. If you see the LED set permanently and not toggling, this shows that your FMC configurations were incorrect.

Could you please take a look at this article may help you.

 

Thank you.

Kaouthar

 

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.