Failed upgrade ("erasepage got code 1a2")

Posted by: fuzzle

Failed upgrade ("erasepage got code 1a2") - 13/08/2008 16:54

I am trying to flash my Rio Car with car2-developer-v2.01-final.upgrade , using both download.c and empeg-download.c on a Linux system, but they both fail.

./download car2-developer-v2.01-final.upgrade 10000
gets through about 23% of the erase before I get the message "erasepage(100000) got code 1a2". What does this mean? I haven't found any mention of similar problems so far.

./empeg-download -p /dev/ttyS0 -a 10000 car2-developer-v2.01-final.upgrade
keeps telling me "fsync failed". But if I then restart it with the -d option (assume it is already in programming mode), it will sometimes start on the erase, but won't get very far before giving me the same kind of error message.

So right now, all I have is a fancy looking box with a pulsating LED. frown
Is this a problem with my computer/serial port, or what?
Help, anyone?
Posted by: tfabris

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 16:59

"If you have a large hard disk, or if you encounter problems with the official files, you can try Mark Lord's "bigdisk" firmware, available here. Mark's files will work with players that have smaller disk drives, too."
Posted by: fuzzle

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 17:11

Thanks, but still no go. I am wondering if the FLASH is damaged or something. shocked
Posted by: tfabris

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 17:19

Wait wait wait! I just re-read your first post.

You aren't doing it right... "download.c" is just for flash kernel and flash logo writes. The only files you're supposed to write with "download.c" are .ZIMAGE files and boot logo files.

You need the full upgrader program to install an .upgrade file.

Follow the instructions here carefully. I don't think Linux is an option, I think you need a Windows box. It *might* work under WINE.
Posted by: fuzzle

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 17:28

Doh! Thanks a bunch, it's alive again smile
I guess it doesn't pay to be tired when reading walkthroughs..
Posted by: tfabris

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 17:43

Did you use WINE and emplode to do it? Or something else?
Posted by: fuzzle

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 17:49

No, I just uploaded a .zImage to get it back to life.
I'm currently trying to figure out how to get the serial port to work in Java (JEmplode).. Ah, heck, I'll try WINE and emplode first. smile I'll let you know if it works.
Posted by: fuzzle

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 17:53

..and it works fine! smile
Thanks for your help!
Posted by: tfabris

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 17:56

No problem. And I'm slightly editing a couple of FAQ entries now to make things more clear. smile
Posted by: Roger

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 18:39

Originally Posted By: tfabris
I don't think Linux is an option


You can use upgclient on Linux. I don't know how to get hold of it, though.
Posted by: mlord

Re: Failed upgrade ("erasepage got code 1a2") - 13/08/2008 18:44

Another Linux option here is to install a Hijack kernel (serial port via download.c) and then use my upgrader.c program to perform the software install (.upgrade file) over ethernet.

Much faster than serial, but it won't work with the diskbuilder .upgrade files.