Hi,
I’m still trying to get the Chameleon POD working in JTAG Accelerator mode with latest OpenOCD. I have used Amontec’s utility to load “amontec_jtag_accelerator_051211.amtsvf” into the unit. It seems to program without any errors. I have modified the LPC2103 script for OpenOCD, taken from: http://www.ixbat.de/index.php?page_id=95 . My config file is shown below.
When I invoke OpenOCD I keep getting:
$ openocd -f lpc2103_openocd_amt.cfg
Info: openocd.c:82 main(): Open On-Chip Debugger (2006-09-07 20:00 CEST)
Warning: amt_jtagaccel.c:479 amt_jtagaccel_init(): No parport port specified, us
ing default ‘0x378’ (LPT1)
Error: amt_jtagaccel.c:184 amt_wait_scan_busy(): amt_jtagaccel timed out while waiting for end of scan, rtck was disabled
Can anyone using the POD in JTAG Accelerator mode shed some light? I’m really getting frustrated here. I tried using OpenOCD to upload the chameleon config to the POD but that didn’t seem to do anything. I can get OpenOCD to talk to it in Wiggler mode, but I specifically got the POD to use for the acceleration purpose.
Here’s my config file:
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface amt_jtagaccel
jtag_speed 5
#use combined on interfaces or targets that can’t set TRST/SRST separately
reset_config trst_and_srst trst_pulls_srst
#reset_config trst_and_srst srst_pulls_trst
#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_init 0 arm7tdmi-s_r4
run_and_halt_time 0 30
working_area 0 0x40000000 0x2000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14765 calc_checksum
#flash bank cfi 0x80000000 0x400000 2 2 0