Argh! eeprom back up failed?

x0x0x0x0x0x

Moderators: Altitude, adafruit_support_bill, adafruit, phono, mome rath

Argh! eeprom back up failed?

Postby Stern » Tue May 10, 2011 7:34 am

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?
Stern
 
Posts: 10
Joined: Fri Nov 12, 2010 6:44 pm

Re: Argh! eeprom back up failed?

Postby Altitude » Tue May 10, 2011 10:28 am

I never even knew that function worked in c0ntrol
User avatar
Altitude
 
Posts: 912
Joined: Wed May 11, 2005 4:17 pm

Re: Argh! eeprom back up failed?

Postby phono » Tue May 10, 2011 12:08 pm

Altitude wrote:I never even knew that function worked in c0ntrol


it doesn't and hasn't ever on the last official firmware afaik

safebox should work though, not that its any consilation now
Image
x0x #733 Image SH-101 MC-202 TB-303 TR-606 TR-808 TR-909 MKS-50 Juno-106 A-100 Virus-B E-6400 SX-150 Monotron
User avatar
phono
 
Posts: 1502
Joined: Wed May 02, 2007 3:01 pm
Location: forum whore aka 2Cv

Re: Argh! eeprom back up failed?

Postby Stern » Tue May 10, 2011 3:10 pm

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?
Stern
 
Posts: 10
Joined: Fri Nov 12, 2010 6:44 pm

Re: Argh! eeprom back up failed?

Postby antto » Wed May 11, 2011 3:17 am

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?

the backed-up file, how big is it?
and what firmware do you use?
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 980
Joined: Thu Apr 15, 2010 2:21 pm

Re: Argh! eeprom back up failed?

Postby Stern » Wed May 11, 2011 5:38 am

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).
Stern
 
Posts: 10
Joined: Fri Nov 12, 2010 6:44 pm

Re: Argh! eeprom back up failed?

Postby antto » Wed May 11, 2011 5:13 pm

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?
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 980
Joined: Thu Apr 15, 2010 2:21 pm

Re: Argh! eeprom back up failed?

Postby Stern » Sun May 15, 2011 8:57 am

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.
Stern
 
Posts: 10
Joined: Fri Nov 12, 2010 6:44 pm

Re: Argh! eeprom back up failed?

Postby antto » Sun May 15, 2011 2:15 pm

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)
We are here too: irc.freenode.net >>> #x0xb0x
..:: c0nb0x v1.00 ::.. viewtopic.php?f=7&t=29282 (new control app - win/osx)
VCO Tuning: viewtopic.php?f=12&t=24759 (do it the EASY way)
User avatar
antto
 
Posts: 980
Joined: Thu Apr 15, 2010 2:21 pm

Re: Argh! eeprom back up failed?

Postby Sokkan » Sun May 22, 2011 5:42 am

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.
Sokkan
 
Posts: 230
Joined: Sat Sep 01, 2007 11:56 am
Location: Stockholm


Return to General x0xing

Who is online

Users browsing this forum: No registered users and 3 guests

Stuff to buy from the Adafruit store and links to product documentation!


New Products [108]

Raspberry Pi[80]
 
FLORA[23]
 
Bunnie Studios[9]
 
FPGA[1]
 
mbed[11]
Arduino[60]
 
NETduino[14]
 
BeagleBone[24]
 
Android[6]
 
XBee[10]
More Dev Boards[31]


 
BoArduino[8]
 
SpokePOV[4]
 
TV-B-Gone[4]
 
MiniPOV[3]
 
SIM reader[3]
 
Microtouch[5]
 
Clocks & Watches[18]
 
Drawdio[4]
 
Brain Machine[1]
 
Game of Life[2]
 
MintyBoost[2]
More DIY Kits[16]


 
MaKey MaKey[3]
 
Tweet-a-Watt[5]
 
Young Engineers[33]
 
Discover Electronics[2]
 
Snap Circuits[4]
 
littleBits[3]
 
Project packs[8]


 
Breakout Boards[34]
LCDs & Displays[48]
Components & Parts[70]
Batteries & Power[49]
EL Wire/Tape/Panel[52]
LEDs[111]
 
Wireless[14]
Cables[62]
 
Lasers[6]
Sensors/Parts[145]
 
Enclosures/Cases[11]
 
Solar[11]
 
RFID / NFC[13]
Prototyping[70]
 
iDevices[13]
Tools[71]
 
Wearables[39]
 
CNC[37]
 
Robotics[29]
 
3D printing[1]
 
Materials[24]


 
Stickers[41]
 
Skill badges[55]
 
Books[25]
 
Circuit Playground[7]
 
Gift Certificates[4]