cancel
Showing results for 
Search instead for 
Did you mean: 

Hi ,I am trying to change external loader customization but using this code https://github.com/STMicroelectronics/stm32-external-loader ,but when I changing pin QSPI pin mapping according to our hardware . STM32h743I eval code Error: Data read failed

Akuma.91
Associate II
8 REPLIES 8

Ok, you've opened multiple threads on the same topic, and not responded.

If it's not working you're evidently doing something wrong.

Make sure you've got the right pins, and the right AF mux settings, and that all the appropriate clocks are enabled.

We can't see any of the code you've changed, and we don't have your hardware configuration.

External Loaders are relatively complicated to code and debug. Perhaps you have other team members you can work with on this? Get some BSP level application code working for the read, erase and write, test and debug that first.

It's going to be very hard to diagnose and debug the situation based on the detail presented. Try harder..

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

You have an STM32H743 or something else

For Bank1 GPIO pin mapping - PF6,PF7,PF9,PF8,PG6

Bank2 - PE10,PE9,PE8,PE7,PC11,PF10

clock pin - PF10

 

QSPI part number is MT25TL01GHBB8ESF-0AAT

Related https://community.st.com/s/question/0D53W00002DxSV0SAN/hii-need-some-customization-to-qspi-external-loader-in-stm32cubeprogrammerthanksamit

https://community.st.com/s/question/0D53W00002EBI3lSAH/hihow-to-access-file-menu-in-stmcubeprogrammer-i-want-to-convert-elf-file-to-stldr

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
PF10:AF9  CLK
 
PG6:AF10  NCS BK1
 
PF8:AF10  D0 BK1
PF9:AF10  D1 BK1
PF7:AF9   D2 BK1
PF6:AF9   D3 BK1
 
PC11:AF9  NCS BK2
 
PE7:AF10  D0 BK2
PE8:AF10  D1 BK2
PE9:AF10  D2 BK2
PE10:AF10 D3 BK2

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

Thanks for the suggestion. I have done basic read write is working fine , but when i am adding same pin mapping for external loader then not working. here is my both code ..

And here is my basic read write qspi code ..

Akuma.91
Associate II

Hi ,

Can you share STMcubeprogrammer latest external QSPI driver for customization.

Thanks

Amit

Akuma.91
Associate II

The code i got from github that is last update is 2019 .