2021-10-15 04:33 AM
Hi,
I used MT25QL128 flash memory in my project. This product was obsolute then, I decided to use AT12SF128 flash memory instead of MT25QL128 . Now, I use STM32 Cube Programmer and can not write external memory . Program give "memory edition verification error".
help please?
2021-10-15 04:51 AM
Hi,
I have the same problem. I haven't solved yet. If you solve , can you share the solution?
Thank you
2021-10-15 09:36 AM
Zero hits on AT12SF128
https://www.adestotech.com/wp-content/uploads/AT25SF128A.pdf
https://www.dialog-semiconductor.com/sites/default/files/2021-02/DS-AT25SF128A-168.pdf
You'd likely need code your own loader, or get one written.
Step#1 would be to get your own BSP code working to read, write and erase the memory device.
What STM32? What pins?
Convey some actual details of your implementation.
2021-10-15 04:04 PM
Thank you for your suggest.
I wrote ".stldr" file for MT25QL128. Pins are quadspi IO pins for my own microcontroller(STM32F746). I arranged gpio settings for these pins in loader code. It work with MT25QL128 . However, these configurations do not work for AT12SF128. Also, pins are same because pcb board is not changed. I can do chip erase and sector erase but I cant read and write in external memory.
2021-10-16 12:49 AM
Hm, the AT25S128 seems to use a rather conventional instruction set. As long as the block protection bits in status register remain cleared, loader code for MT25QL128 should work after some simple modifications:
In a sense, the AT25S128 is much simpler than the MT25QL128 as there is no configuration required/possible (no QE bit, no Enter Quad Mode). Since chip erase and sector erase works, all boils down to the *different* 1-line/4-line mix for read/program and the extra M byte for read.
2021-10-16 06:53 AM
AT25S128
>>Also, pins are same because pcb board is not changed.
Ok, but that doesn't establish what they are for people outside your immediate orbit. Did you copy the STM32F746 DISCO or EVAL board design?
You don't identify the .STLDR you where using, this establishes part/board details baked inside.
2021-10-16 07:54 AM
@NDura.16 can you expand on details about your platform and implementation.
Do you have a serial port for debugging? Which pins/usart ?
2021-10-18 11:08 AM
Can one of the parties here please establish the model of STM32 involved, the pins used for QSPI (explicitly state the ones you've used/chosen), and the availability of a debug/diagnostic UART connection (again explicit pins, and clocking source for your design)
Again if the board copies the DISCO or EVAL reference design, these details would also be useful in building a test BSP, and External Loader.
2021-10-19 01:07 AM
Microcontroller is STM32F746IGT , then I use PB2(CLK), PF8(IO0) , PF9(IO1), PF7(IO2), PF6(IO3) , PB6(CS). I used default STM Loader code. I changed this code for these pins. Now, I make chip erase and sector erase. But, I do not read in memory, show in picture. My read command is "0x6B" .
I have progressed on the subject but could not reach the result.
2021-10-21 10:33 AM