cancel
Showing results for 
Search instead for 
Did you mean: 

STM32F469 external QSPI loader

PaulQ
Associate III

Hello, I am trying to create an external loader for N25Q128A QSPI. I'm currently developing on STM32F469I-DISCO. My loader doesn't work once loaded into STM32 ST-LINK utility (nor in CUBE programmer). If I modify my project adding a main file with a test sequence and I modify my scatter file I can debug normally, flash get correctly initializated, red etc. Please notice my loader is based on HAL.

Perhaps something related with address relocation ? I added  --keep=dev_inf.o control to my linker and flagged "Read-Only Position Independent" and "Read-Write Position Independent" flags, but no relief until now.

Thank you for help/suggestions

12 REPLIES 12

Hello Clive !

Yes, your loader is working !......and tonight at 1 AM also mine started to work !

I had to avoid using global variables, perhaps loader maps them in unsafe memory space (strange, linker map was OK and I used "standard" scatter file)

Funny, your stldr is 7K and mine is 965K :o

May I offer you a couple of beers ? Send me your email for Paypal

Thank you again, cheers

Paolo

See profile page​

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..

Thank you, some beer will be consumed in your honour..

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..