program doesn t start after write
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2008-09-05 5:57 AM
Posted on September 05, 2008 at 14:57
program doesn t start after write
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:44 AM
Posted on May 17, 2011 at 12:44
Hello everybody,
I'm using openOCD with Olimex ARM-USB-OCD to write hex file to STM32 flash on a STM3210E-EVAL board. The following script is used. wait_halt sleep 10 stm32x mass_erase 0 sleep 10 flash write_image ./MyDemo/MyDemo.hex 'ihex' sleep 100 reset run Everything works fine. The hex file is properly written in the flash. The only problem is, the uC doesn't start automatically. Even by pressing the reset button on the EVAL board. The only way to make it start is to power cycle the board. Any idea where that can come from and how I can resolve that? Thanks in advance for your help.Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2011-05-17 3:44 AM
Posted on May 17, 2011 at 12:44
Problem resolved.
By setting up a debugger, I can now run and stop. Thanks anyway.