Tried the same example and got the same error as you. Hope somebody help us out here.
If you do have The Arduino breakout Board you'll have an on board led on io13. Can't quite read your output here on my mobile. Generic questions for Arduino breakout board: Have you selected the right board on Arduino ide? Have you put the switch on the board to the right direction? Have you connected correctly
It looks like you are using the wrong port in the Arduino IDE. You should be using the micro-USB farthest from the corner of the board.
well I actually have two USB cables attached! are there two uarts? one of the connectors is attached with the HOST adapter via a switch ( not described in the HW document, it just says MUX).
The other connector seems to allow me to supply power. My Ubuntu 14.10 only picks up one. It is totally possible that I have a charging only cable attached. I'm in transit so can't test until later tonight.
The connection for the sketches is on the multifunction usb connection, the one with storage, network, and serial (UART), and optionally power. This is the connection you should be using for the sketch download. The other usb function is for console only (in the default setup).
I suggest you don't connect the console, just connect the other usb, see what serial port appears (when booted, it doesn't appear straight away), and use that one in your Arduino IDE.
I am able to login to the board via screen to the exposed USB0 and reloaded a new version of the Edison sw. It came shipped with a very early version.
I also ran configure_edison and can login via wireless. I can see the compiled sketch on my PC, I can scp to the /sketch directory, but not sure what to do next. Executing the .elf directly does nothing.
guessing I either have a bad cable, or my USB device tables are not updated on UBuntu 14.10
is the switch facing to the USB OTG (big one) or to the small USB you connect to (need to be the latter if you want to work with Arduino IDE)
I loaded the Windows version of the drivers and the Arduino IDE an got a lot farther:
- yes there is another UART ( guessing that there are actually 3), my cables are good, so I'm guessing that my USB tables need updating. This part can be confusing because both show up as choices under the Ports menu item, but only one will work
- the LED marked DS2 near the battery connector is attached to Pin 13
- there is an LED marked DS1 that appears to be for power and another marked DS3 that blinks when jumper J13 is opened
- Under Windows, my sketch compiles and runs.
So it looks like there is more work needed to get the packages to run under Linux, especially Ubuntu 14.10
I also see that I do not need both cables under Windows, just a connection to J16 J3 is attached to the FTDI chip (and the console)
Maybe a decent manual is required...
I few gotchas for the newcomers
on windows OS -> it's a good idea to install the latest FTDI drivers http://www.ftdichip.com/Drivers/CDM/CDM%20v2.12.00%20WHQL%20Certified.exe
than install the Intel usb drivers : http://downloadmirror.intel.com/24271/eng/IntelEdisonDriverSetup1.0.0.exe
restart your PC
Before connecting the Edison dev board make sure the tiny little switch SW1 between the the big USB host connector (J6) and the small USB connector (J16) is switched towards the small USB connector (J16)
Apply power to you Edison dev. board, plug the USB cable into J16 and make sure the device driver is showing up under LPT&Com Port as "Intel Edison Virtual Com Port (COMxx)"
If the COM number is higher than 10 re-assign a COM below number 10. (I came across this one on someone's blog)
my two cents..
1 of 1 people found this helpful
wjgeorge did you get through this yet. I have to ask if you are on the Edison mini breakout board. If so ...
1) On the mini breakout board, the led closest the microUSBs is for board power, the led closest the button and wifi indicates the Edison module powered and running.
2) You will have to connect MRAA pin 13 (J17-14) to resistor to your led to GND (J19-3).
You may also need to update your libmraa to version 0.5.1 and up from the one on the Edison image (libmraa version 0.4.4)
3) the Eclipse IDE is your best bet for your sketches sending your file through ssh as opposed to getty.
4) manually running a sketch in the current directory from console is ./filename after a chmod +x filename has been completed
let me know if this helped.