piclist 2004\02\29\194338a >
Thread: state of gcc for AVR?
www.piclist.com/techref/index.htm?key=state+gcc+avr
flavicon
face BY : Liam O'Hagan email (remove spam text)



Yep, download WinAVR from AVRfreaks, it's a single package.

It includes "Programmer's Notepad" which is it's "IDE" You can use AVR
studio 3.x but it's a fair bit of fiddling to set it up. Programmer's
notepad includes configurable tools, so you can have menu options for Build,
Erase, Download etc etc

I use programmer's notepad to write the code, and AVRDude as (command line)
programming software. Programmer's notepad invokes AVRDude and captures the
output, meaning it's one program to write the code and download to the
device.

For example, I have the following tools for PN:

Tool Name :     Command
GCC Make        Make
Erase           D:\WinAVR\bin\avrdude.exe -p m162 -c dt006
Download        D:\WinAVR\bin\avrdude.exe -p m162 -U flash:w:%n.hex (which
includes an erase cycle before programming, and a verify cycle afterwards,
so the above tool isn't used much)

%n is the filename without extension, so if your current source code was
called source.c, %n.hex would be source.hex

-p is the device, in this case Mega162...

I'd recommend getting hold of ProjectID: 59, general peripheral drivers by a
guy called hendrix (Chris Efstathiou) from AVR Freaks, very well documented
peripherals library...

> {Original Message removed}
<2193429B07D9914D97216EBBAA6AB8BD1A0D70@whitlam.corp.gli.com.au>

See also: www.piclist.com/techref/index.htm?key=state+gcc+avr
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) state of gcc for AVR?

month overview.

new search...