Serial port 'Com1' not found


#1

So I have been getting this error when trying to upload a blink sketch.
I have nothing attached to the pins
running avrdude -c gpio -p m328p says it is initialized and ready to accept instructions…

Now what?

I just added components so I could power the Pi via the arduberry so wondering if that is what has messed things up


#2

So after some monkeying around this is what worked. This is a combination of these threads:
http://www.dexterindustries.com/forum/?topic=cant-find-com1
http://www.dexterindustries.com/forum/?topic=setting-up-the-arduberry

Step1:
The serial port is /dev/ttyAMA0 and does not appear in the Arduino IDE. You can use : ‘ln -sf /dev/ttyAMA0 /dev/ttyS0’ to make it appear in the Serial Port Menu and you’ll have to add it to crontab (type in sudeo nano /etc/crontab, then add the line ‘ln - f /dev/ttyAMA0 /dev/ttyS0’ )to make it load up on boot.

Step2: Choose the correct serial port on the AduinoIDE

Step3: Do not hit the arrow icon to upload use Press CTRL+SHIFT+U instead of pressing upload.

Love the arduberry but this is a bit of a PITA to get to work along with having to unplug anything on pins 13-10. However I am sure you are working on it.


#3

Hey,
Sorry for the troubles. We’ll highlight it a bit better in the site and try to get the changes done so that it’s not a major PITA to get the Arduberry to work.

-Karan


#4

Do you think we could make this easier by adding a script to do all this?