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

Which pins do you use for your board (i assume your board is custom. different from disco)? Have you ever test my code or did you write your own yet?

Did they share any external loader?

I do not know. I have not found.

Can you change the pin defs and try my code, so i can know is it all about me or not?

changed. does not work (((

I looked but i could not either. Can you test my code? And please let me know.

Can you add it some debug so identify what is going on??

What is your current status? Did you make it work?

lexabps
Associate II

Thanks a lot. Did you make it work?