Support and General Use > Hardware
256GB mSATA SSD for iPod 5g/5.5g - possible with current release of Rockbox?
Alkor:
torne
Ok ppl still w8 u. So good luck ::)
darrysmi:
--- Quote from: torne on April 02, 2013, 07:40:19 AM ---The communication with the SSD is completely unreliable no matter what I do, it seems; data are corrupted randomly and writing rarely works, and even the basic identifying information about the SSD such as the model name is corrupted randomly when read :/
I need to do some more experiments, but it's really not obvious what the issue is here.
--- End quote ---
Thanks Torne, progress is progress :) Thanks for investigating, hopefully its something simple...
dreamlayers:
Try different timings in IDE0_PRI_TIMING0. Look in firmware/target/arm/pp/ata-pp5020.c. The register is set in ata_device_init() and below the function there is a comment with some other values.
Rockbox has used 0x10 from before I worked on these files. I never saw iPod 5G OF using that value. When I tried various PIO timings on my 5G 30GB iPod with stock HD, 0x10 gave the best performance, so I left it that way.
In firmware/drivers/ata.c, the first setting in set_features() sets the PIO mode. The OF would match that to the IDE0_PRI_TIMING0 value. You could try setting a slower mode, but that shouldn't be necessary.
torne:
Aha, thanks for your expertise dreamlayers :)
I will experiment with that later.
torne:
Well, that works, it seems. Left it on PIO 4, and changed the timing to the one from pio80mhz[4] (0x3131) and lo and behold check_registers now passes and nothing is corrupted any more. :)
Do we have any idea what the timing value actually means here? I could change it to 0x3131 for everyone but it seems like we should maybe copy the OF better and use the one that matches the PIO mode we are using?
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version