Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wifi chip from Smart Plug reports as Rtl8710c How to flash or dump it? #266

Open
raufaser opened this issue Mar 15, 2024 · 4 comments
Open

Comments

@raufaser
Copy link

I desoldered the Wifi module from a Gosund EP2.
I managed to hook it up and It talks to me via UART.
But i have no idea how to put it into download mode and what kind of firmware i need.

This is the comm PCB: Front with W701 chip
DSCF1030

And back:
DSCF1039

I hooked it up like this:
Communication

And got this:

== Rtl8710c IoT Platform ==
Chip VID: 5, Ver: 3
ROM Version: v3.0

== Boot Loader ==
Dec  5 2019:14:02:18

fwx SELE[fffffffc]
fw SELE Bitidx 2, fw1 valid 1, sn 0, fw2 valid 1, sn 100
fw1 USE, return sn 0

Boot Loader <==


== RAM Start ==

Build @ 15:38:41, Jan 29 2023

interface 0 is initialized

interface 1 is initialized
...
...
See the txt for the whole capture

capture.txt

Can someone help?

@raufaser
Copy link
Author

I traced the chip pins to the outer pins. This is what i got:
Pinout
I guessed a little and it seems to be the same as this one:
363f707b-6210-4301-b2cf-f870d42cb821

So i pulled A0 and CEN to 3,3V. Now i get this message:

== Rtl8710c IoT Platform ==
Chip VID: 5, Ver: 3
ROM Version: v3.0
Test Mode: boot_cfg1=0x20
Download Image over UART2[tx=16,rx=15] baud=115200

I am already communication via pins 16 and 15. Do you have any idea how to dump the firmware? Or what firmware i could flash?

@kuba2k2
Copy link
Member

kuba2k2 commented Mar 16, 2024

Try ltchiptool, it can dump and flash firmware of the chip. A ROM dump could be useful if you can share it.

As for firmware, LibreTiny has preliminary support for RTL8720C. Things like OTA are not implemented yet.

@raufaser
Copy link
Author

I am a little bit confused, because my device reports as Rtl8710c IoT Platform == ... is it different from RTL8720C ?

No success yet with dumping.

@kuba2k2
Copy link
Member

kuba2k2 commented Mar 16, 2024

No, it's fundamentally the same thing. 8710 is the generic family name, also 8710 is a version of 8720 without Bluetooth. What matters is the "C" after the number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants