cancel
Showing results for 
Search instead for 
Did you mean: 

Programming stm32h5 board with screen & NOR flash fails: can't erase

dianzijun
Associate II

I drew a board of stm32h503rbt6, including a screen and a NOR flash. The flash model is mxl6433f. Currently, the problem I'm facing is that when I try to program the board using stprogram, I encounter an error that the programming cannot be completed. The error message shows that the memory deletion failed. I have been looking into it for a week, but still haven't been able to solve it. I hope a senior can help me with it.I'm really in a bad mood right now.

dianzijun_0-1761020139628.png

 

6 REPLIES 6
LouisB
ST Employee

Hello @dianzijun,

Have you set the external loader ? How to implement and use your own external flash l... - STMicroelectronics Community.

Br,

Louis BOUDO
ST Software Engineer | TouchGFX

Yes, I achieved this by integrating a touchgfx official screen board, whose name is GFX01M2. I combined its display with that of the main control board. The flash pins we

dianzijun_0-1761123744633.png

 

re exactly the same as those of the official version.

Can it be solved? I'm really anxious, bro.

mathiasmarkussen
ST Employee

To flash the external flash on the display board, you will need to use an external loader, which is provided with the project. The easiest way to use it is to build and flash you application using the "Run Target" button in TouchGFX designer.

If you prefer to build in another environment and flash with CubeProgrammer, you will need to add the external loader.

Copy the file MX25L6433F_STM32H503B-NUCLEO.stldr from the gcc subfolder in your project into C:\Program Files\STMicroelectronics\STM32Cube\STM32CubeProgrammer\bin\ExternalLoader, or equivalent if you have installed CubeProgammer in another location than the default.

Then you need to select the loader in the CubeProgrammer interface, after which you should be able to program the board:

mathiasmarkussen_0-1761647332009.png

 

dianzijun_1-1761652177348.png

 

Yes, I selected the corresponding flash burning file, but still got an error message.

I would like to ask if there is any customer service and if there is a contact number. I don't know what to do and there is no solution available online either.If you have time, could you please contact me via WeChat? This is my WeChat ID: F_1216_.