Motherboard Forums


Reply
Thread Tools Display Modes

ATMEL AVR-programming using AVROSP on Linux? Does AVRDUDE supportself-programming bootloaders?

 
 





















Antti Karttunen (remove .bu.la from the address)
Guest
Posts: n/a

 
      11-08-2004, 11:04 PM



Cheers,

Has anybody tried to port ATMel's own
AVROSP ("AVR Open-source Programmer",
see: http://www.atmel.com/dyn/general/tec...sp?doc_id=9852 )
for Linux? It seems otherwise quite generic
code, except that the module SerialPort.cpp
is wholly Windows-specific, so I need just
to create the corresponding interface using
standard Posix-interface to RS232-port.
Other possibility would be to run the
included Windows/DOS-executable AVRDUDE.exe
under WinE in Linux, provided there doesn't come
any problems with serial port settings, etc.
Has anybody done that?

Otherwise I would be quite happy to use
Avrdude ( http://savannah.nongnu.org/projects/avrdude/ ),
except that I don't see whether it supports ALSO
programming with an AVR109-style
self-programming bootloader (i.e. by uploading
stuff to that bootloader via the serial port,
without any intermediate "programming hardware").
See Atmel's "Self Programming Application Note" at:
http://www.atmel.com/dyn/general/tec...sp?doc_id=8053


By fgrepping avrdude's source code (and NEWS-file) I get
an impression that avrdude _does_ support programming
through serial port and AVR910-style programmer,
built according to Atmel's "In-System Programming Application Note"
http://www.atmel.com/dyn/general/tec...sp?doc_id=8087
I.e. the "standard" serial programmer which connects via an RS-cable to
the PC, and to the programmed board (with the main AVR to be programmed)
with "SPI-cable", that in turn is connected to
MISO, MOSI, SCK, RESET, VCC and GND-pins of
the processor.


Yours,

Antti

 
Reply With Quote
 
Jan-Hinnerk Reichert
Guest
Posts: n/a

 
      11-09-2004, 06:04 PM
Antti Karttunen (remove .bu.la from the address) wrote:

> By fgrepping avrdude's source code (and NEWS-file) I get
> an impression that avrdude _does_ support programming
> through serial port and AVR910-style programmer,
> built according to Atmel's "In-System Programming Application Note"
> http://www.atmel.com/dyn/general/tec...sp?doc_id=8087
> I.e. the "standard" serial programmer which connects via an RS-cable
> to the PC, and to the programmed board (with the main AVR to be
> programmed) with "SPI-cable", that in turn is connected to
> MISO, MOSI, SCK, RESET, VCC and GND-pins of
> the processor.


AVRDUDE can be used with AVR910-style programmers. There is also
support for the Butterfly bootloader. And you can use non-standard
baudrates with all RS232-programming protocols ;-)

Don't forget to look at the docs for performance hints.

/Jan-Hinnerk

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: OT Freeware Partition software Ben Myers Dell 76 11-28-2008 11:16 PM
Group Formed to Support Linux as Rival to Windows Sparky Spartacus Dell 16 01-25-2007 08:27 PM


All times are GMT. The time now is 02:21 PM.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43