openocd + xscale pxa270

Hi all

Does openocd currently support intel xscale processors?

Im trying to debug my pxa270 which Amontec JTAGkey-Tiny and I get some errors and I cant locate the problem.

My configuration file is :

#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_nsrst_delay 200
jtag_ntrst_delay 200

jtag_speed 2

#use combined on interfaces or targets that can't set TRST/SRST  
#separately
reset_config trst_and_srst trst_pulls_srst


#jtag scan chain
jtag_device 7 0x1 0x7f 0x7e

#target configuration
daemon_startup reset

#target <type> <startup mode>
#target arm7tdmi <reset mode> <chainpos> <endianness> <variant>
target xscale little run_and_halt 0 pxa27x
run_and_halt_time 0 30

and I get the result:

Debug:   jtag.c:1246 jtag_init(): 
Debug:   ft2232.c:1243 ft2232_init(): 'ft2232' interface using FTD2XX with 'jtagkey' layout
Debug:   ft2232.c:1329 ft2232_init(): current latency timer: 2
Debug:   ft2232.c:1492 jtagkey_init(): 80 08 1b
Debug:   ft2232.c:1550 jtagkey_init(): 82 09 0f
Debug:   ft2232.c:241 ft2232_speed(): 86 02 00
Debug:   jtag.c:274 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug:   jtag.c:1132 jtag_reset_callback(): 
Debug:   ft2232.c:1126 ft2232_execute_queue(): statemove: 0
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 3):
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 4b 06 7f 
Debug:   jtag.c:274 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug:   jtag.c:1132 jtag_reset_callback(): 
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x01ff
Debug:   ft2232.c:1181 ft2232_execute_queue(): IR scan, 9 bit, end in 0
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 10):
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 4b 06 1b 39 00 00 ff 6b 06 ff 
Info:    ft2232.c:375 ft2232_send_and_recv(): inter: 0.0, inter2: 0.0 end: 0.0
Debug:   ft2232.c:390 ft2232_send_and_recv(): read buffer (0 retries): 2 bytes
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 81 ff 
Debug:   jtag.c:1032 jtag_read_buffer(): fields[0].in_value: 0x0181
Debug:   openocd.c:101 main(): jtag init complete
Debug:   xscale.c:1515 xscale_assert_reset(): target->state: unknown
Debug:   jtag.c:274 jtag_call_event_callbacks(): jtag event: SRST asserted
Debug:   jtag.c:1132 jtag_reset_callback(): 
Debug:   jtag.c:274 jtag_call_event_callbacks(): jtag event: TRST asserted
Debug:   jtag.c:1132 jtag_reset_callback(): 
Debug:   ft2232.c:939 jtagkey_reset(): trst: 1, srst: 1, high_output: 0x00, high_direction: 0x0f
Debug:   ft2232.c:1044 ft2232_execute_queue(): trst: 1, srst: 1
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 3):
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 82 00 0f 
Debug:   ft2232.c:1189 ft2232_execute_queue(): sleep 1000 usec
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 0):
Debug:   jtag.c:274 jtag_call_event_callbacks(): jtag event: SRST asserted
Debug:   jtag.c:1132 jtag_reset_callback(): 
Debug:   jtag.c:274 jtag_call_event_callbacks(): jtag event: TRST released
Debug:   jtag.c:1132 jtag_reset_callback(): 
Debug:   ft2232.c:939 jtagkey_reset(): trst: 0, srst: 1, high_output: 0x01, high_direction: 0x0f
Debug:   ft2232.c:1044 ft2232_execute_queue(): trst: 0, srst: 1
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 3):
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 82 01 0f 
Debug:   ft2232.c:1189 ft2232_execute_queue(): sleep 200000 usec
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 0):
Debug:   ft2232.c:1189 ft2232_execute_queue(): sleep 100000 usec
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x09
Debug:   ft2232.c:1181 ft2232_execute_queue(): IR scan, 7 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x02
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x40010000
Debug:   jtag.c:1001 jtag_build_buffer(): fields[2].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 36 bit, end in 8
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 25):
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 1b 3b 05 09 6b 06 31 4b 06 25 39 03 00 02 
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 00 08 00 3b 02 02 6b 06 31 
Info:    ft2232.c:375 ft2232_send_and_recv(): inter: 0.0, inter2: 0.0 end: 0.0
Debug:   ft2232.c:390 ft2232_send_and_recv(): read buffer (0 retries): 8 bytes
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 07 fc 00 00 00 00 00 fc 
Debug:   jtag.c:1032 jtag_read_buffer(): fields[0].in_value: 0x01
Debug:   jtag.c:1032 jtag_read_buffer(): fields[0].in_value: 0x00
Warning: jtag.c:1074 jtag_read_buffer(): value captured during scan didn't pass the requested check: captured: 0x00 check_value: 0x02 check_mask: 0x07
Debug:   jtag.c:1032 jtag_read_buffer(): fields[2].in_value: 0x00
Debug:   ft2232.c:1102 ft2232_execute_queue(): runtest: 100, end in 8
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 45):
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 01 00 
Debug:   jtag.c:274 jtag_call_event_callbacks(): jtag event: SRST released
Debug:   jtag.c:1132 jtag_reset_callback(): 
Debug:   ft2232.c:939 jtagkey_reset(): trst: 0, srst: 0, high_output: 0x09, high_direction: 0x0f
Debug:   ft2232.c:1044 ft2232_execute_queue(): trst: 0, srst: 0
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 3):
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 82 09 0f 
Debug:   ft2232.c:1189 ft2232_execute_queue(): sleep 200000 usec
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 0):
Debug:   ft2232.c:1189 ft2232_execute_queue(): sleep 200000 usec
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 0):
Debug:   ft2232.c:1189 ft2232_execute_queue(): sleep 150000 usec
Debug:   ft2232.c:1102 ft2232_execute_queue(): runtest: 2030, end in 8
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 870):
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 4b 06 00 
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 4b 06 00 4b 06 00 
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x02
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x40010000
Debug:   jtag.c:1001 jtag_build_buffer(): fields[2].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 36 bit, end in 8
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 16):
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 25 39 03 00 02 00 08 00 3b 02 22 6b 06 31 
Info:    ft2232.c:375 ft2232_send_and_recv(): inter: 0.0, inter2: 0.0 end: 0.20000
Debug:   ft2232.c:390 ft2232_send_and_recv(): read buffer (0 retries): 6 bytes
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 13 50 26 49 49 fc 
Debug:   jtag.c:1032 jtag_read_buffer(): fields[0].in_value: 0x03
Warning: jtag.c:1074 jtag_read_buffer(): value captured during scan didn't pass the requested check: captured: 0x03 check_value: 0x02 check_mask: 0x07
Debug:   jtag.c:1032 jtag_read_buffer(): fields[2].in_value: 0x00
Debug:   xscale.c:789 xscale_load_ic(): loading miniIC at 0xfe000820
Debug:   xscale.c:775 parity(): parity of 0xee1ade10 is 0
Debug:   xscale.c:775 parity(): parity of 0xe21dd102 is 1
Debug:   xscale.c:775 parity(): parity of 0x1a000001 is 0
Debug:   xscale.c:775 parity(): parity of 0xe3a0d103 is 1
Debug:   xscale.c:775 parity(): parity of 0xee0ade10 is 1
Debug:   xscale.c:775 parity(): parity of 0xee1efe10 is 0
Debug:   xscale.c:775 parity(): parity of 0x6afffffd is 1
Debug:   xscale.c:775 parity(): parity of 0xee080e10 is 1
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x07
Debug:   ft2232.c:1181 ft2232_execute_queue(): IR scan, 7 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x03
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x07f00041
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xee1ade10
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe21dd102
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x1a000001
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe3a0d103
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xee0ade10
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xee1efe10
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x6afffffd
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xee080e10
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 126):
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 2b 3b 05 07 6b 06 31 4b 06 25 19 03 00 43 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 10 00 fc 4b 06 b1 4b 06 25 19 03 00 10 de 1a ee 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 31 4b 06 25 19 03 00 02 d1 1d e2 4b 06 b1 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 01 00 00 1a 4b 06 31 4b 06 25 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 19 03 00 03 d1 a0 e3 4b 06 b1 4b 06 25 19 03 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 10 de 0a ee 4b 06 b1 4b 06 25 19 03 00 10 fe 1e 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): ee 4b 06 31 4b 06 25 19 03 00 fd ff ff 6a 4b 06 
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): b1 4b 06 25 19 03 00 10 0e 08 ee 4b 06 b1 
Info:    ft2232.c:375 ft2232_send_and_recv(): inter: 0.0, inter2: 0.0 end: 0.0
Debug:   ft2232.c:390 ft2232_send_and_recv(): read buffer (0 retries): 2 bytes
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): 07 fc 
Debug:   jtag.c:1032 jtag_read_buffer(): fields[0].in_value: 0x01
Debug:   xscale.c:789 xscale_load_ic(): loading miniIC at 0xfe000840
Debug:   xscale.c:775 parity(): parity of 0xee1efe10 is 0
Debug:   xscale.c:775 parity(): parity of 0x6afffffd is 1
Debug:   xscale.c:775 parity(): parity of 0xee08ee10 is 0
Debug:   xscale.c:775 parity(): parity of 0xe1a00001 is 1
Debug:   xscale.c:775 parity(): parity of 0xeb000170 is 0
Debug:   xscale.c:775 parity(): parity of 0xe1a00002 is 1
Debug:   xscale.c:775 parity(): parity of 0xeb00016e is 0
Debug:   xscale.c:775 parity(): parity of 0xe1a00003 is 0
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x03
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x07f00042
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xee1efe10
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x6afffffd
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xee08ee10
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe1a00001
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xeb000170
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe1a00002
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xeb00016e
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe1a00003
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 117):
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 4b 06 25 19 03 00 83 10 00 fc 4b 06 b1 4b 06 25 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 19 03 00 10 fe 1e ee 4b 06 31 4b 06 25 19 03 00 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): fd ff ff 6a 4b 06 b1 4b 06 25 19 03 00 10 ee 08 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): ee 4b 06 31 4b 06 25 19 03 00 01 00 a0 e1 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): b1 4b 06 25 19 03 00 70 01 00 eb 4b 06 31 4b 06 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 25 19 03 00 02 00 a0 e1 4b 06 b1 4b 06 25 19 03 
Debug:   ft2232.c:310 ft2232_debug_dump_buffer(): 00 6e 01 00 eb 4b 06 31 4b 06 25 19 03 00 03 00 
Debug:   ft2232.c:316 ft2232_debug_dump_buffer(): a0 e1 4b 06 31 
Debug:   xscale.c:789 xscale_load_ic(): loading miniIC at 0xfe000860
Debug:   xscale.c:775 parity(): parity of 0xeb00016c is 1
Debug:   xscale.c:775 parity(): parity of 0xe1a00004 is 1
Debug:   xscale.c:775 parity(): parity of 0xeb00016a is 1
Debug:   xscale.c:775 parity(): parity of 0xe1a00005 is 0
Debug:   xscale.c:775 parity(): parity of 0xeb000168 is 0
Debug:   xscale.c:775 parity(): parity of 0xe1a00006 is 0
Debug:   xscale.c:775 parity(): parity of 0xeb000166 is 1
Debug:   xscale.c:775 parity(): parity of 0xe1a00007 is 1
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0x03
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x07f00043
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xeb00016c
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe1a00004
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xeb00016a
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe1a00005
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xeb000168
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe1a00006
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x00
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xeb000166
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   jtag.c:1001 jtag_build_buffer(): fields[0].out_value: 0xe1a00007
Debug:   jtag.c:1001 jtag_build_buffer(): fields[1].out_value: 0x01
Debug:   ft2232.c:1181 ft2232_execute_queue(): DR scan, 33 bit, end in 8
Debug:   ft2232.c:335 ft2232_send_and_recv(): write buffer (size 117):

ect

what could be wrong, could it be the the reset lines configuration or opencod simply does nt support pxa270 yet?

Regards

jacek

Hi,

while the OpenOCD works fine with PXA250, IXP42x, and PXA255 afaik, it currently doesn’t seem to work with PXA27x targets.

The XScale code has been merged into trunk/, so you shouldn’t use the XScale branch anymore. With Marvell’s policy of requiring an NDA for every bit of information on their devices it’ll be difficult to find out what changes might be required to make OpenOCD with PXA270 devices.

Regards,

Dominic

Hi,

stonoga_jacek:
Hi all

Does openocd currently support intel xscale processors?

Im trying to debug my pxa270 which Amontec JTAGkey-Tiny and I get some errors and I cant locate the problem.

what pxa270 hw do you use? There are some boards on market which do not implement the PXA reset modes correctly, and a SRST also causes the core voltage regulator to shutdown (for whatever reason) - which in turn puts the device in deep sleep mode and resets your JTAG and DCSR settings. Therefore you can catch the CPU in reset and uploading the debug handler is impossible.

Other hardware doesn’t implement separate TRST and SRST lines - won’t work either.

These boards can be considered as flawed designs and will never work until the ‘hardware reset’ (just restarts execution at addr 0) is correctly implemented.

Carsten