2017-05-24 11:43 PM
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:
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
2017-05-25 06:37 AM
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.
2017-05-25 07:46 AM
Hi,
Does your board have an external watchdog reset that might be resetting the processor during programming?
Regards,
Alex.
2017-05-25 08:57 AM
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.
2017-05-25 09:05 AM
Hi Khouloud,
Yes, we did. Maybe there is something wrong, but we don't find what. I attach the files.
The version is 4.0.0.0 too.
________________ Attachments : Dev_Inf.c.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hye6&d=%2Fa%2F0X0000000bAQ%2FJ4ufItdn3sK6VdWm21tEWFJtvRqEKqWWhBhLn8ZqaK8&asPdf=falseLoader_Src.c.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Hydw&d=%2Fa%2F0X0000000bAP%2F4GpaoGsFIAqQGTtXH7c7IMC3eNUiF60Ojt0z9T5lJDE&asPdf=falseDev_Inf.h.zip : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HyeB&d=%2Fa%2F0X0000000bAR%2FkaXlYiI.pAyXNDNYUkugcO6Rh1yLo8P6b__zUA9eRlo&asPdf=false2017-05-25 10:04 AM
No, it doesn't.
Thanks Alex
2017-05-26 02:37 AM
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:
2.- No, I don't. Which timeouts are you talking? How we can change it?
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