Hello! In some cases my target doesn't reply with ACK, so jtagdp_transaction_endcheck calls dap_run on failure, which in turn calls jtagdp_transaction_endcheck again... hanging the openocd, never timeouting.
I added some prints to confirm this is the case: Debug: 14740 14914 adi_v5_jtag.c:221 jtagdp_transaction_endcheck(): Debug: 14741 14916 adi_v5_jtag.c:237 jtagdp_transaction_endcheck(): ; then: 1345796348224 Debug: 14742 14916 adi_v5_jtag.c:221 jtagdp_transaction_endcheck(): Debug: 14743 14918 adi_v5_jtag.c:237 jtagdp_transaction_endcheck(): ; then: 1345796348226 Debug: 14744 14918 adi_v5_jtag.c:221 jtagdp_transaction_endcheck(): Debug: 14745 14920 adi_v5_jtag.c:237 jtagdp_transaction_endcheck(): ; then: 1345796348228 Debug: 14746 14920 adi_v5_jtag.c:221 jtagdp_transaction_endcheck(): Debug: 14747 14922 adi_v5_jtag.c:237 jtagdp_transaction_endcheck(): ; then: 1345796348230 Debug: 14748 14922 adi_v5_jtag.c:221 jtagdp_transaction_endcheck(): Debug: 14749 14924 adi_v5_jtag.c:237 jtagdp_transaction_endcheck(): ; then: 1345796348232 Debug: 14750 14924 adi_v5_jtag.c:221 jtagdp_transaction_endcheck(): Debug: 14751 14926 adi_v5_jtag.c:237 jtagdp_transaction_endcheck(): ; then: 1345796348234 -- Domen ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
