2019-10-17 02:06 AM
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
2019-10-22 01:43 AM
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
2019-10-22 01:51 AM
See profile page
2019-10-22 07:39 AM
Thank you, some beer will be consumed in your honour..