avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Patch for fuse and lock-bits with avr910


From: Theodore A. Roth
Subject: Re: [avrdude-dev] Patch for fuse and lock-bits with avr910
Date: Fri, 16 May 2003 12:10:52 -0700 (PDT)


On Fri, 16 May 2003, Jan-Hinnerk Reichert wrote:

:) Hi all,
:)
:) I have written a patch that allows to read and write fuse bits with an avr910
:) programmer (at least if it supports the "New Universal Command").
:)
:) Should work with avr910 version 2.2 and newer (don't have access to older
:) firmware.
:)
:) Patch is against latest CVS version of "avr910.c"
:)
:) This is how it works:
:) 1) It implements "avr910_cmd()": sending arbitrary SPI-commands
:) 2) avr910_read_byte() and avr910_write_byte() call avr_read_byte_default(),
:) resp. avr_write_byte_default(), if memtype is neither flash nor eeprom.

Looks good. I'll verify on my mcu00100 (with 2.3 firmware) over the
weekend and commit it.

:)
:) This is the first time I have ever used diff, so please tell me if I did
:) something wrong ;-)))

Looks fine. Did you generate it with 'diff -u ...' or 'cvs diff -u'?
I've found cvs diff to be much easier to work with than making patches
manually with diff.

Thanks.

Ted Roth




reply via email to

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