Forum Index > Projects > LED Pegboard and Matrix Projects
 Peggy 2 Program Retention
 |  Printable Version
By: Mongo Hi Power (offline) on Thursday, March 29 2012 @ 05:47 PM PDT (Read 685 times)  
Mongo Hi Power

When I upload my program to the Peggy 2 it runs with no errors.
If I turn it off (un plug the transformer and switch set to OFF) for 24 hours the program restarts and runs.
If I turn it off for 4, or 5 days, it seems to loose the program altogether.
What have I missed?
Thanks


Forum Apprentice
Apprentice

Status: offline

Registered: 08/31/11
Posts: 4

Profile Email    
   
By: Windell (offline) on Friday, March 30 2012 @ 04:50 AM PDT  
Windell

I haven't seen anything like this. Are you running one of the example programs?


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   
By: Mongo Hi Power (offline) on Friday, March 30 2012 @ 05:35 PM PDT  
Mongo Hi Power

I am running a program of my own creation, originating from one of the example programs, I made a few alterations to change its purpose to mine. This method of "cloning" establishes the correct format for the key functions, start() and loop(). After verifying that the demo program worked, I then began the process of making the changes. The only verbs used are SetPoint(), ClearPoint(), RefreshAll(), and delay(). I am wondering if the section on the 'help' files, titled 'Arduino - Bootloader' and "Why doesn't my sketch start" is the issue with my board.


Forum Apprentice
Apprentice

Status: offline

Registered: 08/31/11
Posts: 4

Profile Email    
   
By: Windell (offline) on Saturday, March 31 2012 @ 12:07 PM PDT  
Windell

How are you reprogramming it? If you're able to use use the FTDI cable, that would indicate that the chip is *not* losing its program, because there's a program that stays onboard (the "bootloader"Wink that allows the FTDI cable to reprogram it. If some part of the flash is still working, I'm not sure how another part could fail.


Windell H. Oskay
drwho(at)evilmadscientist.com
http://www.evilmadscientist.com/

Forum Evil Scientist
Evil Scientist

Status: offline

Registered: 06/15/06
Posts: 1932
Sunnyvale, CA

Profile Email Website  
   



 All times are PDT. The time is now 08:15 PM.
Normal Topic Normal Topic
Locked Topic Locked Topic
Sticky Topic Sticky Topic
New Post New Post
Sticky Topic W/ New Post Sticky Topic W/ New Post
Locked Topic W/ New Post Locked Topic W/ New Post
View Anonymous Posts 
Able to Post 
Filtered HTML Allowed 
Censored Content 

Evil Mad Scientist Forum Archives — Read only!

Please visit our new forums for new discussions.


DIY Hardware for Electronic Art


The Original Egg-Bot Kit


Octolively
Interactive LED kits


Meggy Jr RGB
LED matrix game
development kit.


Business-card sized
AVR target boards


Peggy 2
LED Pegboard kits

My Account






Lost your password?