[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avrdude-dev] Adding elapsed time
From: |
Brian Dean |
Subject: |
Re: [avrdude-dev] Adding elapsed time |
Date: |
Tue, 29 Jul 2003 20:20:16 -0400 |
User-agent: |
Mutt/1.4.1i |
On Tue, Jul 29, 2003 at 03:17:07PM -0700, Theodore A. Roth wrote:
> This should be trivial to add with the new report_progress now in place. I
> will have to leave this for someone else to implement though since I need to
> get back to gdb stuff.
How about the following patch (attached)? Here's the output:
----------------------------------------------------------------------
address@hidden:/avrdude- ./avrdude -p m128 -e -i
~/src/cvs/avr/m128b/diag/diag.hex
avrdude: AVR device initialized and ready to accept instructions
Reading | ################################################## | 100% 0.03s
avrdude: Device signature = 0x1e9702
avrdude: erasing chip
avrdude: done.
avrdude: reading input file "/home/bsd/src/cvs/avr/m128b/diag/diag.hex"
avrdude: input file /home/bsd/src/cvs/avr/m128b/diag/diag.hex auto detected as
Intel Hex
avrdude: writing flash (19278 bytes):
Writing | ################################################## | 100% 7.60s
avrdude: 19456 bytes of flash written
avrdude: verifying flash memory against
/home/bsd/src/cvs/avr/m128b/diag/diag.hex:
avrdude: reading on-chip flash data:
Reading | ################################################## | 100% 6.84s
avrdude: verifying ...
avrdude: 19456 bytes of flash verified
avrdude done. Thank you.
----------------------------------------------------------------------
The time updates continuously with the percentage, except for the case
of '_no_tty()', when it is displayed at the very end.
I'm using 'gettimeofday()' to get the current time. Hopefully that
works with Windows.
Cheers,
-Brian
--
Brian Dean
address@hidden
http://www.bsdhome.com/
http://www.bdmicro.com/
RE: [avrdude-dev] Verify errors,, Alex Shepherd, 2003/07/25
RE: [avrdude-dev] Verify errors,, Daniel Williamson, 2003/07/29
- [avrdude-dev] Adding elapsed time, Alex Shepherd, 2003/07/29
- Re: [avrdude-dev] Adding elapsed time, Theodore A. Roth, 2003/07/29
- Re: [avrdude-dev] Adding elapsed time,
Brian Dean <=
- Re: [avrdude-dev] Adding elapsed time, Brian Dean, 2003/07/29
- Re: [avrdude-dev] Adding elapsed time, Theodore A. Roth, 2003/07/29
- RE: [avrdude-dev] Adding elapsed time, Alex Shepherd, 2003/07/29
- Re: [avrdude-dev] Adding elapsed time, Brian Dean, 2003/07/29
- RE: [avrdude-dev] Adding elapsed time, Alex Shepherd, 2003/07/30
- RE: [avrdude-dev] Adding elapsed time, Theodore A. Roth, 2003/07/30
- RE: [avrdude-dev] Adding elapsed time, Alex Shepherd, 2003/07/30
- Re: [avrdude-dev] Adding elapsed time, Brian Dean, 2003/07/30
Re: [avrdude-dev] Adding elapsed time, Joerg Wunsch, 2003/07/30
Re: [avrdude-dev] Adding elapsed time, Theodore A. Roth, 2003/07/30