peterburk / blog

My life in technology.
2 stars 0 forks source link

Ipod nano fail mod #1

Open mashiro-tan opened 6 years ago

mashiro-tan commented 6 years ago

Hello there! I'm want to say a few words about NAND chip replacing. Get a look onto NAND controller, in 1G it's external with ATA interface to the main SoC. Chip support of this controller is very decent, it's supporting only few chips with maximum 32GB in total, in "C" modification, and can't support all modern features and types of that (such as TLC type or chip preconfiguration). But, article on Uncyclopedia is not an myth, its just a joke. If you want to properly attach an IDE HDD, you'll need to desolder NAND controller and connect a cable to the IDE interface on his place through logic voltage level shifter. Power supply will be external for the hdd.

Datasheet for the ATA-NAND controller http://www.farnell.com/datasheets/82239.pdf

peterburk commented 6 years ago

Hi Mashiro,

Are you sure that the ATA Flash Disk Controller works as you describe?

I think the SST device is for putting a NAND chip into an iPod that expects ATA (like the iFlash does for SD cards, but for NAND). What Uncyclopedia is imagining is an adaptor that could put an ATA drive into an iPod Nano that expects NAND.

Instead of ATA, I'd really rather use an SD card in an iPod Nano. Do you know about SST chips that could do that?

Even better, is it possible to use a similar chip to connect SD cards into an iPhone 4S?

Peter

On 20 Oct 2018, at 09:27, mashiro-tan notifications@github.com wrote:

Hello there! I'm want to say a few words about NAND chip replacing. Get a look onto NAND controller, in 1G it's external with ATA interface to the main SoC. Chip support of this controller is very decent, it's supporting only few chips with maximum 32GB in total, in "C" modification, and can't support all modern features and types of that (such as TLC type or chip preconfiguration). But, article on Uncyclopedia is not an myth, its just a joke. If you want to properly attach an IDE HDD, you'll need to desolder NAND controller and connect a cable to the IDE interface on his place through logic voltage level shifter. Power supply will be external for the hdd.

Datasheet for the ATA-NAND controller http://www.farnell.com/datasheets/82239.pdf http://www.farnell.com/datasheets/82239.pdf — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/peterburk/blog/issues/1, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuzBAuhHaLaZRm7SjzPEGbLZAk2O98jks5umtBsgaJpZM4Xxx8h.

mashiro-tan commented 6 years ago

Yup, that iPod storage configuration is very similar to standard DoM module. Like this https://www.picclickimg.com/d/l400/pict/263418666134_/512MB-SSD-APACER-IDE-44PIN-FLASH-MEMORY-HDD.jpg Possible problem may be in access width, it may be 8bit. iPod 1G is almost like an 5G Classic, sharing the same SoC. Also from the specified datasheet: "SST’s ATA Flash Disk Controller is the heart of a high-performance, flash media-based data storage system. The ATA Flash Disk Controller recognizes the control, address, and data signals on the ATA/IDE bus and translates them into memory accesses to the standard NAND-type flash media." Note the 2G+ Nano based on absolutely different SoC that used NAND storage directly.

Do you know about SST chips that could do that?

I don't know about SST chips, but I’m sure that they will be different in pinout if they are exist. But you may check any (micro)SD(HC)-to-CF adapter.

is it possible to use a similar chip to connect SD cards into an iPhone 4S?

If 4S used eMMC chip as it main storage, there are chances for get it to work. Commonly, eMMC is an MMC card in BGA formfactor with minor differences like external reset line. Check this https://hackaday.com/2016/11/18/roll-your-own-64gb-sd-card-from-an-emmc-chip/

peterburk commented 6 years ago

The iPhone 4S uses a Toshiba THGVX1G7D2GLA08 NAND chip for storage. I don't think it's eMMC.

On 20 Oct 2018, at 22:07, mashiro-tan notifications@github.com wrote:

Yup, that iPod storage configuration is very similar to standard DoM module. Like this https://www.picclickimg.com/d/l400/pict/263418666134_/512MB-SSD-APACER-IDE-44PIN-FLASH-MEMORY-HDD.jpg https://www.picclickimg.com/d/l400/pict/263418666134_/512MB-SSD-APACER-IDE-44PIN-FLASH-MEMORY-HDD.jpg iPod 1G is almost like an 5G Classic, sharing the same SoC. Also from the specified datasheet: "SST’s ATA Flash Disk Controller is the heart of a high-performance, flash media-based data storage system. The ATA Flash Disk Controller recognizes the control, address, and data signals on the ATA/IDE bus and translates them into memory accesses to the standard NAND-type flash media." Note the 2G+ Nano based on absolutely different SoC that used NAND storage directly.

Do you know about SST chips that could do that? I don't know about SST chips, but I’m sure that they will be different in pinout if they are exist. But you may check any (micro)SD(HC)-to-CF adapter. is it possible to use a similar chip to connect SD cards into an iPhone 4S? If 4S used eMMC chip as it main storage, there are chances for get it to work. Commonly, eMMC is an MMC card in BGA formfactor with minor differences like external reset line. Check this https://hackaday.com/2016/11/18/roll-your-own-64gb-sd-card-from-an-emmc-chip/ https://hackaday.com/2016/11/18/roll-your-own-64gb-sd-card-from-an-emmc-chip/ — You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/peterburk/blog/issues/1#issuecomment-431614059, or mute the thread https://github.com/notifications/unsubscribe-auth/AAuzBJGbteTe-Ze_FIgCydvxgfmUBMg5ks5um4JpgaJpZM4Xxx8h.

mashiro-tan commented 6 years ago

In that case you can replace NAND chip with official compatible one (and don't forget about migrating all data from old chip and repartitioning). Or by emulating that compatible chip by fpga logic.

randomwahaha commented 6 years ago

Very interesting project you got here. So theoretically pretty much if we replaced the controller ic to SST55LD019C, we'll be able to swap out the NAND to a 32GB ones from any brand?

Also, have you tried instead of using iTunes/Apple iPod OS, use Rockbox?

mashiro-tan commented 6 years ago

Not really, 32GB is maximum capacity, allowed to achieve only with external multiplexer (as according to datasheet of IC). And only with specific parameters. W/o multiplexer you can get only 8gb afaik, check the document above for details.

I'm not using rockbox beause of resampling and inconvenient management in menus.

randomwahaha commented 6 years ago

Since we won't be able to temper the operating system, even if we do have an external multiplexer. So realistically 8Gb NAND mod is pretty much the limit..