2024-05-28 01:25 AM
Hello,
I have an STM32H750B-DK board which includes two quad SPI flash chips (MT25QL512ABB8ESF-0SIT x 2).
When I use STM32CubeProgrammer to write or erase the external flash, the erase operation can only be done in 128KB units.
I thought the sector size of the flash was 64KB.
Why does STM32CubeProgrammer show the flash size as 128KB?
Thank you for your help.
Solved! Go to Solution.
2024-05-28 03:27 AM
The memory has two die, in Dual Mode access is interleaved at a byte level. So it erases two 64K pairs giving 128K
Could probably be adopted to do 4K pairs for 8K. Some compelling reason to do that? Kind of makes the sector erase dialog unmanageable.
2024-05-28 02:41 AM
Hello @nonoriri and welcome to the Community :),
This external loader is configured to support MT25TL01G memory mounted on STM32H750B-DK.
The presence of two quad-mounted series allows for the selection of various sector erase sizes, such as 64x2, 32x2, 4x2, or 64, 32, 4. The determination of the appropriate sector size is contingent upon the preferences of the flash loader developer.
If there will be a requirement to modify the sector size, it is necessary to develop a flash loader that is tailored to the specific sector size needed for the particular application. May this Mooc can 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.
2024-05-28 03:27 AM
The memory has two die, in Dual Mode access is interleaved at a byte level. So it erases two 64K pairs giving 128K
Could probably be adopted to do 4K pairs for 8K. Some compelling reason to do that? Kind of makes the sector erase dialog unmanageable.