Trouble with new Version and LPC2148

Open On-Chip Debugger 0.1.0 (2009-01-21-21:15) Release

BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS

$URL: https://kc8apf@svn.berlios.de/svnroot/r … /openocd.c $

2000 kHz

Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)

Error: JTAG tap: lpc2148.cpu got: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4)

Error: JTAG tap: lpc2148.cpu expected 1 of 1: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)

Error: trying to validate configured JTAG chain anyway…

Error: unknown EmbeddedICE version (comms ctrl: 0x80000000)

Warn : no telnet port specified, using default port 4444

Warn : no gdb port specified, using default port 3333

Warn : no tcl port specified, using default port 6666

Info : JTAG tap: lpc2148.cpu tap/device found: 0x4f1f0f0f (Manufacturer: 0x787, Part: 0xf1f0, Version: 0x4)

Error: JTAG tap: lpc2148.cpu got: 0x4f1f0f0f (mfg: 0x787, part: 0xf1f0, ver: 0x4)

Error: JTAG tap: lpc2148.cpu expected 1 of 1: 0xffffffff (mfg: 0x7ff, part: 0xffff, ver: 0xf)

Error: trying to validate configured JTAG chain anyway…

Error: invalid mode value encountered

Error: cpsr contains invalid mode value - communication failure

I use the scripts came with openocd and i use a jtagkey from amontec.

thanks

I am using Keil’s MCB2100 v2 and either Amontec or Olimex dongle;

my config is:

  • telnet_port 4444

    tcl_port 5555

    gdb_port 3333

    #source [find interface/arm-usb-ocd.cfg]

    source [find interface/jtagkey.cfg]

    source [find target/lpc2129.cfg]

    init

    soft_reset_halt


  • Output is:

    Open On-Chip Debugger 0.1.0 (2009-01-21-21:15) Release

    BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS

    $URL: https://kc8apf@svn.berlios.de/svnroot/r … /openocd.c $

    Error: JTAG communication failure, check connection, JTAG interface, target power etc.

    Error: trying to validate configured JTAG chain anyway…

    Error: unknown EmbeddedICE version (comms ctrl: 0x00000000)

    requesting target halt and executing a soft reset

    Error: Failed to halt CPU after 1 sec

    I think i should

  • set CPUTAPID 0x???

  • but the correct value is neither 0 nor 0x4f1f0f0f and a cannot find a clue in the docu.

    openocd_r717 was working with same hardware (but different config)

    Is this a bug in my setup ? or in openocd ? or in the docu ?

    TIA, peter