[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Butterfly proposal: Exit upgrade function
From: |
Jan-Hinnerk Reichert |
Subject: |
Re: [avrdude-dev] Butterfly proposal: Exit upgrade function |
Date: |
Thu, 5 Feb 2004 00:28:42 +0100 |
User-agent: |
KMail/1.5.4 |
On Tuesday 03 February 2004 17:03, Martin Thomas wrote:
> >On Thursday 29 January 2004 18:10, Michael Mayer wrote:
> >> What do you think about adding a new exitspec to the -E option
> >> to stop avrdude from sending this final 'E'? What would be a
> >> good name for it? "-E noexitupgrade" or "-E stayupgrademode" is
> >> IMHO much too verbose. Any suggestions?
> >
> >How about "-E reset" and "-E noreset"? This is not technically
> >correct, but describes the behaviour.
> >
> >Cheers
> > Jan-Hinnerk
>
> For the preinstalled Butterfly bootloader the term reset would be
> "technically correct" the bootloader issues a watchdog reset
> when it receives an "E" since the BOOTRST fuse is blown
> the BF restarts it's bootloader.
> So yes, option -E noreset would be a nice feature if someone
> programs the flash and the eeprom in separate AVRDUDE
> calls. Although I'm not sure if this would work with the current
> (4.3.0) Butterfly programmer init.
Well, it would be a bad idea to do it this, because the effect would
be the reverse compared to PPI-programmers.
"reset" means that the device stays in reset after programming so the
application is not executed. While "noreset" means that the main
application starts.
Cheers
Jan-Hinnerk