I've been working on a little project with my Arduino Nano V3 board that does quite a bit with EEPROM. To avoid the annoying bootloader delay, I'm trying to write the sketch with my USBTinyISP. That works.
However, something the USBTinyISP does that the bootloader-based sketch writing never did is reset my EEPROM. Crap! The project relies on the EEPROM starting a certain way, and I have a separate sketch designed to format the EEPROM correctly before the main sketch is written. If the EEPROM is being erased when I write the main sketch, the main sketch won't work properly.
Is there any way to write a sketch via USBTinyISP without erasing EEPROM?
Could you elaborate on this? I just spent the last few hours troubleshooting the exact same problem until I realized the USBTinyISP sets the EEPROM values to 0xFF. Here's a copy of the settings I'm using in the boards.txt file:
Towards the bottom, under the Current settings section, enter the three fuse values (FF, DA, 05). Click the Apply values button to ensure the webpage is up-to-date.
Towards the top, under the Feature configuration section, ensure Preserve EEPROM memory through the Chip Erase cycle; [EESAVE=0] is checked. Click the Apply feature settings button to ensure the webpage is up-to-date.
The Current settings section has the new fuse values. Once those fuse values are applied, the EEPROM will not be erased except when you explicitly erase it.