Rockbox Development > New Ports

SanDisk Sansa c200v2, m200v4, clipv1, clipv2, clip+, and fuzev2

<< < (80/386) > >>

funman:
Great news !
Now the e200 is only left behind for the buttons, but hopefully the display will make it easy to figure them.

@kugel: the FuZe doesn't look like it uses the same controller (based on disassembly)

In firmware V4.0.45 the dbop_init routine is at 0x3428 and the lcd_init at 0x354C if there is any volunteer

atomikpunk:
Hi everyone,

it's been a while since I wrote but it's just hectic at work wince 2 weeks. Anyway, I'm still following the forums and (unsuccessfully) try out stuff for the SD.

For the fuze, I can have a look when I'll have some spare times, but meawhile, if someone would volunteer to get me all serial numbers that could appear on the LCD and/or its flat cable, I could have a look if I can find the related LCD controller and thus help out coding the driver for it.

Good work everyone!

kugel.:
When I took my Fuze apart I didn't find any numbers on the lcd or the cable. But ask saratoga, his is open at this time AFAIK.

linuxstb:
I'll probably have a go at writing an LCD driver, similar to what I did for the e200v2.  Hopefully once we start having a C version of the init function, someone will be able to identify the controller.

It would be useful if in the meantime, someone could add the Fuze to SVN (or post a patch doing so).

funman:
Hi

Just to let you know the mirrored/rotated display on the e200v2 is fixed : you should have perfect display / colors.

Also mc2739 told us the SD code works on the e200v2, so if you have one you can help writing the SD code to finish the bootloader.

Unfortunately for Clip / m200v2 the SD card power-up phase doesn't complete and I have no idea why :(

What the OF does after the reset vector is:

* Set up the stacks (clear them, etc ..) # not interesting for us
* Select the priority 1 on the AHB bus ( 1/test 2/dma 3/usb 4/ide 5/cpu )
* Reset all the peripherals but the memory
* Setup the clocks (PLLA, peripheral clocks ..)
* Setup and enable interrupts
* Setup DMA
* Setup I2C Audio Master
* Modify some registers on the i2c bus:
   Setup interrupts for battery charging
   Modify CVDD/DCDC3 register
   Modify Audioset2 & Audioset3 registers
   Modify System register

* Enable SD/NAND
* Enable SDRAM, LCD, USB, ...
I tried to reproduce this behaviour, but still no luck ..
Of course you're welcome to look at the code and see if I have forgotten some bit.

If we can't find what we miss by disassembly, then perhaps a JTAG connection to check the registers statuses will help: I have ordered an adaptor which should ship in 2/3 weeks

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version