
radioman wrote a small utility which generates the full TL866A firmware, based on custom serial:
For the uninitiated, the programmer TL866 (MiniPro) is one of the programmers Bestsellers in recent times among the best de-bricker/makers. It’s a small device that allows programming of a large number of memories (ROM / FLASH / NVRAM) and microcontrollers (MCU / MPU). But not only, program SRAM / DRAM, PLD / GAL / CPLD and performs the check of many logic gates.
The latest update of client supports approximately 13137 ic.

It worked well for me. A great bit of reverse engineering.
greeeeeeeeeeeeeeeeeeeeeeeeeeeeeeat