avrdude-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avrdude-dev] avrdude butterfly (fwd)


From: Theodore A. Roth
Subject: [avrdude-dev] avrdude butterfly (fwd)
Date: Wed, 28 Jul 2004 15:50:07 -0700 (PDT)

This should go to the avrdude-dev list instead of directly to me.

---
Ted Roth
PGP Key ID: 0x18F846E9
Jabber ID: address@hidden

---------- Forwarded message ----------
Date: Thu, 29 Jul 2004 00:41:46 +0200 (CEST)
From: Marco Skambraks <address@hidden>
To: address@hidden
Subject: avrdude butterfly

hi,

I just playing with avrdude and the butterfly part to upload programms
via bootloader

I changed my bootloader to support 38400 baud on my atmega16

the butterfly part of avrdude does not support 38400 baud
so, I added some lines in butterfly.c and butterfly.h
maybe, you want to add it in the next release of avrdude
I currently use "avrdude 4.4.0" for linux

here my little modification:
butterfly.c:
line 342:
pgm->fd = serial_open(port, 19200);

my change looks like this:
if(!pgm->baudrate) pgm->baudrate=DFLT_BAUDRATE;
pgm->fd = serial_open(port, pgm->baudrate);

with this, you can use the -b paramter to adjust the baudrate
if -b is not given the DFLT_BAUDRATE is used

butterfly.h:

#define DFLT_BAUDRATE 19200


best regards

marco

** Life is hard and then you die **
------------------------------------------------------------
SuSE Linux AG - Maxfeldstrasse 5 - 90409 Nuernberg
Projekt: suse-blinux  http://www.blinux.suse.de
E-Mail: Marco Skambraks <address@hidden>
blinux-support: Di. und Do. 15.00 - 20.00 Uhr 0180 / 500 36 12





reply via email to

[Prev in Thread] Current Thread [Next in Thread]