2025-01-15 03:13 AM
Hello ST Community,
I’m currently working on a routed circuit where I’m interfacing an STM32H735IGT6 microcontroller with an external NOR flash memory (MT25QL512ABB1EW9-0SIT). While most operations seem to work as expected, I’m encountering an issue with programming a page, and I’d appreciate your insights.
When trying to program a page:
Programming Command Execution:
Memory Mapped Read:
Erase Operation:
Write Enable:
Address Alignment:
Flag Status Register Inspection:
I’m attaching:
Thank you in advance for your support and suggestions!
2025-01-20 03:13 AM
Hello @feten_kortoba,
Could you check the device size and the dummy cycle? The size of MT25QL512ABB memory is 512Mbits=64MBytes. So, in STM32CubeMX you need to configure Devise Size = 26.
May be this example can help you QSPI_MemoryMapped. This example has been tested with STM32G474E-EVAL
with MT25QL512ABB memory connected to QUADSPI interface. You can get inspired from this example to communicate the MT25QL512ABB with STM32H735 MCU using the OCTOSPI interface.
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.
2025-01-20 04:46 AM
Hello Kaouthar and ST Community,
Thank you for your suggestions regarding the QSPI_MemoryMapped example and the configuration of the device size and dummy cycles. I truly appreciate the guidance.
I would like to provide some additional details and clarify the steps I have taken so far:
Device Size Configuration:
I have configured the device size in STM32CubeMX as 26 to match the 512Mbit size of the MT25QL512ABB flash memory.
Dummy Cycles:
I have carefully set the dummy cycles to align with the specifications of the NOR flash, and I’ve verified that the configuration is correct.
Driver Compatibility:
I am using the driver provided by ST on GitHub for the exact NOR flash model (stm32-mt25ql512abb), ensuring compatibility.
QSPI_MemoryMapped Example:
I have already reviewed and tested the QSPI_MemoryMapped example. I also cross-checked its implementation with my code for both configuration and usage of the OCTOSPI interface.
Programming Failure:
I cannot program the first section of the NOR flash (address 0x0). After multiple attempts, I noticed:
Unexpected Behavior:
If anyone has encountered a similar issue or has further insights, I would be grateful for your support.
Thank you again for your assistance!
Best regards,
Feten Kortoba
2025-01-21 09:05 AM
Hi All,
This post has been escalated to the ST Online Support Team for additional assistance. We'll contact you directly.
Regards,
Jake
ST Support