Forum Discussion
Generic Quad SPI Controller-2 MT25QL01GBBB8E12 Write Problem.
Hi all,
I have a custom board which has two MT25QL01GBBB8E12-0SIT flash on it. One is connected to EPCQ Controller. In this one, I am using the Public API functions inside altera_epcq_controller.h and they work without any problem. Write, read, erase all working well. However my other flash is connected to Generic QUAD SPI Controller-2 and in this one, I am using the Public API functions inside altera_generic_quad_spi_controller2.h and my problem is that my read operations are working but my write operations are not working. The function returns 0 which means success but they just don't work I mean data is not written to the flash memory. I was thinking of putting another EPCQ Controller to the design however I got synthesize error that says only one epcq controller is allowed. Could you please help me about that?
Thanks,
Balerion
1 Reply
- Farabi_Altera
Regular Contributor
Hello,
Few things you can check/do:
1- Ensure WEL(Write Enable Latch) is set.
2- It is common practice to Erase the Flash before you perform flash write.
3- Verify the flash controller configuration is matching flash requirements :
i- clock frequency
ii- dummy clock cycles, address etc.
regards,
Farabi