cancel
Showing results for 
Search instead for 
Did you mean: 

Programming external flash with ST-LINK UTILITY

FLast.14
Associate III
Posted on May 25, 2017 at 08:43

Hi,

I'm programming a board which contains STM32F429 microcontroller and an external flash (S29GL128S), and I've added the external flash *.stldr file. 

I'm trying to load a .hex file which KEIL I know that it works (because, through keil environment I don't have any problem), but during ST-LINK Utility programming I have the follow result:

0690X0000060742QAA.png

There are Timeout during flash programming, erase operation errors and ''unabla to run On-chip verification'' but, finally appears ''Programmed memory Checksum: 0x13FE0CC0''. So, what is meaning this result?

Why I have these errors? Do you know how I can solved it?

Thanks in advance

6 REPLIES 6
Khouloud GARSI
Lead II
Posted on May 25, 2017 at 15:37

Hi

T.Rouse

‌,

Have you developed your own flash loader?

Could you please specify the used STLink utility version. I'm not able to reproduce the issue using version 4.0.0.

Khouloud.

Alex R
Senior
Posted on May 25, 2017 at 16:46

Hi,

Does your board have an external watchdog reset that might be resetting the processor during programming?

Regards,

Alex.

Alex R
Senior
Posted on May 25, 2017 at 17:57

Hi,

Would you be able to provide the following info:

1. In ST-LINK, go to Target->Settings

2. Check that the 'Generate Trace LOG file' checkbox is checked.

3. Click on 'Open Containing Folder'

4. Upload the Settings.ini and trace.log files.

In addition,

1. Which debugger are you using with the Keil Environment (the same ST-LINK or other?)

2. Are you able to read the processor memory correctly(without timeouts)?

Alex R.

Posted on May 25, 2017 at 17:04

No, it doesn't.

Thanks Alex

Posted on May 26, 2017 at 09:37

Hi,

I attach a zip with these files because without compressed I can't upload.

1.- Debugger in KEIL is ST-Link Debugger as you can see:

0690X000006076yQAA.png

0690X000006077SQAQ.png

2.- No, I don't. Which timeouts are you talking? How we can change it?

0690X000006077hQAA.png

Thanks for your support.

________________

Attachments :

ST-LINK Utility.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hydr&d=%2Fa%2F0X0000000bAO%2FlZqTSgOF7Ae3sqsBVQMFHxJ_rSR3qWs3dtURXv2vA1U&asPdf=false