Skip to main content
YJMoon
Associate III
Jan 8, 2020 4:41 AM UTC
Solved

Problems in developing a custom external loader.

H​ello.

I am trying to make a touchgfx demo using stm32f767 apollo board.

However, I was stuck while applying a custom external loader using w25q256.

I've modified the code from my existing 746-disco demo and it doesn't work at all.

Dose anyone have examples or references that use the sw4stm32 compiler and w25q256?

Please help me.

Thanks.

This topic has been closed for replies.
YJMoon
YJMoonBest answer
Associate III
Feb 25, 2020 6:34 AM UTC

Solved.

I changed it to w25q256-> mt25ql512.

It works perfectly.

7 replies

Martin KJELDSEN
Principal III
Jan 13, 2020 10:35 AM UTC

This is not really related to TouchGFX, so i'm adding a few more tags to it.

/Martin

YJMoon
YJMoonAuthor
Associate III
Jan 14, 2020 12:00 AM UTC

​Thank you so much!

Tesla DeLorean
Guru
Jan 13, 2020 10:49 AM UTC

I use Keil, and have worked with W25Q256 parts and External Loaders for Cube Programmer and ST-LINK Utilities.

A worked example will run several hundred dollars.​

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
YJMoon
YJMoonAuthor
Associate III
Jan 14, 2020 12:06 AM UTC

​omg... I can't use keil because it is an expensive compiler.

In the end, I'll have to study myself and code related things.

Thank you.

Tesla DeLorean
Guru
Jan 14, 2020 1:46 PM UTC

These things can be built with the Lite/Eval version of Keil.

The specificity of your question tends to limit the chances of getting an answer that checks all your boxes.

When developing External Loaders it helps significantly to have a fully tested and debugged library running in an application on your QSPI hardware. Once you have the test app working you can port code into a loader. The loaders are hard to debug from within the ST-LINK Utility, or Cube Programmer

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
YJMoon
YJMoonAuthorBest answer
Associate III
Feb 25, 2020 6:34 AM UTC

Solved.

I changed it to w25q256-> mt25ql512.

It works perfectly.