Hi, > > jtag drscan auto0.tap 32 1 > Connection closed by foreign host. > ******* > openocd: src/jtag/drivers/driver.c:166: interface_jtag_add_dr_scan: Assertion > `field == out_fields + scan->num_fields' failed.
This happens because basically all taps are in BYPASS by default, and before manual "drscan" command you naturally need to do the appropriate "irscan" on the same tap (as all DR operations are current instruction-specific). Guess we should introduce a special error message for the case. --- ** [tickets:#395] segfault: jtag drscan <tapname> 32 1** **Status:** new **Milestone:** 0.11.0 **Created:** Fri Apr 28, 2023 09:07 PM UTC by fenugrec **Last Updated:** Fri Apr 28, 2023 09:07 PM UTC **Owner:** nobody On latest master (91bd43134) : ~~~ > jtag drscan auto0.tap 32 1 Connection closed by foreign host. ******* openocd: src/jtag/drivers/driver.c:166: interface_jtag_add_dr_scan: Assertion `field == out_fields + scan->num_fields' failed. Aborted (core dumped) ~~~ --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.