From 964c7fee9b39d36dfd267030c34653563452b1c3 Mon Sep 17 00:00:00 2001 From: dodge-this Date: Tue, 13 Nov 2012 04:45:16 +0000 Subject: [PATCH] reset debugging and documentation update (to indicate that we've moved the nRST pin to the standard pin 11, like in JTAGMSP430) git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1333 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- firmware/apps/jtag/jtagarm7.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/firmware/apps/jtag/jtagarm7.c b/firmware/apps/jtag/jtagarm7.c index 2a16421..c4c12f6 100644 --- a/firmware/apps/jtag/jtagarm7.c +++ b/firmware/apps/jtag/jtagarm7.c @@ -44,9 +44,9 @@ GoodFET -> 7TDMI 20-pin connector (HE-10 connector) 3 5 (TDI) 5 7 (TMS) 7 9 (TCK) - 8 15 (nRST) 9 4,6,8,10,12,14,16,18,20 (GND) - 11 17/3 (nTRST) (different sources suggest 17 or 3 alternately) + 11 15 (nRST) + // no longer... (11 17/3 (nTRST) (different sources suggest 17 or 3 alternately)) ********************************/ /**** 14-pin Connection Information (pin1 is on top-right for both connectors)**** @@ -56,9 +56,9 @@ GoodFET -> 7TDMI 14-pin connector 3 5 (TDI) 5 7 (TMS) 7 9 (TCK) - 8 12 (nRST) 9 2,4,6,8,10,14 (GND) - 11 3 (nTRST) + 11 12 (nRST) + // no longer... (11 3 (nTRST)) http://hri.sourceforge.net/tools/jtag_faq_org.html ********************************/ @@ -382,9 +382,12 @@ void jtagarm7_handle_fn( uint8_t const app, case JTAG_RESET_TARGET: //FIXME: BORKEN debugstr("RESET TARGET"); + debughex((P3OUT&RST)); CLRRST; + debughex((P3OUT&RST)); delay(cmddataword[0]); SETRST; + debughex((P3OUT&RST)); txdata(app,verb,4); break; -- 2.20.1