Rockbox Development > New Ports
SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2
funman:
Maybe you can still use it although it's not as user friendly as before ?
Could you take photos of how you broke it so that other people do not repeat it please?
Thanks for the sacrifice of your scroll wheel !
I got another clip and I could finish writing clean & tested 2 stages bootloader.
The gpio checks the mapping for the Clip (hold & usb aka pin A3 and A6) and uses D7 as output to blink the led.
e200 mapping matches (A3 is usb and D7 is the led) but don't try it if you have another model before the mapping is figured out.
I attach diff to rockbox to use this bootloader (you only have to modify stage2.S).
Note: you better should disassemble the produced firmware before flashing it, and make a diff between it and the OF to be sure stage1 & 2 have been written correctly and the offsets are correct (they should ^^)
EDIT: add forgotten patch for find-offset.c, apply both diffs
EDIT2: as found by fragilematter, use ./find-offset instead of find-offset in the Makefile (. is not necessarily in the PATH)
kugel.:
This is my dmesg output after inserting the Fuze with shorted NAND:
--- Quote from: dmesg ---[32319.420338] usb-storage: device found at 10
[32319.420344] usb-storage: waiting for device to settle before scanning
[32324.420507] usb-storage: device scan complete
[32324.422625] scsi 9:0:0:0: Direct-Access UNDEF storage 1.0 PQ: 0 ANSI: 0
[32324.423736] scsi 9:0:0:1: Direct-Access UNDEF storage 1.0 PQ: 0 ANSI: 0
[32324.452564] sd 9:0:0:0: [sdb] 1 512-byte hardware sectors (0 MB)
[32324.454302] sd 9:0:0:0: [sdb] Write Protect is off
[32324.454312] sd 9:0:0:0: [sdb] Mode Sense: 00 00 00 00
[32324.454318] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[32324.459838] sd 9:0:0:0: [sdb] 1 512-byte hardware sectors (0 MB)
[32324.460589] sd 9:0:0:0: [sdb] Write Protect is off
[32324.460612] sd 9:0:0:0: [sdb] Mode Sense: 00 00 00 00
[32324.460618] sd 9:0:0:0: [sdb] Assuming drive cache: write through
[32324.460639] sdb:<6>sd 9:0:0:0: [sdb] Sense Key : No Sense [current]
[32324.462710] sd 9:0:0:0: [sdb] Add. Sense: No additional sense information
[32324.462928] unknown partition table
[32324.463739] sd 9:0:0:0: [sdb] Attached SCSI removable disk
[32324.466375] sd 9:0:0:0: Attached scsi generic sg1 type 0
[32324.477270] sd 9:0:0:1: [sdc] Attached SCSI removable disk
[32324.477356] sd 9:0:0:1: Attached scsi generic sg2 type 0
[32324.840031] sd 9:0:0:0: [sdb] Sense Key : No Sense [current]
[32324.840044] sd 9:0:0:0: [sdb] Add. Sense: No additional sense information
[32325.003649] sd 9:0:0:0: [sdb] Sense Key : No Sense [current]
[32325.003662] sd 9:0:0:0: [sdb] Add. Sense: No additional sense information
[32327.374550] sd 9:0:0:0: [sdb] Sense Key : No Sense [current]
[32327.374568] sd 9:0:0:0: [sdb] Add. Sense: No additional sense information
--- End quote ---
This is lsusb -v of my Fuze
--- Quote ---Bus 004 Device 010: ID 0781:6200 SanDisk Corp.
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0781 SanDisk Corp.
idProduct 0x6200
bcdDevice 4.02
iManufacturer 1 SanDisk
iProduct 2 M200Plus
iSerial 3 i 0744703011
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4 config1: Mass Storage only
bmAttributes 0xc0
Self Powered
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk (Zip)
iInterface 5 ms ifac 1 (SCSI::BULK_ONLY)
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
Device Status: 0x0001
Self Powered
--- End quote ---
fdisk -l doesn't work.
The weird thing is: I get 2 new devices upon connection (sdb and sdc).
Doesn't look like being recovery mode, does it?
fragilematter:
kugel: in fact it does, but it looks like the unusable one from the clips (it probably wasn't implemented by sandisk in the same way that it was on e200s)...
funman: your makefile tries to compile find-offset.c, but you haven't included it in the diff.
kugel.:
What do you mean?
fragilematter:
The clips show the recovery disk, but its 0MB in size and you can't write to / read from it. It looks like the fuze has the same behaviour. Check the older posts for more info ;)
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version