I now have a problem on windows (ok on linux) that when I do a load of my elf file (to flash on cortex m3) I get the errors on openocd:
Error: AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap_tar 0xffffffff Error: SWJ-DP STICKY ERROR Error: Read MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x8000004 Error: AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap_tar 0xffffffff Error: SWJ-DP STICKY ERROR Error: Read MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x8000004 Warn : Block write error address 0x8000000, wcount 0x79 Error: unexpected error -107 This is with a jlink and the libusb driver which seems to be working otherwise. I can do a "flash load_image erase filename.elf" from telnet and it works OK and I can debug otherwise, so I am fairly sure the driver and jlink are OK. And when I move it all back to linux it works OK. If anyone has as idea of what could be wrong I would appreciate knowing it. I have tried several versions of gdb/insight that I know previously worked on XP. I have also tried the head svn version of oocd as well as r2005 which I have been using on linux with good results. Thanks, -gene P/s: Here is a more detailed log (-d3) of what is seen when I do the load: Debug: 461 70625 gdb_server.c:2048 gdb_input_inner(): received packet: 'X8000000,0:<binary-data>' Debug: 462 70640 gdb_server.c:2048 gdb_input_inner(): received packet: 'X8000000,1e4:<binary-data>' Debug: 463 70640 gdb_server.c:1324 gdb_write_memory_binary_packet(): addr: 0x08000000, len: 0x000001e4 Debug: 464 70640 target.c:1069 target_write_buffer(): writing buffer of 484 byte at 0x08000000 Debug: 465 70656 arm_adi_v5.c:231 swjdp_transaction_endcheck(): swjdp: CTRL/STAT error 0xf0000021 Error: 466 70656 arm_adi_v5.c:242 swjdp_transaction_endcheck(): AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap _tar 0xffffffff Error: 467 70656 arm_adi_v5.c:247 swjdp_transaction_endcheck(): SWJ-DP STICKY ERROR Debug: 468 70656 arm_adi_v5.c:255 swjdp_transaction_endcheck(): swjdp: status 0xf0000001 Error: 469 70656 arm_adi_v5.c:261 swjdp_transaction_endcheck(): Read MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x8000004 Debug: 470 70671 arm_adi_v5.c:231 swjdp_transaction_endcheck(): swjdp: CTRL/STAT error 0xf0000021 Error: 471 70671 arm_adi_v5.c:242 swjdp_transaction_endcheck(): AHBAP Cached values: dp_select 0x0, ap_csw 0xa2000012, ap _tar 0xffffffff Error: 472 70671 arm_adi_v5.c:247 swjdp_transaction_endcheck(): SWJ-DP STICKY ERROR Debug: 473 70671 arm_adi_v5.c:255 swjdp_transaction_endcheck(): swjdp: status 0xf0000001 Error: 474 70671 arm_adi_v5.c:261 swjdp_transaction_endcheck(): Read MEM_AP_CSW 0x23000052, MEM_AP_TAR 0x8000004 Warn : 475 70671 arm_adi_v5.c:499 mem_ap_write_buf_u32(): Block write error address 0x8000000, wcount 0x79 Error: 476 70671 gdb_server.c:1150 gdb_error(): unexpected error -107 _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development