From 04ca1be7c2b7e12ee1505f6157eeb9a368340ef1 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Fri, 7 Feb 2003 09:47:08 +0000 Subject: [PATCH] 2003-02-07 Marcel Telka * src/tap/cable/mpcbdm.c (mpcbdm_clock): Fixed port address for TRST & TRST1. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@337 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- jtag/ChangeLog | 6 +++++- jtag/src/tap/cable/mpcbdm.c | 4 ++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/jtag/ChangeLog b/jtag/ChangeLog index a5b6cbba..03c596ce 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,6 +1,10 @@ 2003-02-07 Marcel Telka - * src/tap/cable/mpcbmd.c: Added support for Mpcbdm JTAG Cable (Christian Pellegrin). + * src/tap/cable/mpcbdm.c (mpcbdm_clock): Fixed port address for TRST & TRST1. + +2003-02-07 Marcel Telka + + * src/tap/cable/mpcbdm.c: Added support for Mpcbdm JTAG Cable (Christian Pellegrin). * src/tap/cable.c: Ditto. * src/tap/Makefile.am: Ditto. diff --git a/jtag/src/tap/cable/mpcbdm.c b/jtag/src/tap/cable/mpcbdm.c index ec095f58..d91d8abf 100644 --- a/jtag/src/tap/cable/mpcbdm.c +++ b/jtag/src/tap/cable/mpcbdm.c @@ -23,7 +23,7 @@ * Modified for Mpcbdm by Christian Pellegrin , 2003. * * Documentation: - * [1] http://www.vas-gmbh.de/software/mpcbdm/ + * [1] http://www.vas-gmbh.de/software/mpcbdm/VDB2.gif * */ @@ -88,7 +88,7 @@ mpcbdm_clock( int tms, int tdi ) outb( (trst << TRST) | (trst << TRST1), port + 2 ); cable_wait(); outb( (1 << TCK) | (tms << TMS) | (tdi << TDI), port ); - outb( (trst << TRST) | (trst << TRST1), port ); + outb( (trst << TRST) | (trst << TRST1), port + 2 ); cable_wait(); tap_state_clock( tms );