Getting Data From The Eprom (non standard)

Hi all if any body could help with this it would be great. Basically it might not be possible i don't know. I have built a project, this is a preliminary project for another slightly diffident project. Both lighting effects. Both do the same thing the only diffidence is the the preliminary one is full editable. It can save programs to the eprom (or it will soon). it is full working apart from the eprom save , i don't see any problems with this part of it. What i want to do is create the programs on the editable version save them to the eprom and then ( and this is the bit i'm unsure of) retrieve them back to the computer for inclusion on the eprom of a present version.
Is this possible can i get to the data on the eprom independently of the sketch so to speak. i.e. run the scetch on the arduino in the working project and save some presents into the eprom. Turn it of plug the arduino into the computer and down load the data.

sorry if i've been to wordy :slight_smile:

you can save data to EEPROM from sketch one, load sketch two on the arduino and read/use the data written by sketch one. If sketch two has no save function it will reuse the settings from sketch one after every restart. uploading a sketch does not affect the content of EEPROM

You can also extract / write the content of the EEPROM with AVRDUDE command, google for its manual , -D option from my head.

Brilliant both bit of info are very helpful. Will look up AVRDUDE. Thanks :slight_smile:

It can save programs to the eprom (or it will soon). it is full working apart from the eprom save

Note that Rob said you could save DATA to EEPROM. You can not save programs to EEPROM, unless you have a different definition of program than I do.

PaulS:

It can save programs to the eprom (or it will soon). it is full working apart from the eprom save

Note that Rob said you could save DATA to EEPROM. You can not save programs to EEPROM, unless you have a different definition of program than I do.

I'm thinking that the 'programs' he refers to are the lighting effects themselves -- i.e. sequences of lighting operations and not the firmware to use them.

Yes to confirm Paul the 'programs' are indeed the preset's. Mixed the two up. I try and call the program the sketch now... most of the time
I'm mixing up synth terminology with programming terminology while making a light, but it has midi also. It's great how the Arduino let's your ideas include programming and device design when developing ideas. However a cross talk of terminology can occur. As ever i will try to be as clear as possible in the future.