**** BEGIN LOGGING AT Sat Apr 16 02:59:59 2011 Apr 16 19:49:17 I'm trying to use openocd to debug a kirkwood (feroceon) board. I've seen conflicting suggestions about whether or not to connect the SRST line. Any pointers on how to set this up the right way? Apr 16 19:51:12 (I should say that I'm not very knowledgable about hardware -- I've been "forced" into it to try to debug some low-level u-boot and linux issues.) Apr 16 19:54:03 I would expect that you would need to connect SRST Apr 16 19:54:15 in order to allow the JTAG adapter to reset your board Apr 16 19:54:29 do you also have nTRST? Apr 16 19:57:44 Yes, both nTRST and nSRST. It mostly works with just nTRST connected (even though the openocd "reset_config" is "trst_and_srst", which I don't understand either.) Apr 16 20:00:07 well, if you have only nTRST connected, you should set "reset nrst_only", I think Apr 16 20:03:05 Well the "mostly works" part is that has trouble halting the processor reliably. Sometimes it works, sometimes it halts in Thumb mode, sometimes it times out ... I was hoping that if I connected nSRST also, and configured openocd correctly, that would go away. But how to configure openocd "from scratch" in a systematic, rather than trial-and-error, way? Apr 16 20:12:20 ecc: well, if you connect SRST as well as nTRST, then you should configure "reset_config trst_and_srst" Apr 16 20:12:38 at least, that is my understanding of it **** ENDING LOGGING AT Sun Apr 17 02:59:58 2011