Any idea what the reset config is on that device? > -----Original Message----- > From: Vaclav Peroutka [mailto:[email protected]] > Sent: Wednesday, April 04, 2012 2:05 AM > To: OpenOCD Devel > Subject: [OpenOCD-devel] Openocd 0.6.0-dev and STM32F4 Discovery kit > > 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
------------------------------------------------------------------------------ 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
