UNO not saving sketch after power cycle

Hi,

I built a USBtinyISP and followed the instructions here to program the UNO with it: http://arduino.cc/en/Hacking/Programmer. This works fine. I can upload and unplug power to the board and still run my programs after restoring power. I then followed these instructions to go back to using the USB upload method: http://arduino.cc/en/Hacking/Bootloader. I am able to install the bootloader from the IDE using the USBtinyISP with no problems. I am also able to upload a sketch using the USB as well. But at this point if I power off the Uno and then power it back on the "L" light on the Uno board flashes three times pauses and flashes three times again in a loop. My previously uploaded sketch is gone!

Can someone help me out with this? I'm sure it's something simple that I'm missing, but I did follow the instructions closely so not sure what the problem is. I am making sure that "Arduino Uno" is chosen under the Board drop down.

Thanks
Joel

Maybe this will help?

http://forums.adafruit.com/viewtopic.php?f=25&t=21752

Hi Andy,

This was precisely what I was looking for. I wasn't expecting the problem to be a bug with the bootloader, but after following the instructions in this thread (http://www.arduino.cc/cgi-bin/yabb2/YaBB.pl?num=1293529218/39#39) I was finally able to correct the problem.

I was starting to get a little worried. Thanks for your help! :slight_smile:

Cheers
Joel