Need Help Installing AVRDUDE (Mac OSX)

MiniPOV, MiniPOV2 and MiniPOV3

Moderators: adafruit_support_bill, adafruit

Need Help Installing AVRDUDE (Mac OSX)

Postby Dread-Eye » Sun Oct 28, 2012 8:05 am

I've built the kit and bought the DB-9 adaptor. Now I need help installing the software on a Mac. The online instructions say:

"Just do a "./configure" then "make; make install" as usual"

I have no idea what this means. I downloaded 'avrdude-5.1' but don't know what to do with it. This is my first time doing anything like this. Thanks.
Dread-Eye
 
Posts: 2
Joined: Mon Oct 22, 2012 1:33 pm

Re: Need Help Installing AVRDUDE (Mac OSX)

Postby adafruit_support_rick » Sun Oct 28, 2012 2:11 pm

You've got a source-code distribution. You don't want that. The MiniPOV tutorial links to an executable version of avrdude:
Step 8b. Download patched avrdude if necessary

For some reason, FTDI-chip based adapters need some special help programming these chips. You'll need to use a modified verson of avrdude so download the package from here. Replace /usr/local/AVRMacPack/bin/avrdude and /usr/local/AVRMacPack/bin/avrdude.conf with the patched versions you just downloaded.
User avatar
adafruit_support_rick
 
Posts: 3154
Joined: Tue Mar 15, 2011 10:42 am
Location: Buffalo, NY

Re: Need Help Installing AVRDUDE (Mac OSX)

Postby ceratophyllum » Thu Jan 24, 2013 1:59 pm

The easiest way to install avrdude on Mac OS X is to use macports.

Once you have macports installed simply run this as root(sudo) and go have tea while it all compiles:
Code: Select all
port install avr-gcc avr-libc avrdude


and you're done. At least with the software install. I'm using a PL2303 serial adaptor and while it is crazy-slow, it gets the job done.

Btw, you'll have to make a few changes to the minipov .c files to get them to compile, regardless of whether you're on OS X or Linux. The error message is really weird and it took me forever to find out the stuff below. Luckily, it's just a few lines that need changing.

Code: Select all
SIGNAL( SIG_TIMER1_COMPA)
should change to:

Code: Select all
SIGNAL(TIMER1_COMPA_vect)


and
Code: Select all
PGM_P largeimage_p PROGMEM = large_image;
should now be:
Code: Select all
const largeimage_p PROGMEM = large_image;


I don't understand what the COMPA_vect stuff is...I'm only a beginner at AVRs. About all I can tell is it has something to do with timers.... :)
ceratophyllum
 
Posts: 16
Joined: Sat Oct 27, 2012 7:34 am


Return to MiniPOV

Who is online

Users browsing this forum: No registered users and 2 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [114]

Raspberry Pi[82]
 
FLORA[24]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[12]
Arduino[60]
 
NETduino[14]
 
BeagleBone[23]
 
Android[6]
 
XBee[10]
More Dev Boards[30]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[39]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[9]


 
Breakout Boards[35]
LCDs & Displays[49]
Components & Parts[70]
Batteries & Power[54]
EL Wire/Tape/Panel[52]
LEDs[112]
 
Wireless[16]
Cables[66]
 
Lasers[6]
Sensors/Parts[147]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[41]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[25]


 
Stickers[41]
 
Skill badges[55]
 
Books[26]
 
Circuit Playground[7]
 
Gift Certificates[4]