[dorkbotpdx-blabber] assembler on the arduino?
Greg Borenstein
greg.borenstein at gmail.com
Mon Jan 28 22:46:09 EST 2008
Thanks for all this stuff, Don! It seems like just the thing.
I'll let you know how my first experiments go. Maybe I'll something to
show at the next Dorkbot...
-- Greg
On Jan 28, 2008, at 5:21 PM, Donald Delmar Davis wrote:
> 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._______________________________________________
> dorkbotpdx-blabber mailing list
> dorkbotpdx-blabber at dorkbot.org
> http://music.columbia.edu/mailman/listinfo/dorkbotpdx-blabber
More information about the dorkbotpdx-blabber
mailing list