Problems with MT25QL512
Hello, i followed the tutorial with two momories. First with MT25QL128 (which worked very well), and now i'm trying with the MT25QL512. However, the test code stops in the memcmp check. When i see the flash via Programmer this is what i see, which seems ok. However, when i upload the test .bin file, this is the result, which is not perfectly as expected.
Hello, the problem occurs also with STM32H743IIT MCU. I'm following exactly your guide, maybe there is something wrong in the MT25QL512 driver.
Hello,
MT25QL512 driver was developed on PCB board with Dual bank option (two ext. memories). So, some commands are send twice. For example auto polling mode uses:
sConfig.Match = 0x0000; sConfig.Mask = 0x0101; sConfig.MatchMode = QSPI_MATCH_MODE_AND; sConfig.StatusBytesSize = 2;
(it check both memories)
You can go through the code and change it back to one command.. (single bank)
Best Regards, JV
út 26. 1. 2021 v 1:00 odesílatel albertomercurio [email protected] napsal:
Hello, the problem occurs also with STM32H743IIT MCU. I'm following exactly your guide, maybe there is something wrong in the MT25QL512 driver.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/vlcekji2/External-Loaders/issues/4#issuecomment-767190144, or unsubscribe https://github.com/notifications/unsubscribe-auth/AENN7G3ZYI5EOFNBAS5H4ZTS3YA2XANCNFSM4TWMMB4Q .
A changed the define DUMMY_CLOCK_CYCLES_READ_QUAD from 10 to 8, and now it seems to be working! I don't know how it is affidable reliable, but it works well! Furthermore, how can i change it to one command? Something like this?
sConfig.Match = 0x00; sConfig.Mask = 0x01; sConfig.MatchMode = QSPI_MATCH_MODE_AND; sConfig.StatusBytesSize = 1;