Hi, all! A config for this device is not properly working. With my custom config of
source [find interface/jlink.cfg] telnet_port 4444 gdb_port 3333 source [find target/at91rm9200.cfg] In target/at91sam9260minimal.cfg I have changed TAP ID to a proper one set _CPUTAPID 0x0792603f and then OpenOCD returns the following error on run: [EMAIL PROTECTED]:~/atmel/at91sam9260/q$ sudo /usr/local/bin/openocd -d3 Open On-Chip Debugger 1.0 (2008-12-07-15:29) svn:1219 BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $ Debug: 5 0 configuration.c:88 find_file(): found openocd.cfg Debug: 6 0 configuration.c:88 find_file(): found /usr/local/lib/openocd/interface/jlink.cfg Debug: 8 0 command.c:91 script_command(): script_command - interface Debug: 9 0 command.c:108 script_command(): script_command - interface, argv[0]=ocd_interface Debug: 10 0 command.c:108 script_command(): script_command - interface, argv[1]=jlink Debug: 12 0 command.c:91 script_command(): script_command - telnet_port Debug: 13 0 command.c:108 script_command(): script_command - telnet_port, argv[0]=ocd_telnet_port Debug: 14 0 command.c:108 script_command(): script_command - telnet_port, argv[1]=4444 Debug: 16 0 command.c:91 script_command(): script_command - gdb_port Debug: 17 0 command.c:108 script_command(): script_command - gdb_port, argv[0]=ocd_gdb_port Debug: 18 0 command.c:108 script_command(): script_command - gdb_port, argv[1]=3333 Debug: 20 1 command.c:91 script_command(): script_command - gdb_memory_map Debug: 21 1 command.c:108 script_command(): script_command - gdb_memory_map, argv[0]=ocd_gdb_memory_map Debug: 22 1 command.c:108 script_command(): script_command - gdb_memory_map, argv[1]=enable Debug: 24 1 command.c:91 script_command(): script_command - gdb_flash_program Debug: 25 1 command.c:108 script_command(): script_command - gdb_flash_program, argv[0]=ocd_gdb_flash_program Debug: 26 1 command.c:108 script_command(): script_command - gdb_flash_program, argv[1]=enable Debug: 27 1 configuration.c:88 find_file(): found /usr/local/lib/openocd/target/at91sam9260.cfg Debug: 28 1 configuration.c:88 find_file(): found /usr/local/lib/openocd/target/at91sam9260minimal.cfg Debug: 30 1 command.c:91 script_command(): script_command - reset_config Debug: 31 1 command.c:108 script_command(): script_command - reset_config, argv[0]=ocd_reset_config Debug: 32 1 command.c:108 script_command(): script_command - reset_config, argv[1]=trst_and_srst Debug: 33 1 jtag.c:1741 jim_newtap_cmd(): Creating New Tap, Chip: at91sam9260, Tap: cpu, Dotted: at91sam9260.cpu, 8 params Debug: 34 1 jtag.c:1761 jim_newtap_cmd(): Processing option: -irlen Debug: 35 1 jtag.c:1761 jim_newtap_cmd(): Processing option: -ircapture Debug: 36 1 jtag.c:1761 jim_newtap_cmd(): Processing option: -irmask Debug: 37 1 jtag.c:1761 jim_newtap_cmd(): Processing option: -expected-id Debug: 38 1 jtag.c:1853 jim_newtap_cmd(): Created Tap: at91sam9260.cpu @ abs position 0, irlen 4, capture: 0x1 mask: 0xf Debug: 40 1 command.c:91 script_command(): script_command - jtag_nsrst_delay Debug: 41 1 command.c:108 script_command(): script_command - jtag_nsrst_delay, argv[0]=ocd_jtag_nsrst_delay Debug: 42 1 command.c:108 script_command(): script_command - jtag_nsrst_delay, argv[1]=200 Debug: 44 2 command.c:91 script_command(): script_command - jtag_ntrst_delay Debug: 45 2 command.c:108 script_command(): script_command - jtag_ntrst_delay, argv[0]=ocd_jtag_ntrst_delay Debug: 46 2 command.c:108 script_command(): script_command - jtag_ntrst_delay, argv[1]=200 Debug: 47 2 target.c:3950 jim_target(): Target command params: Debug: 48 2 target.c:3951 jim_target(): target create at91sam9260.cpu arm926ejs -endian little -chain-position at91sam9260.cpu -variant arm926ejs User: 49 19 command.c:619 openocd_jim_vfprintf(): Runtime error, file "/usr/local/lib/openocd/target/at91sam9260minimal.cfg", line 40: User: 50 19 command.c:619 openocd_jim_vfprintf(): can't read "_TARGET_NAME": no such variable User: 51 19 command.c:619 openocd_jim_vfprintf(): In procedure 'script' called at file "command.c", line 448 I have temprorary fix for this by including at91sam9260minimal.cfg instead of at91sam9260.cfg, and by removing line 40 there. line 40 there is: $_TARGET_NAME configure -work-area-virt 0 -work-area-phys 0x00300000 -work-area-size 0x1000 -work-area-backup 1 so, I thnk this "fix" is not right. Any ideas? S. _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development