1. Installing a firmware in cubieboard. you can refer to this:
for cb1:it is spceial,you must use SD bootable lubuntu Cubieboard1: Install SD bootable lubuntu
2. Use usb to connect cubieboard and usb
3. Installing the software Arduino ide for writing programm in cubieboard.
$sudo apt-get update $sudo apt-get install arduino
4. Click the programmin and you can find the software arduino IDE
5. And you can use this software to write programming