diff --git a/jtag/ChangeLog b/jtag/ChangeLog index 3e069a65..1dd3258b 100644 --- a/jtag/ChangeLog +++ b/jtag/ChangeLog @@ -1,3 +1,8 @@ +2009-05-11 Arnim Laeuger + + * src/bus/ejtag_dma.c (ejtag_dma_bus_init): invert abort condition for break + timeout + 2009-05-07 Arnim Laeuger * src/tap/cable/wiggler2.c: [ 2782581 ] TRST, TMS and TDI incorrectly marked diff --git a/jtag/src/bus/ejtag_dma.c b/jtag/src/bus/ejtag_dma.c index 4d7c95d7..98897997 100644 --- a/jtag/src/bus/ejtag_dma.c +++ b/jtag/src/bus/ejtag_dma.c @@ -423,7 +423,7 @@ int ejtag_dma_bus_init( bus_t *bus ) chain_shift_data_registers( CHAIN, 1 ); timeout--; if (!timeout) break; - } while ( ejctrl->out->data[BrkSt] == 1 ); + } while ( ejctrl->out->data[BrkSt] == 0 ); if (timeout == 0) { diff --git a/urjtag/ChangeLog b/urjtag/ChangeLog index 75e00ee0..508d6840 100644 --- a/urjtag/ChangeLog +++ b/urjtag/ChangeLog @@ -1,3 +1,8 @@ +2009-05-11 Arnim Laeuger + + * src/bus/ejtag_dma.c (ejtag_dma_bus_init): invert abort condition for break + timeout + 2009-05-10 Arnim Laeuger * doc/UrJTAG.txt: hint for non-standard flash commands diff --git a/urjtag/src/bus/ejtag_dma.c b/urjtag/src/bus/ejtag_dma.c index 5063e366..38de382a 100644 --- a/urjtag/src/bus/ejtag_dma.c +++ b/urjtag/src/bus/ejtag_dma.c @@ -481,7 +481,7 @@ ejtag_dma_bus_init (urj_bus_t *bus) if (!timeout) break; } - while (ejctrl->out->data[BrkSt] == 1); + while (ejctrl->out->data[BrkSt] == 0); if (timeout == 0) {