avrdude-dev
[Top][All Lists]
Advanced

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

RE: [avrdude-dev] [patch] new hash implementation


From: Theodore A. Roth
Subject: RE: [avrdude-dev] [patch] new hash implementation
Date: Tue, 29 Jul 2003 15:15:54 -0700 (PDT)

On Wed, 30 Jul 2003, Alex Shepherd wrote:

:)Hi Guys,
:)
:)I have applied the patch and it seems to work well in both the Win2k CMD
:)shell and in the JFE IDE.
:)
:)I'm happy with how it works - thanks.

Good.

:)> Theodore A. Roth
:)> Sent: Saturday, 26 July 2003 12:34 p.m.
:)> To: address@hidden
:)> Subject: [avrdude-dev] [patch] new hash implementation
:)>
:)>
:)> Hi,
:)>
:)> I went ahead and implemented my hash idea I previously posted.
:)>
:)> Tested with (stk500):
:)>
:)>   $ ./avrdude -p atmega128 -i cs8900a/test_cs8900a.srec -e -f
:)> s -m flash -v -v
:)>
:)> and:
:)>
:)>   $ ./avrdude -p atmega128 -i cs8900a/test_cs8900a.srec -e -f
:)> s -m flash -v -v 2>&1 | cat
:)>
:)> To see both the tty and non-tty output. They both look like this when
:)> done:
:)>
:)> avrdude: AVR device initialized and ready to accept instructions
:)>
:)> Reading | ################################################### | 100%
:)> avrdude: Device signature = 0x1e9702
:)> avrdude: erasing chip
:)> avrdude: done.
:)> avrdude: reading input file "cs8900a/test_cs8900a.srec"
:)> avrdude: writing flash (13540 bytes):
:)>
:)> Writing | ################################################## | 100%
:)> avrdude: 13568 bytes of flash written
:)> avrdude: verifying flash memory against cs8900a/test_cs8900a.srec:
:)> avrdude: reading on-chip flash data:
:)>
:)> Reading | ################################################## | 100%
:)> avrdude: verifying ...
:)> avrdude: 13568 bytes of flash verified
:)>
:)> avrdude done.  Thank you.
:)>
:)>
:)> Still needs tested with a parallel programmer though. I'm sure it's a
:)> bit rough, so I don't plan on committing it without an OK.

Ok, I have committed the attached.

I fixed a problem in the no-tty output (was sometimes printing more than 50 
hashes), added a comment discussing the usage of the report_progress() 
function, and added reporting to the avr910 output.

Tested with stk500 and avr910, both tty and no-tty. Get identical results in 
all cases.

Ted Roth

Attachment: avrdude-report-progress-2.diff
Description: Text document


reply via email to

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