cancel
Showing results for 
Search instead for 
Did you mean: 

IAR external SPI_FLASH(W25Q128) download algorithm

HXN
Visitor

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

4 REPLIES 4

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

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

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

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
Up vote any posts that you find helpful, it shows what's working..

Can not run, if the red circle mask program of picture 1 can normally read the data of external FLASH through the download algorithm, picture 2 is not normal, please see the attachment