2025-07-19 11:31 PM - edited 2025-07-21 11:45 PM
Dear @Tesla DeLorean and @KDJEM.1
I am using NUCLEO-G491RE board and i want to create external flash loader for W25Q64JVSSIQ QSPI flash memory. I used external loader files from Github and build the .stldr file and placed in CubeProgrammer. when i try to read from 0x90000000 location, i am getting read failure error. I used the below path to create external loader for W25Q64JVSSIQ QSPI flash memory,
Driver code is working fine since I am able to see the data in memory mapped mode with test code provided in the github link.
But, when create a external loader using github files and placed .stldr file into cubeprogrammer and working on read/write/erase and these operations are failing.
Could you please check my project and do needful. PFA for my loader project
Thanks
2025-07-20 9:34 AM
https://github.com/cturvey/stm32extldr/tree/main/g4_w25q64
Try the PB10,PB11, PB1,PB0,PA7,PA6
2025-07-20 9:24 PM
Dear @Tesla DeLorean ,
Thanks for your quick feedback. I've tried with the above mentioned option and still read, erase and write operations are failing.
I am seeing Init function fail when i set log level to 3
Below is the reference screenshot
2025-07-21 11:46 PM
I am working on a project and this external loader creating a problem for me. Request your support
2025-07-25 10:46 PM - edited 2025-07-25 10:53 PM
@KDJEM.1 : I have seen you are giving feedbacks on external loader. Could you please support on this issue. If you are busy with your tasks, could you please recommend to your colleagues.
2025-07-26 5:56 AM
I'll have to double check. Typically mine will fail Init() if the devices don't report as expected. What does READ ID report in your application space BSP/CSP implementation?
2025-07-26 9:54 AM
Hi @Tesla DeLorean ,
Thanks for your reply.
Device ID is reading correctly. For W25Q64JVSSIQ, Device is = 0xEF 40 17
// Manufacturer ID = w25q64_jedec_id[0]; // 0xEF (Winbond)
// Memory Type = w25q64_jedec_id[1]; // 0x40
// Capacity = w25q64_jedec_id[2]; // 0x17 for 64Mbit
CSP Implementation Screenshot:
2025-07-28 6:56 AM
Hello @VPana.1 ;
Could you please check the dummy cycle number and the hardware connection.
I recommend you referring to MOOC - External QSPI loader how to - YouTube and get inspired to check your configuration.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-07-28 8:21 AM
Ok
I've looked over the code I have, and not finding specific issues with it, but also I don't have equivalent hardware to test on the G4. Or whether the G474 and G491 differ in implementation details.
2025-07-28 4:47 PM
Hi @KDJEM.1 ,
Thanks for your feedback. I am exactly following the same as mentioned in the MOOC.
Using 6 dummy cycles for MemoryMappedMode()
PFA for external loader project. Please the source files and let me know if any modifications are required.