OpenOCD Olimex JTAG USB Embedded Artists LPC2478

Im using the abive kit. OCD version is 2007-09-05

When I run OCD I get this ( via eclipse console)

Info: openocd.c:93 main(): Open On-Chip Debugger (2007-09-05 09:00 CEST)

Error: jtag.c:1253 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.

Error: jtag.c:1440 jtag_init(): trying to validate configured JTAG chain anyway…

Error: embeddedice.c:181 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000000)

Error: target_request.c:127 target_request(): unknown target request: a0

what does it mean?

I can read/write registers reset/halt target

I can’t read/write memory - always returns 0xFFFFF - jtag_speed?

Help!

Here is the OCD config

#daemon configuration

telnet_port 4444

gdb_port 3333

#interface

interface ft2232

ft2232_device_desc “Olimex OpenOCD JTAG A”

ft2232_layout “olimex-jtag”

ft2232_vid_pid 0x15BA 0x0003

jtag_speed 2

#use combined on interfaces or targets that can’t set TRST/SRST separately

reset_config trst_and_srst separate

#jtag scan chain

#format L IRC IRCM IDCODE (Length, IR Capture, IR Capture Mask, IDCODE)

jtag_device 4 0x1 0xf 0xe

#target configuration

daemon_startup reset

#target

#target arm7tdmi

target arm7tdmi little run_and_halt 0 arm7tdmi-s_r4

run_and_halt_time 0 30

#target_script 0 reset oocd_flash2138.script

working_area 0 0x40000000 0x40000 nobackup

#flash configuration

flash bank lpc2000 0x0 0x40000 0 0 0 lpc2000_v2 12000 calc_checksum

Hello… I have the same problem. I use ARM-USB-OCD with LPC2378Board from Olimex. But it is very weird, because in the beginning i can really debug my program into the target. But two days ago i after i made the debugging of the programm i write i coudln’t make the connection anymore. is it possible that the problem the programm i have debugged?

I got this error message:

$URL: http://svn.berlios.de/svnroot/repos/ope … /openocd.c $

Info: options.c:50 configuration_output_handler(): jtag_speed: 50, 50

Info: options.c:50 configuration_output_handler(): Open On-Chip Debugger 1.0 (2008-10-04-10:00) svn:exported

Error: jtag.c:1351 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.

Error: jtag.c:1556 jtag_init_inner(): trying to validate configured JTAG chain anyway…

Error: embeddedice.c:191 embeddedice_build_reg_cache(): unknown EmbeddedICE version (comms ctrl: 0x00000000)

Error: jtag.c:1351 jtag_examine_chain(): JTAG communication failure, check connection, JTAG interface, target power etc.

Error: jtag.c:1556 jtag_init_inner(): trying to validate configured JTAG chain anyway…

Warning: jtag.c:1211 jtag_check_value(): value captured during scan didn’t pass the requested check: captured: 0x0f check_value: 0x01 check_mask: 0x0f

Warning: jtag.c:1171 jtag_read_buffer(): in_handler reported a failed check

User: target.c:436 target_process_reset(): Timed out waiting for halt after reset

I tried evetrything:I changed FPC Cable. I checked the voltage source ( I use 9 V external voltage source) But i just can find the solution…Please someone help me… Thank youuu :slight_smile:

Heloo,

Please help, can not I run programming via JTAG programmer OLIMEX for LPC1788 processor.

For LPC2478 and running of my work, now I want to convert FW for LPC1788, and I can not connect via JTAG with LPC1788 processor.

For LPC2478 i use this setting.

openocd.cfg


telnet_port 4444

gdb_port 3333

gdb_memory_map enable

gdb_flash_program enable

#interface presto

interface ft2232

ft2232_device_desc “USB ↔ JTAG+ A”

ft2232_layout olimex-jtag

ft2232_vid_pid 0x0403 0x99B8

jtag_speed 10

jtag_nsrst_delay 100

jtag_ntrst_delay 100

jtag_reset 1 1

jtag_reset 0 0

reset_config trst_and_srst

jtag_device 4 0x1 0xf 0x4f1f0f0f

daemon_startup reset

#target

#target cortex_m3 little run_and_init 0

#target cortex_m3 little run_and_halt 0

#target arm7tdmi little run_and_init 0 arm7tdmi-s_r4

target cortex_m3 little run_and_init 0

run_and_halt_time 0 30

target_script 0 reset lpc1788.ocd

working_area 0 0x40000000 0x10000 nobackup

#flash bank lpc2000 0x0 0x7D000 0 0 0 lpc2000_v2 12000 calc_checksum


LPC2478.ocd

arm7_9 dcc_downloads enable

wait_halt

sleep 10

poll

flash probe 0

#flash protect 0 0 26 off

#flash erase_sector 0 0 0

flash erase_sector 0 0 26

flash write_image erase EST_v_1_00_RGB.bin 0x0 bin

reset run

sleep 30

shutdown


Thank you

Jaromir