cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F7 QSPI Flash External Flash Loader

yldzmuhammed
Associate III

Hello to everyone.

I am currently developing a project using STM32F750N8 and W25Q128. As you can guess, the project has an LCD. So the project is too big to fit into the internal memory. That's why I need an external memory integrated programming.

I develop the software with Keil and use the Jlink programmer.

I know that i need to the External Flash Loader for this operation. That's why I developed one.

But it doesn't work as it should. I also added UART for debug purposes. It works quite unstable.

Sometimes Init function doesn't work, sometimes the sector erase fails, sometimes the full chip erase fails, sometimes everything works, but the verification fails. Verification is never successful, though.

I have developed an application that runs on the internal memory, and I can sector/full chip erase and write any data in the external memory.

I also monitored the voltage from the flash chip ic from VCC pin using an oscilloscope. 3.3V. Just as it should be. When wiping, writing, reading, the voltage is exactly as it should be. But I didn't get a stable result.

I have prepared the attached project.

Can someone take a hand?

36 REPLIES 36

no opportunity

lexabps
Associate II

Not work​

Try http://openocd.zylin.com/4321. Take config file for stm2f746g-disco and adjust the GPIO setup (that's quite simple, you can do this even manually).

About 150 kByte/s with STLink-V2, with STLink-V3 close to 1 MByte/s.

lexabps
Associate II

Thanks to all. The problem is resolved. The chip is defective.

So you saying that when you replace with new chip, the problem solved.Correct?

Yes