Hi all,
i have got during the last weeks some snapshots from git and get always the same error message: Error: 500 35843 armv4_5.c:1102 armv4_5_run_algorithm_inner(): BUG: register 'r13_svc' not found. I wonder here that the file name is armv4_5.c, because i use the configuration file of a arm7tdmi (NXP LPC2368). I have tried the config files of the LPC1248 and LPC2378. I can connect to the controller with both configs. Reset run, halt etc works, but flashing with flash write_image erase ./out/elf/cbserv_ctrl2.hex 0 don't. Since the OpenOcd-Developers love it too trow away the syntax from the last week ;-) and create a new one, perhaps my flash command is "outdated". Any hints? Here s the log: Debug: 485 35718 configuration.c:87 find_file(): found ./out/elf/cbserv_ctrl2.hex Debug: 486 35718 image.c:89 autodetect_image_type(): IHEX image detected. Debug: 487 35734 configuration.c:87 find_file(): found ./out/elf/cbserv_ctrl2.hex Debug: 488 35781 core.c:412 flash_write_unlock(): section 1 out of order(very slightly surprising, but supported) Debug: 489 35781 target.c:1053 target_alloc_working_area(): MMU disabled, using physical address for working memory 0x40 000000 Debug: 490 35796 target.c:1115 target_alloc_working_area(): allocated new working area at address 0x40000000 Debug: 491 35796 embeddedice.c:490 embeddedice_write_reg(): 0: 0x00000004 Debug: 492 35796 embeddedice.c:490 embeddedice_write_reg(): 0: 0x00000005 Debug: 493 35812 armv4_5.c:1049 armv4_5_run_algorithm_inner(): Running algorithm Debug: 494 35812 target.c:1232 target_write_buffer(): writing buffer of 24 byte at 0x40000008 Debug: 495 35812 embeddedice.c:490 embeddedice_write_reg(): 0: 0x00000004 Debug: 496 35812 embeddedice.c:490 embeddedice_write_reg(): 0: 0x00000005 Debug: 497 35828 target.c:1232 target_write_buffer(): writing buffer of 20 byte at 0x40000020 Debug: 498 35828 embeddedice.c:490 embeddedice_write_reg(): 0: 0x00000004 Debug: 499 35828 embeddedice.c:490 embeddedice_write_reg(): 0: 0x00000005 Error: 500 35843 armv4_5.c:1102 armv4_5_run_algorithm_inner(): BUG: register 'r13_svc' not found Debug: 501 35843 lpc2000.c:368 lpc2000_iap_call(): IAP command = 50 (0x00000000, 0x00000003, 0x000039ad, 0x00000000, 0x0 000f136) completed with result = 10058bd8 Warn : 502 35843 lpc2000.c:513 lpc2000_erase(): lpc2000 prepare sectors returned 268798936 Error: 503 35843 core.c:41 flash_driver_erase(): failed erasing sectors 0 to 3 (-902) Debug: 504 35859 command.c:607 run_command(): Command failed with error code -902 User : 505 35859 command.c:811 openocd_jim_vfprintf(): Command handler execution failed User : 508 35859 command.c:811 openocd_jim_vfprintf(): User : 510 35859 command.c:811 openocd_jim_vfprintf(): Info : 511 86625 server.c:441 server_loop(): dropped 'telnet' connection - error -400 Best Regards, Carsten _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development