When trying to upload a sketch using the Arduino IDE I nothing is received for any bytes sent. After much playing around I tried downloading the flash using: avrdude -v -v -v -v -v -p ATMega328P -P /dev/ttyACM0 -c usbasp -b 57600 -U flash:r:/dev/stdout:i For which the partial response was; Using Port : /dev/ttyACM0 Using Programmer : usbasp Overriding Baud Rate : 57600 avrdude: usbasp_open("/dev/ttyACM0") avrdude: error: could not find USB device with vid=0x16c0 pid=0x5dc vendor='www.fischl.de' product='USBasp' avrdude done. Thank you. I was expecting avrdude to have sent be a bunch of bytes representing what was in the flash memory. I am not sure if the command is correct, if anyone else has tried some thing similar I would appreciate seeing there working command line. I don't know whether the on board arduino is toast or I am missing something in the setup?
I discovered that I cannot use the arduino from the repository. I downloaded the Arduino 1.8.2 from the Arduino download page and basically followed the instructions provided in: https://www.udoo.org/forum/threads/install-arduino101-curie-on-ubuntu.7049/ Now the arduino is working as expected.