Rockbox Development > New Ports
Cowon D2
shotofadds:
Some good news and some bad news...
The good news is that I think I've written enough rudimentary startup and LCD driver code to power on the screen, which should eventually allow a simple "Hello World" type program to run (compiled as a bootloader build).
The bad news is that I haven't tried it yet. I'm not 100% convinced that the D2's reset button is actually a hardware reset that can revert my player to the stock firmware. For instance, nothing at all happens if you press reset when the USB cable is connected. That said, it'd be a pretty stupid reset button if it needed software to drive it...
I guess I can always disconnect the battery internally, but I was hoping for something easier!
man.dovvn:
Awesome, so I take it you got the LCD controller working? Full functionality or limited?
Have you any idea how to get input from the touchscreen?
shotofadds:
All I've done is hack together some code that mimics the original firmware's LCD initialisation and power-on code, and added this to my local build tree so that the telechips.c bootloader test program will compile.
What this should do is allow us to write debug text to the screen - a huge help when trying to work out how the rest of the player works internally (eg. buttons, touchscreen).
That is, if I even get that far ;)
linuxstb:
My Telechips player will always take power via USB - even if I remove the AA battery it runs on, it will boot if I insert the USB cable. Maybe this is why the reset doesn't work when you're attached to USB.
If I was you, I would risk it - you won't be able to work on a Rockbox port if you don't have an easy way to reset, so you may as well find out now...
Nice work with the LCD - I hope it works!
shotofadds:
I took the plunge and uploaded some of my own code. Again, there is good news and bad...
Good: I can confirm that the reset button does work once the USB cable is disconnected, and I can confirm that I have had code running on the device (rather than being rejected by the boot ROM). Phew!
Bad: It doesn't switch the LCD on. Bah.
I know that at least some of the code did run, as I performed two tests:
1. I uploaded a correctly formatted firmware file containing nothing but an infinite loop. As expected, nothing happens whatsoever.
2. I uploaded my test program. Nothing happens, except that with this binary, pressing reset results in a bright white screen for a fraction of a second.
One possibility is that I did manage to enable the LCD controller, but haven't powered on the screen properly...
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version