Argh! eeprom back up failed?
Moderators: altitude, adafruit_support_bill, adafruit, phono, hamburgers
Please be positive and constructive with your questions and comments.
-
- Posts: 10
- Joined: Fri Nov 12, 2010 7:44 pm
Argh! eeprom back up failed?
I made a eeprom backup using c0ntr0l, but now I tried to restore and most of the patterns have gone?! Is there any way to get them back?
- altitude
- Posts: 995
- Joined: Wed May 11, 2005 5:17 pm
Re: Argh! eeprom back up failed?
I never even knew that function worked in c0ntrol
- phono
- Posts: 1502
- Joined: Wed May 02, 2007 4:01 pm
Re: Argh! eeprom back up failed?
it doesn't and hasn't ever on the last official firmware afaikAltitude wrote:I never even knew that function worked in c0ntrol
safebox should work though, not that its any consilation now
-
- Posts: 10
- Joined: Fri Nov 12, 2010 7:44 pm
Re: Argh! eeprom back up failed?
Darn, that erm... s0cks, I have a live set tomorrow. Shouldn't this be mentioned on the c0ntr0l instruction pages? Good thing most basslines where inspired by existing basslines so at least I can recreate 80% of what I lost... Ah well, it is what it is. So Safebox will do the trick for sure?
- antto
- Posts: 1636
- Joined: Thu Apr 15, 2010 3:21 pm
Re: Argh! eeprom back up failed?
the backed-up file, how big is it?Stern wrote:I made a eeprom backup using c0ntr0l, but now I tried to restore and most of the patterns have gone?! Is there any way to get them back?
and what firmware do you use?
-
- Posts: 10
- Joined: Fri Nov 12, 2010 7:44 pm
Re: Argh! eeprom back up failed?
It's 2 kB, I use sokkOS 1.9.1
It backed up banks 1 to 4 and 16 completely, 5 to 15 are missing. (well, bank 5 pattern 1 is only 1 note long).
It backed up banks 1 to 4 and 16 completely, 5 to 15 are missing. (well, bank 5 pattern 1 is only 1 note long).
- antto
- Posts: 1636
- Joined: Thu Apr 15, 2010 3:21 pm
Re: Argh! eeprom back up failed?
hm.. so the back-up file is 2048 bytes, correct?
some patterns are there, some are spoiled?
this smells like corrupted USB transmition, maybe CRC errors
is your USB cable long-ish?
some patterns are there, some are spoiled?
this smells like corrupted USB transmition, maybe CRC errors
is your USB cable long-ish?
-
- Posts: 10
- Joined: Fri Nov 12, 2010 7:44 pm
Re: Argh! eeprom back up failed?
I want to say sorry for my late replies, I was on the road for a few days. I am really grateful for the help.
Indeed, some patterns are there, others are gone. As for file sizes, on my pc it says 2 kB (right click it and it says 1,85kB; 1900bytes) on the Mac 4KB, 1900 bytes... Earlier I downloaded some xoxbox XBP file elsewhere on the forum and I noticed that it is the same size, hence why I reckoned perhaps the file might still be intact. It would be nice if that's the case, as some patterns I could not reprogram exactly...
Silly of me to not even consider the cable to be a potential cause, it does seem to make sense... I'll try again with a shorter cable, first with Safebox and if that works I'll try again with Control. I'll report back here asap.
Indeed, some patterns are there, others are gone. As for file sizes, on my pc it says 2 kB (right click it and it says 1,85kB; 1900bytes) on the Mac 4KB, 1900 bytes... Earlier I downloaded some xoxbox XBP file elsewhere on the forum and I noticed that it is the same size, hence why I reckoned perhaps the file might still be intact. It would be nice if that's the case, as some patterns I could not reprogram exactly...
Silly of me to not even consider the cable to be a potential cause, it does seem to make sense... I'll try again with a shorter cable, first with Safebox and if that works I'll try again with Control. I'll report back here asap.
- antto
- Posts: 1636
- Joined: Thu Apr 15, 2010 3:21 pm
Re: Argh! eeprom back up failed?
i don't think it's the cable
with c0ntr0l i also get about 1900 bytes from the x0x (sometimes less)
ideally, for the adafruit firmware v1.05 or sokkos (any version)
16 banks * 8 patterns = 128
128 * 16bytes = 2048 bytes total (i'm not counting other data like tracks/songs.. if any)
i also tought maybe the cable might be an issue but no, i've flashed firmware a few hundred of times and 99.9% of the time there is no problem with it
also, i ran a test, i used a pseudo-random-number-generator on the x0xb0x, sending random numbers thru USB to my PC with a custom app, the app receives them and also generates numbers from the same generator/seed and compares if they match
i left it that way for a bunch of minutes and there were _no_ bad bytes..
the cable might become an issue if it's really long (afaik)
with c0ntr0l i also get about 1900 bytes from the x0x (sometimes less)
ideally, for the adafruit firmware v1.05 or sokkos (any version)
16 banks * 8 patterns = 128
128 * 16bytes = 2048 bytes total (i'm not counting other data like tracks/songs.. if any)
i also tought maybe the cable might be an issue but no, i've flashed firmware a few hundred of times and 99.9% of the time there is no problem with it
also, i ran a test, i used a pseudo-random-number-generator on the x0xb0x, sending random numbers thru USB to my PC with a custom app, the app receives them and also generates numbers from the same generator/seed and compares if they match
i left it that way for a bunch of minutes and there were _no_ bad bytes..
the cable might become an issue if it's really long (afaik)
-
- Posts: 240
- Joined: Sat Sep 01, 2007 12:56 pm
Re: Argh! eeprom back up failed?
The file size from a c0ntr0l save depends on what you have in your patterns and of how full the memory is on the x0xb0x. If you have a look in the c0ntr0l source code you will notice that it will translate what it gets from the x0xb0x before saving the dump. This translation is the broken part of it. It is not at all hard to fix but I would recommend using safebox if you have the drivers for the USB installed in a computer or a MIDI dump from the Sokkos 2.0 beta if you fail to install the USB drivers.
Please be positive and constructive with your questions and comments.