Hello,
I started to use OpenOCD with STM32F4 Discovery kit.

In 99% of flash writing, OpenOCD does not correctly reset the target after it 
is programmed. I use following commands:

init
reset init
flash erase_sector 0 0 3
flash write_image test1.hex 0 ihex
reset run
sleep 200
shutdown

Maybe this sequence is not correct ?

Then I even can not connect to the core to start debugging ("reset init" is 
used). After I cycle with power (replug USB connector), everything then works 
correctly.

What is wrong ?

Vaclav

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to