Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-20 Thread Mykhaylo Lyubun
@lists.sourceforge.net Тема: Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command Mykhaylo, please avoid top-posting. On Wed, Nov 16, 2016 at 06:22:31PM +, Mykhaylo Lyubun wrote: > Thank you. Where I can write data in Arm registers (DHCSR, DEMCR > etc) for reset and configure DAP cont

Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-17 Thread Mykhaylo Lyubun
Thank you -Original Message- From: Paul Fertser [mailto:fercer...@gmail.com] Sent: Thursday, November 17, 2016 1:39 PM To: Mykhaylo Lyubun Cc: openocd-devel@lists.sourceforge.net Subject: Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command Mykhaylo, please avoid top-posting

Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-17 Thread Paul Fertser
Mykhaylo, please avoid top-posting. On Wed, Nov 16, 2016 at 06:22:31PM +, Mykhaylo Lyubun wrote: > Thank you. Where I can write data in Arm registers (DHCSR, DEMCR > etc) for reset and configure DAP controller (ABORT, CTRLSTAT, SELECT > etc )? Everything should be handled for you automaticall

Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-16 Thread Mykhaylo Lyubun
-devel@lists.sourceforge.net Subject: Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command On Wed, Nov 16, 2016 at 06:01:43PM +, Mykhaylo Lyubun wrote: > What use better "reset halt"? For resetting and stopping for debugging early code, yes. For flashing, "reset init

Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-16 Thread Paul Fertser
On Wed, Nov 16, 2016 at 06:01:43PM +, Mykhaylo Lyubun wrote: > What use better "reset halt"? For resetting and stopping for debugging early code, yes. For flashing, "reset init". The recommended way to flash microcontrollers is using "program" Tcl proc (described in the manual), it does reset

Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-16 Thread Mykhaylo Lyubun
What use better "reset halt"? -Original Message- From: Paul Fertser [mailto:fercer...@gmail.com] Sent: Wednesday, November 16, 2016 7:59 PM To: Mykhaylo Lyubun Cc: openocd-devel@lists.sourceforge.net Subject: Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command On W

[OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-16 Thread Mykhaylo Lyubun
Could you help me? This behavior is same via telnet and Eclipse. When device in Look up state. How I can get it in halt state? Why erase operation execute twice? I send mail with log file but receive answer this letter is to big need to review with moderator. From: Mykhaylo Lyubun Sent: Wednesday

Re: [OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-16 Thread Paul Fertser
On Wed, Nov 16, 2016 at 04:51:08PM +, Mykhaylo Lyubun wrote: > soft_reset_halt command work fine in first stage when flash contains > some data. Just do not use soft_reset_halt at all. It's a poor deprecated workaround that was once necessary for certain targets. Not needed anymore for any pro

[OpenOCD-devel] FW: Need help with soft_reset_halt command

2016-11-16 Thread Mykhaylo Lyubun
Remove log file because size is nearest 5MB. From: Mykhaylo Lyubun Sent: Wednesday, November 16, 2016 4:46 PM To: openocd-devel@lists.sourceforge.net Subject: Need help with soft_reset_halt command Hi all, I attached log file and screanchot with plase where is problem. soft_reset_halt command w