|
|
|
@ -231,6 +231,9 @@ ejtag_dma_write (urj_bus_t *bus, unsigned int addr, unsigned int data, int sz)
|
|
|
|
|
}
|
|
|
|
|
while (ejctrl->out->data[DstRt] == 1); // This flag tell us the processor has completed the op
|
|
|
|
|
|
|
|
|
|
if (!timeout)
|
|
|
|
|
urj_log (URJ_LOG_LEVEL_NORMAL, "Timeout\n");
|
|
|
|
|
|
|
|
|
|
urj_part_set_instruction (bus->part, "EJTAG_CONTROL");
|
|
|
|
|
urj_tap_chain_shift_instructions (bus->chain);
|
|
|
|
|
urj_tap_register_fill (ejctrl->in, 0);
|
|
|
|
@ -311,6 +314,9 @@ ejtag_dma_read (urj_bus_t *bus, unsigned int addr, int sz)
|
|
|
|
|
}
|
|
|
|
|
while (ejctrl->out->data[DstRt] == 1); // This flag tell us the processor has completed the op
|
|
|
|
|
|
|
|
|
|
if (!timeout)
|
|
|
|
|
urj_log (URJ_LOG_LEVEL_NORMAL, "Timeout\n");
|
|
|
|
|
|
|
|
|
|
urj_part_set_instruction (bus->part, "EJTAG_DATA");
|
|
|
|
|
urj_tap_chain_shift_instructions (bus->chain);
|
|
|
|
|
urj_tap_register_fill (ejdata->in, 0);
|
|
|
|
|