[dorkbotpdx-blabber] assembler on the arduino?

Donald Delmar Davis dodav666 at yahoo.com
Mon Jan 28 20:21:23 EST 2008


On the mac I highly recommend AvrMacPack. It is good enough to where I am no longer supporting OSX-AVR. Its complete its a universal binary and it rolls things out where they are easy to work with. 

http://www.obdev.at/products/avrmacpack/download-de.html

Again if you have arduino you have a complete (albiet abit old) toolchain.

Good luck.

Don



Ben Bleything <ben at bleything.net> wrote: On Mon, Jan 28, 2008, Greg Borenstein wrote:
> 1) write some ASM and compile it to hex (any tips on the tools for  
> this?)

The avr toolchain you can get from macports will have an assembler.
Check avrfreaks, I'm sure you'll find a small tutorial on getting
started there.

> 2) learn the Arduino pins-AVR port mapping

I'm pretty sure most of the pins are PORTC, but I don't know why so
don't trust me there.

> 3) write an LED flasher hello world in ASM

Cake.

> 4) upload hex of hello world to arduino with avrdude

Double cake.  Steal the upload code from RAD ;)

> Is there something I'm missing here? Is there any danger of nuking my  
> Arduino's chip in the process here or does the bootloader offer some  
> protection/restrictions in this regard?

I think there's some danger of overwriting your bootloader if you muck
up the flags, but you can always reflash it.  I've got an STK-500 (as do
        a number of other folks) and would be happy to reflash it if it
comes to that.

That goes for everyone else, too... if you ever need something burned to
an AVR, let me know and I'll bring my programmer to next meeting.

> Ben -- I'd still like to take you up on the programmer/uC beer-lesson  
> offer if you're up for it. Never hurts to approach things like this  
> from multiple directions.

Emailed you off-list :)

Ben
_______________________________________________
dorkbotpdx-blabber mailing list
dorkbotpdx-blabber at dorkbot.org
http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://music.columbia.edu/pipermail/dorkbotpdx-blabber/attachments/20080128/56ab5d6a/attachment.html


More information about the dorkbotpdx-blabber mailing list