Skip to main content
VPana.1
Associate II
July 20, 2025
Question

Facing an issue while creating external loader for Nucleo-G491

  • July 20, 2025
  • 4 replies
  • 690 views

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,

https://github.com/STMicroelectronics/stm32-external-loader/tree/contrib/Loader_Files/other%20devices

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.

VPana1_0-1752992257397.png

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.

VPana1_1-1752992807071.png

Could you please check my project and do needful. PFA for my loader project

Thanks

4 replies

Tesla DeLorean
Guru
July 20, 2025
Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
VPana.1
VPana.1Author
Associate II
July 21, 2025

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

VPana1_0-1753071875911.png

 

Tesla DeLorean
Guru
July 26, 2025

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?

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
VPana.1
VPana.1Author
Associate II
July 22, 2025

I am working on a project and this external loader creating a problem for me. Request your support

VPana.1
VPana.1Author
Associate II
July 26, 2025

@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. 

KDJEM.1
Technical Moderator
July 28, 2025

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.
VPana.1
VPana.1Author
Associate II
July 28, 2025

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.

 

 

VPana.1
VPana.1Author
Associate II
August 4, 2025

Hi @KDJEM.1 

Did you check the code that is attached to above. If not yet could you please check and let me know where is actual issue.