Skip to main content
Michael Fan
Associate II
May 23, 2020
Question

How to down load extern flash MX25LM51245G to 32L4R9I-Discovery?

  • May 23, 2020
  • 1 reply
  • 2658 views

0693W000001pKnTQAU.png0693W000001pKnYQAU.png0693W000001pKnJQAU.png0693W000001pKnEQAU.jpgHi,

I have a 32L4R9I-Discovery and i want to download Touchgfx demo to it, but when i program Touchgfx hex, ST-LINK Utility report error, i know i neet to download extern flash MX25LM51245G, but i can't find hex on the Internet,so i open MX25LM51245G project and want to program creat hex by Keil5,but when i program the KEIL 5 report much error.

So how can i program MX25LM51245G project to creat hex, or can someone give me MX25LM51245G hex so that i can use Touchgfx demo, the 32L4R9I-Discovery is still not work.:sad_but_relieved_face: .

Thank you very much for all your help!

This topic has been closed for replies.

1 reply

Tesla DeLorean
Guru
May 23, 2020

The External Loader code should be pre-built, and selectable under the "External Loader" tab or panes in ST-Link Utilities and STM32 Cube Programmer

STM32CubeProgrammerV2.2.0\bin\ExternalLoader\MX25LM51245G_STM32L4R9I-DISCO.stldr

Projects built in Keil should also be directly flashable by picking the Flash Algorithm via the Options -> Debug Settings ->Flash Download Tab

0693W000001pKxEQAU.jpg

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
Michael Fan
Associate II
May 23, 2020

I find the Flash Algorithm in Flash Download Tab,but when i download to it,the Keil report a error:Cannot Load Flash Programming Algorithm.And why do you have so many options in your Flash Download Tab?

Thanks.0693W000001pKylQAE.png0693W000001pKygQAE.png

Tesla DeLorean
Guru
May 23, 2020

Select 0xA000 for the size of the "RAM for Algorithm", the loaders are bigger

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