From: Dominic R. <Dom...@gm...> - 2015-04-21 17:03:54
|
Hi List, On 20.04.2015 22:47, Dominic Rath wrote: > An "external" (SRST) reset apparently doesn't have that problem, but > without "srst_pulls_trst", the OpenOCD can't talk to the target after a > reset, no matter how I configure the n[st]rst_delays: > > Debug: 954 338859 adi_v5_jtag.c:271 jtagdp_transaction_endcheck(): > jtag-dp: CTRL/STAT error, 0x20 > As suggested by Paul on IRC I gave http://openocd.zylin.com/#/c/2721/1 a try. With that change, OpenOCD "resyncs" after a reset with "reset_config srst_only", but neither "reset halt" nor "reset init" work. After a reset the target is left running, halt etc. then work as normal. I've attached a -d3 log just in case, and another one with additional "adapter_nsrst_delay 500". Regards, Dominic |