| Author | beginning argument ( Replies received: 1 ) |
| stm321 |
Posted 05-09-2008 at 13:32   |

Registered on : 08-20-2008
Messages : 30
OFF-Line
|
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.
|
|
|
Profile
Quote
|
| stm321 |
Posted 05-09-2008 at 18:27   |

Registered on : 08-20-2008
Messages : 30
OFF-Line
|
Problem resolved.
By setting up a debugger, I can now run and stop.
Thanks anyway.
|
|
|
Profile
Quote
|