Udoo: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 20: Line 20:
On Udoo itself, I can use '''dmesg | grep ttymxc3''' to double check the device is attached.
On Udoo itself, I can use '''dmesg | grep ttymxc3''' to double check the device is attached.


On an external computer, I try to use '''dmesg | grep cp210x''' to check the device. The obstacle is the device is not found in Arduino IDE (No device found on ttyUSB0). If I try to follow 'Serial Driver' part to download and run 'make' , I will get an error
On an external computer (unplug J18 jumper, remove microSD card), I try to use '''dmesg | grep cp210x''' to check the device. The obstacle is the device is not found in Arduino IDE (No device found on ttyUSB0). If I try to follow 'Serial Driver' part to download and run 'make' , I will get an error
<pre>
<pre>
Linux_3.x.x_VCP_Driver_Source/cp210x.c:164:12: Error: 'usb_serial_probe' undeclared here (not in a function)
Linux_3.x.x_VCP_Driver_Source/cp210x.c:164:12: Error: 'usb_serial_probe' undeclared here (not in a function)
Linux_3.x.x_VCP_Driver_Source/cp210x.c:165:16: Error :  'usb_serial_disconnect' undeclared here (not in a function)
Linux_3.x.x_VCP_Driver_Source/cp210x.c:165:16: Error :  'usb_serial_disconnect' undeclared here (not in a function)
</pre>
</pre>

Revision as of 14:00, 20 October 2013

Documentation

Download

sudo umount /dev/sdc1
sudo dd bs=1M if=~/Downloads/udoo_dual_ubuntu_1.2.img of=/dev/sdc
sudo sync
sudo umount /media/<sd_label>

Arduino Programming

http://www.elinux.org/UDOO_programming_the_embedded_Arduino_microcontroller

On Udoo itself, I can use dmesg | grep ttymxc3 to double check the device is attached.

On an external computer (unplug J18 jumper, remove microSD card), I try to use dmesg | grep cp210x to check the device. The obstacle is the device is not found in Arduino IDE (No device found on ttyUSB0). If I try to follow 'Serial Driver' part to download and run 'make' , I will get an error

Linux_3.x.x_VCP_Driver_Source/cp210x.c:164:12: Error: 'usb_serial_probe' undeclared here (not in a function)
Linux_3.x.x_VCP_Driver_Source/cp210x.c:165:16: Error :  'usb_serial_disconnect' undeclared here (not in a function)