eeprom slow programming

USB AVR Programmer and SPI interface. Adafruit's USBtinyISP.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
Borut
 
Posts: 3
Joined: Fri Mar 23, 2018 3:17 pm

eeprom slow programming

Post by Borut »

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?

User avatar
russell 27
 
Posts: 242
Joined: Thu Sep 12, 2013 3:59 pm

Re: eeprom slow programming

Post by russell 27 »

Is the eesave fuse bit set.

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

Re: eeprom slow programming

Post by Borut »

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.

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

Re: eeprom slow programming

Post by mjsadaway »

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.

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

Re: eeprom slow programming

Post by Borut »

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.

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

Re: eeprom slow programming

Post by mjsadaway »

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.

Locked
Please be positive and constructive with your questions and comments.

Return to “USBtinyISP”