Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

Re: [AVR-Chat] avrdude, TINY2313 and writing EEPROM problem

2009-06-29 by Dennis Clark

> What is the source of the material you are trying to program the
> EEPROM with? I think that needs to be a .elf file?
>
> Timing (ISP  clock) should be no different than flash.

When programming the EEPROM via ICSP the .eep file is the source of the
data - and I've found that the first two or three bytes properly program,
but then errors start.  I've confirmed that the file is correct, and that
the error given in avrdude's compare is also correct (in that the byte was
not programmed.)

DLC

> Jim Wagner
> Oregon Research Electronics
>
> On Jun 28, 2009, at 8:58 PM, dlc wrote:
>
>>
>>
>> The EEPROM works fine - I can write and read it in a program, avrdude
>> just won't write it during programming. Maybe a timing setting in
>> avrdude can correct that?
>>
>> DLC
>>
>> Bob Paddock wrote:
>> >> Has anyone seen this before and solved it? Is there a later
>> version of
>> >> avrdude that fixes the problem? Am I simply doing something wrong?
>> >
>> > Have you tried a different part? We program a lot of Tiny2313 that
>> > use section of the EEPROM, have not had any problems with AVRDude
>> > doing it.
>> >
>> >
>> >
>>
>> --
>> Question with boldness even the existence of a God;
>> because, if there be one, he must more approve of the
>> homage of reason, than that of blind-folded fear.
>> Thomas Jefferson
>> -------------------------------------------------
>> Dennis Clark TTT Enterprises
>> www.techtoystoday.com
>> -------------------------------------------------
>>
>>
>>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
>


-- 
Dennis Clark
TTT Enterprises

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.