2008-05-21 Jie Zhang <jie.zhang@analog.com>

[ 1968455 ] Enter UPDATE state after register shift
   * include/chain.h (EXITMODE_UPDATE): Define.
   * src/tap/tap.c (tap_defer_shift_register): Enter Update-DR
     or Update-IR when requested.


git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@1246 b68d4a1b-bc3d-0410-92ed-d4ac073336b7
master
Jie Zhang 17 years ago
parent 76f9006c46
commit b62752a299

@ -1,3 +1,10 @@
2008-05-21 Jie Zhang <jie.zhang@analog.com>
[ 1968455 ] Enter UPDATE state after register shift
* include/chain.h (EXITMODE_UPDATE): Define.
* src/tap/tap.c (tap_defer_shift_register): Enter Update-DR
or Update-IR when requested.
2008-05-20 Arnim Laeuger <arniml@users.sourceforge.net>
* src/tap/cable/ft2232.c, src/tap/cable/usbblaster.c:

@ -35,6 +35,7 @@ typedef struct chain_t chain_t;
#define EXITMODE_SHIFT 0
#define EXITMODE_IDLE 1
#define EXITMODE_EXIT1 2
#define EXITMODE_UPDATE 3
struct chain_t {
int state;

@ -73,7 +73,8 @@ tap_defer_shift_register( chain_t *chain, const tap_register *in, tap_register *
if (exit == EXITMODE_IDLE) {
chain_defer_clock( chain, 1, 0, 1 ); /* Update-DR or Update-IR */
chain_defer_clock( chain, 0, 0, 1 ); /* Run-Test/Idle */
}
} else if (exit == EXITMODE_UPDATE)
chain_defer_clock( chain, 1, 0, 1 ); /* Update-DR or Update-IR */
}
void

Loading…
Cancel
Save