Rockbox Development > New Ports

Samsung P2

<< < (3/8) > >>

bwbass:
Yep, looks like that's the kind of thing Ichia makes: http://www.ichia.com/eng/products/products_3.2.1.htm

At least publicly, Samsung doesn't market a 6-bit 3" LCD panel.  The docs say the interface is 18-bit RGB with a 3-wire register setting and that the panel is rated for 300 nits, but that's about all I know.

There's a section of the firmware with strings that say "LCD Gamma", "LCD Brightness", "LCD Test", etc. that suggest display utility functions exist, but I'm not not much use at disassembly...

avh:
I'm trying to get tcctool working with the p2. I added the correct "magic value" from the FWDN recovery program posted by bwbass to the source code and compiled, then plugged in the p2 and put it in usb boot mode and ran lsusb to confirm it was in usb boot mode. I then ran tcctool and load the p2 firmware,  here is the output:

     [INFO] Using device "Samsung YP P2"
     [INFO] Searching for TCC device...
     [INFO] Found TCC device, uploading application.
     [INFO] Patching application uploaded successfully!

tcctool says it has uploaded successfully, but the p2 is unresponsive, looks like it is off, and does not show up in lsusb. Here is what I added to the tcctool source code:

    {"samsungp2",  "Samsung YP P2", 0xb011, 0x20000000, 0x52E92410 },

Am I doing something wrong?

EDIT: I should have said "the p2 is unresponsive, looks like it is off, and does not show up in lsusb" until I unplug or reset it (i.e. my p2 is not bricked, tcctool just isn't doing what it is supposed to).

bwbass:
Can you re-enter firmware update mode with power+reset and use FWDN to recover?

linuxstb:

--- Quote from: avh on February 06, 2008, 07:14:45 PM ---    {"samsungp2",  "Samsung YP P2", 0xb011, 0x20000000, 0x52E92410 },

--- End quote ---

Where did you get the 0x52E92410 from?  That's the SDRAM CFG register value, and you've taken the same as my Logik DAX MP3 player - which has 2MB of RAM.  I'm guessing the P2 has more than that...

Looking at the PDF file 20080124141056359_YP-P2-e-4-troub.pdf, this has some screenshots of FWDN.exe running - and displays an SDCFG value of 0x13E92028 (page 19).  Try that.

Dave.

EDIT: Those screen shots also contain the value 0x30000000 - so if the above doesn't work, then you could also try changing the SDRAM address in tcctool from 0x20000000 to 0x30000000.

avh:
Yes! I got it!

Linuxstb, the number I used before was from FWDN (under wine). After seeing the screenshot you mentioned, I decided to look around more, and in the options menu you can change the target SDRAM size; I changed it to 32M-32bit 0x20000000, which gave me the number: 0x22E92010. and it worked.

So here is the entire line:

    {"samsungp2",  "Samsung YP P2",              0xb011, 0x20000000, 0x22E92010 },

This works, but if someone is going to try this you have to unplug the usb right after tcctool says:
[INFO] Patching application uploaded successfully!
Otherwise the firmware detects the usb and just goes into file transfer mode.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version