[Top][All Lists]

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

[avrdude-dev] chip_erase and cycle_count cleanup

From: Jan-Hinnerk Reichert
Subject: [avrdude-dev] chip_erase and cycle_count cleanup
Date: Sun, 30 Nov 2003 19:31:36 +0100
User-agent: KMail/1.5.1

Hi all,

as discussed earlier, I would like to have an
avr_chip_erase() in "avr.c" which does
- avr_get_cycle()
- pgm->chip_erase()
- avr_set_cycle()

This has the following benfits:
- Cycle count for AVR910 and Butterfly
- removes duplicated code from stk500.c and par.c
- get_cycle_count() and set_cycle_count() are the last functions in 
"avr.c" that are still called from within the programmer's
- and last but not least it makes the code cleaner

BTW: Perhaps it would also be good to implement erase as an "update".


reply via email to

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