[dorkbotpdx-blabber] assembler on the arduino?

Greg Borenstein greg.borenstein at gmail.com
Mon Jan 28 14:26:19 EST 2008


And I believe that is exactly my professor's plan for our work in the  
course.

I think I'm starting to see the steps in front of me for getting  
started down this path:

1) write some ASM and compile it to hex (any tips on the tools for  
this?)
2) learn the Arduino pins-AVR port mapping
3) write an LED flasher hello world in ASM
4) upload hex of hello world to arduino with avrdude
5) profit :)

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?

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.

-- Greg

On Jan 28, 2008, at 11:09 AM, Ben Bleything wrote:

> On Mon, Jan 28, 2008, Paul Stoffregen wrote:
>> #1: if the chip already has a bootloader programmed in, you can cause
>> the bootloader to run and it will receive a download of code and  
>> write
>> it into the chip (except for the portion which already has the
>> bootloader, of course).  This is how the arduino is normally used.
>
> For what it's worth, I'm fairly sure you can write your asm, compile  
> to
> hex, and then upload it to an arduino using avrdude... you'll have  
> to do
> a little investigation to figure out how the arduino pins corespond to
> the AVR ports, but that should be pretty easy to do.
>
> Ben
> _______________________________________________
> 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