When debugging the ADuC70xx parts via JTAG, I sometimes encounter problems where the JTAG interface no longer works?

What could cause this issue?

Is there any way of recovering the part?

  • 0
    •  Analog Employees 
    on Jul 7, 2010 5:38 PM

    The following are a list of some common causes of JTAG debugging problems:

    1) When debugging the ADuC7xxx parts, user code should never enable any power saving mode. The JTAG interface requires the ARM7 core to always remain active.

    If by mistake you enabled a power saving mode in your source code, you should Mass erase the part using the ARMWSD interface (ARM Windows Serial Download application provided by ADI as part of the evaluation kits.)

    2) Similar to item 1, user code should never enable the watchdog timer in watchdog reset mode. The JTAG interface does not support the watchdog reset feature, therefore when debugging via JTAG, the watchdog reset should be disabled.

    Again, if by mistake you enabled the watchdog timer in your source code, you should Mass erase the part using the ARMWSD interface.

    3) Incorrect configuration of the debug environment (IDE) for the target ADuC7xxx part. The user should check that the compiler/linker settings are correct for the target device, particularly the target flash and SRAM addresses.

    If you discover an incorrect setting, mass erase the part via ARMWSD and start again.

    4) Double check that the JTAG programming driver is configured correctly and for the correct target device.

    If you discover an incorrect setting, mass erase the part via ARMWSD and start again.

  • 0
    •  Analog Employees 
    on Aug 30, 2010 2:04 PM

    Another topicto consider is the currently configured core clock speed.

    For ARM7TDMI-S based parts, the maximum useable JTAG clock speed is approximately 1\6th of the core clock speed. This is a function of the JTAG synchronizer circuit on these parts.

    Try a slower clock speed and try a reconnection. The clock divider bits (CD bits) reduce the effective core clock speed so bear this in mind too.