According to the feedback of my patch for SWD. I was busy fixing these
feedback these days.
I found that dap_to_jtag is not called. So it will be problem to operate
JTAG after operating SWD.

In my opinion, dap_to_jtag should be not be called in jtag_init,
because dap_to_jtag is defined ONLY in adiv5 specification.
But if I call dap_to_jtag in arm_adi_v5.c or adi_v5_jtag.c, it will fail
because jtag_id is read before calling dap_to_jtag.

So I think the initialization sequence should be from upper layer to lower
layer, which means initialize adiv5 and then initialize jtag.

-- 
Best Regards, SimonQian
http://www.SimonQian.com
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to