OpenOCD and Amontec JTAGKey on Linux

hi

I have got Insight / GNUARM / OpenOCD / Amontec JTAGKey working on Windows for use in flashing and debugging the Philips LPC2106 and it works well.

I am now trying to migrate it all to Linux but am stuck at openocd / Amontec JTAGKey operation.

I am using openocd-r119 from the svn database, and the latest amontec jtagkey library file. All compiled and installed without error.

When I run the openocd program to flash the ARM device, the program works intermittently. Most of the time, it locks up during the flash erase or flash write operations, and several seconds later it may or may not continue.

I thought it might be a JTAG speed setting but I changed that and no improvement.

I also ran the openocd program through ddd debugger and it showed that during the hangup it was in an ioctl routine inside the Amontec shared library [routine was usb_bulk_write] called from openocd ftd2xx.c/FT_Write routine.

Any ideas of where this breakdown might be occurring.

Thanks,

Kent.

Here are my config files and transcripts:


OpenOCD configuration

Flash LPC2106 memory using openocd

and a FTDI FT2232-based JTAG-interface

created by Martin Thomas

based on information from Dominic Rath

#daemon configuration

telnet_port 4444

gdb_port 3333

#interface

interface ft2232

ft2232_device_desc “Amontec JTAGkey A”

ft2232_layout jtagkey

ft2232_vid_pid 0x0403 0xcff8

jtag_speed 3

jtag_nsrst_delay 200

jtag_ntrst_delay 200

#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

flash-options LPC2106

target_script 0 reset openocd_lpc2106_flash.script

working_area 0 0x40000000 0x4000 nobackup

LPC2106 @ 14.74MHz / 0x7D000 from 500*1024 (not 512!)

flash bank lpc2000 0x0 0x40000 0 0 lpc2000_v1 0 14740 calc_checksum

For more information about the configuration files, take a look at:

http://openfacts.berlios.de/index-en.ph … p+Debugger


OpenOCDScript file for flashing device

The following command wills be executed on

reset (because of run_and_init in the config-file)

- wait for target halt

- erase memory

- flash content of file main.bin into target-memory

- shutdown openocd

created by Martin Thomas

http://www.siwawi.arubi.uni-kl.de/avr_p … m_projects

based on information from Dominic Rath

arm7_9 dcc_downloads enable

wait_halt

sleep 10

poll

flash probe 0

flash erase 0 0 0

flash write 0 main.bin 0x0

reset run

sleep 10

shutdown


Output from OpenOCD without debug

[Note: In this example, the openocd locks up for 2 seconds near the start and continues, then locks up for 17 seconds during the flash write before continuing - you can see that by the “inter” values in the print statements]

[Note also that although it hung up twice, both times it resumed and completed successfully - many other times I have tried, the prgram has not returned from the hang up]

Info: openocd.c:84 main(): Open On-Chip Debugger (2006-11-22 14:00 CEST)

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.981, inter2: 0.981 end: 0.3009

Warning: arm7_9_common.c:683 arm7_9_assert_reset(): srst resets test logic, too

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2089, inter2: 0.2090 end: 0.3139

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1681, inter2: 0.1681 end: 0.2726

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.826, inter2: 0.826 end: 0.3861

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2081, inter2: 0.2081 end: 0.5115

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1156, inter2: 0.1156 end: 0.3184

Info: target.c:219 target_init_handler(): executing reset script ‘openocd_lpc2106_flash.script’

Info: configuration.c:50 configuration_output_handler(): dcc downloads are enabled

Info: configuration.c:50 configuration_output_handler(): waiting for target halted…

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1154, inter2: 0.1155 end: 0.4272

Info: configuration.c:50 configuration_output_handler(): target halted

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1102, inter2: 0.1102 end: 0.2137

Info: configuration.c:50 configuration_output_handler(): target state: halted

Info: configuration.c:50 configuration_output_handler(): target halted in Thumb state due to debug request, current mode: Supervisor

Info: configuration.c:50 configuration_output_handler(): cpsr: 0x800000f3 pc: 0x7fffe250

Info: configuration.c:50 configuration_output_handler(): flash ‘lpc2000’ found at 0x00000000

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1834, inter2: 0.1835 end: 0.4868

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1127, inter2: 0.1127 end: 0.3158

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 2.970731, inter2: 2.970731 end: 2.971775

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1865, inter2: 0.1865 end: 0.4940

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1928, inter2: 0.1928 end: 0.4956

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1133, inter2: 0.1133 end: 0.3213

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1084, inter2: 0.1085 end: 0.3113

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2823, inter2: 0.2823 end: 0.5854

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1003, inter2: 0.1003 end: 0.2161

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.138, inter2: 0.139 end: 0.2169

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2031, inter2: 0.2031 end: 0.4067

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1917, inter2: 0.1917 end: 0.3948

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.985, inter2: 0.985 end: 0.2194

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1065, inter2: 0.1066 end: 0.3096

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1079, inter2: 0.1080 end: 0.3111

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2831, inter2: 0.2832 end: 0.5862

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1101, inter2: 0.1101 end: 0.3132

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1988, inter2: 0.1988 end: 0.5020

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1079, inter2: 0.1079 end: 0.3108

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1115, inter2: 0.1116 end: 0.4173

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.3541, inter2: 0.3542 end: 0.6573

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1096, inter2: 0.1096 end: 0.3125

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2921, inter2: 0.2922 end: 0.3955

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2893, inter2: 0.2893 end: 0.3927

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2910, inter2: 0.2910 end: 0.3953

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2912, inter2: 0.2913 end: 0.3946

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2914, inter2: 0.2914 end: 0.3947

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2917, inter2: 0.2917 end: 0.3949

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2915, inter2: 0.2916 end: 0.3948

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2389, inter2: 0.2389 end: 0.3433

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2910, inter2: 0.2910 end: 0.3944

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2910, inter2: 0.2911 end: 0.3943

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2909, inter2: 0.2909 end: 0.3942

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2901, inter2: 0.2901 end: 0.3934

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2857, inter2: 0.2857 end: 0.3891

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2885, inter2: 0.2885 end: 0.3929

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2798, inter2: 0.2798 end: 0.3836

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2904, inter2: 0.2904 end: 0.3938

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2903, inter2: 0.2904 end: 0.3937

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2893, inter2: 0.2893 end: 0.3926

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2454, inter2: 0.2455 end: 0.3497

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2897, inter2: 0.2898 end: 0.3933

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.969, inter2: 0.969 end: 0.4004

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2878, inter2: 0.2878 end: 0.5957

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1955, inter2: 0.1955 end: 0.3988

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1044, inter2: 0.1044 end: 0.4076

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1959, inter2: 0.1959 end: 0.4990

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1800, inter2: 0.1801 end: 0.4830

Info: configuration.c:50 configuration_output_handler(): erased sectors 0 through 0 on flash bank 0 in 3s 525832us

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2806, inter2: 0.2807 end: 0.5842

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1947, inter2: 0.1947 end: 0.3976

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1785, inter2: 0.1786 end: 0.4814

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1982, inter2: 0.1982 end: 0.4009

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2007, inter2: 0.2007 end: 0.5035

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.3436, inter2: 0.3436 end: 0.6466

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1965, inter2: 0.1966 end: 0.3995

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.948, inter2: 0.948 end: 0.3990

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2707, inter2: 0.2707 end: 0.5737

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1939, inter2: 0.1939 end: 0.3967

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2019, inter2: 0.2019 end: 0.4052

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1883, inter2: 0.1883 end: 0.4911

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1926, inter2: 0.1927 end: 0.4953

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2730, inter2: 0.2730 end: 0.5765

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1907, inter2: 0.1907 end: 0.3935

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.3515, inter2: 0.3516 end: 0.6547

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.6789, inter2: 0.6789 end: 0.9822

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1793, inter2: 0.1794 end: 0.4826

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1878, inter2: 0.1878 end: 0.3906

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 17.371774, inter2: 17.371774 end: 17.372817

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.811, inter2: 0.811 end: 0.2850

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1708, inter2: 0.1709 end: 0.2743

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.879, inter2: 0.879 end: 0.2882

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.851, inter2: 0.851 end: 0.1895

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2526, inter2: 0.2526 end: 0.4556

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.927, inter2: 0.928 end: 0.1978

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2937, inter2: 0.2938 end: 0.3972

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.962, inter2: 0.963 end: 0.2002

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1742, inter2: 0.1742 end: 0.3775

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.826, inter2: 0.826 end: 0.1883

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.879, inter2: 0.880 end: 0.1922

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.798, inter2: 0.798 end: 0.1915

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.730, inter2: 0.731 end: 0.1772

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1662, inter2: 0.1663 end: 0.3693

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.843, inter2: 0.843 end: 0.1881

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1711, inter2: 0.1712 end: 0.2749

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.839, inter2: 0.839 end: 0.2876

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.847, inter2: 0.847 end: 0.1913

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.3530, inter2: 0.3531 end: 0.5416

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.899, inter2: 0.900 end: 0.2899

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.962, inter2: 0.963 end: 0.2997

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1746, inter2: 0.1747 end: 0.3810

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.796, inter2: 0.796 end: 0.1931

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.800, inter2: 0.800 end: 0.1970

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.669, inter2: 0.669 end: 0.1798

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.725, inter2: 0.725 end: 0.1955

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.3186, inter2: 0.3187 end: 0.5216

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.6766, inter2: 0.6766 end: 0.9800

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1790, inter2: 0.1790 end: 0.3881

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.774, inter2: 0.775 end: 0.2208

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1278, inter2: 0.1278 end: 0.3309

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.845, inter2: 0.845 end: 0.2137

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1461, inter2: 0.1461 end: 0.3494

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.834, inter2: 0.834 end: 0.2191

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.532, inter2: 0.532 end: 0.3564

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2533, inter2: 0.2534 end: 0.5562

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.891, inter2: 0.891 end: 0.3930

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1928, inter2: 0.1928 end: 0.2965

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1023, inter2: 0.1024 end: 0.2001

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1738, inter2: 0.1738 end: 0.3813

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.783, inter2: 0.784 end: 0.1850

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.867, inter2: 0.867 end: 0.1930

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.773, inter2: 0.773 end: 0.1888

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.753, inter2: 0.753 end: 0.1844

Info: configuration.c:50 configuration_output_handler(): wrote file main.bin to flash bank 0 at offset 0x00000000 in 17s 671299us

Warning: arm7_9_common.c:683 arm7_9_assert_reset(): srst resets test logic, too


Output from OpenOCD with debug

[note this is a different execution of the openOCD in which it locks up and doesn’t continue]

Info: openocd.c:84 main(): Open On-Chip Debugger (2006-11-22 14:00 CEST)

Debug: jtag.c:1217 jtag_init():

Debug: ft2232.c:1244 ft2232_init(): ‘ft2232’ interface using FTD2XX with ‘jtagkey’ layout

[New Thread 32769 (LWP 5849)]

[New Thread 16386 (LWP 5850)]

Debug: ft2232.c:1330 ft2232_init(): current latency timer: 2

Debug: ft2232.c:1502 jtagkey_init(): 80 08 1b

Debug: ft2232.c:1560 jtagkey_init(): 82 09 0f

Debug: ft2232.c:242 ft2232_speed(): 86 03 00

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 1

Debug: jtag.c:1103 jtag_reset_callback():

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 3):

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 4b 06 7f

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 1

Debug: jtag.c:1103 jtag_reset_callback():

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 9):

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 4b 06 1b 3b 04 3f 6b 06 ff

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1998, inter2: 0.1998 end: 0.5046

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 2 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 88 33

Debug: openocd.c:102 main(): jtag init complete

Debug: arm7_9_common.c:656 arm7_9_assert_reset(): target->state: unknown

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 0

Debug: jtag.c:1103 jtag_reset_callback():

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 1

Debug: jtag.c:1103 jtag_reset_callback():

Warning: arm7_9_common.c:683 arm7_9_assert_reset(): srst resets test logic, too

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 0

Debug: jtag.c:1103 jtag_reset_callback():

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 1

Debug: jtag.c:1103 jtag_reset_callback():

Debug: ft2232.c:940 jtagkey_reset(): trst: 1, srst: 1, high_output: 0x00, high_direction: 0x0f

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 3):

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 82 00 0f

Debug: ft2232.c:940 jtagkey_reset(): trst: 1, srst: 1, high_output: 0x00, high_direction: 0x0f

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 3):

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 82 00 0f

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 0):

Debug: arm7_9_common.c:722 arm7_9_deassert_reset(): target->state: reset

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 2

Debug: jtag.c:1103 jtag_reset_callback():

Debug: ft2232.c:940 jtagkey_reset(): trst: 0, srst: 0, high_output: 0x09, high_direction: 0x0f

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 3):

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 82 09 0f

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 0):

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 0):

Debug: openocd.c:106 main(): target init complete

Debug: openocd.c:110 main(): flash init complete

Debug: openocd.c:114 main(): pld init complete

Debug: gdb_server.c:1347 gdb_init(): gdb service for target arm7tdmi at port 3333

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: jtag.c:254 jtag_call_event_callbacks(): jtag event: 3

Debug: jtag.c:1103 jtag_reset_callback():

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 59):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 1b 3b 02 12 6b 06 31 4b 06 25 1b 02 12 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 31 4b 06 2b 3b 02 1c 6b 06 b1 4b 06 25 19 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 00 00 00 00 1b 04 01 4b 06 31 4b 06 25 39 03

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 00 00 00 00 00 3b 04 04 6b 06 31

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1594, inter2: 0.1595 end: 0.4820

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 10 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 26 00 20 00 04 00 00 00 08 00

Debug: arm7_9_common.c:838 arm7_9_halt(): target->state: running

Debug: embeddedice.c:253 embeddedice_write_reg(): 9: 0xffffffff

Debug: embeddedice.c:253 embeddedice_write_reg(): 11: 0xffffffff

Debug: embeddedice.c:253 embeddedice_write_reg(): 12: 0x00000100

Debug: embeddedice.c:253 embeddedice_write_reg(): 13: 0x000000f7

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 96):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 ff ff ff ff 1b 04 29 4b 06 b1

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 ff ff ff ff 1b 04 2b 4b 06 b1

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 00 01 00 00 1b 04 2c 4b 06 b1

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 f7 00 00 00 1b 04 2d 4b 06 b1

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 04 00 00 00 1b 04 01 4b 06 31

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 39 03 00 04 00 00 00 3b 04 04 6b 06 31

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.8570, inter2: 0.8570 end: 0.11620

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 6 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 09 00 00 00 08 00

Debug: arm7_9_common.c:620 arm7_9_poll(): DBGACK set, dbg_state->value: 0x9

Debug: embeddedice.c:253 embeddedice_write_reg(): 0: 0x00000005

Debug: embeddedice.c:253 embeddedice_write_reg(): 12: 0x00000000

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 32):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 05 00 00 00 1b 04 20 4b 06 b1

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 00 00 00 00 1b 04 2c 4b 06 b1

Debug: arm7_9_common.c:944 arm7_9_debug_entry(): target entered debug from ARM state

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 415):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 2b 3b 02 f2 6b 06 17 4b 06 20 1b 02 f1 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 1e 3b 02 fc 6b 06 97 4b 06 20 19 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 2e 02 fe ff 4b 06 81 4b 06 30 4b 06 05 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 30 4b 06 05 4b 06 20 28 03 00 6b 06 01 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 28 03 00 6b 06 01 4b 06 30 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 05 4b 06 20 28 03 00 6b 06 01 4b 06 30 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 05 4b 06 20 28 03 00 6b 06 01 4b 06 30 4b 06 05

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 28 03 00 6b 06 01 4b 06 30 4b 06 05 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 28 03 00 6b 06 01 4b 06 30 4b 06 05 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 28 03 00 6b 06 01 4b 06 30 4b 06 05 4b 06 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 28 03 00 6b 06 01 4b 06 30 4b 06 05 4b 06 20 28

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 6b 06 01 4b 06 30 4b 06 05 4b 06 20 28 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 6b 06 01 4b 06 30 4b 06 05 4b 06 20 28 03 00

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 6b 06 01 4b 06 30 4b 06 05 4b 06 20 28 03 00 6b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 30 4b 06 05 4b 06 20 28 03 00 6b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 01 4b 06 30 4b 06 05 4b 06 20 28 03 00 6b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 28 03 00 6b 06 01 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 30 4b 06 05 4b 06 20 28 03 00 6b 06 01 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 30 4b 06 05 4b 06 20 19 03 00 0e e1 01 00 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 4e e3 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 0e 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b 06 05

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 4b 06 20 28 03 00 6b 06 01 4b 06 30 4b 06 05

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.9945, inter2: 0.9946 end: 0.16168

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 89 bytes

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 00 20 0c 0e 80 02 40 00 0e 80 02 20 00 00 e0

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): d6 bd 01 00 00 00 02 00 00 00 00 00 00 0e f0 07

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 04 00 04 00 00 29 00 00 00 00 00 00 04 00 00 96

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 01 fe ff ff ff 03 fe ff ff ff 03 fe ff ff ff 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 0e 80 02 60 00 04 00 fe 26 00 00 e0 05 00 00 00

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 00 80 14 00 08 00 00 f6 03

Debug: arm7_9_common.c:976 arm7_9_debug_entry(): target entered debug state in System mode

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r0: 0xe0028004

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r1: 0xe0028008

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r2: 0x000ed77a

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r3: 0x00000080

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r4: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r5: 0xe01fc040

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r6: 0x40000128

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r7: 0x00000000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r8: 0x400000d2

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r9: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r10: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r11: 0xffffffff

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r12: 0xe002800c

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r13: 0x4000fec8

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r14: 0x000f4000

Debug: arm7_9_common.c:1005 arm7_9_debug_entry(): r15: 0x00000238

Debug: arm7_9_common.c:1011 arm7_9_debug_entry(): entered debug state at PC 0x238

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 91):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 19 03 00 0e e1 01 00 4b 06 01 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 19 03 00 4e e3 01 00 4b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06 20 28

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 03 00 6b 06 01 4b 06 30 4b 06 05

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.657, inter2: 0.657 end: 0.1681

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 5 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 08 00 00 f6 03

Debug: target.c:442 target_call_event_callbacks(): target event 0

Info: target.c:219 target_init_handler(): executing reset script ‘openocd_lpc2106_flash.script’

Info: configuration.c:50 configuration_output_handler(): dcc downloads are enabled

Info: configuration.c:50 configuration_output_handler(): waiting for target halted…

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 59):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 1e 3b 02 02 6b 06 31 4b 06 25 1b 02 02 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 31 4b 06 2b 3b 02 0c 6b 06 b1 4b 06 25 19 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 09 00 00 00 1b 04 01 4b 06 31 4b 06 25 39 03

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 00 09 00 00 00 3b 04 04 6b 06 31

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.774, inter2: 0.775 end: 0.1799

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 10 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 20 00 20 00 09 00 00 00 08 7c

Debug: arm7_9_common.c:620 arm7_9_poll(): DBGACK set, dbg_state->value: 0x9

Info: configuration.c:50 configuration_output_handler(): target halted

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 32):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 09 00 00 00 1b 04 41 4b 06 31

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 39 03 00 09 00 00 00 3b 04 44 6b 06 31

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.11554, inter2: 0.11555 end: 0.14598

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 6 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 09 00 00 00 08 7c

Debug: arm7_9_common.c:620 arm7_9_poll(): DBGACK set, dbg_state->value: 0x9

Info: configuration.c:50 configuration_output_handler(): target state: halted

Info: configuration.c:50 configuration_output_handler(): target halted in ARM state due to debug request, current mode: System

Info: configuration.c:50 configuration_output_handler(): cpsr: 0x200000df pc: 0x00000238

Info: configuration.c:50 configuration_output_handler(): flash ‘lpc2000’ found at 0x00000000

Debug: target.c:522 target_alloc_working_area(): allocating new working area

Debug: arm7_9_common.c:1822 arm7_9_write_memory(): address: 0x40000000, size: 0x00000004, count: 0x00000002

Debug: embeddedice.c:253 embeddedice_write_reg(): 0: 0x00000004

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 431):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 2b 3b 02 f2 6b 06 17 4b 06 20 1b 02 f1 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 1e 3b 02 fc 6b 06 97 4b 06 20 19 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 2e 12 00 00 4b 06 81 4b 06 30 4b 06 05 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 30 4b 06 05 4b 06 20 19 03 00 04 00 00 00 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 4b 06 01 4b 06 30 4b 06 05 4b 06 1e 3b 02 f2

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 6b 06 31 4b 06 25 1b 02 f2 4b 06 31 4b 06 2b 3b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 02 fc 6b 06 b1 4b 06 25 19 03 00 04 00 00 00 1b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 04 20 4b 06 b1 4b 06 2b 3b 02 f2 6b 06 17 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 1b 02 f1 4b 06 01 4b 06 1e 3b 02 fc 6b 06 97

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 19 03 00 2e 12 00 c0 4b 06 01 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): e9 ff 71 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 ae fe ff ff 4b 06 01 4b 06 30 4b 06 05 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 30 4b 06 05 4b 06 20 19 03 00 0f 0b 02 20 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 2e 0a

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 c0 4b 06 01 4b 06 30 4b 06 05 4b 06 1e 3b 02

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): f4 6b 06 31 4b 06 2b 3b 02 f2 6b 06 31 4b 06 25

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 1b 02 f2 4b 06 31 4b 06 2b 3b 02 fc 6b 06 b1 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 25 19 03 00 09 00 00 00 1b 04 01 4b 06 31 4b

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 06 25 39 03 00 09 00 00 00 3b 04 04 6b 06 31

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.1862, inter2: 0.1863 end: 0.2907

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 24 bytes

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 2f 00 20 0c 21 00 20 00 20 00 20 0c 21 00 20 00

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 20 00 09 00 00 00 08 7c

Debug: embeddedice.c:253 embeddedice_write_reg(): 0: 0x00000005

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 134):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 05 00 00 00 1b 04 20 4b 06 b1

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 2b 3b 02 e2 6b 06 17 4b 06 20 1b 02 e1 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 1e 3b 02 ec 6b 06 97 4b 06 20 19 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 0e e1 01 00 4b 06 01 4b 06 30 4b 06 05 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 19 03 00 4e e3 01 00 4b 06 01 4b 06 30 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 01 4b 06 30 4b 06 05 4b 06 20 28 03 00 6b 06 01

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2738, inter2: 0.2739 end: 0.3771

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 9 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 2f 0c 21 cc 08 00 00 f6 03

Debug: arm7tdmi.c:506 arm7tdmi_write_xpsr_im8(): xpsr_im: d3, rot: 0, spsr: 0

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 148):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 19 03 00 8e 09 1f 96 4b 06 81 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 2e 02 08 00 4b 06 01 4b 06 30 4b 06 05 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 30 4b 06 05 4b 06 20 28 03 00 6b 06 01 4b 06

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 30 4b 06 05

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2786, inter2: 0.2787 end: 0.3807

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 5 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 04 00 fe 66 00

Debug: arm7tdmi.c:506 arm7tdmi_write_xpsr_im8(): xpsr_im: df, rot: 0, spsr: 0

Debug: arm7tdmi.c:506 arm7tdmi_write_xpsr_im8(): xpsr_im: d3, rot: 0, spsr: 0

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 224):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 19 03 00 8e 09 1f f6 4b 06 81 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 8e 09 1f 96 4b 06 81 4b 06 30 4b 06 05 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 2e 02

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 04 00 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 0e 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 05 4b 06 20 28 03 00 6b 06 01 4b 06 30 4b 06 05

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.938, inter2: 0.938 end: 0.1979

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 5 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): fc ff 8f e6 03

Debug: arm7tdmi.c:506 arm7tdmi_write_xpsr_im8(): xpsr_im: df, rot: 0, spsr: 0

Debug: arm7tdmi.c:506 arm7tdmi_write_xpsr_im8(): xpsr_im: d3, rot: 0, spsr: 0

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 243):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 19 03 00 8e 09 1f f6 4b 06 81 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 8e 09 1f 96 4b 06 81 4b 06 30 4b 06 05 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e e1

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 01 00 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 4e e3 01 00 4b 06 01 4b 06 30 4b 06 05 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 30 4b 06 05 4b 06 20 28 03 00 6b 06 01 4b 06 30

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 4b 06 05

Info: ft2232.c:376 ft2232_send_and_recv(): inter: 0.2713, inter2: 0.2713 end: 0.3739

Debug: ft2232.c:391 ft2232_send_and_recv(): read buffer (0 retries): 5 bytes

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 08 00 00 96 03

Debug: arm7tdmi.c:506 arm7tdmi_write_xpsr_im8(): xpsr_im: df, rot: 0, spsr: 0

Debug: target.c:623 target_write_buffer(): writing buffer of 24 byte at 0x40000008

Debug: arm7_9_common.c:1822 arm7_9_write_memory(): address: 0x40000008, size: 0x00000004, count: 0x00000006

Debug: embeddedice.c:253 embeddedice_write_reg(): 0: 0x00000004

Debug: embeddedice.c:157 embeddedice_read_reg_w_check(): 1

Debug: ft2232.c:336 ft2232_send_and_recv(): write buffer (size 556):

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 19 03 00 8e 09 1f f6 4b 06 81 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 2e 12 00 00 4b 06 81 4b 06 30 4b 06 05 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 30 4b 06 05 4b 06 20 19 03 00 04 00 00 20 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 02 20 4b 06 01 4b 06 30 4b 06 05 4b 06 1e 3b 02

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 72 6b 06 31 4b 06 25 1b 02 72 4b 06 31 4b 06 2b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 3b 02 7c 6b 06 b1 4b 06 25 19 03 00 04 00 00 00

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 1b 04 20 4b 06 b1 4b 06 2b 3b 02 72 6b 06 17 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 1b 02 71 4b 06 01 4b 06 1e 3b 02 7c 6b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 97 4b 06 20 19 03 00 2e 12 00 fc 4b 06 01 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02 20 4b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 0e 0b 02

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 20 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 00 00 00 98 4b 06 01 4b 06 30 4b 06 05 4b 06 20

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 19 03 00 00 00 00 00 4b 06 01 4b 06 30 4b 06 05

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 20 19 03 00 00 00 00 00 4b 06 01 4b 06 30

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 05 4b 06 20 19 03 00 00 00 38 53 4b 06 01

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 30 4b 06 05 4b 06 20 19 03 00 04 50 fb 5f

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19 03 00 fa

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): ff 8f 38 4b 06 01 4b 06 30 4b 06 05 4b 06 20 19

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b 06 05 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 20 19 03 00 0e 0b 02 20 4b 06 01 4b 06 30 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 05 4b 06 20 19 03 00 0f 0b 02 20 4b 06 01 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 30 4b 06 05 4b 06 20 19 03 00 2e 0a 00 fc 4b

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 06 01 4b 06 30 4b 06 05 4b 06 1e 3b 02 74 6b 06

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 31 4b 06 2b 3b 02 72 6b 06 31 4b 06 25 1b 02 72

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 4b 06 31 4b 06 2b 3b 02 7c 6b 06 b1 4b 06 25 19

Debug: ft2232.c:311 ft2232_debug_dump_buffer(): 03 00 09 00 00 00 1b 04 01 4b 06 31 4b 06 25 39

Debug: ft2232.c:317 ft2232_debug_dump_buffer(): 03 00 09 00 00 00 3b 04 04 6b 06 31

In regard to my earlier request, I have an update.

I have installed the same openocd and amontec files onto another newer computer and it works without the hangups. So it is either a linux version issue or some hardware dependency.

FYI - The version that works is running on Linux 2.6.13 kernel and the one that didn’t is on a 2.4.31 kernel.

Thanks,

Kent.

Kent,

The Linux driver included in

amontec_jtagkey_utils_060517_setup.tar.gz

from

http://www.amontec.com/jtagkey.shtml#drivers

(setup.tar.zip)

was tested on Mandrake 9.2 kernel 2.4.25.

What Linux distri do you use for your 2.4.31 kernel?

I think this is an Linux Distri issue!

Anyway, it works on your 2.6.13

Regards,

Laurent

The fault occurred when using the Slackware 10.2 distribution.

Its standard kernel is 2.4.31, but can be upgraded to 2.6.13 within the distribution.

I will just coninue to use the working machines setup.

Thanks,

Kent.