Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCB800852 FIRMWARE ? #3

Open
RavelwareRND opened this issue Jul 4, 2022 · 32 comments
Open

PCB800852 FIRMWARE ? #3

RavelwareRND opened this issue Jul 4, 2022 · 32 comments

Comments

@RavelwareRND
Copy link

how about this board? do you have any idea how to develop a firmware for this board?

https://ae01.alicdn.com/kf/S601617b6ba85423580d4ebbea6135bbb5.jpg

@aodxxl
Copy link

aodxxl commented Nov 27, 2022

Any ideea how to force 1024x600 resolution on this board? Aparently it doesnt recognise my xyx-7di hqx 7 inch display and oupts in a distorted 800x480

@MikeyJayy
Copy link

Any ideea how to force 1024x600 resolution on this board? Aparently it doesnt recognise my xyx-7di hqx 7 inch display and oupts in a distorted 800x480

any updates? I'm running with the same issue

@Invader007
Copy link

Invader007 commented Mar 13, 2024

i have a stock image with a 1024x600 resolution for that board. I can upload it, if you still need it.

If you want to flash it:
I couldn't find a easy access to SDA/SCL Pins so I soldered two wires to the tiny resistors (R57 and R?7 (i think ? is a "6") next to the IC-pins (right side sixth and seventh from top) and you have to add the following Flash-ID to Rova-Tool's Flash-Devices.xml:

<FlashDevice> <Description>ZB25VQ40ATIG</Description> <Signature>0x5E126013</Signature> <Size>0x40000</Size> </FlashDevice>

@tianyulangtong
Copy link

发邮箱给我 tuanyuzhang3096@gmail.com,还有液晶屏的型号,我发给你
Send me an email tuanyuzhang3096@gmail.com, and the model number of the LCD screen, and I will send it to you.

@wxorx
Copy link

wxorx commented May 2, 2024

i have a stock image with a 1024x600 resolution for that board. I can upload it, if you still need it.

If you want to flash it: I couldn't find a easy access to SDA/SCL Pins so I soldered two wires to the tiny resistors (R57 and R?7 (i think ? is a "6") next to the IC-pins (right side sixth and seventh from top) and you have to add the following Flash-ID to Rova-Tool's Flash-Devices.xml:

<FlashDevice> <Description>ZB25VQ40ATIG</Description> <Signature>0x5E126013</Signature> <Size>0x40000</Size> </FlashDevice>

You can actually use DDC over HDMI for programming and reading, and this software:
https://github.com/static-void/rtd266x_programmer.git

My setup is just a Linux laptop (Thinkpad X230/ArchLinux), mini-DP to HDMI adapter

First check what i2c busses do you have:

[ipdown@x230 rtd266x_programmer]$ i2cdetect -l
i2c-0	i2c       	i915 gmbus ssc                  	I2C adapter
i2c-1	i2c       	i915 gmbus vga                  	I2C adapter
i2c-2	i2c       	i915 gmbus panel                	I2C adapter
i2c-3	i2c       	i915 gmbus dpc                  	I2C adapter
i2c-4	i2c       	i915 gmbus dpb                  	I2C adapter
i2c-5	i2c       	i915 gmbus dpd                  	I2C adapter
i2c-6	i2c       	AUX B/DP B                      	I2C adapter
i2c-7	i2c       	AUX C/DP C                      	I2C adapter
i2c-8	i2c       	AUX D/DP D                      	I2C adapter
i2c-9	smbus     	SMBus I801 adapter at efa0      	SMBus adapter

Then probe all the display ports, in my case the board responded on i2c-4, dpb:

[ipdown@x230 rtd266x_programmer]$ ./rtd_prog -d 4
I2C ready
Attempting to read chip ID... 


JEDEC ID: 0x5e6013
Manufacturer Unknown
Chip: 25VQ040
Size: 512KB
Flash status register: 0x1c
[ipdown@x230 rtd266x_programmer]$

Then backup or write, as you wish. It works over VGA too, on the PCB800099 boards.
Huge thanks to the author of this very versatile and great piece of software.

@wxorx
Copy link

wxorx commented May 2, 2024

I have both 1024x600 and 800x480 dumps from PCB800852 board, attached here:
PCB800852.zip

[ipdown@x230 rtd266x_programmer]$ ls -alh 1024x600-PCB800852.bin 800x480-PCB800852.bin 
-rw-r--r-- 1 ipdown ipdown 512K  2 май 22:34 1024x600-PCB800852.bin
-rw-r--r-- 1 ipdown ipdown 512K  2 май 22:30 800x480-PCB800852.bin
[ipdown@x230 rtd266x_programmer]$ 
[ipdown@x230 rtd266x_programmer]$ md5sum 1024x600-PCB800852.bin 800x480-PCB800852.bin 
a2b6d4cb1f71830910b41c094cc4c85c  1024x600-PCB800852.bin
f874e05e2a0959505e9237bb5c2f45f5  800x480-PCB800852.bin
[ipdown@x230 rtd266x_programmer]$

@CurlyWirly
Copy link

CurlyWirly commented May 5, 2024

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD.
LCD is FT101DD348HD-50P

@Invader007
Copy link

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@wxorx
Copy link

wxorx commented May 5, 2024

Any ideea how to force 1024x600 resolution on this board? Aparently it doesnt recognise my xyx-7di hqx 7 inch display and oupts in a distorted 800x480

I planned to try this, hoping that the firmware will switch automatically to the AV1 over HDMI when it detects composite video signal

@wxorx
Copy link

wxorx commented May 5, 2024

PCB800852, due to hardware reasons, AV IN is not supported Invader007 @.> 于2024年5月5日周日 23:54写道:

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports) — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented.Message ID: @.
>

Could you elaborate? I haven't traced where the AV1 goes routed on the PCB, but found somewhere a comment that this input is unused

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@wxorx
Copy link

wxorx commented May 5, 2024

Tianyulangtong, yes, I understand, but is this because the firmware does not support it, or the input is lacking something on the hardware level? Some firmwares for the PCB800099 supports this, so if AV is routed the same, it is a matter of firmware support

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@wxorx
Copy link

wxorx commented May 5, 2024

What is PCB800851, do you have a link, or a picture? PCB80085 - you mean there will be new revision? Hardware, or firmware changes, or both?

@wxorx
Copy link

wxorx commented May 5, 2024

Tianyu, post some links, please. Thank you!

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@CurlyWirly
Copy link

CurlyWirly commented May 5, 2024

Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P

it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports)

Thanks for your advice. I am getting a PCB800099 and work from there 😀
If anyone gets it working for the PCB800852 then I would shift back as it seems smaller and would more easily fit in my case.

@wxorx
Copy link

wxorx commented May 5, 2024

Tianyu, thank you. I will trace where AVis connected in respect to the PCB800099 board, to try to understand the difference

@wxorx
Copy link

wxorx commented May 5, 2024

Somewhere at https://www.mattmillman.com/info/lcd/pcb800099/ there was/is a link to a supposedly compileable leaked source repo for these chips, that is targeted to the Keil's MCS51 toolchain, which I have. I can give it a try, and if it works, I can try to port it to the open source SDCC.

@tianyulangtong
Copy link

tianyulangtong commented May 5, 2024 via email

@CurlyWirly
Copy link

PCB800852, due to hardware reasons, AV IN is not supported Invader007 @. > 于2024年5月5日周日 23:54写道: Is it possible to switch the PCB800852 to composite input and solder an AV lead to AV1 and GND? Would like to use this to go from composite on my retro PC to the attached 10.1" LCD. LCD is FT101DD348HD-50P it will be much easier if you use a cheap composit2hdmi adapter or switch to PCB800099 (many firmwares, you can desolder the unused ports) — Reply to this email directly, view it on GitHub <#3 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/BICU4RJXXEI4EZ3BVHNRXU3ZAZIZRAVCNFSM52SVKMIKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBZGQ4DKOBXGQ4Q . You are receiving this because you commented. Message ID: _@**.**_>

Could you elaborate? I haven't traced where the AV1 goes routed on the PCB, but found somewhere a comment that this input is unused

Sorry I was only hoping this was possible, the back of my PCB800852 board says 1HDMI + 1AV. There is also an AV1 solder point with the USB power points. But it's possible it's not 'electrically' wired up like the PCB800099 is for a composite input.
I was hoping it was electrically connected and only needed to have the input switched using a 'jumper' or maybe a firmware change for example.

@CurlyWirly
Copy link

CurlyWirly commented May 6, 2024

I completed a visual trace using photos with my mobile phone. It appears AV1 is electrically connected and appears to have all of the components on the board to support a composite video input on the PCB800852 board using an RTD2660H.
It is connected to pins 43 & 44 and is wired similar to the below with the same components for the AV connection.
https://w.electrodragon.com/w/images/e/ee/Rtd2660.pdf
However the above is using pins 45 & 46

So it is likely that board PCB800852 'could' accept a composite video in with the right firmware.
Or if it has a firmware supporting AV1 then how to switch inputs??

@CurlyWirly
Copy link

CurlyWirly commented May 6, 2024

PCB800852 AV1 connection

Hopefully this uploads, shows where the AV1 terminates to the RTD2660H on the PCB800852 board.
The link from AV1 to the components is on the other side of the board.

@wxorx
Copy link

wxorx commented May 7, 2024

Great, thanks a lot for that. Definitely, looks like it needs proper firmware support for AV.

Does anyone knows what for is the R77?

@tianyulangtong
Copy link

tianyulangtong commented May 10, 2024 via email

@wxorx
Copy link

wxorx commented May 13, 2024

OK, R77 is maybe not used by the current firmware, but it is some option anyway that could be used, in future firmware versions. The R77 itself is a 0 ohm resistor, or basically a solder jumper. It grounds the pulled-up to 3v3, through 10K resistor, the 54 pin (A-ADC4/GPIO)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

7 participants