🚧 Needs test 🚧
Unofficial Realtek RTL8370 iROM Burner

RTL8370 has a built-in DW-8051 kernel which will boot from the internal iROM.
If you want to boot RTL8370 from spi nor flash, a small "bootloader" needs to be flashed into the internal iROM.
However, Realtek does not sound like continuing to maintain the RTL8370 iROM programming tool
(they use the parallel port to simulate I2C to program the chip, and it will run into errors when running on Win10 x64)
First you need to find the crab SDK,
then fill <SDK>/***lws-bootcode-burn-util/write_rom/tftpc_spi.bin into const uint8_t irom[]
Use a STM32F103C8 Blue Pill
Install Arduino
Install Arduino_Core_STM32 for Arduino
Install STM32CubeProgrammer
Open the source code and read the comment