• Home
  • Help
  • Search
  • Login
  • Register
Pages: [1]
Author Topic: can't find ftdi device from ubuntu  (Read 4472 times)
hypn0toad
Newbie
*

Karma: 0
Posts: 29


View Profile
« on: August 05, 2009, 07:51:20 PM »

so i got the serial console working- i can see the plug working, can stop it from booting and all that jazz.

next, i installed the ftdi packages from the synaptics repository (libftdi1 and ftdi-eeprom).

i downloaded the alpha 6 stuff to my computer... copied the install folder to a usb drive whicht he plug recognizes... and then i ran the "sudo ./runme.sh" from my ubuntu install.

and it says....

Code:
nate@nate-ubuntu:~/Desktop/sheevaplug-installer-alpha-6$ sudo ./runme.sh
 **** Preparing environment variables file ...
 **** Burning uboot and environment variables ... This will take few minutes ...
Open On-Chip Debugger 0.2.0-in-development (2009-05-17-10:32) svn:1800M


BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS


$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
2000 kHz
dcc downloads are enabled
Error: unable to open ftdi device: device not found
Runtime error, file "command.c", line 453:
   
 **** openocd FAILED
 **** Is the mini USB cable connected?
 **** Try powering down, then replugging the Sheevaplug

however, my ubuntu says
Code:
nate@nate-ubuntu:~/Desktop/sheevaplug-installer-alpha-6$ ls /dev/ttyU*
/dev/ttyUSB0  /dev/ttyUSB1

and the serial console is working... seee?
Code:
** MARVELL BOARD: SHEEVA PLUG LE

U-Boot 1.1.4 (Mar 19 2009 - 16:06:59) Marvell version: 3.4.16

U-Boot code: 00600000 -> 0067FFF0  BSS: -> 006CEE80

Soc: 88F6281 A0 (DDR2)
CPU running @ 1200Mhz L2 running @ 400Mhz
SysClock = 400Mhz , TClock = 200Mhz

DRAM CAS Latency = 5 tRP = 5 tRAS = 18 tRCD=6
DRAM CS[0] base 0x00000000   size 256MB
DRAM CS[1] base 0x10000000   size 256MB
DRAM Total size 512MB  16bit width
Flash:  0 kB
Addresses 8M - 0M are saved for the U-Boot usage.
Mem malloc Initialization (8M - 7M): Done
NAND:

so whaat am i missing here? sorry i'm a bit new to all of this fancy plug stuff.
Logged

restamp
Global Moderator
Sr. Member
*****

Karma: 4
Posts: 273


View Profile
« Reply #1 on: August 05, 2009, 07:56:05 PM »

Try it as root?
Logged

hypn0toad
Newbie
*

Karma: 0
Posts: 29


View Profile
« Reply #2 on: August 05, 2009, 08:05:13 PM »

hmmm well ubuntu wont let me "login" as root... but i used "su" and got the command prompt from the root point of view and got the same error

Code:
nate@nate-ubuntu:~/Desktop/sheevaplug-installer-alpha-6$ su
Password:
root@nate-ubuntu:/home/nate/Desktop/sheevaplug-installer-alpha-6#
root@nate-ubuntu:/home/nate/Desktop/sheevaplug-installer-alpha-6# ./runme.sh
 **** Preparing environment variables file ...
 **** Burning uboot and environment variables ... This will take few minutes ...
Open On-Chip Debugger 0.2.0-in-development (2009-05-17-10:32) svn:1800M


BUGS? Read http://svn.berlios.de/svnroot/repos/openocd/trunk/BUGS


$URL: http://svn.berlios.de/svnroot/repos/openocd/trunk/src/openocd.c $
2000 kHz
dcc downloads are enabled
Error: unable to open ftdi device: device not found
Runtime error, file "command.c", line 453:
   
 **** openocd FAILED
 **** Is the mini USB cable connected?
 **** Try powering down, then replugging the Sheevaplug
Logged

rooster
Guest
« Reply #3 on: August 05, 2009, 10:02:38 PM »

do you have libusb installed?
Logged

hypn0toad
Newbie
*

Karma: 0
Posts: 29


View Profile
« Reply #4 on: August 06, 2009, 03:18:08 AM »

yes, i searched for and installed it from the synaptic package manager (libusb-dev libusb-0.1-4)
Logged

debio
Newbie
*

Karma: 0
Posts: 43


View Profile
« Reply #5 on: August 07, 2009, 09:53:30 PM »

I had this problem as well, see http://plugcomputer.org/plugforum/index.php?topic=355.msg3246#msg3246 .
Logged

restamp
Global Moderator
Sr. Member
*****

Karma: 4
Posts: 273


View Profile
« Reply #6 on: August 07, 2009, 10:06:13 PM »

For me this yields:

"An Error Has Occurred!  The topic or board you are looking for appears to be either missing or off limits to you."

Why are our topics disappearing!?
Logged

debio
Newbie
*

Karma: 0
Posts: 43


View Profile
« Reply #7 on: August 07, 2009, 10:44:55 PM »

The link works for me, but just for good measure:
looks like the last batch of sheevaplugs changed vendor and product id. Modified scripts-linux/openocd/config/interface/sheevaplug.cfg to

interface ft2232
ft2232_layout sheevaplug
ft2232_vid_pid 0x0403 0x6010
#ft2232_vid_pid 0x9e88 0x9e8f
#ft2232_device_desc "SheevaPlug JTAGKey FT2232D B"
jtag_khz 2000

Logged

restamp
Global Moderator
Sr. Member
*****

Karma: 4
Posts: 273


View Profile
« Reply #8 on: August 08, 2009, 09:13:19 AM »

Debio, thanks for your response.  Odd:  I can't see the above thread while I'm logged in, but I can see it fine if logged out.  I've fired off a PM to Rabeeh about it.

Sorry for the interruption.  Now, back to the FTDI discussion...
Logged

rooster
Guest
« Reply #9 on: August 08, 2009, 11:11:07 PM »

try:
  sudo rmmod ftdi_sio
  sudo modprobe ftdi_sio vendor=0x9e88 product=0x9e8f

I found that in some cases you have to remove the module and insert it again to make it work
Logged

hypn0toad
Newbie
*

Karma: 0
Posts: 29


View Profile
« Reply #10 on: August 10, 2009, 07:39:10 PM »

The link works for me, but just for good measure:
looks like the last batch of sheevaplugs changed vendor and product id. Modified scripts-linux/openocd/config/interface/sheevaplug.cfg to

interface ft2232
ft2232_layout sheevaplug
ft2232_vid_pid 0x0403 0x6010
#ft2232_vid_pid 0x9e88 0x9e8f
#ft2232_device_desc "SheevaPlug JTAGKey FT2232D B"
jtag_khz 2000

worked great for me, i updated the wiki: http://www.plugcomputer.org/plugwiki/index.php/SheevaPlug_Installer#How_to_install_alpha-6_.3F
Logged

Pages: [1]
Print
Jump to: