Hello,
I have not managed yet to make my Amontec chameleon POD (as JTAG accelerator) communicate with a LPC2148 processor board (Embedded artists education board) and I would like to ask (more like beg) for your help!
First I tried to use the yagarto toolchain but as far as I could understand the executable openocd-pp.exe had no support for the jtag accelerator. So I uninstall it. Then I installed cygwin, downloaded the latest openocd svn (102) and build it with the jtag accelerator enabled (–enable-amtjtagaccel option), so far so good.
When I try to run the openocd I have the following error:
$ openocd -f accel.cfg
Info: openocd.c:82 main(): Open On-Chip Debugger (2006-09-07 20:00 CEST)
10489 [main] openocd 3400 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack)
Segmentation fault (core dumped)
How can I fix this? Please note that I have test it with and without the amontec parallel port drivers for the windows XP and I have the same result.
Also I have set the parallel port to ‘EPP/ECP’ at the bios. This is the only valid choice. The others are ‘Bidirectional’ and ‘Standard’.
This is the configuration file I used:
#daemon configuration
telnet_port 4444
gdb_port 3333
#interface
interface amt_jtagaccel
parport_port 0x378
rtck enabled
jtag_speed 0
#use combined on interfaces or targets that can’t set TRST/SRST separately
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 0x8000 nobackup
#flash configuration
flash bank lpc2000 0x0 0x7d000 0 0 lpc2000_v2 0 12000 calc_checksum
Can someone tell me if something is wrong?
Also I have read that the jtag speed must be 1/6 of the current speed (12Mhz) of the processor (8Mhz/2^value). Is this correct? Now I am running at full speed. Should I set value to 2?
Thank you very much for your time.
Sincerely,
Triantafillos Paradas