-- Rick Altherr kc8...@kc8apf.net"He said he hadn't had a byte in three days. I had a short, so I split it with him."
-- Unsigned
On Jun 9, 2009, at 2:32 PM, Paul J THACKER wrote:
Hi, Openocd-0.1.0 on OpenSUSE 11.0 with Amontec jtagkey-tiny: thack...@cea05:~/cartesio/eclipse/trunk> openocd -f jtagkey-tiny.cfg Open On-Chip Debugger 0.1.0 (2009-05-21-09:56) Release BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS $URL: https://kc8...@svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.1.0/src/openocd.c $ Error: unable to open ftdi device: 18 initialise_usb failed Error: ListDevices: NONE Runtime error, file "command.c", line 456: Trace and debug outputs: open("jtagkey-tiny.cfg", O_RDONLY) = 3 close(3) = 0 open("jtagkey-tiny.cfg", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0644, st_size=118, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8092000 read(3, "#interface\ninterface ft2232\nft22"..., 4096) = 118 read(3, "", 4096) = 0 read(3, "", 4096) = 0 close(3) = 0 munmap(0xb8092000, 4096) = 0 gettimeofday({1244582536, 328068}, NULL) = 0 gettimeofday({1244582536, 328114}, NULL) = 0 gettimeofday({1244582536, 329023}, NULL) = 0 gettimeofday({1244582536, 329079}, NULL) = 0 gettimeofday({1244582536, 329212}, NULL) = 0 gettimeofday({1244582536, 329255}, NULL) = 0 gettimeofday({1244582536, 329362}, NULL) = 0 gettimeofday({1244582536, 329404}, NULL) = 0 gettimeofday({1244582536, 329534}, NULL) = 0 gettimeofday({1244582536, 329577}, NULL) = 0 open("/proc/sys/kernel/osrelease", O_RDONLY) = 3 fstat64(3, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8092000 read(3, "2.6.25.18-0.2-pae\n", 1024) = 18 read(3, "", 1024) = 0 close(3) = 0 munmap(0xb8092000, 4096) = 0 open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3 fstat64(3, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 fcntl64(3, F_GETFD) = 0x1 (flags FD_CLOEXEC) getdents64(3, /* 2 entries */, 1024) = 48 getdents64(3, /* 0 entries */, 1024) = 0 close(3) = 0open("/dev/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY| 0x80000) =-1 ENOENT (No such file or directory)write(2, "Error: unable to open ftdi devic"..., 38Error: unable to openftdi device: 18 ) = 38 open("/proc/bus/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY|0x80000) = 3 fstat64(3, {st_mode=S_IFDIR|0555, st_size=0, ...}) = 0 getdents64(3, /* 2 entries */, 1024) = 48 getdents64(3, /* 0 entries */, 1024) = 0 close(3) = 0open("/dev/usb", O_RDONLY|O_NONBLOCK|O_LARGEFILE|O_DIRECTORY| 0x80000) =-1 ENOENT (No such file or directory) fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 6), ...}) = 0 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb8092000 write(1, "initialise_usb failed\n", 22initialise_usb failed ) = 22 write(2, "Error: ListDevices: NONE\n\n", 26Error: ListDevices: NONE ) = 26write(2, "Runtime error, file \"command.c\","..., 47Runtime error, file"command.c", line 456: ) = 47 exit_group(1) cea05:/home/thackerp/cartesio/eclipse/trunk # openocd -d 3 -f jtagkey-tiny.cfg Open On-Chip Debugger 0.1.0 (2009-05-21-09:56) Release BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS $URL: https://kc8...@svn.berlios.de/svnroot/repos/openocd/tags/openocd-0.1.0/src/openocd.c $ User : 5 0 command.c:494 command_run_line(): Debug: 6 0 configuration.c:88 find_file(): found jtagkey-tiny.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_interfaceDebug: 10 0 command.c:108 script_command(): script_command - interface,argv[1]=ft2232 Debug: 12 0 command.c:91 script_command(): script_command - ft2232_device_desc Debug: 13 0 command.c:108 script_command(): script_command - ft2232_device_desc, argv[0]=ocd_ft2232_device_desc Debug: 14 0 command.c:108 script_command(): script_command - ft2232_device_desc, argv[1]=Amontec JTAGkey ADebug: 16 0 command.c:91 script_command(): script_command - ft2232_layoutDebug: 17 0 command.c:108 script_command(): script_command - ft2232_layout, argv[0]=ocd_ft2232_layout Debug: 18 0 command.c:108 script_command(): script_command - ft2232_layout, argv[1]=jtagkeyDebug: 20 0 command.c:91 script_command(): script_command - ft2232_vid_pidDebug: 21 0 command.c:108 script_command(): script_command - ft2232_vid_pid, argv[0]=ocd_ft2232_vid_pid Debug: 22 0 command.c:108 script_command(): script_command - ft2232_vid_pid, argv[1]=0x0403 Debug: 23 0 command.c:108 script_command(): script_command - ft2232_vid_pid, argv[2]=0xcff8 User : 24 0 command.c:494 command_run_line(): Debug: 26 0 command.c:91 script_command(): script_command - init Debug: 27 0 command.c:108 script_command(): script_command - init, argv[0]=ocd_init Debug: 28 0 openocd.c:144 handle_init_command(): target init completeDebug: 29 0 ft2232.c:1463 ft2232_init_ftd2xx(): 'ft2232' interface usingFTD2XX with 'jtagkey' layout (0403:cff8) Error: 30 1 ft2232.c:1506 ft2232_init_ftd2xx(): unable to open ftdi device: 18 initialise_usb failed Error: 31 1 ft2232.c:1532 ft2232_init_ftd2xx(): ListDevices: NONEDebug: 32 1 command.c:427 run_command(): Command failed with error code -100User : 33 1 command.c:626 openocd_jim_vfprintf(): Runtime error, file "command.c", line 456: User : 34 1 command.c:626 openocd_jim_vfprintf(): Same error when run as root. FTDI device shows up under lsusb: thack...@cea05:~/cartesio/eclipse/trunk> lsusbBus 003 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch KeyboardBus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub Bus 002 Device 003: ID 0bc2:0502 Seagate RSS LLC Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub Bus 001 Device 004: ID 0403:cff8 Future Technology Devices International, Ltd Bus 001 Device 002: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub I have no /dev/usb. Do I need some kind of udev rule to create it? Anybody see this before? Thanks, Paul _______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development