Rockbox Development > New Ports

Cowon D2

<< < (144/194) > >>

fish:
@shotofadds
@helloworld1

I'v opend a bug to track this issue/new port:

http://www.rockbox.org/tracker/task/10607

shotofadds:
^^ I'm not sure if that's the "correct" thing to do, since we don't normally allow bug reports for unreleased ports like the D2.

btw. The datasheet you linked is for the PCF50603, not the PCF50635 (check helloworld1's post here). And it's not a full datasheet anyway, since it doesn't contain any details of register addresses, etc.

Based on my disassembly of FW4.11 I can probably make a test build that turns on the screen/backlight, but I doubt very much that anything else will work... watch this space.

fish:
Ok sorry. I hoped it would help you to track is there. So I will try to help you here ;)

I'v googled a bit and stumbled about that:

https://electronics.wesrch.com/User_images/Pdf/16_1178305668.pdf


--- Quote ---We de-potted the Philips part, revealing it to be a PCF50635, apparently a smaller version
of the PCF50607 used in the original nano
--- End quote ---

...and for that chip you have already some support, right? For the ipod nano?


amiconn suspects that the pcf50607 is a smaller version of the pcf50605:
http://www.rockbox.org/irc/log-20080311#21:12:28

That would make the PCF50635 = PCF50607 = PCF50605:

http://www.rockbox.org/wiki/pub/Main/DataSheets/pcf50606.pdf
http://svn.rockbox.org/viewvc.cgi/trunk/firmware/drivers/pcf50605.c?view=markup

shotofadds:
If that's really true, Rockbox would already work on your D2+, and Cowon would not have needed to add support for an entirely new power management chip in the x.11+ firmwares.

I can see from the disassembly that every time a power management function is needed (eg. to turn on the backlight) a decision is made which results in calling code which either communicates with the PCF50606, or some new chip. I explained all this several posts ago...

Toni:
I own a CowonD2+ with 4GB flash K9LBG08U0M. I have modified the ARM emulator to run the original CowonD2 code (4.59) for this flash type. The emulator supports some basic flash access emulation, basic lcd emulation, basic i2c emulation and rudimentary timer interrupt handling. It needs a complete dump of the flash for input. To keep the data clean, I bypass all flash write accesses into a different memory location. With this I come to the startup screen and can navigate between the menues. The code is still kind of hackish and compatible to MSVC6.0 only. If someone is interested, I have appended the code here (rename *.pdf to *.zip). The tool dumps all register and flash accesses and the latest (500000) executed instructions to files. Feel free to experiment with this but I will not have much time in the near future for any support.

Edit by karashata: removed attachment, moved it to CowanD2Info wiki page.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version