Timeout during flash programming
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-10 10:46 AM
Hello!
Hope you can help me to fix my problem.St-Link didnt see STM32F4 Discovery, but I've tried[DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Discovery/DispForm.aspx?ID=1944&RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F4DISCOVERY Cannot connect to the MCU device&Source=https://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/Flat.aspx?RootFolder%3D/public/STe2ecommunities/mcu/Lists/STM32Discovery/STM32F4DISCOVERY%2520%2520%2520Cannot%2520connect%2520to%2520the%2520MCU%2520device%26FolderCTID%3D0x01200200770978C69A1141439FE559EB459D75800084C20D8867EAD444A5987D47BE638E0F%26TopicsView%3Dhttps://my.st.com/public/STe2ecommunities/mcu/Lists/STM32Discovery/AllItems.aspx%26currentviews%3D376] this patch and now StLink utility connects to my board.But now I've got an error message: Timeout during flash programming.What should I do?Thanks in advance. #st-link-utility- Labels:
-
ST-Link
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-11 2:23 PM
Keil doesn't see board at all. No SWD Device or something like that.
I'll check SBs and board at all tomorrow. Anyway, thanks a lot for your answers)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-11 11:23 PM
Keil doesn't see board at all. No SWD Device or something like that.
You would need an example project, and downloading/debugging it. Check that the ST-Link debugger is selected in the project options->debug. SWD mode needs to be set, too (options->debug, ''settings'' button). When starting a debug session, you either get access to the uC, or get an error message. However, you need a workable project before... However, there ist still the option to check the hardware while trying to program via ST-Link Utility. I mean to check Vdd and all clocks with a scope. It really sounds strange that the communication gets lost midway. Have you tried a mass erase via ST-Link Utility (Target->Erase Chip) ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-06-11 11:54 PM
Mass erase works ok.
I've checked SBs, SB19, SB15, SB16 were closed instead of open. I've desoldered it, but board still not programming.Oooops! Now I can see St-Link in Keil!!! Thanks a lot)Debugging working fine, but I can't load HEX having ''Cant load file'' error. It's my fault, because I don't know how to make it ok.Anyway, thank you a lot for your answers!)- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-10-24 4:54 AM
Hi
I am having the same ''Timeout during flash programming'' problem with F4 discovery board. Any solution?Thanks- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-10-24 7:46 AM
I am having the same ''Timeout during flash programming'' problem with F4 discovery board. Any solution?
You could perhaps be more specific about your environment (OS, dev tools, drivers, etc) , explaining what you've tried so far. Has it worked before and stopped, or never worked? You could try to install the most current drivers. You could try to update to the most current firmware.
Up vote any posts that you find helpful, it shows what's working..

- « Previous
-
- 1
- 2
- Next »