I have a board very similar to
https://www.elektroda.com/rtvforum/topic4037269-30.html#21264807, but this version is marked as 20W (there was also an 18W version, AliExpress) - unsure how truthful those numbers are.
I unfortunately bent the coil(?) and only later realized I can probably poke it out through the two holes on the inside... how do you otherwise remove that without damaging it, it seems very fragile? I ended up rescrewing it by force which sort of re-threaded it.
Contacts points are the same as per
https://www.elektroda.com/rtvforum/topic4076095.html#21228879
Note the REVERSED TX/RX:
U0-TX -> RX
U0-RX -> TX
GND -> GND
3V3 -> 3V3
P21 -> GND(during boot, to enter flash mode, safe to keep it throughout)
Taking a backup ran for a short amount of time then crashed:
```
python LN882H_Flash_Dumper.py COM3 backup 0x0200000
LN882H flash dump tool v1.0
Loading RAMCode...
Flash RAMCode loaded OK.
Dumping flash OTP to backup_otp.bin:
....
complete.
Dumping flash (size: 0x200000) to backup_flash.bin:
...................................................................................................................................................Error: Fail. Command execution error.
```
The OG Python script does not handle errors, I have forked it and gave it some resiliency, now one can actually see progress and it retries on errors -
https://github.com/C0rn3j/LN822H_dump_tool
It still crashed at the very end overwriting the FW it had until then, yet to fix that one:
```
.............Traceback (most recent call last):
File "C:\Users\SadCyclops\Downloads\LN882H_CMD_TOOL\LN882H_Flash_Dumper.py", line 81, in <module>
read_flash(flash_file, arg_port, flash_size)
~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\SadCyclops\Downloads\LN882H_CMD_TOOL\LN882H_Flash_Dumper.py", line 26, in read_flash
bin = bytearray.fromhex(flash_hex)
ValueError: non-hexadecimal number found in fromhex() arg at position 23
```
Eventually I got the FW dumped and flashed OpenBeken, re-assembled it, configured Wi-Fi, configured the pinouts and startup command to swap red and blue as per the existing 9W device entry.