I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods

Click Here!
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / MISC Areas / Mattel JuiceBox
Cartridge Experiments
Some Random Observations

New MessageCartridge Experiments (modified 0 times) jbfan
Profile
I have been playing with the JB off and on for a while now. Here are a few observations;

32M NAND;
Had a problem a while ago using jtag to read a 32M part; most data was coming back 0xFF. The same routine worked fine on a 128M NAND and the 32M Matrix OTP.
The error was fixed by removing the fourth address cycle from the routine. The data sheet for the 32M part spells out that only three address bytes are needed but sending a fourth byte is supported. The timing diagram shows the extra byte being sent during busy, i.e. right after the previous byte. With jtag doing the bus transactions, either the write or ALE low is happening too long after the process begins. Not an issue with real code running on the JB but anyone using NAND in an application where an interrupt could cause a long delay may need to allow for this.

Buffering nOE;
As I had reported before - connecting a logic analyzer to the Juiceware slot caused problems with the Juicebox booting. I traced this to the nOE line's weak driver. Buffering the nOE (and the nWR) on my breakout hack solved the problem. Still having some data capture issues on the analyzer but otherwise everything is working.

Multiple chip cartridge;
You may have noticed that the cartridge portion of the memory diagnostics runs the cartridge test four times, each pass with the same result (checksum). This always bothered me, why run the exact same test four times?
I noticed that the Juiceware chip gets IDed and the first sector is read several times on boot. Each time the first sector is read the "unused" pins on the connector are showing a different pattern.
I decided to try piggybacking a second OTP ROM on an existing Juiceware cartridge and wired the nCE from each chip to the first two "unused" IOs, pins 2 and 4, on the connector (normally the nCE is tied low -- always enabled). The result is that the memory test now sees two cartridges present and two empty.
Unfortunately when playing the Juiceware cartridge only one video gets shown; the chip with its nCE tied to pin 2 of the connector. So this information is not useful for making a cartridge with multiple videos. But it could help with reading and writing a NAND Flash while other things (DRAM) are being accessed or having more than one chip on a cartridge (a boot ROM and a user flash?).

Booting from the cartridge;
Another thing noticed during boot is that offset 0x1C8(?) (not sure of the exact location, my notes are at work) of the first sector is used to point to another location on the cartridge. The boot sequence is; read the first sector, read the sector pointed to by location 0x1C8, read sector 0 a bunch more times, then read sectors 1 through 0x79. This appears to be enough data to get to the menu (play/info/about) on the cartridge. I think this is similar to what newell and prpplague have reported seeing from the debugger/code side.

It's been a long winter, anyone else had the time to do anything fun with their Juicebox setup?

-J

03-25-2006 17:16:18

New MessageRE:Cartridge Experiments (modified 0 times) prpplague
Profile
jbfan,

absolutely great work on the new cartridge!!!


http://www.elinux.org/wiki/JuiceWareXdSocket

04-20-2006 18:58:36

New MessageRE:Cartridge Experiments (modified 0 times) jbfan
Profile

absolutely great work on the new cartridge!!!
Thanks, prpplague, it was a lot of fun to put together.
Hopefully people will find it useful.

-J

04-21-2006 15:08:12

New MessageRE:Cartridge Experiments (modified 0 times) jbfan
Profile
From the SD/MMC Holder Source thread - emeb said;

...Mouser sells a combination SD/MMC + xD socket for $7.70ea...
Got mine a few days ago - a bit large at just under 5cm but a good find!
Guessing the size is mostly due to the socket's MemoryStick (Sony) support.
Mod'ed an MP3 cart with the beast to check it out, xD and SD working fine. Unfortunately memStick is closed source so AFAIK it's not usable with the JB.

Pictures here.

-J

09-17-2006 17:16:23

New MessageRE:Cartridge Experiments (modified 0 times) emeb
Profile
Cool - glad to see that worked. I still haven't gotten around to modding mine, but then I need an xD card before that would be of any use.
09-17-2006 20:25:53

New MessageRE:Cartridge Experiments (modified 0 times) WestfW
Profile

Unfortunately memStick is closed source

I was surprised how much info there is in the "non-licensee" versions of the memory-stick specs available
here: http://www.memorystick.org/eng/simplefmt/index.html Like you, I thought MS was "very closed." It's
looking like SD is turning out to have the least public information/etc (though it's rather ludicrous that
you can't seem to buy xD sockets!)
09-17-2006 23:09:02

New MessageRE:Cartridge Experiments (modified 1 times) jbfan
Profile

Cool - glad to see that worked.
Thanks for the pointer to the socket!

I was surprised how much info there is in the "non-licensee" versions of the memory-stick specs available...
Yes, took a look at that site before wiring up the socket, was hoping to find enough info to talk to the device. Mostly a tease; pinout and pin description but only high level timing diagrams and none of the command opcodes for accessing the memory.
My camera uses them, so have some around to play with - maybe someday.

It's looking like SD is turning out to have the least public information/etc (though it's rather ludicrous that you can't seem to buy xD sockets!)
At least most SD cards support MMC mode which is documented.
Not sure what to make of the xD socket situation; might be there is just not enough demand to make it worthwhile to produce them other than in a multifunction (SD/xD/mem stick) format. I assume camera manufactures have a high enough volume to use a custom socket built for each run with the individual parts never being publicly available.

-J

09-18-2006 00:28:54

Reply to Thread | Printer |
All times are PSTPowered by UltraBoard v1.62



Copyright © 2000, Netmake Inc. All Rights Reserved.
See Terms and Conditions for more information.




i-opener opener laptop notebook computer help drivers dll free windows dos repair fix linux mac macintosh 2000 95 98 nt pc configure hardware software sound video netscape explorer network networking lan wan software cmos fat bios printer card mouse modem ide scsi cd rom controllers scanner tape hard drive cgi scripts source code mp3