2020-05-23 02:42 AM
Hi,
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!
2020-05-23 06:35 AM
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
2020-05-23 07:38 AM
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.
2020-05-23 09:50 AM
Select 0xA000 for the size of the "RAM for Algorithm", the loaders are bigger
2020-05-23 07:59 PM
I have selected 0xA000 for the size of the "RAM for Algorithm", but when I download again, the Keil report another error,:Flash Timeout.Reset the Target and try it again. I connect 32L4R9I-Discovery by usb-stlink.
I find my flash Download Tab shows MX25LM51245G_STM32L3R9I_EVEAL not MX25L51245G_STM32L3R9I_DISCO,Could it be the problem here?
2020-05-24 07:12 AM
Picked the wrong algorithm, need to Remove, and go back and Add the right one.
Could otherwise be an issue with the version of MDK, the pack, or the selections made when creating the project.