avrdude-dev
[Top][All Lists]
Advanced

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

Re: is the 2560 flash not actually 256 KBytes? avrdude writes/reads 2612


From: Joerg Wunsch
Subject: Re: is the 2560 flash not actually 256 KBytes? avrdude writes/reads 261258 bytes
Date: Tue, 15 Jun 2021 06:30:16 +0200

As Didrik Madheden wrote:

> No, the flash is exactly 256*1024 bytes as you expect. I would guess that
> it omits writing trailing 0xFF bytes, since all bytes are 0xFF after
> they're erased anyway.

Exactly. Trailing 0xFF bytes are removed from the downloaded file when
reading flash, because they correspond to erased flash. (When reading
EEPROM, they are preserved.)

-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)



reply via email to

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