mirror of
https://github.com/openocd-org/openocd.git
synced 2025-10-18 09:32:17 +08:00
- fixed jtag_n[st]rst_delay. time is now miliseconds (as documented), not microseconds
git-svn-id: svn://svn.berlios.de/openocd/trunk@82 b42882b7-edfa-0310-969c-e2dbd0fdcd60
This commit is contained in:
@@ -843,7 +843,7 @@ int jtag_add_reset(int req_trst, int req_srst)
|
|||||||
{
|
{
|
||||||
jtag_call_event_callbacks(JTAG_SRST_RELEASED);
|
jtag_call_event_callbacks(JTAG_SRST_RELEASED);
|
||||||
if (jtag_nsrst_delay)
|
if (jtag_nsrst_delay)
|
||||||
jtag_add_sleep(jtag_nsrst_delay);
|
jtag_add_sleep(jtag_nsrst_delay * 1000);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (trst_with_tms)
|
if (trst_with_tms)
|
||||||
@@ -881,7 +881,7 @@ int jtag_add_reset(int req_trst, int req_srst)
|
|||||||
* but we might want to add a delay to give the TAP time to settle
|
* but we might want to add a delay to give the TAP time to settle
|
||||||
*/
|
*/
|
||||||
if (jtag_ntrst_delay)
|
if (jtag_ntrst_delay)
|
||||||
jtag_add_sleep(jtag_ntrst_delay);
|
jtag_add_sleep(jtag_ntrst_delay * 1000);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user