Programming external flash with ST-LINK UTILITY
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-25 6: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-25 7:46 AM
Hi,
Does your board have an external watchdog reset that might be resetting the processor during programming?
Regards,
Alex.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-25 8: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-25 9: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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-25 10:04 AM
No, it doesn't.
Thanks Alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2017-05-26 2: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