Paul, this is a problem I posted on the Ubuntu forum. I bet you know the answer in 15 seconds.
Thanks.
Steve.
ps
Posting here recommended by Mellis.
quote
I have the Arduino microcontroller (Dec. clone bare bones board with 168 ) and the ftdi USB to serial cable.
Ref: http://www.moderndevice.com/Images/BBBRevD800.jpg
Ref: http://www.ftdichip.com/Products/Eva...s/TTL-232R.htm
I am running under Ubuntu Linux 8.04 on ia386. My problem is that I can not get the Arduino environment to program the board.
I followed the instructions to install Arduino as per:http://www.arduino.cc/playground/Linux/Ubuntu
Which I am recapping below:
1. Using synaptic mgr, installed sun-java6-jre*, gcc-avr, avr-libc.
2. Downloaded the arduino environment (arduino-0011-linux-tgz)
3. Attempted to sudo update-alternatives --config java, but the msg stated it was not necessary since only one Java was found.
4. Double clicked the Arduino file in the Arduino app folder.
5. Application runs, I select an example sketch and compile it. Arduino Tools->Serial port shows /dev/usbtty0 selected as expected.
6. When I attempt to upload, I get:
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_recv(): programmer is not responding
Thinking that brltty was interfering, I uninstalled it. No change. *Then, thinking that since the instructions called for java5-jre instead of Java6-jre, I uninstalled the 6 and installed the 5. No change. Hardware Led is on, cables are attached. Rebooted, pressed reset before/after programming--all without effect.
I know the hardware is likely ok since I can program it under winxp.
I would like to hear from anyone who has this hardware/software combination that got it to work. Or, any other tips are welcome.
Thanks in advance.
Steve.
BBB board and ftdi cable under lInux
-
- Posts: 5
- Joined: Sun Jun 01, 2008 8:14 pm
Re: BBB board and ftdi cable under lInux
Paul,
Any idea about this?
Thanks.
Steve.
Any idea about this?
Thanks.
Steve.
Re: BBB board and ftdi cable under lInux
Did you get FTDI drivers installed. With the Mac and Windows, you can check this by plugging / unplugging cable and the listing for the serial port goes away in the Arduino IDE. I'm not sure how Linux handles this though. There is lots of discussion about the FTDI drivers vis a vis Linux in the Arduino forum.
Paul
Paul
-
- Posts: 5
- Joined: Sun Jun 01, 2008 8:14 pm
Re: BBB board and ftdi cable under lInux
Paul,
Thanks for the reply.
I believe the ftdi drivers are a part of the Linux kernel, so users do not have to worry it. And, device /dev/ttyUSB0 shows up in ubuntu so I am sure the cable is recognized, but I will double check that it really is recognized.
It's odd that Mellis directed my question to you if the answer was on the Arduino forum, but i will pursue that more.
Just fyi, your board and ftdi cable work fine in winxp.
Have a good day.
Steve.
Thanks for the reply.
I believe the ftdi drivers are a part of the Linux kernel, so users do not have to worry it. And, device /dev/ttyUSB0 shows up in ubuntu so I am sure the cable is recognized, but I will double check that it really is recognized.
It's odd that Mellis directed my question to you if the answer was on the Arduino forum, but i will pursue that more.
Just fyi, your board and ftdi cable work fine in winxp.
Have a good day.
Steve.
-
- Posts: 5
- Joined: Sun Jun 01, 2008 8:14 pm
Re: BBB board and ftdi cable under lInux
Thanks for tracking this down Steve - the problem seems to be in how Arduino IDE handles the serial port.
Users can check the link above, which also points here:
http://www.ladyada.net/forums/viewtopic.php?t=4703
I'm not enough of a hard-core coder to have followed all of the fix, but if Mellis doesn't seem inclined to fix it, I'll see if I can get the person who fixed is own copy to give me a patched copy of the IDE and I'll put it up on my site. It will then work till Arduino is updated and we'll have to do it again or nag Mellis to finally get this fixed.
P
Users can check the link above, which also points here:
http://www.ladyada.net/forums/viewtopic.php?t=4703
I'm not enough of a hard-core coder to have followed all of the fix, but if Mellis doesn't seem inclined to fix it, I'll see if I can get the person who fixed is own copy to give me a patched copy of the IDE and I'll put it up on my site. It will then work till Arduino is updated and we'll have to do it again or nag Mellis to finally get this fixed.
P
Re: BBB board and ftdi cable under lInux
Ask and you shall receive. Here's the patch for Linux to make autoreset work with the FTDI cable, courtesy of one of my customers.
I've renamed it LinuxFixArduino.zip and it can be found here http://moderndevice.com/connect.shtml
Enjoy
PB
I've renamed it LinuxFixArduino.zip and it can be found here http://moderndevice.com/connect.shtml
Enjoy
PB
-
- Posts: 5
- Joined: Sun Jun 01, 2008 8:14 pm
Re: BBB board and ftdi cable under lInux
Paul,
Thanks for the fix. I will see what happens!
Steve.
Thanks for the fix. I will see what happens!
Steve.