Trying to probe the CFI Flash on http://www.ethernut.de/en/hardware/enut3/enut31d.html
with http://www.ethernut.de/en/hardware/turtelizer/ fails. Debug: 443 40051 command.c:145 script_debug(): command - ocd_command ocd_command type ocd_flash probe 0 Debug: 444 40059 command.c:145 script_debug(): command - ocd_flash ocd_flash probe 0 Debug: 446 40066 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 447 40077 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 448 40086 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 449 40091 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 450 40098 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 451 40105 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 452 40112 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000000, size: 0x00000002, count: 0x00000001 Debug: 453 40122 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000002, size: 0x00000002, count: 0x00000001 Info : 454 40132 cfi.c:2622 cfi_probe(): Flash Manufacturer/Device: 0xb714 0x1f7a Debug: 455 40137 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 456 40143 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 457 40152 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 458 40157 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 459 40164 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 460 40169 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 461 40176 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000020, size: 0x00000002, count: 0x00000001 Debug: 462 40186 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000022, size: 0x00000002, count: 0x00000001 Debug: 463 40196 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000024, size: 0x00000002, count: 0x00000001 Debug: 464 40206 cfi.c:2534 cfi_query_string(): CFI qry returned: 0x00 0x00 0x00 Debug: 465 40211 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 466 40217 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 467 40224 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 468 40229 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Error: 469 40236 cfi.c:2540 cfi_query_string(): Could not probe bank: no QRY User : 470 40239 cfi.c:2651 cfi_probe(): Try workaround w/0x555 instead of 0x55 to get QRY. Debug: 471 40244 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 472 40248 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 473 40254 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000020, size: 0x00000002, count: 0x00000001 Debug: 474 40262 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000022, size: 0x00000002, count: 0x00000001 Debug: 475 40270 arm7_9_common.c:2107 arm7_9_read_memory(): address: 0x10000024, size: 0x00000002, count: 0x00000001 Debug: 476 40278 cfi.c:2534 cfi_query_string(): CFI qry returned: 0x00 0x00 0x00 Debug: 477 40282 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 478 40286 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 479 40292 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 480 40296 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Error: 481 40302 cfi.c:2540 cfi_query_string(): Could not probe bank: no QRY Error: 482 40306 core.c:217 get_flash_bank_by_num(): auto_probe failed Debug: 483 40309 command.c:628 run_command(): Command failed with error code -900 User : 484 40314 command.c:666 command_run_line(): in procedure 'flash' It works with OpenOCD 0.5.0 Debug: 288 17363 command.c:151 script_debug(): command - ocd_command ocd_command type ocd_flash probe 0 Debug: 289 17370 command.c:151 script_debug(): command - ocd_flash ocd_flash probe 0 Debug: 291 17378 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 292 17389 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 293 17396 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 294 17401 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 295 17408 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000004 Debug: 296 17413 embeddedice.c:501 embeddedice_write_reg(): 0: 0x00000005 Debug: 297 17422 arm7_9_common.c:2271 arm7_9_read_memory(): address: 0x10000000, size: 0x00000002, count: 0x00000001 Debug: 298 17432 arm7_9_common.c:2271 arm7_9_read_memory(): address: 0x10000002, size: 0x00000002, count: 0x00000001 Info : 299 17442 cfi.c:2755 cfi_probe(): Flash Manufacturer/Device: 0x001f 0x00c8 .... Debug: 417 18280 cfi.c:2920 cfi_probe(): Vcc min: 2.7, Vcc max: 3.6, Vpp min: 11.5, Vpp max: 12.5 Debug: 418 18285 cfi.c:2925 cfi_probe(): typ. word write timeout: 16 us, typ. buf write timeout: 1 us, typ. block erase timeout: 102 4 ms, typ. chip erase timeout: 65536 ms Debug: 419 18294 cfi.c:2932 cfi_probe(): max. word write timeout: 256 us, max. buf write timeout: 1 us, max. block erase timeout: 40 96 ms, max. chip erase timeout: 262144 ms Debug: 420 18306 cfi.c:2947 cfi_probe(): calculated word write timeout: 1 ms, buf write timeout: 1 ms, block erase timeout: 4096 ms, chip erase timeout: 262144 ms Debug: 421 18317 cfi.c:2612 cfi_fixup_0002_erase_regions(): swapping reversed erase region information on cmdset 0002 device User : 422 18327 command.c:557 command_print(): flash 'cfi' found at 0x10000000 Regards, Harald ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ OpenOCD-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openocd-devel
