Rockbox Development > New Ports

Cowon D2

<< < (58/194) > >>

shotofadds:

--- Quote from: cybergrind on April 11, 2008, 07:25:59 AM ---I read datasheet (something understand =) and test some functions. I could try to implement LCD and Battery driver (both or one of them - choose from you) at this weekend.
--- End quote ---
I assume you mean "touchscreen" when you say LCD? The actual LCD driver already works... ;)

I think the battery level can be read using ADC1 (see Debug>Hw Info screen). It is just a matter of working out how to translate this value to an actual voltage.

--- Quote ---I think that NAND driver is more important now.

--- End quote ---
Yes, it certainly is. You are more than welcome to take a look at that! ;D

Yeeze:

--- Quote from: gnu on April 11, 2008, 11:36:35 AM ---I don't know how you can only complile one plugin, but you can skip the 'make install' when you write something like this:

--- Code: ---cp apps/plugin/myplugin.rock archos/.rockbox/rocks/demos/myplugin.rock
--- End code ---
With this code you only copy your plugin and not all the 'unchanged' pars of rockbox.

--- End quote ---

Yeah, copying really saves some time..

But the "make rocks" command does not seem to have much effect on what is compiled... E.g. Codecs are still compiled... now it takes up to 5 minutes to build the simulator..

Well I think I will try to setup a faster environment....

First I need some free space on my disk...

cybergrind:

--- Quote from: shotofadds on April 11, 2008, 12:36:13 PM ---I assume you mean "touchscreen" when you say LCD? The actual LCD driver already works... ;)

--- End quote ---
you are right - touchscreen =)

--- Quote ---Yes, it certainly is. You are more than welcome to take a look at that! ;D

--- End quote ---
I didn't view NAND datasheet yet =) I sure that i could write some code for pcf50606, but if you want write it - write=)
 cowond2 firmaware require a lot of code and i sure that find place for me ;)

shotofadds:

--- Quote from: cybergrind on April 11, 2008, 01:31:17 PM ---I didn't view NAND datasheet yet =)
--- End quote ---
The NAND datasheet won't help, as it describes the physical hardware only. The problem is understanding the low-level format (ie. the mapping from physical to logical blocks), which is proprietary and undocumented. The existing code is based on guess-work and magic, which is why it is not 100% reliable. :(

cybergrind:

--- Quote from: shotofadds on April 11, 2008, 12:36:13 PM ---I think the battery level can be read using ADC1 (see Debug>Hw Info screen). It is just a matter of working out how to translate this value to an actual voltage.

--- End quote ---

page 73 of pcf datasheet =)


--- Code: ---int batStatus;
float voltage;
pcf50606_write(PCF5060X_ADCC2, 0x1); //0b00000001
pcf50606_read_multiple(PCF5060X_ADCS1, outStr, 2);
batStatus = (outStr[0]

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version