Open D0ot opened 3 years ago
i checked the documentation of openocd finding this on Chapter 9
In the best case, OpenOCD can hold SRST, then reset the TAPs via TRST and send commands through JTAG to halt the CPU at the reset vector before the 1st instruction is executed. Then when it finally releases the SRST signal, the system is halted under debugger control before any code has executed. This is the behavior required to support the reset halt and reset init commands; after reset init a board-specific script might do things like setting up DRAM. (See [Reset Command], page 122.)
so my question is : is it possible to halt the cpu of k210 at the reset ?
It seems that writing 1 to ndreset field in DCSR takes no effect... is it a hardware bug?
Having a problem about reset on K210 using FT4232H as an adapter.
The command
jtag arp_init-reset
works butreset halt
does not work. I am just wondering where the problem is?openocd config file:
Using 'reset halt'
'rest halt' gdb output:
after i type the lines above, the openocd got stuck.
'reset halt' openocd output:
using jtag arp_init-reset
gdb output:
it looks wired...
openocd output:
The device reseted but was not halted. it was running.
Is there any way to use a normal reset command ?
thanks !