comments and debug code

git-svn-id: svn://svn.berlios.de/openocd/trunk@1567 b42882b7-edfa-0310-969c-e2dbd0fdcd60
__archive__
oharboe 2009-04-29 11:37:33 +00:00
parent 3ccbaf336d
commit 0d327e9e40
2 changed files with 14 additions and 2 deletions

View File

@ -56,7 +56,10 @@ do { \
int __retval = (action); \
\
if (__retval != ERROR_OK) \
{ \
LOG_DEBUG("error while calling \"" # action "\""); \
return __retval; \
} \
\
} while (0)

View File

@ -36,6 +36,13 @@
#define JTAG_DEBUG(expr ...) do {} while(0)
#endif
/*
This pathmove goes from Pause-IR to Shift-IR while avoiding RTI. The
behavior of the FTDI driver IIRC was to go via RTI.
Conversely there may be other places in this code where the ARM11 code relies
on the driver to hit through RTI when coming from Update-?R.
*/
tap_state_t arm11_move_pi_to_si_via_ci[] =
{
TAP_IREXIT2, TAP_IRUPDATE, TAP_DRSELECT, TAP_IRSELECT, TAP_IRCAPTURE, TAP_IRSHIFT
@ -476,6 +483,8 @@ int arm11_run_instr_data_to_core(arm11_common_t * arm11, u32 opcode, u32 * data,
* layer (FT2232) that is long enough to finish execution on
* the core but still shorter than any manually inducible delays.
*
* To disable this code, try "memwrite burst false"
*
*/
tap_state_t arm11_MOVE_DRPAUSE_IDLE_DRPAUSE_with_delay[] =
{