[C.CC USERS] Almost there with Ubuntu
Dennis Meade
stone.misc at gmail.com
Tue Apr 20 01:11:03 BST 2010
Hi, Guys
Now that I have the hardware, switching to Ubuntu under VirtualBox is so
much easier. My only problem is with USB connections about which I
haven't a clue with this setup. The documentation I've found hasn't
helped at all.
I've run the build for the firmware:
/build.sh --with-target-board=arduino --with-upload-port=/dev/ttyUSB0
That ran OK, but "make upload" fails with the following.
avr-objcopy -O ihex -R .eeprom tvm-arduino tvm-arduino.hex
./reset-arduino /dev/ttyUSB0
Traceback (most recent call last):
File "./reset-arduino", line 7, in <module>
ser = serial.Serial(sys.argv[1], 57600)
File "/usr/lib/python2.6/dist-packages/serial/serialutil.py", line
166, in __init__
self.open()
File "/usr/lib/python2.6/dist-packages/serial/serialposix.py", line
175, in open
raise SerialException("could not open port %s: %s" % (self._port, msg))
serial.serialutil.SerialException: could not open port /dev/ttyUSB0:
[Errno 2] No such file or directory: '/dev/ttyUSB0'
make: *** [upload] Error 1
lsusb reveals:
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
In the Windows Device Manager everything looks ok with the USB port
masquerading as COM3.
Any ideas? I found something about permissions. but that does not seem
to be the problem or maybe that's causing the "no such file or directory".
Regards,
Dennis
More information about the users
mailing list