Third Party > Repairing and Upgrading Rockbox Capable Players

SanDisk Sansa Clip+ Recovery nand

<< < (3/4) > >>

vitt13:
I found and ordered a cheap SanDisk SATA SSD 'SDSA5BK-008G' on Aliexpress (also available on eBay) which has TSOP48 NAND IC marked as SDTNPMAHEM-008G. Memory Type: MLC Flash ID: 45DEA482 7656

So, my idea is try to restore RAW image "SansaClip+8G_RECOVERY.imgc" from this message https://forums.rockbox.org/index.php/topic,52014.msg244198.html#msg244198 to SSD while it connected to PC though SATA to USB adapter. Then replace IC from the SSD board and solder it to the player's board.

Bilgus:
Sounds like an interesting idea

Let us know how it goes

vitt13:
Unfortunately (but expectably) I have no good results with such simple replacement.
As I understand there is some service information stored to NAND from specific NAND controller so that is why it cannot be easy replaced from SSD board to player board without rewriting that service information.
Anyway I guess that NAND IC can be generally used for replacement if player's firmware has support the NAND ID.

My next step would be to try uploading and starting the original firmware via JTAG. I've never worked with JTAG. I'm looking for the information what hardware and software I potentially can use. I have EZ-USB FX2LP board and the device with FT2232D IC onboard, and both cases require more time to make the working JTAG device.

vitt13:
Found the link https://jacobncalvert.com/2020/02/04/jtag-on-the-cheap-with-the-ftdi-ft232r/ how to use FT232RL adapter as JTAG with OpenOCD.
I use referenced config https://www.rockbox.org/wiki/pub/Main/SansaAMSJTAG/openocd_clipplus.cfg and xPack OpenOCD https://github.com/xpack-dev-tools/openocd-xpack

I spent four hours and did not understand why it does not work as expected.


--- Code: ---xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2022-09-01-17:58)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
Info : only one transport option; autoselect 'jtag'
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : clock speed 3000 kHz
Info : JTAG tap: as3525plus.cpu tap/device found: 0x3838170f (mfg: 0x387 (Unifosa Corporation), part: 0x8381, ver: 0x3)
Warn : JTAG tap: as3525plus.cpu       UNEXPECTED: 0x3838170f (mfg: 0x387 (Unifosa Corporation), part: 0x8381, ver: 0x3)
Error: JTAG tap: as3525plus.cpu  expected 1 of 1: 0x07926f0f (mfg: 0x787 (<unknown>), part: 0x7926, ver: 0x0)
Info : TAP as3525plus.etb does not have valid IDCODE (idcode=0xffc5801c)
Info : TAP auto0.tap does not have valid IDCODE (idcode=0xffe2c00e)
Info : JTAG tap: auto1.tap tap/device found: 0xfff16007 (mfg: 0x003 (Fairchild), part: 0xff16, ver: 0xf)
Error: Trying to use configured scan chain anyway...
Error: as3525plus.etb: IR capture error; saw 0x08 not 0x01
Warn : Bypassing JTAG setup events due to errors
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x0038170f)
Info : as3525plus.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.0
Error: etm_reg_add is requested to add non-existing registers, ETM config might be bogus
Info : starting gdb server for as3525plus.cpu on 3333
Info : Listening on port 3333 for gdb connections
Warn : WARNING: mystery debug reason MOE = 0xc. Try issuing a resume + halt.
Error: invalid mode value encountered 15
Error: cpsr contains invalid mode value - communication failure
Polling target as3525plus.cpu failed, trying to reexamine
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x0038170f)
Info : as3525plus.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.0
Error: etm_reg_add is requested to add non-existing registers, ETM config might be bogus
Warn : WARNING: mystery debug reason MOE = 0xc. Try issuing a resume + halt.
Error: invalid mode value encountered 15
Error: cpsr contains invalid mode value - communication failure
Polling target as3525plus.cpu failed, trying to reexamine
Info : Embedded ICE version 0
Error: unknown EmbeddedICE version (comms ctrl: 0x0038170f)
Info : as3525plus.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.0
Error: etm_reg_add is requested to add non-existing registers, ETM config might be bogus
Warn : WARNING: mystery debug reason MOE = 0xc. Try issuing a resume + halt.
Error: invalid mode value encountered 15
Error: cpsr contains invalid mode value - communication failure
Polling target as3525plus.cpu failed, trying to reexamine
...
and so on... repeating polling and trying
--- End code ---

vitt13:
I tried same JTAG connection with FT232RL under Linux and got similar output. Even with recompiled OpenOCD from sources.
And even with FX2LP board with firmware 'usbjtag-nanodla.hex' compiled from https://github.com/mithro/ixo-usb-jtag project.
I think my player is still alive at least it appeared as M200plus device and 32MB disk. So it definitely JTAG connection and OpenOCD issues.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version