Hallo *, ich habe ein Problem mit dem Olimex OpenOCD Adapter (mit seriellem Interface), beim versuchen ein At91 an zusprechen kommmt die folgende Fehler Meldung: root@host > openocd --file openocd_at91sam7_flash_ftdi.cfg Info: openocd.c:93 main(): Open On-Chip Debugger 1.0 (2008-01-16-15:33) svn:255 Info: openocd.c:94 main(): $URL: ... $ Error: ft2232.c:1381 ft2232_init_ftd2xx(): unable to open ftdi device: 3 Error: ft2232.c:1396 ft2232_init_ftd2xx(): ListDevices: 2 Error: ft2232.c:1398 ft2232_init_ftd2xx(): 0: Olimex OpenOCD JTAG A Error: ft2232.c:1398 ft2232_init_ftd2xx(): 1: Olimex OpenOCD JTAG B In der openocd_at91sam7_flash_ftdi Config steht: ... interface ft2232 ft2232_device_desc "Olimex OpenOCD JTAG A" ft2232_layout "olimex-jtag" ft2232_vid_pid 0x15BA 0x0003 ... Versucht habe ich auch interface ft2232 ft2232_device_desc "Olimex OpenOCD JTAG" Die fehler Meldung bleibt immer die selbe, hat jemand dieses Problem auch schon gehabt? Gruss Sven
Ich bin zwar nicht arg weiter als du aber die Verbindung steht bei mir. Schau mal ...http://www.embedded-projects.net/index.php?page_id=177 , kann ja hilfreich sein Schau mal mit lsusb ob der olimex am usb erkannt worden ist: root # lsusb Bus 002 Device 001: ID 0000:0000 Bus 001 Device 002: ID 15ba:0004 <-- Olimex "Olimex OpenOCD JTAG TINY" Bus 001 Device 001: ID 0000:0000 Vergiss nicht was in der README steht: When building with support for FTDI FT2232 based devices, you need at least one of the following libraries: - libftdi (http://www.intra2net.com/opensource/ftdi/) - libftd2xx (http://www.ftdichip.com/Drivers/D2XX.htm) und noch: You have to explicitly enable desired JTAG interfaces during configure: ./configure --enable-parport --enable-ft2232-libftdi (OR --enable-ft2232-ftd2xx) --enable-amtjtagaccel Bei mir (linux) hat es mit der "libftdi" und der "./configure --enable-ft2232-libftdi" geklappt. Ach ja meine config: ###daemon configuration telnet_port 4444 gdb_port 3333 daemon_startup reset ###interface interface ft2232 ft2232_device_desc "Olimex OpenOCD JTAG TINY" ft2232_layout "olimex-jtag" ft2232_vid_pid 0x15BA 0x0004 jtag_speed 20 jtag_nsrst_delay 200 jtag_ntrst_delay 200 reset_config trst_and_srst separate target arm7tdmi little run_and_init 0 arm7tdmi_r4 run_and_halt_time 0 30 Vielleicht ist dies alles hilfreich.
ich hatte was ähnliches unter Mac OS X das Problem war der ebenso installierte VCP Treiber, der das JTAG device als /dev/cu.usbserial-XXXXXX ansprechbar macht, dann geht das Öffnen mit ftd2xx nicht mehr - ist im Mac OS X Installation guide von FTDI erwähnt: 5 D2XX Troubleshooting 5.1 I can't open a port even though the installation has been successful This is possibly due to the FTDI serial driver holding the port with your VID and PID. Solution is to uninstall the serial driver . To completely eradicate the possibility of this occurring in future, it is recommended a new VID and PID is used to distinguish between devices. Another possibility is an incorrect VID/PID. Try changing your application to use the FT_SetVIDPID API call to quickly determine if this is the case. JTAG geht jetzt zwar, allerdings weiss ich nicht, wie ich jetzt den seriellen Port ansprechen soll :-/ -mah
Bitte melde dich an um einen Beitrag zu schreiben. Anmeldung ist kostenlos und dauert nur eine Minute.
Bestehender Account
Schon ein Account bei Google/GoogleMail? Keine Anmeldung erforderlich!
Mit Google-Account einloggen
Mit Google-Account einloggen
Noch kein Account? Hier anmelden.