Rick Altherr wrote:
On Dec 18, 2008, at 11:55 PM, Dirk Behme wrote:
ke...@ijssijs:~/projects/beagle/openocd$ make
sudo openocd
Open On-Chip Debugger 1.0 (2008-07-04-09:01) svn:738M
$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/
openocd.c $
Info: options.c:50 configuration_output_handler(): jtag_speed: 1, 1
Info: jtag.c:1389 jtag_examine_chain(): JTAG device found:
0x0b7ae02f (Manufacturer: 0x017, Part: 0xb7ae, Version: 0x0)
I can get this far too, but it doesn't make me very excited.
Rick: How do you get this? Do you like to share the details with
people being a little more excited about this? I.e. me ;)
Use the attached .cfg.
Thanks!
Unfortunately, I still get
Error: JTAG communication failure, check connection, JTAG interface,
target power etc.
Error: trying to validate configured JTAG chain anyway...
Error: Error validating JTAG scan chain, IR mismatch, scan returned 0xff
Error: Could not validate JTAG chain, continuing anyway...
See log in attachment.
Maybe there is really an issue with Flyswatter, or I'm doing anything
else totally wrong :(
Best regards
Dirk
It has the script for turning on the DAP at
least from what I've been able to glean from the various mailing lists
and wiki pages. I can verify that the dap enable script _runs_, but I
have been unable to verify that the DAP is actually enabled. As I
said, my experiments with manually performing irscan and drscan to get
the ID code have led to strange results.
--
Rick Altherr
[email protected]
"He said he hadn't had a byte in three days. I had a short, so I split
it with him."
-- Unsigned
Open On-Chip Debugger 1.0 (2008-12-16-07:54) svn:1245
BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS
$URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
Debug: 5 1 configuration.c:88 find_file(): found openocd.cfg
Debug: 7 1 command.c:91 script_command(): script_command - telnet_port
Debug: 8 1 command.c:108 script_command(): script_command - telnet_port,
argv[0]=ocd_telnet_port
Debug: 9 1 command.c:108 script_command(): script_command - telnet_port,
argv[1]=4444
Debug: 11 3 command.c:91 script_command(): script_command - gdb_port
Debug: 12 3 command.c:108 script_command(): script_command - gdb_port,
argv[0]=ocd_gdb_port
Debug: 13 3 command.c:108 script_command(): script_command - gdb_port,
argv[1]=3333
Debug: 14 3 configuration.c:88 find_file(): found
openocd/lib/openocd/interface/flyswatter.cfg
Debug: 16 3 command.c:91 script_command(): script_command - interface
Debug: 17 3 command.c:108 script_command(): script_command - interface,
argv[0]=ocd_interface
Debug: 18 3 command.c:108 script_command(): script_command - interface,
argv[1]=ft2232
Debug: 20 4 command.c:91 script_command(): script_command - ft2232_device_desc
Debug: 21 4 command.c:108 script_command(): script_command -
ft2232_device_desc, argv[0]=ocd_ft2232_device_desc
Debug: 22 4 command.c:108 script_command(): script_command -
ft2232_device_desc, argv[1]=Flyswatter
Debug: 24 4 command.c:91 script_command(): script_command - ft2232_layout
Debug: 25 4 command.c:108 script_command(): script_command - ft2232_layout,
argv[0]=ocd_ft2232_layout
Debug: 26 4 command.c:108 script_command(): script_command - ft2232_layout,
argv[1]=flyswatter
Debug: 28 5 command.c:91 script_command(): script_command - ft2232_vid_pid
Debug: 29 5 command.c:108 script_command(): script_command - ft2232_vid_pid,
argv[0]=ocd_ft2232_vid_pid
Debug: 30 5 command.c:108 script_command(): script_command - ft2232_vid_pid,
argv[1]=0x0403
Debug: 31 5 command.c:108 script_command(): script_command - ft2232_vid_pid,
argv[2]=0x6010
Debug: 33 5 command.c:91 script_command(): script_command - jtag_speed
Debug: 34 5 command.c:108 script_command(): script_command - jtag_speed,
argv[0]=ocd_jtag_speed
Debug: 35 5 command.c:108 script_command(): script_command - jtag_speed,
argv[1]=1
Debug: 36 5 jtag.c:2567 handle_jtag_speed_command(): handle jtag speed
User: 37 5 command.c:383 command_print(): jtag_speed: 1
Debug: 38 6 configuration.c:88 find_file():
openocd/openocd/lib/openocd/target/omap3530.cfg
Debug: 39 7 jtag.c:1840 jim_newtap_cmd(): Creating New Tap, Chip: omap3530,
Tap: jrc, Dotted: omap3530.jrc, 8 params
Debug: 40 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -irlen
Debug: 41 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -ircapture
Debug: 42 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -irmask
Debug: 43 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -expected-id
Debug: 44 7 jtag.c:1972 jim_newtap_cmd(): Created Tap: omap3530.jrc @ abs
position 0, irlen 6, capture: 0x1 mask: 0xf
Debug: 45 7 jtag.c:1840 jim_newtap_cmd(): Creating New Tap, Chip: omap3530,
Tap: cpu, Dotted: omap3530.cpu, 9 params
Debug: 46 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -irlen
Debug: 47 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -ircapture
Debug: 48 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -irmask
Debug: 49 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -expected-id
Debug: 50 7 jtag.c:1859 jim_newtap_cmd(): Processing option: -disable
Debug: 51 7 jtag.c:1972 jim_newtap_cmd(): Created Tap: omap3530.cpu @ abs
position 1, irlen 4, capture: 0x1 mask: 0x0
Debug: 53 8 command.c:91 script_command(): script_command - init
Debug: 54 8 command.c:108 script_command(): script_command - init,
argv[0]=ocd_init
Debug: 55 8 openocd.c:144 handle_init_command(): target init complete
Debug: 56 8 ft2232.c:1537 ft2232_init_libftdi(): 'ft2232' interface using
libftdi with 'flyswatter' layout (0403:6010)
Debug: 57 49 ft2232.c:1579 ft2232_init_libftdi(): current latency timer: 2
Debug: 58 51 ft2232.c:1981 flyswatter_init(): 80 18 fb
Debug: 59 52 ft2232.c:2004 flyswatter_init(): 82 08 0c
Debug: 60 53 ft2232.c:259 ft2232_speed(): 86 01 00
Debug: 61 61 openocd.c:151 handle_init_command(): jtag interface init complete
Debug: 62 61 jtag.c:2187 jtag_init_inner(): Init JTAG chain
Debug: 63 61 jtag.c:420 jtag_call_event_callbacks(): jtag event: JTAG
controller reset (RESET or TRST)
Debug: 64 61 jtag.c:1437 jtag_reset_callback(): -
Debug: 65 61 jtag.c:1437 jtag_reset_callback(): -
Debug: 66 62 jtag.c:420 jtag_call_event_callbacks(): jtag event: JTAG
controller reset (RESET or TRST)
Debug: 67 63 jtag.c:1437 jtag_reset_callback(): -
Debug: 68 63 jtag.c:1437 jtag_reset_callback(): -
Error: 69 67 jtag.c:1493 jtag_examine_chain(): JTAG communication failure,
check connection, JTAG interface, target power etc.
Error: 70 67 jtag.c:2202 jtag_init_inner(): trying to validate configured
JTAG chain anyway...
Debug: 71 67 jtag.c:420 jtag_call_event_callbacks(): jtag event: JTAG
controller reset (RESET or TRST)
Debug: 72 67 jtag.c:1437 jtag_reset_callback(): -
Debug: 73 67 jtag.c:1437 jtag_reset_callback(): -
Error: 74 69 jtag.c:1667 jtag_validate_chain(): Error validating JTAG scan
chain, IR mismatch, scan returned 0xff
Error: 75 69 jtag.c:2207 jtag_init_inner(): Could not validate JTAG chain,
continuing anyway...
Debug: 76 69 openocd.c:157 handle_init_command(): jtag init complete
Debug: 77 69 openocd.c:160 handle_init_command(): jtag examine complete
Debug: 78 69 openocd.c:166 handle_init_command(): flash init complete
Debug: 79 69 openocd.c:170 handle_init_command(): mflash init complete
Debug: 80 69 openocd.c:174 handle_init_command(): NAND init complete
Debug: 81 69 openocd.c:178 handle_init_command(): pld init complete
Warning: 82 69 gdb_server.c:2195 gdb_init(): no gdb ports allocated as no
target has been specified
Warning: 83 69 tcl_server.c:178 tcl_init(): no tcl port specified, using
default port 6666
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development