Hello ladies & gentlemen, Hello Dave
to elaborate a bit on the VGA,DVI,HDMI I2C Interface.
Especially with Realtek/LG in view. And how to get a dump of the SPI Flash.
The Video busses have a dedicated communication line für I2c - SDA & SCL.
Through this you are in a position to access the internal SPI flash (Gigadevice 25q32) with special commands through the Realtek integrated circuit (here: RTD2595) . This is true for read and write.
You can acess the internal Flash - as said - via HDMI. I used an Raspberry 3+ (RPI) to do this.
The software required is minimal - once you found it. :-)
See
https://github.com/floppes/RTD266xFlash as reference.
This is what I have done to virgin RPI installation:
steps in detail required:
sudo nano /boot/config.txtadd there:
dtparam=i2c2_iknowwhatimdoing
dtoverlay=vc4-kms-v3dCtrl-o to write the config back to SD.
check that you can see your monitor via I2C.
i2cdetect -y 2standard is I2Cbus No. 2 for the HDMI monitor on the RPI.
now get the python script to read/write & erase the SPI flash IC over HDMI.
git clone https://github.com/floppes/RTD266xFlash.gitcd RTD266xFlash/RTD266xPyVoila ready:
this reads the 25q32 which has 256 x 16384 banks & 32 MBit = 4 Mbyte.
takes ca. 15 minutes to run
python rtd266x_flash.py -i 2 -r 4194304 -f LGdump.bin After this you have on the SD-Card of the RPI the dumped firmware of your LG Monitor.
Save it - sometimes SPI can get bad. I had that after a master/slave power socket started to oscillate with ca. 10Hz.
Upload of the file can be done via
python rtd266x_flash.py -i 2 -w -f LGdump.bin This is all and not from me - just collected.
BTW, if somebody has after this procedure accidentally a usable LG27UL500W dump for me ... ?
Vielen Dank
& best regards,
Juergen