Trinket not programming?

Adafruit's tiny microcontroller platform. Please tell us which board you are using.
For CircuitPython issues, ask in the Adafruit CircuitPython forum.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
fredjikrang
 
Posts: 2
Joined: Tue Sep 25, 2012 11:02 pm

Trinket not programming?

Post by fredjikrang »

I got a 5V Trinket today. It isn't what I was hoping, but could still be fun. (I didn't know that it doesn't support serial communication with a computer.)

Anyway, I haven't been able to get it to program using the Arduino IDE. I followed the directions provided at http://learn.adafruit.com/introducing-t ... rduino-ide but I get an error whenever I try to program it.
avrdude: parallel port access not available in this configuration
avrdude: error at /Applications/Arduino.app/Contents/Resources/Java/hardware/tools/avr/etc/avrdude.conf:727: programmer type not specified
Anyone know what is going on here?

This is on a Mac running Lion.

User avatar
Franklin97355
 
Posts: 23911
Joined: Mon Apr 21, 2008 2:33 pm

Re: Trinket not programming?

Post by Franklin97355 »

avrdude: parallel port access not available in this configuration
What port are you using to program the trinket?

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: Trinket not programming?

Post by pburgess »

Edit the avrdude.conf file and try removing references to all parallel port programmers. This begins at line 716 (comment, "Parallel port programmers") and runs through line 922 (just prior to the comment about bitbanging).

This might be a Mac thing (I encountered it too, thought it was just me), so let me know if it works for you, in which case we'll update the guide and provide a different avrdude.conf file.

User avatar
fredjikrang
 
Posts: 2
Joined: Tue Sep 25, 2012 11:02 pm

Re: Trinket not programming?

Post by fredjikrang »

Yup! That worked! Thanks!

User avatar
pburgess
 
Posts: 4161
Joined: Sun Oct 26, 2008 2:29 am

Re: Trinket not programming?

Post by pburgess »

Tutorial updated, there's a separate conf for Mac now. Thanks for the feedback!

Locked
Please be positive and constructive with your questions and comments.

Return to “Trinket ATTiny, Trinket M0”