Bad JTAG communication: Write to IR: Expected 0x1, got 0xF (TAP Command : 10) @ Off 0x5

This site uses cookies. By continuing to browse this site, you are agreeing to our Cookie Policy.

  • Bad JTAG communication: Write to IR: Expected 0x1, got 0xF (TAP Command : 10) @ Off 0x5

    I've been using the FDI uEZGUI-1788-70WVE for a couple of months now. Yesterday I downloaded the C:\Program Files (x86)\IAR Systems\Embedded Workbench 6.0\arm\examples\NXP\LPC17xx\IAR-LPC-1788-SK\USBBoot. After that I could no longer communicate with the board through J-Link. I’m still able to debug an Analog Devices board with J-Link. Any ideas? I attached the output of J-Link Commander.
    SEGGER J-Link Commander V4.42c ('?' for help)
    Compiled Feb 29 2012 09:15:43
    DLL version V4.42c, compiled Feb 29 2012 09:15:24
    Firmware: J-Link ARM V8 compiled Feb 8 2012 14:30:39
    Hardware: V8.00
    S/N: 158001222
    OEM: IAR
    VTarget = 3.287V
    Info: TotalIRLen = 4, IRPrint = 0x01
    ****** Error: Bad JTAG communication: Write to IR: Expected 0x1, got 0xF (TAP Co
    mmand : 10) @ Off 0x5.
    No APB-AP found.
    No devices found on JTAG chain. Trying to find device on SWD.
    Info: Found SWD-DP with ID 0x2BA01477
    No device found on SWD.
    Did not find any core.
    Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    Info: TotalIRLen = ?, IRPrint = 0x..000000000000000000000000
    No devices found on JTAG chain. Trying to find device on SWD.
    No device found on SWD.
    Did not find any core.
    J-Link>
  • Fixed by FDI (Future Designs, Inc)

    Fixed by Chris Stocker of Future Designs:

    The likely problem is the LPC1788 as gotten into a undefined state. To get it back follow the instructions below, we recommend using know good code for this.

    1. Power down the unit.
    2. Connect the JLink to the JTAG port.
    3. Short pins 3 and 4 of the J1 connector.
    4. Apply power to the unit.
    5. Program the unit from the PC using your IDE or a Script file. There are script files available on the uEZ Sourceforge page.
    6. Keep the pins shorted until the programing is completed.