0

eeprom slow programming
Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.

eeprom slow programming

by Borut on Fri Mar 23, 2018 3:23 pm

I'm testing new USBTinyISP and have some troubles.
It runs great when programming ATmega168p flash memory with AVRDUDE, but programming EEPROM extremely slow...for about 250bytes it need about 60sec.
What could be wrong?

Borut
 
Posts: 3
Joined: Fri Mar 23, 2018 3:17 pm

Re: eeprom slow programming

by Russell 27 on Sun Mar 25, 2018 4:17 pm

Is the eesave fuse bit set.
Russell 27
 
Posts: 240
Joined: Thu Sep 12, 2013 3:59 pm

Re: eeprom slow programming

by Borut on Mon Mar 26, 2018 1:49 pm

eesave fuse bit not set.
I'm not new to AVR's...I'm using them more then 10years, I'm just new to USBtinyISP.
I'm looking for good reliable programmer which working with AVRDUDE.

Borut
 
Posts: 3
Joined: Fri Mar 23, 2018 3:17 pm

Re: eeprom slow programming

by mjsadaway on Sat Apr 14, 2018 1:41 am

Although I have used Adafruit's USBtinyISPs successfully for a few years, I can no longer get them to program any EEPROMs - quickly or slowly.

However, if you're determined, you might want to try reducing the delays in AVRDUDE.CONF for the chip you are using under memory "eeprom": min_write_delay, max_write_delay, and delay. These seem to vary widely from one chip to another.

Unfortunately, I haven't found any documentation on AVRDUDE.CONF settings.

Perhaps the Atmel data sheet contains specs from which these settings can be derived.

mjsadaway
 
Posts: 9
Joined: Thu Jun 13, 2013 2:45 am

Re: eeprom slow programming

by Borut on Sat Apr 14, 2018 4:31 am

I stopped playing with USBtinyISP...
Now I'm using Olimex AVR-ISP-MK2 and have no problems with programming.
Olimex can be problematic with instaling drivers...programming flash and eeprom is ok.

Borut
 
Posts: 3
Joined: Fri Mar 23, 2018 3:17 pm

Re: eeprom slow programming

by mjsadaway on Sat Apr 14, 2018 5:28 am

Thanks. I may give up on the USBtinyISP too and try the Olimex.

Very frustrating since we have several of them and they all used to work.

mjsadaway
 
Posts: 9
Joined: Thu Jun 13, 2013 2:45 am

Please be positive and constructive with your questions and comments.