I-Appliance BBS
The Official Source for Internet Appliance Upgrades and Mods
Amazon Honor System Click Here to Pay Learn More
BBS Main List | Sign In | Sign Up | Search | Help | Linux-Hacker.netReply to Thread | Printer |

Home / MISC Areas / Mattel JuiceBox
Anyone interested - Ready-Made custom catridge PCB?
Fabing custom PCB

New MessageAnyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
Profile
I'm thinking about making a "real" cartridge PCB - i.e. getting it made by an actual board house.

Needless to say - the more I make - the cheaper they are.

Anyone interested in going in on it? I'm sure I could get them down to $10 a piece - it fairly modest quantities.

You'd just have to solder on the socket for the XD card - but that would be a zillion times easier than a ton of airwires.

What else should go on it? Stuff to assist flashing?

Any ideas? Anyone interested?

I don't know how to "organize" something like this - do people want to commit to chiping in - when available??


---------
Brad Goodman
[myfirstname]@bradgoodman.com
08-24-2006 08:41:35

New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
Profile
you are gonna run into a few issues here.

1) xD card sockets are only available to those members of the xD Card Association
2) the board thickness for the cartridges is not what most boards houses do cheaply, so you are looking at extra money
3) mattel has turned a blind eye to our hacking as long as there wasn't any money changing hands, thats likely to change if you start sell stuff

i'm not saying "don't do it" but just be sure you are aware of some of the issues related to it.

08-24-2006 10:57:54

New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
Profile
I'm not looking to make money - just to share the costs.

I'm a little confused about some of the explanations on how the boot process works.

Does it really have to be an xD card? Could it just be a NAND flash soldered down? Socketed, etc?

I saw something that talked about it using either - depending on some strapping.

Again - haven't looked too carefully into it yet.

08-24-2006 11:31:17

New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
Profile
doesn't matter, as long as money changes hands you put yourself at risk.

xD is nothing more than a NAND flash chip in a removable package. the only reason i used the xD card was it was easily available and had larger soldering pads than a tsop package. so yes you could use standard NAND flash. just as long as it is 3.3v rated.

08-24-2006 15:15:48

New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) ChrisSaw
Profile
prpplague said:

you are gonna run into a few issues here.

I don't see at least one of your concerns; Mattel isn't going to care, since they have discontinued the Juice Box. I can't imagine Emsoft (the manufacturer) would care, since they have the uClinux source code for Juicebox available for download (see the Emsoft website).

I'm not optimistic bkgoodman can pull it off, but if he can, I'm in - I'd much rather avoid soldering all those tiny wires at my advanced age... ;)

08-24-2006 16:16:45

New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) Tom61
Profile | Email

3) mattel has turned a blind eye to our hacking as long as there wasn't any money changing hands, thats likely to change if you start sell stuff

Err, we're talking about an unpopulated board, that even with the software currently availible doesn't threaten their old business model for it. It's been discontinued in the US, and I'm guessing other countries as well. The only thing they could possibly complain about is using the words 'Mattel JuiceBox', as that'd be a trademark.Just call it a 'JB interface'and you should be OK.


What else should go on it? Stuff to assist flashing?

SD card slot. Stuff to assist flashing would be cool, but I can't think of anything that'd be less complex than the JuiceBox itself to do so.


Anyone interested?

I'd be interested in one for around $10.

08-24-2006 16:22:23

New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
Profile

You'd just have to solder on the socket for the XD card - but that would be a zillion times easier than a ton of airwires.
I kind of like soldering wires;-P but having something more reliable would be nice. If it can be done that cheap; sign me up for one.



1) xD card sockets are only available to those members of the xD Card Association
Yes, closed source hardware is a problem. But you can buy an xD Card Association approved product point a heat gun at it or put it in your toaster oven and remove the socket. The smc to xd adapters are still available from several sources for less than $10.


3) mattel has turned a blind eye to our hacking as long as there wasn't any money changing hands, thats likely to change if you start sell stuff
I understand your concerns but I'm with ChrisSaw and Tom61 on this. As long as we aren't making an exact copy of the Juiceware or MP3 cart. or calling it an official Mattel product they shouldn't care.

The bare minimum design that would make it interesting would be;

  • xD socket
  • All cartridge pins brought out to a header

    Optional;

  • NAND chip in addition to the xD socket (separate CE for each)
  • Buffers for nWR and nOE
  • SD/MMC socket

    -J

  • 08-24-2006 17:53:28

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) pfile
    Profile
    how about a slot for smartmedia? seems those are just raw nand-flash too. or are those too obsolete?

    i think perhaps the board thickness could be an issue with most hobbyist PCB fabricators, but its worth trying.

    08-24-2006 22:54:41

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) j_palito
    Profile
    I would love one of those, but with nand chip instead of xD.
    But i have 1 problem: i live in Portugal, wich makes shipping too expensive.
    As for the "legal" stuff, i agree that any disassembling and/or reverse engineering of the product, even discontinued, is still copyright infringement.
    The best IMHO, would be a small petition to Mattel, proposing them to continue making juiceboxes, but leaving the os and video codecs developement as open source. i bet that around the world, it would be a product that would bestsell, and most of all, they would have a return of what they already invested.
    It could also have usb and/or serial port built in, with proper software and be used as suplemental display, or as educational inexpensive programming toy. kids (and grownups) would love to use it in robotics, etc.
    The main problem seems to be the software and OS itself. That's what devoted this toy to failure, since we get a DVD player with great screen for kids for around 120€. yes, it's twice the price, but it's also 4 times the quality: it uses industry standards (DVD/MPEG/VCD), it has better quality screen, bigger screen, you don't have to buy movie "cartridges".
    So, if Mattel agreed, they produced the hardware, we give them the basic/standard firmware under GPL, so the units wouldn't come "blank", and would be a "failure proof" rom. "Developers" would be able to boot from blank nand's provided by Mattel (and yes, they could benefit a lot with this). The "basic" rom, would have tools to program the nands and to choose to bot from them.
    08-25-2006 04:17:37

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    Err, we're talking about an unpopulated board, that even with the software currently availible doesn't threaten their old business model for it. It's been discontinued in the US, and I'm guessing other countries as well. The only thing they could possibly complain about is using the words 'Mattel JuiceBox', as that'd be a trademark.Just call it a 'JB interface'and you should be OK.


    I don't see at least one of your concerns; Mattel isn't going to care, since they have discontinued the Juice Box. I can't imagine Emsoft (the manufacturer) would care, since they have the uClinux source code for Juicebox available for download.

    Mattel was just the company doing the production and marketing. emsoft still holds the rights to the design. from what i gather, they are still marketing the design for other uses. as i understand it from comments left in the code as well as references from other sources, emsoft uses the "guts" of the juicebox in atleast 2 other products.


    So, if Mattel agreed, they produced the hardware, we give them the basic/standard firmware under GPL, so the units wouldn't come "blank", and would be a "failure proof" rom. "Developers" would be able to boot from blank nand's provided by Mattel (and yes, they could benefit a lot with this). The "basic" rom, would have tools to program the nands and to choose to bot from them.

    Mattel is in the business of making toys. they are totally disinterested in doing anything more with the juicebox. emsoft would the only place to go for this, and they have made themselves very clear that they are not interested in working with the open source community.


    I understand your concerns but I'm with ChrisSaw and Tom61 on this. As long as we aren't making an exact copy of the Juiceware or MP3 cart. or calling it an official Mattel product they shouldn't care.

    thats just it, we can't guarrantee that the board would not be used to violate copyrights. recent courts cases such as the ones against P2P have stated that a product can be labeled "defective by design" when proper measures to prevent copyrights violations are not made.



    Yes, closed source hardware is a problem. But you can buy an xD Card Association approved product point a heat gun at it or put it in your toaster oven and remove the socket. The smc to xd adapters are still available from several sources for less than $10.

    yes that would work, but that presents a problem for mass production, how do you layout pads for an xD socket that you don't have? yea yo could do a layout for 1 easy, maybe even 2 different sockets. i personally have over 10 different types of xD sockets with all different pads.


    Optional;
    # NAND chip in addition to the xD socket (separate CE for each)
    # Buffers for nWR and nOE
    # SD/MMC socket

    why both NAND chip and xD socket? you really only need one nand flash device to get the custom bootloader running. and why buffers on nWE and nOE? as far as the sd/mmc socket, thats a given, you need that to pull files from, but might i suggest you look into used a microSD card instead to save room.



    how about a slot for smartmedia? seems those are just raw nand-flash too. or are those too obsolete?


    yea they are too obsolete, they are limited on their size and are getting hard to find. but they also suffer from the same problem as the xD card. the sockets are restricted to members.

    again, i'm not saying "don't do it", i'm playing devils advocate here. there are lots to think about when doing this kind of project.

    08-25-2006 06:11:53

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile
    just a reminder, interactive discussion on the juicebox(as well as other toy hacks) can be found on irc at irc.freenode.net on the #edev channel
    08-25-2006 06:34:46

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) j_palito
    Profile
    ok, the problem is elmsoft, after all...
    BTW, do you know what other products do they use the plataform on?

    oh, is it 16mb in an xD egnouth to boot uClinux with a ctorrent client? storage in other place, like SD card...
    and to boot as terminal window? (to display statistics and so)

    08-25-2006 07:17:28

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    oh, is it 16mb in an xD egnouth to boot uClinux with a ctorrent client? storage in other place, like SD card...
    and to boot as terminal window? (to display statistics and so)

    you only need about 64k of the NAND flash to boot the system, the rest of the data would come from the sd card, i.e. the kernel and root file system.

    08-25-2006 07:43:59

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    thats just it, we can't guarrantee that the board would not be used to violate copyrights. recent courts cases such as the ones against P2P have stated that a product can be labeled "defective by design" when proper measures to prevent copyrights violations are not made.
    Ok, I see your point. There is also the school of thought that the "defective by design" only applies if the product doesn't have any other substantial use. The intended use of the board would have nothing to do with copyright infringement.


    yes that would work, but that presents a problem for mass production, how do you layout pads for an xD socket that you don't have? yea yo could do a layout for 1 easy, maybe even 2 different sockets. i personally have over 10 different types of xD sockets with all different pads.
    I'm assuming a limited run of the PCB. Whoever orders a PCB can either arrange to get their own socket or we can make a bulk purchase before the PCB goes to fab. (This does add to the logistics but I don't see any other option.) There is the chance that the SMC-xD adapter (or whatever) becomes sold out within that window but that's the chance you take. So just one footprint.


    why both NAND chip and xD socket?
    This can be looked at as a build option; if you don't want/can't get one then use the other. Or use both; chip for booting and the xD as removable storage.

    ...and why buffers on nWE and nOE?
    These are edge triggered signals, long wires from the header to a proto board can screw them up.


    again, i'm not saying "don't do it", i'm playing devils advocate here. there are lots to think about when doing this kind of project.
    I think it's good to have this discussion.

    -J

    08-25-2006 09:24:18

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) spacewrench
    Profile

    we can't guarrantee that the board would not be used to violate copyrights. recent courts cases such as the ones against P2P have stated that a product can be labeled "defective by design" when proper measures to prevent copyrights violations are not made.

    I'm not aware that you have to guarantee that. I thought the standard was whether the product has "substantial noninfringing uses." In any case, a board with a bootable flash and an SD slot would not be principally useful to copy copyrighted material. You probably have to identify the exact material you're talking about anyway, but if you mean the movies/music on JB carts, the device we're talking about wouldn't be able to copy those at all. There's an argument that the device could be used to copy out the code in the base unit, but there are easier ways to do that, and the whole point of this device is to run your own code, not to copy the base OS. (Furthermore, the base OS is uCLinux, which is open source anyway.)

    So, I would certainly buy one or two of these things, and will probably even look at making them. I know some people who have small devices fabbed fairly regularly, so maybe I can get them to piggyback a run for me. Or maybe the Olimex guys that I've encountered through SparkFun could do it.

    08-25-2006 09:44:02

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 1 times) keith721
    Profile
    Okay, here's a dumb*ss hackish thought. Why not just use/butcher/hack one of these inexpensive USB flash memory readers that already have sockets wired for everything? It would certainly relieve you of a helluvalotta work, once you've got connections into the JB. Like this one for $13:
    http://www.surpluscomputers.com/store/main.aspx?p=ItemDetail&item=DRV10770
    08-25-2006 10:53:24

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    ...Why not just use/butcher/hack one of these inexpensive USB flash memory readers that already have sockets wired for everything?...

    The JB can only boot from NAND (in raw, unformatted mode) it does not have a USB interface.
    Besides I think the goal of this project is to make something that requires no wires.

    -J

    P.S For all the copyright opinions I have been posting in this thread, if it's not obvious -> IANAL

    08-25-2006 12:16:12

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    Okay, here's a dumb*ss hackish thought. Why not just use/butcher/hack one of these inexpensive USB flash memory readers that already have sockets wired for everything? It would certainly relieve you of a helluvalotta work, once you've got connections into the JB. Like this one for $13:
    http://www.surpluscomputers.com/store/main.aspx?p=ItemDetail&item=DRV10770

    that would be the only real source of xD sockets we could get. its probably easier to just look at using a NAND chip for prodcution.

    08-25-2006 12:29:04

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    I have done a *lot* of board designs - so I'm not too woried.

    As you did state - board thickness could be an issue. Most places that do cheap low-volume PCBs doing it by palletizing many designs on a single PCB. If I do a custom thickness - they can't do that - so we have to do some minimal quantity to reduce the cost. Since the board is very tiny - obviously we need more of them to fill a single panel.

    Also - I *did* do a SmartMedia design a couple years back - and those sockets were easy to come by - and easy to solder down. (I think I still have the footprint for it around somewhere).

    As for NAND flashes - I actually have a burner laying around - so I could program parts before soldering them down. Granted, these wouldn't be [practically] re-burnable outside the Juicebox if someone messed one up.

    I was thinking about the 'ol desolder-a-cheap-USB-adapter thing too - could work!

    I just bought my 6-pack of JuiceBoxes - so I can't actually look at one 'till they arive!

    Is there a part number on the socket inside the thing? To be able to look up the actual mechanicals would obviously be ideal.

    I also found a cheap $7 SPI connected Ethernet chip (Mac and PHY) - (SPI is three-wires - i.e. we can run off the GPIO lines!!)Check:

    http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=2507¶m=en024064

    I really haven't dug too hard into the Juicebox yet - so I don't really haven't digested all logistics of the flash-types, boot process (the NAND and xD - which is used for what?) Are people saying that a soldered-down NAND with a bootloader would work - then people could put the OS on an xD, like SmartMedia or something?


    ---------
    Brad Goodman
    [myfirstname]@bradgoodman.com
    08-25-2006 13:06:59

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    As for NAND flashes - I actually have a burner laying around - so I could program parts before soldering them down. Granted, these wouldn't be [practically] re-burnable outside the Juicebox if someone messed one up.

    you can use the ft2232 chip to do the flash programming. thats easy to do, so no major problem there:

    http://www.dlpdesign.com/usb/2232m.shtml

    it's a good board to have around as it allows you to do jtag,spi, i2c , rs232 and bitbang gpios via a usb interface.


    Is there a part number on the socket inside the thing? To be able to look up the actual mechanicals would obviously be ideal.

    i searched high and low for the model/part number of the actual card edge connector. the only thing i do know is that both amphenol and molex have manufactured the connectors. thats about it.


    I also found a cheap $7 SPI connected Ethernet chip (Mac and PHY) - (SPI is three-wires - i.e. we can run off the GPIO lines!!)

    hehe yea i'm familiar with the enc28j60 ( http://www.elinux.org/wiki/enc28j60 ) i have written a working driver for uclinux/linux


    I really haven't dug too hard into the Juicebox yet - so I don't really haven't digested all logistics of the flash-types, boot process (the NAND and xD - which is used for what?) Are people saying that a soldered-down NAND with a bootloader would work - then people could put the OS on an xD, like SmartMedia or something?

    xD and SmartMedia are nothing more than a NAND flash chip in a removable package. basically you are putting a small piece of code on the NAND flash(chip, xD or Smartmedia) that allows it to boot custom code. once the code is running, you can read from the sd/mmc card for other code, i.e. the kernel and root file system.

    08-25-2006 14:00:09

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    According to my measurements - the card it .032" - which *is* a standard thickness at a lot of (most) PCB houses.

    Now I think this has been hashed through before - but bare with me...

    1. If the SD card is just a NAND flash - shouldn't I be able to flash it on a Linux machine, and then have the JuiceBox boot off of it? Are you saying that "most SD PC writers- since it is just a chip - will put its own "wrapper" on the data (for bad blocking, etc) that would make it so the block "0" I write to from the PC via. USB adapter isn't the same as the JuiceBox would see as block "0"? Has anyone actually verified this??

    2. Because of the problem above, I have to use a JTAG wiggler to program the flash?

    3. What's all this stuff about two differnet types of cart flashes - and a pin to detect between them - and only boot to a certian one?

    08-30-2006 10:38:22

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 1 times) jbfan
    Profile

    If the SD card is just a NAND flash - shouldn't I be able to flash it on a Linux machine, and then have the JuiceBox boot off of it?
    On an SD card there is a controller between the single bit "SD bus" and the 8 bit NAND bus, so the SD card does not appear as a NAND flash to the JB. The JB will only boot from the 8 bit NAND bus, as far as we know.


    Are you saying that "most SD PC writers- since it is just a chip - will put its own "wrapper" on the data (for bad blocking, etc) that would make it so the block "0" I write to from the PC via. USB adapter isn't the same as the JuiceBox would see as block "0"? Has anyone actually verified this??
    Yes, not many PC adapters allow raw access to the NAND device and that is what is needed.


    2. Because of the problem above, I have to use a JTAG wiggler to program the flash?
    Yes.


    3. What's all this stuff about two differnet types of cart flashes - and a pin to detect between them - and only boot to a certian one?
    There appears to be a "cartridge type" check done by the JB. The GPC9 and GPC10 pins are pulled up/down differently on the two known cart types (NAND/MP3(MMC)). I think there are additional checks done as I have been able to boot an xD card spliced onto an MP3 cart without changing the resistor configuration.

    -J

    08-30-2006 11:44:36

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile

    There appears to be a "cartridge type" check done by the JB. The GPC9 and GPC10 pins are pulled up/down differently on the two known cart types (NAND/MP3(MMC)). I think there are additional checks done as I have been able to boot an xD card spliced onto an MP3 cart without changing the resistor configuration.

    I think I'm getting confused here between the distinction of the following: NAND, MP3, MMC and xD.

    I understand my SD card that I got with the MP3/Photo kit is not a pure NAND (it has a controller.

    So your saying that the socket is built for both NAND (controllerless) or SD (w/ controller) modules - and is distinguised by the resistor?

    Are you also saying that EITHER memory type can be bootable?

    Whan you say:


    an xD card spliced onto an MP3 cart

    ...I am confused - because isn't the MP3 cart built for an SD card?

    Or is the MP3 cart you are talking different than the "photo/MP3" cart I have - with the SD slot?

    Do you see my confusion?

    -BKG

    08-30-2006 12:34:52

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    I think I'm getting confused here between the distinction of the following: NAND, MP3, MMC and xD.
    Sorry, guess my response wasn't very clear.
    The JB knows about two types of carts;
  • Video - i.e. JuiceWare cart, this is an OTP ROM (Matrix) with an NAND interface.
  • MP3 - this is an SD/MMC to JB adapter. The JB talks to the SD card in MMC mode (all (?) SD cards support MMC mode).

    To boot the JB with arbitrary code we need to fool it into thinking it has a "video" cart. This is done by copying the first X bytes from an official Juiceware (video) cart to the beginning of your code then writing the result to an 8 bit NAND device (xD, chip, emulator, whatever) see; http://www.elinux.org/wiki/JuiceWareTestImage


    So your saying that the socket is built for both NAND (controllerless) or SD (w/ controller) modules - and is distinguised by the resistor?
    Yes and no. It appears that the GPC lines are checked but the JB falls back to talking to whatever it can recognize; either a valid NAND or MMC/SD regardless of the GPC state.


    Are you also saying that EITHER memory type can be bootable?
    No, only the NAND can be booted. When the JB detects an SD/MMC card it passes control to the built in Linux code which then treats the SD/MMC as a file system (FAT16?) and looks for mp3s and .jbp pictures.


    ...I am confused - because isn't the MP3 cart built for an SD card?
    Or is the MP3 cart you are talking different than the "photo/MP3" cart I have - with the SD slot?
    Yes, the same cart. The procedure outlined here can be used on the "photo/MP3" cart the main difference is wires go to the gold fingers instead of the IC footprint.


    Do you see my confusion?
    Lets hope I haven't added to the confusion

    If you have anymore questions feel free.

    -J

  • 08-30-2006 13:26:44

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    Okay, I got it now!!

    I was a bit confused, because I thought that the "x" in "xD" was a wildcard - and that "xD" included "SD".

    So anyway - I'm straight now!

    So I think the consensus is that SD is useless for Linux hacking.

    NOW - if I had a SmartMedia socket - this would be a bootable NAND flash, right?

    Will an off-the-shelf SmartMedia burner allow you to burn the boot block? If so, couldn't you copy the image from your PC - with no JTAG stuff?

    If you *cant* - I'm thinking of the possibility of a SmartMedia <-> Paralell Port wigglier in the proposed card - but I haven't looked into if I'd need level shifting, etc...

    08-30-2006 13:55:04

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    So I think the consensus is that SD is useless for Linux hacking.
    Not necessarily. You can't boot from SD but you can talk to it once you are booted. I think it is important to consider supporting SD on the "custom cartridge".


    NOW - if I had a SmartMedia socket - this would be a bootable NAND flash, right?
    Yes, but SmartMedia is getting very scarce.


    Will an off-the-shelf SmartMedia burner allow you to burn the boot block? If so, couldn't you copy the image from your PC - with no JTAG stuff?
    Some of the older ones do support direct access but not sure if any drivers allow you to take advantage of this. prpplague has covered the programming choices on the http://www.elinux.org/wiki/JuiceBoxUMDCart page.


    If you *cant* - I'm thinking of the possibility of a SmartMedia <-> Paralell Port wigglier in the proposed card - but I haven't looked into if I'd need level shifting, etc...
    The JB only supports 3.3V devices.

    -J

    08-30-2006 14:43:37

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    So here's what I'm thinkin'

    Using a 48pin TSOP footprint for a 3.3v Paralell NAND FLASH.

    This can accomodate 64MB parts for $10 - up to 512MB parts for around $52+.

    Part like: http://www.digikey.com/scripts/DkSearch/dksus.dll?Detail?Ref=690&Row=216117&Site=US

    Does anyone know:

    1. What kind of speed requirements the JuiceBox have?
    2. Is it parallel or serial? (I assume parallel).

    THis would be pretty easier to solder down. (I could even go with a DIP - but, ewwww...)

    Now I'd do this in conjunction with an SD/MMC socket for a removable filesystem card.

    My dream would be to use one with +5v tolerant I/Os for a completely passive paralell port in-circuit programmer...

    Any thoughts?
    Any thoughs??


    ---------
    Brad Goodman
    [myfirstname]@bradgoodman.com
    09-01-2006 20:31:46

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    My dream would be to use one with +5v tolerant I/Os for a completely passive paralell port in-circuit programmer...

    if you are planning to program the nand flash from a pc, by far the easiest method is to use a FT2232 board to do it:
    http://www.dlpdesign.com/usb/2232m.shtml


    Does anyone know:

    1. What kind of speed requirements the JuiceBox have?
    2. Is it parallel or serial? (I assume parallel).


    1. the on board NOR flash is 80ns, the juicebox only runs at 66mhz, so you can get away with using pretty slow chips. you'd be safe with anything with 100ns or less, with probably anything 80ns or less being extra safe.
    2. parallel


    So I think the consensus is that SD is useless for Linux hacking.

    because xD cards can't be accessed in their raw form, this makes them not a very good choice for exchanging data from a pc. the sd/mmc card can be used in the exact same method on both pc's and the juicebox, which means you can exchange data easily. you only need about 64k for the bootloader on the xD/NAND flash. the rest can be used for storage. i normally read my kernel and root file system from the sd/mmc card. that way i can load the kernel and root filesystem from my pc.

    09-02-2006 06:29:42

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    According to my measurements - the card it .032" - which *is* a standard thickness at a lot of (most) PCB houses.

    most board houses will do .032", never said they couldn't. just that most board houses, don't offer .032" as part of their normal packages. you are gonna pay extra for it.

    09-02-2006 06:35:27

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile

    most board houses will do .032", never said they couldn't. just that most board houses, don't offer .032" as part of their normal packages. you are gonna pay extra for it.

    The place I use for short-run 2-layer does .062" and .032" standard - (I think).


    if you are planning to program the nand flash from a pc, by far the easiest method is to use a FT2232 board to do it:
    http://www.dlpdesign.com/usb/2232m.shtml

    I am (once again) confused - I looked at their pages and datasheets - it looks like this board "can do" a bunch of stuff - and the software they had looked powerful - but are you saying that this will do things like jtag and FLASH programming "off the shelf" with their software - or do you need your own code for that?

    09-02-2006 07:41:40

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) WestfW
    Profile
    > SmartMedia is getting very scarce.

    Moreso than Juice boxes? It seems that it would be a lot easier to solder
    a rats nest of wires to a SmartMedia card than an xD card, just because of
    the pad sizes.

    I don't suppose anyone makes a small nand flash in a package that is more
    hacker-friendly package than the 48pin TSSOP? It seems a waste to use a
    32MB xD card to hold a 64k bootloader, when I'd definately rather use the
    SD card (or a mini-SD; seems a nicer form-factor match) to hold much of
    the real data. http://www.flickr.com/photos/58843278@N00/232173394/

    Is the NAND flash access protocol (and/or it's implementation on the juicebox)
    such that you could stick a small micro controller in there, using it to
    SIMULATE a NAND flash from a file on the SD card? That might be nice.

    09-02-2006 15:21:18

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    I am (once again) confused - I looked at their pages and datasheets - it looks like this board "can do" a bunch of stuff - and the software they had looked powerful - but are you saying that this will do things like jtag and FLASH programming "off the shelf" with their software - or do you need your own code for that?

    you need custom software to bitbang NAND flash programming for the FT2232, but its not that difficult. no more difficult than doing the same software for the parport design you were thinking about. big difference is the ft2232 is 3.3v compatible and has alot more functionationality.


    Moreso than Juice boxes? It seems that it would be a lot easier to solder
    a rats nest of wires to a SmartMedia card than an xD card, just because of
    the pad sizes.

    yes the smartmedia is much easier to solder to. problem is a 32mb smartmedia is gonna cost you around $30USD, a 32mb xD card can be had for around $6USD. big price difference. if you'd like to use xD cards, but like the smartmedia solder pads, just get one of the smartmedia to xD adapters.


    I don't suppose anyone makes a small nand flash in a package that is more
    hacker-friendly package than the 48pin TSSOP? It seems a waste to use a
    32MB xD card to hold a 64k bootloader

    i searched pretty extensively for an alternative and didn't find one. basically you have three options, TSSOP-48, Smartmedia, or xD. once the system is up and running with uClinux, you can use the rest of the NAND flash for storage, for instance you can copy programs you use alot from the sd/mmc card over to the internal NAND flash. you can even use the NAND flash for the root file system if you so choose.


    when I'd definately rather use the
    SD card (or a mini-SD; seems a nicer form-factor match) to hold much of
    the real data. http://www.flickr.com/photos/58843278@N00/232173394/

    nice looking design. yes the mini-sd and even the micro-sd(transflash) are great form factors.


    Is the NAND flash access protocol (and/or it's implementation on the juicebox)
    such that you could stick a small micro controller in there, using it to
    SIMULATE a NAND flash from a file on the SD card? That might be nice.

    i researched doing this early on in the juicebox hacking. problem is that the only thing i could find that would have enough power, speed, and gpio lines to simulate the NAND flash, was a FPGA. the cost of going this route far exceded my budget constraints for the project(and i would guess for 99.44% of the other hackers as well)

    09-02-2006 17:09:28

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jasonharper
    Profile
    If you really wanted to avoid dealing with NAND flash, you could presumably connect a microcontroller to the JTAG pads - it could write a bootloader into the Juicebox RAM and execute it on each power-up. The bootloader code would be contained as static data in the micro's program memory, and would be updateable via whatever sort of in-circuit programming the micro supports. The downside is that this inherently involves modifying the Juicebox itself, as far as I can see the only way to make a cartridge that boots user code on a plain Juicebox requires NAND flash (or a FPGA emulation thereof).

    I've looked at the NAND command protocol, there's no way for the memory chip to tell the host to slow down except when actually erasing or programming a block. When command, address, or data bytes are being sent to/from the chip, the timing is entirely controlled by the host - with timing parameters measured in the 10's of nanoseconds. A microcontroller emulation doesn't seem practical at any reasonable clock speed.

    09-02-2006 18:51:38

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile

    I've looked at the NAND command protocol, there's no way for the memory chip to tell the host to slow down except when actually erasing or programming a block.

    Not true - the r/b (Ready/Busy) line does just this.

    However - I still think the use of a micro to allow NAND emulation is too (needlessly) complicated.


    for the FT2232, but its not that difficult. no more difficult than doing the same software for the parport design you were thinking about. big difference is the ft2232 is 3.3v compatible and has alot more functionationality.

    Yes - however, I did want to make this board publicly available - and I wouldn't want to require people to purchase the module.

    My parport design would consist of a raw X-pin header - hook the correct parport signals to it and your golden. I think the only other circutry we'd need is a 3.3v regulator and I'd probibly use something like a quickswitch for +5v<->+3.3v. But again - I don't want this to be too complex for everyone to use.


    48-TSSOP too hard to deal with

    Do people find this objectionable? I personaly do not - but then again I have Metcal and Hako [hot-air] rework stations, stereo rework microscope, and ultrasonic cleaning tank at home :-O

    Oooh! Oooh! I think I even has a TSSOP-48 head for my BP-1400 (Chip Burner)! If so - I could burn before putting them on - if someone would be kind enought to give me an image. I could burn for other people too - this gets down a slippery slope though - I dunno - send me a TSSOP-48 chip and $10 and I send you back the chip [programmed] and a board?? Sound too messy?

    09-02-2006 20:30:14

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) WestfW
    Profile

    >I've looked at the NAND command protocol, there's no way for
    >the memory chip to tell the host to slow down
    Not true - the r/b (Ready/Busy) line does just this.

    Hmm. But you'd still need some external logic to flip r/b on each write, it's
    not a three-way handshake, and bit flipping in SW wouldn't be guaranteed to be
    quick enough...



    I still think the use of a micro to allow NAND emulation is too (needlessly) complicated.

    Yes, it looks that way. There are a lot of pins to drive/read as well. It would take
    at least a 28pin micro, which is getting pretty big.

    Who sells cheap xD cards? The smaller cards seem to have dropped off the radar
    of my deal-watching sites. Alas, it looks like the hypothetical PCB to connect
    Juicebox and xD is pretty nasty. Not something doable on a single sided board
    in your garage (which is sort of what I was hoping to do...)

    09-02-2006 23:10:36

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    Yes - however, I did want to make this board publicly available - and I wouldn't want to require people to purchase the module.

    My parport design would consist of a raw X-pin header - hook the correct parport signals to it and your golden. I think the only other circutry we'd need is a 3.3v regulator and I'd probibly use something like a quickswitch for +5v<->+3.3v. But again - I don't want this to be too complex for everyone to use.


    the ft2232 design doesn't even require the regulator or level shifters(plus you get a nice general purpose device for jtag,i2c, and spi). i tried doing the parport design, ft2232, ez-usb, alauda driver hacking, and using a avr to do the NAND flash programming. out of all of those options, the quickest, easiests, and most reliable was the ft2232.


    Who sells cheap xD cards? The smaller cards seem to have dropped off the radar
    of my deal-watching sites.

    http://www.geeks.com/details.asp?invtid=KDFXD32SBN&cat=FLM



    Alas, it looks like the hypothetical PCB to connect
    Juicebox and xD is pretty nasty. Not something doable on a single sided board
    in your garage (which is sort of what I was hoping to do...)

    like i said, i researched it heavily when i first started the project. it could be done, but really only as a commercial project, and would only be a viable project if the juicebox was still a retail product being sold. the best you can hope for is to use off-the-shelf parts to make the adapters and document it well enough for people to easily replicate.

    09-03-2006 04:37:31

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile

    >> Alas, it looks like the hypothetical PCB to connect
    >> Juicebox and xD is pretty nasty. Not something doable on a single sided board
    >> in your garage (which is sort of what I was hoping to do...)

    like i said, i researched it heavily when i first started the project. it could be done, but really only as a commercial project, and would only be a viable project if the juicebox was still a retail product being sold. the best you can hope for is to use off-the-shelf parts to make the adapters and document it well enough for people to easily replicate.


    Like I said - I'm still looking to fab a cheap (~$10) double-sided cart for NAND, xD and Ethernet [probibly]. I'll make the boards and design available, and the schematics and layout open for public review.

    So I think here's the design spec:

  • 48-TSSOP NAND[/list]
  • xD socket (Vendor Model TBD)[/list]
  • Header for many/most signals[/list]
    Looking into:
  • Microchip Ethernet Chip w/ Pulse socket/transformer - this requires +3.3v to +5v charge pump[/list]
  • Looking into optional QuickSwitch - so you can run native +3.3v programing, or level-converted +5v[/list]
  • 09-03-2006 11:17:17

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) WestfW
    Profile

    you could presumably connect a microcontroller to the JTAG pads - it could write a bootloader into the Juicebox RAM and execute it on each power-up.

    That's an interesting idea. The same little add-on board could provide a robust JTAG connector as well.
    How small do you think a bootloader capable of finding and loading a file on an MMC/FAT flash card could be?
    As prpplague points out, now that JuiceBoxes are "dead" as commercial products, the motivation for complex addons is diminished a bit, but a JTAG bootloader loader might have enough potential for OTHER uses to make it viable. (does such a thing already exist?)
    Unfortunately, my knowlege of JTAG is about zip; I've worked mostly with smaller things like pic, avr, msp430. Little phrases on the juicebox wiki like "use the jtag interface to program the xD card" are going to take some research to figure out (is there a "jtag primer" someplace?)
    09-03-2006 14:59:43

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    Little phrases on the juicebox wiki like "use the jtag interface to program the xD card" are going to take some research to figure out (is there a "jtag primer" someplace?)

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

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

    everything you need to know about working with the juicebox is documented on the wiki. if you are having trouble finding the information and/or there are questions that aren't clearly answered, please let me know so that i can document it.

    09-04-2006 07:40:54

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) WestfW
    Profile
    I'd like the hypothetical cartridge to have both xD and (some kind of) SD sockets, preferably set up
    such that each is visible by the normal firmware in normal fashion. The current mp3kit->bootcartridge
    hack moves the MMC card addresses so that it's no longer visible, in order to have the xD boot nand show
    up in the "normal" place, but work done with piggyacked NAND roms here:
    http://www.linux-hacker.net/cgi-bin/UltraBoard/UltraBoard.pl?Action=ShowPost&Board=MJB&Post=71
    implies that the box can see several separate nand chips; can it boot from any of them? If you're
    starting from scratch can you leave the SD card in the standard place and still have it boot from
    an xD card if the card is present and contains bootable code?
    09-05-2006 00:22:35

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile
    This is starting to sound like it could work!


    # 48-TSSOP NAND
    # xD socket (Vendor Model TBD) <- I assume you mean SD, but having both SD and xD would be cool
    # Header for many/most signals
    Looking into:
    # Microchip Ethernet Chip w/ Pulse socket/transformer - this requires +3.3v to +5v charge pump
    # Looking into optional QuickSwitch - so you can run native +3.3v programing, or level-converted +5v
    As for the Ethernet chip and charge pump; watch the current draw. We only have a single 3.3V supply pin. The ENC28J60 is rated at a max of 180 mA (while transmitting) and a NAND has a 30 mA max (read, prog, or erase). Don't have a spec on an SD, probably not much different than the NAND though.
    No idea what the max current or voltage drop rating is for a connector pin, just wanted to bring up the point.

    What are you planing to use for schematic capture and layout?


    ...If you're starting from scratch can you leave the SD card in the standard place and still have it boot from an xD card if the card is present and contains bootable code?
    I agree it would be better to keep the SD wired in the standard way. This gives two advantages; 1) Use the processor's SIO engine to talk to the SD - saves a lot of processor cycles compared to "bit banging" the interface. 2) The built-in memory test can still be used to verify the operation of both the SD and the NAND.
    The main drawback is that if the JB finds both SD and NAND it will go into mp3 mode rather than booting from NAND. (This is one of the reasons that I like xD as the removable media.) One workaround for having both SD and NAND/xD may be as simple as moving the SD nCS to another pin on the connector. You lose the memory test but can still use SIO.

    Formatting the SD card with something other than FAT12/16 (FAT32, ext3, etc.) may also stop the JB from going into mp3 mode (needs to be tested).

    -J

    09-05-2006 03:28:32

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    >>I've looked at the NAND command protocol, there's no way for the memory chip to tell the host to slow down except when actually erasing or programming a block.
    >Not true - the r/b (Ready/Busy) line does just this.
    No, the original comment is correct, there is no byte level flow control. Timing diagrams in the data sheet show that R/B# only goes low when the chip is reading from the memory array to it's internal cache, or during programing or erase. Individual reads/writes on the bus have no effect on the R/B#, you _do_ need to know how fast you can access the device.

    FYI - I'm seeing a 250ns read cycle initially on the JB then it switches to 500ns as it reads the boot image.

    -J

    09-05-2006 05:01:42

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    If you're starting from scratch can you leave the SD card in the standard place and still have it boot from
    an xD card if the card is present and contains bootable code?

    yes you can, however, once uclinux is up and running, you won't be able to access the xD card , only the SD card. the problem is that the SI0TxD and SI0RxD lines are also used for the CLE and nRDY lines of the xD/NAND flash. the ideal situation would be to move the CLE and nRDY to other GPIO lines so that you could use the NAND flash and used the SPI controller at the same time(mystery why Emsoft didn't do this). however we are working with the on board NOR flash boot rom, which expects to use the CLE and nRDY lines for the NAND flash on the pins 12 and 18 of the expansion slot.so you have three choices:

    1) replace the NOR flash onboard with a bootloader with the CLE and nRDY lines changed
    2) move the TX and RX lines to unused GPIOs and bitband the spi interface to the SD/MMC card
    3) use the same lines and only have access to one device at a time.


    i choose to do 2 since i am very comfortable with bitbanging SD/MMC and i find that the performance on a 60mhz box is more than acceptable.


    implies that the box can see several separate nand chips; can it boot from any of them?

    no it can only boot from the first one.

    09-05-2006 05:04:38

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    Warning: Rediculous Idea to Follow

    What about...

    Making a card with just a NAND flash on it - maybe even a DIP - so people could easily solder it.

    So the card plugs into the JB - all well and good.

    (Now for the rediculous part)

    The opposite edge of the card fingers-out as a edge-connector for a socket for some standard media type - CompactFlash, SmartMedia - I don't know - but a format that would:

  • Be compatible with a raw NAND device
  • Allow insertion into an off-the-shelf card reader/writer for programming. i.e. not the "boot block" problems that xD has.

    I don't know if this is even feasible - for a raw PCB the board thickness and fingers would have to be proper - some something like CF might work - as it would require a soldered connector. (Is CF a "raw-NAND" - does it have the "boot block" issues?)

    Is this just rediculous? Comments?

  • 09-05-2006 09:00:41

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile

    As for the Ethernet chip and charge pump; watch the current draw. We only have a single 3.3V supply pin. The ENC28J60 is rated at a max of 180 mA (while transmitting) and a NAND has a 30 mA max (read, prog, or erase). Don't have a spec on an SD, probably not much different than the NAND though.
    No idea what the max current or voltage drop rating is for a connector pin, just wanted to bring up the point.

    Yea - I starting thinking about all that stuff last night. Then of course I got into thinking about using an external power brick - as (in my application) I would probibly want one to power the JB anyways. So then I starting thinking I'd drop it - run external SPI pins and deal with it later off-board. (Like buy an PICDEMO.net board from Microchip and wire that up.) But as I really want to get 6 of these up (for myself} - that's not too economical.

    Start worrying about physical form-fact (size) and the double-edge mentioned above - you have something looking really strange. So maybe off-board is the way to go? (It still makes me mad to think about that though.)


    What are you planing to use for schematic capture and layout?

    Eagle

    09-05-2006 09:05:49

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    Making a card with just a NAND flash on it - maybe even a DIP - so people could easily solder it.
    Good luck finding a DIP. A little poking around this morning looks like even the TSOP48 is going end of life in favor of BGA packaging


    The opposite edge of the card fingers-out as a edge-connector for a socket for some standard media type - CompactFlash, SmartMedia - I don't know - but a format that would:

    # Be compatible with a raw NAND device
    # Allow insertion into an off-the-shelf card reader/writer for programming. i.e. not the "boot block" problems that xD has.

    I don't know if this is even feasible - for a raw PCB the board thickness and fingers would have to be proper - some something like CF might work - as it would require a soldered connector. (Is CF a "raw-NAND" - does it have the "boot block" issues?)


    Not sure what you are driving at. You mean use an off the shelf reader to program the device on the PCB? If the reader thinks it has anything other than a SmartMedia or xD it will not send the correct commands to the chip for read/erase/program.

    This list shows the different FLASH card types.

    The Idea that I have been playing with is to have just an xD socket. On the xD card put a boot handler that would allow self replication of the contents. Using the "press any key" to stop boot method, the boot handler gives you the choice of burning a new image over the serial port or copying what is on the xD to another xD. Or create the new xD over the serial port after booting from the first. This way you only need to use (the very slow) JTAG interface once to write the initial xD.
    Something similar can be done with copying from SD to NAND.
    In other words I don't believe there is a hardware solution to this problem. We need software for programing the NAND device.

    Eagle is good, should be available to everyone.

    -J

    09-05-2006 11:16:23

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    I'm definitley not opposed to the software solution - I am just trying to make it so you don't need to do the JTAG burn at all. Just make a cart - program it from a PC - insert it into an untouched JB - and you're done.

    I've just seen people having problems in getting the JTAG stuff working - and don't want to get stuck with a bunch of stuff I can't get working.

    09-05-2006 11:45:42

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) WestfW
    Profile
    You could put a small micro (hey, I like small micros) on the cartridge to
    make the nand flash (or xD) card boot-block-programmable from a PC via serial
    or jtag (jtag-like?) cables. Essentially your cartridge would double as one
    of those few xD adaptors capable of "raw mode" programmming (of course, attempting
    to program 32MB of xD card via serial is liable to be depressing, but the JB
    application wouldn't need that much.)

    Once the xD card has the boot image copied too it, is the rest of the card then
    able to hold a normal flash-card-readable file system, or does the whole thing
    have to be handled "raw"?

    09-05-2006 13:18:01

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile

    You could put a small micro (hey, I like small micros) on the cartridge to
    make the nand flash (or xD) card boot-block-programmable from a PC via serial
    or jtag (jtag-like?) cables. Essentially your cartridge would double as one
    of those few xD adaptors capable of "raw mode" programmming (of course, attempting
    to program 32MB of xD card via serial is liable to be depressing, but the JB
    application wouldn't need that much.)

    Definitiely not a bad idea - but it just pushes me back to using a simple parport adapter to do the same thing (just putting the intelligence on the PC side) - maybe putting a level-shifter on board.

    If I'm being stupid about the whole JTAG paranoia, someone please slap me now. I don't want to make a mountain out of a molehill if I don't need to.


    Once the xD card has the boot image copied too it, is the rest of the card then
    able to hold a normal flash-card-readable file system, or does the whole thing
    have to be handled "raw"?

    I think the answer is "we don't know" - meaning that any given xD reader/writer could deal with things a bit differently - one could use "X" blocks at the start - another could use "Y" blocks. That's why they say "use the same reader for reading/writing each time". Kind of lame.

    I'm really getting ansy to decide and start on the design. I think, as it stands today is:

  • 48-TSSOP on board for NAND/boot flash
  • SD socket on-board for kernel & filesystem. (BTW - quick survey at Target tells me SD is very cheap and avaialble)
  • Level-shifter and headers for NAND FLASH pins - if it seems quick, easy, and space available.
  • Breakout everything and their mother
  • 09-05-2006 14:43:02

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    ...make it so you don't need to do the JTAG burn at all.
    No argument here. Not being able to do anything without first soldering on a JTAG connector is the biggest drawback to the JB.


    Once the xD card has the boot image copied too it, is the rest of the card then able to hold a normal flash-card-readable file system, or does the whole thing have to be handled "raw"?
    I think changing the first block will make it appear to the card reader that the FLASH is corrupt - the PC software will probably offer to reformat the card for you at that point;-(.


    If I'm being stupid about the whole JTAG paranoia, someone please slap me now. I don't want to make a mountain out of a molehill if I don't need to.
    If you stick to combinations that work you won't have any problems; for me that is - jtager and a wiggler clone. Once I got all the wires in the right places, this worked first time;-P. Other people have successfully used other combinations.


    I'm really getting ansy to decide and start on the design. I think, as it stands today is:

    # 48-TSSOP on board for NAND/boot flash
    # SD socket on-board for kernel & filesystem. (BTW - quick survey at Target tells me SD is very cheap and avaialble)
    # Level-shifter and headers for NAND FLASH pins - if it seems quick, easy, and space available.
    # Breakout everything and their mother


    Sounds good!

    -J

    09-05-2006 15:34:22

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) spangemonkee
    Profile

    I think changing the first block will make it appear to the card reader that the FLASH is corrupt - the PC software will probably offer to reformat the card for you at that point

    If you used an interface that isn't plugnplay (serial or parallel), then you wouldn't have to deal with that problem.

    09-05-2006 17:15:04

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    If I'm being stupid about the whole JTAG paranoia, someone please slap me now. I don't want to make a mountain out of a molehill if I don't need to.

    the jtag interface works perfectly fine, how do you think the OTP nor flash on the main board got programmed during manufacturering? still by far the easiest way to program the nand flash is to use a FT2232 module to do it.



    Once the xD card has the boot image copied too it, is the rest of the card then
    able to hold a normal flash-card-readable file system, or does the whole thing
    have to be handled "raw"?

    if the xD card read/write doesn't see the xD card associations format on the first few blocks of the xD card(NAND flash), it won't use the card. however, once the card is programmed with the bootloader code, the rest of the xD(NAND flash) is usuable under linux for storage.


    Definitiely not a bad idea - but it just pushes me back to using a simple parport adapter to do the same thing (just putting the intelligence on the PC side) - maybe putting a level-shifter on board.

    putting level shifters on board is a real waste.

    09-06-2006 05:04:06

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) newell
    Profile

    the jtag interface works perfectly fine, how do you think the OTP nor flash on the main board got programmed during manufacturering? still by far the easiest way to program the nand flash is to use a FT2232 module to do it.

    I'd bet good money that they didn't use JTAG to production program the main board OTP memory. Too slow. Much quicker (and cheaper!) to gang program the devices out of circuit.

    09-06-2006 06:25:52

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) prpplague
    Profile

    I'd bet good money that they didn't use JTAG to production program the main board OTP memory. Too slow. Much quicker (and cheaper!) to gang program the devices out of circuit.

    totally impractical to gang program COB core chips. problem is there are no contacts on the chip until they are bonded to the board. most production companies upload a small "shoehorn" type application and run it on the processor. it then reads the rest of the data via another interface, such as the rs-232 port, usb interface, or in the juicebox case most likely an external nand flash connected to the expansion slot. this is the way we do all of our production devices.

    09-06-2006 08:34:58

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    The test points that the JTAG signals are broken-out to are consistant with the kind you'd use for pogo-pins in a clam-shell-type board tester. This would make it easy to drop the board onto the pogos - clamp down - [probibly do a boundry scan/board test] - do a JTAG burn - and you're done.
    09-06-2006 08:59:06

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) bkgoodman
    Profile
    I'm trying to get my JB up and running (jtag) - and after I do - think I'm ready to commit to a board:

  • Using on-board NAND flash for boot.

    Rationale: I have not been able to find xD memory at a reasonable price anywhere. It is very expensive. I can get NAND at $10 for 64MB without looking too hard. And you can't boot off SD. A little hard to solder - but not too bad. I can even potentially use DIP (they are available)

  • Using SD socket for main-filesystem

    Rationale: Both sockets and cards are cheap and available.
  • 09-12-2006 11:24:09

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) jbfan
    Profile

    I have not been able to find xD memory at a reasonable price anywhere. It is very expensive. I can get NAND at $10 for 64MB without looking too hard.
    You can find 32M to 256M xD for less than $10 around the net. Of course that doesn't include the price of the socket.

    Anyway, sounds good - looking forward to the results

    -J

    09-12-2006 12:26:01

    New MessageRE:Anyone interested - Ready-Made custom catridge PCB? (modified 0 times) GrayBeard
    Profile
    Yes. I would be in for five when you are ready to order.
    09-22-2006 16:04:09

    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