RTL8710 Modules and Tasmota - Page 1
Forum section: electronics / general

author: l0rd_hex
author_rank: Regular Contributor
timestamp: February 11, 2022, 01:49:52 am
content: Hello friends,This thread is mostly to catalogue my adventures of trying to write a custom firmware for the RTL8710 modules that have been replacing the venerable ESP8266-ish modules in smart plugs (and other smart stuff).The product I'm working with, specifically, is a Teckin SP10 Smart Plug. I've carefully opened the plug and desoldered the RTL8710BN module and (poorly) soldered some leads to it.I can read the serial console via my trusty USB<->Serial FTDI ... thing at 115200 baud. I've attached a log of what I see, do note that it seems to be stuck in a boot loop, possibly because it's expecting some inputs either tied to ground or 3.3V, I haven't looked at the rest of the board to see yet.Code:$ cu -l ttyUSB0 -s 115200<RTL8195A>ROM:[V0.1]FLASHRATE:4BOOT TYPE:0 XTAL:40000000IMG1 DATA[1168:10002000]IMG1 ENTRY[8000541:100021ef]IMG1 ENTERCHIPIDread_mode idx:3, flash_speed idx:0calibration_result:[1:3:13][b:d]calibration_result:[2:13:7][1:d]calibration_result:[3:9:5][1:9]calibration_ok:[2:13:7]FLASH CALIB[NEW OK]OTA2 ADDROTAx SELEOTA1 USEIMG2 DATA[0x809a040:8468:0x10005000]IMG2 SIGN[RTKWin(10005008)]IMG2 ENTRY[0x10005000:0x800b1a5]===== Enter Image 2 ====System_Init1OSC8M: 8390004boot reason: 0System_Init211111111111111111111111111interface 0 is initializedinterface 1 is initializedInitializing WIFI ...LDO Mode, BD_Info: 0LDO Mode, BD_Info: 0<RTL8195A>ROM:[V0.1]FLASHRATE:4BOOT TYPE:0 XTAL:40000000IMG1 DATA[1168:10002000]IMG1 ENTRY[8000541:100021ef]IMG1 ENTERCHIPIDread_mode idx:3, flash_speed idx:0calibration_result:[1:3:13][b:d]calibration_result:[2:13:7][1:d]calibration_result:[3:9:5][1:9]calibration_ok:[2:13:7]FLASH CALIB[NEW OK]OTA2 ADDROTAx SELEOTA1 USEIMG2 DATA[0x809a040:8468:0x10005000]IMG2 SIGN[RTKWin(10005008)]IMG2 ENTRY[0x10005000:0x800b1a5]===== Enter Image 2 ====System_Init1OSC8M: 8390004boot reason: 0System_Init211111111111111111111111111interface 0 is initializedinterface 1 is initializedInitializing WIFI ...LDO Mode, BD_Info: 0LDO Mode, BD_Info: 0<RTL8195A>ROM:[V0.1]FLASHRATE:4BOOT TYPE:0 XTAL:40000000IMG1 DATA[1168:10002000]IMG1 ENTRY[8000541:100021ef]IMG1 ENTERCHIPIDread_mode idx:3, flash_speed idx:0calibration_result:[1:3:13][b:d]calibration_result:[2:13:7][1:d]calibration_result:[3:9:5][1:9]calibration_ok:[2:13:7]FLASH CALIB[NEW OK]OTA2 ADDROTAx SELEOTA1 USEIMG2 DATA[0x809a040:8468:0x10005000]IMG2 SIGN[RTKWin(10005008)]IMG2 ENTRY[0x10005000:0x800b1a5]===== Enter Image 2 ====System_Init1OSC8M: 8390004boot reason: 0System_Init211111111111111111111111111interface 0 is initializedinterface 1 is initializedInitializing WIFI ...LDO Mode, BD_Info: 0LDO Mode, BD_Info: 0<RTL8195A>ROM:[V0.1]FLASHRATE:4BOOT TYPE:0 XTAL:40000000IMG1 DATA[1168:10002000]IMG1 ENTRY[8000541:100021ef]IMG1 ENTERCHIPIDread_mode idx:3, flash_speed idx:0calibration_result:[1:3:13][b:d]calibration_result:[2:13:7][1:d]calibration_result:[3:9:5][1:9]calibration_ok:[2:13:7]FLASH CALIB[NEW OK]OTA2 ADDROTAx SELEOTA1 USEIMG2 DATA[0x809a040:8468:0x10005000]IMG2 SIGN[RTKWin(10005008)]IMG2 ENTRY[0x10005000:0x800b1a5]===== Enter Image 2 ====System_Init1OSC8M: 8390004boot reason: 0System_Init2Disconnected.