avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] Can't write to flash?!?


From: Joerg Wunsch
Subject: Re: [avrdude-dev] Can't write to flash?!?
Date: Thu, 5 Jun 2008 08:22:54 +0200
User-agent: Mutt/1.5.11

As Justin Rajewski wrote:

> avrdude> write flash 0 10
> >>> write flash 0 10 
> avrdude (write): error writing 0x0a at 0x00000 cell=0xff

That's normal.  Single-byte write operations did only work on old AVRs
where the flash write was not paged.  If someone is seriously
interested, terminal mode could probably be rewritten to cache
single-byte writes, and coerce them into a page update, but I'd
consider that fairly low priority.

If you use the -U option (just -U flashfile is OK, the full form were
-U flash:w:flashfile:format), it causes avrdude to use paged write
operations which is supposed to work.

-- 
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

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




reply via email to

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