[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [avrdude-dev] program error?
From: |
Sander Pool |
Subject: |
RE: [avrdude-dev] program error? |
Date: |
Sun, 23 Mar 2003 16:26:41 -0800 |
> -----Original Message-----
> From: address@hidden
> [mailto:address@hidden
> Behalf Of Brian Dean
> Just to make sure I understand ... you issue avrdude as so:
>
> avrdude -p m128 -e -i foo.hex
>
> And it then programs OK, i.e., you don't get the verify error?
Yes, that is correct. If avrdude doesn't lock up it will work OK.
>
> If so, then avrdude is working correctly - since after programming it
> reads out the entirety of the flash, and compares the results with
> what it just uploaded and they matched.
Even without the -V flag?
>
> Just as an aside, '-e' is always necessary when you are updating the
> flash, since the flash does not perform an auto-erase for each byte
> programmed (the eeprom does, but not the flash). Thus, programming
> flash can only turn bits off, and if a bit is currently a '0', but
> needs to become a '1', the subsequent verify will fail. Doing a chip
> erase sets the whole flash to 0xff, which is why '-e' is needed before
> loading in a new program.
So should it maybe be the default behavior then with an option to turn it
off?
Thanks,
Sander
- Re: [avrdude-dev] config file change, (continued)
- Re: [avrdude-dev] config file change, Theodore A. Roth, 2003/03/17
- Re: [avrdude-dev] config file change, Joerg Wunsch, 2003/03/17
- Re: [avrdude-dev] config file change, Theodore A. Roth, 2003/03/18
- [avrdude-dev] Intermittent programming errors (NOT!), Larry Barello, 2003/03/18
- Re: [avrdude-dev] Intermittent programming errors (NOT!), Brian Dean, 2003/03/18
- Message not available
- Re: [avrdude-dev] Intermittent programming errors (NOT!), Larry Barello, 2003/03/18
- [avrdude-dev] program error?, Sander Pool, 2003/03/22
- Re: [avrdude-dev] program error?, Brian Dean, 2003/03/23
- RE: [avrdude-dev] program error?, Sander Pool, 2003/03/23
- Re: [avrdude-dev] program error?, Brian Dean, 2003/03/23
- RE: [avrdude-dev] program error?,
Sander Pool <=
- Re: [avrdude-dev] program error?, Brian Dean, 2003/03/23
- Re: [avrdude-dev] program error?, Theodore A. Roth, 2003/03/23
- RE: [avrdude-dev] program error?, Sander Pool, 2003/03/23
- Re: [avrdude-dev] program error?, Joerg Wunsch, 2003/03/24
- RE: [avrdude-dev] program error?, Sander Pool, 2003/03/23