I saw your post on the BT hub 3.0 nand dump using a sm/xD card reader. Can I ask where you did buy that spesific modell? Thanks for posting all the info and pictures, it helps me on my project!:)
Hi toffit,
The
Genesys Logic GL827 card reader? It was 99p from ebay. The seller is in sunny Smethwick, iirc. Anywhere near you?
That card reader is not however the best choice for NAND hacking since it needs modifying. It is hardwired for xD-Picture cards. The GL827 controller uses (
active low) lines to detect a xD-Picture and a SmartMedia card (signals XD_CDZ on pin 1 and SM_CDZ on pin 2. So these need swapping. See GL827 Datasheet here [1] )
The GL827 also handles automatically the Error Correction Code specified in the xD and SM card standards. However, the embedded device (BT Home Hub or whatever), will almost certainly use a different ECC algorithm in its own NAND driver. So while the GL827 is fine for dumping the NAND contents, it is probably no good for re-flashing new data into the NAND (since there is no control over the ECC contents).
Currently, just experimenting with a different (obsolete) card reader for NAND hacking - the
Olympus MAUSB-10.
The
MAUSB-10 is based on the 'Alauda' NAND controller IC, believed to be from RATOC Systems of Japan.
Daniel Drake discovered that the Alauda IC supports raw access to the whole NAND page [2]. Allowing arbitrary data to be written to the main area and the spare (out of band) area used for ECC. Which makes it a much more useful NAND controller. Potentially putting it in the same category as a $2000 commercial NAND flash programmer. [3]
Daniel's Linux kernel device driver for the
Alauda is broken today (and no longer maintained) but
cory1492 has generously released his ported code that runs in userspace using the
libusb library. It works well in both Linux and BillyGatesWare. [4]
Once this is working as intended (testing at the moment with another board) it can be documented properly.
cheers, a
[1]
http://www.genesyslogic.com/manage/upfile/12021817731.pdf[2]
http://www.reactivated.net/weblog/archives/2005/08/alauda-mausb-10/[3]
http://www.xeltek.com/Nand-Flash-Programming/[4]
http://www.xboxhacker.org/index.php?topic=15596