jtagtap: Implemented clock tristating
This commit is contained in:
parent
dbcc1fe0a1
commit
c847007008
|
@ -224,6 +224,7 @@ static bool cmd_jtag_scan(target *t, int argc, const char **argv)
|
|||
}
|
||||
|
||||
if (devs == 0) {
|
||||
platform_target_clk_output_enable(false);
|
||||
platform_nrst_set_val(false);
|
||||
gdb_out("JTAG device scan failed!\n");
|
||||
return false;
|
||||
|
@ -319,6 +320,7 @@ bool cmd_auto_scan(target *t, int argc, const char **argv)
|
|||
break;
|
||||
}
|
||||
if (devs == 0) {
|
||||
platform_target_clk_output_enable(false);
|
||||
platform_nrst_set_val(false);
|
||||
gdb_out("auto scan failed!\n");
|
||||
return false;
|
||||
|
|
|
@ -37,6 +37,7 @@ static void jtagtap_cycle(bool tms, bool tdi, size_t clock_cycles);
|
|||
|
||||
int jtagtap_init()
|
||||
{
|
||||
platform_target_clk_output_enable(true);
|
||||
TMS_SET_MODE();
|
||||
|
||||
jtag_proc.jtagtap_reset = jtagtap_reset;
|
||||
|
|
Loading…
Reference in New Issue