Skip to main content
Associate
November 30, 2024
Question

IAR external SPI_FLASH(W25Q128) download algorithm

Please give an example of IAR external SPI_FLASH(W25Q128) download algorithm for STM32F429IG, thank you

This topic has been closed for replies.

4 replies

Tesla DeLorean
Guru
November 30, 2024

Check what documentation and examples IAR provides for .flash and .mac implementations

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
HXNAuthor
Associate
November 30, 2024

At present, it is modified on the download algorithm provided by IAR, and now it can be downloaded to external FLASH, but it does not jump to the main function. Attached is my project, including download algorithm and test project, please help me modify it, thank you

Tesla DeLorean
Guru
November 30, 2024

What doesn't jump to the main() function?

The W25Q128 is on SPI4

PE4 CS

PE2 SCK

PE5 MISO

PE6 MOSI

Your function,if it's running properly should read 100 bytes into a buffer, and then loop.

Does any of that run?

Any other code you've written run?

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