Re: [OpenOCD-devel] stm32f4-discovery hardware reset button doesn't work with openocd

2012-03-14 Thread Mathias K.
I don't know if we need to change something. I have seen the following things and that's the main reason why i ask about the reset button problem: Openocd is always running on my setup and i reflash the device with a simple script that use nc to pipe some commands to the telnet port of openocd.

Re: [OpenOCD-devel] stm32f4-discovery hardware reset button doesn't work with openocd

2012-03-14 Thread md5sum
Freddie Chopin writes: > > Maybe I don't understand you? Do you want your target to run after you > push the reset button while OpenOCD is connected? > Sorry. Yes, target to run after hw reset, and stop expecting instant debuging process. openoсd enabled debug at startup and does not turn o

Re: [OpenOCD-devel] stm32f4-discovery hardware reset button doesn't work with openocd

2012-03-14 Thread md5sum
Mathias K. writes: > 6. do a reset command > 7. board resets and restart > > 8. press hardware reset button > 9. board resets but stoped execution > > Whats wrong? > Is this a issue with the stlink v2 or something related to openocd? > > Regards, > > Mathias 7a. do a mww 0xE000EDF0 0xa05f0

Re: [OpenOCD-devel] stm32f4-discovery hardware reset button doesn't work with openocd

2012-03-14 Thread Freddie Chopin
W dniu 2012-03-14 16:44, md5sum pisze: > No. After hw reset openosd tell follow: > "target state: halted > target halted due to debug-request, current mode: Thread > xPSR: 0x0100 pc: 0x08001814 msp: 0x20005000" > > And I can't find command to disable it... > > Any idea? "No" what? Not in push-

Re: [OpenOCD-devel] stm32f4-discovery hardware reset button doesn't work with openocd

2012-03-14 Thread md5sum
Freddie Chopin writes: > > W dniu 2012-03-08 18:54, Mathias K. pisze: > > i see some problems with the reset button (hardware reset) and openocd: > > > > > > 1. connect the eval board > > 2. connect openocd without a cpu init script > > 3. press hardware reset button > > 4. board resets and rest

Re: [OpenOCD-devel] stm32f4-discovery hardware reset button doesn't work with openocd

2012-03-08 Thread Freddie Chopin
W dniu 2012-03-08 18:54, Mathias K. pisze: > i see some problems with the reset button (hardware reset) and openocd: > > > 1. connect the eval board > 2. connect openocd without a cpu init script > 3. press hardware reset button > 4. board resets and restart > > 5. telnet to openocd > 6. do a reset

[OpenOCD-devel] stm32f4-discovery hardware reset button doesn't work with openocd

2012-03-08 Thread Mathias K.
Hello, i see some problems with the reset button (hardware reset) and openocd: 1. connect the eval board 2. connect openocd without a cpu init script 3. press hardware reset button 4. board resets and restart 5. telnet to openocd 6. do a reset command 7. board resets and restart 8. press hardw