-
-
Notifications
You must be signed in to change notification settings - Fork 25
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
SSC333 Compatibility (Tapo C110) #2
Comments
Hello, theoretically it should work due to the general compatibility of the SDK. Edit: |
Thanks for the quick reply. Also noticed this file added 2 weeks ago: https://github.com/OpenIPC/firmware/blob/master/br-ext-chip-sigmastar/configs/ssc333_lite_defconfig Does this mean someone has tried already to make this work? Here are the photos: |
Thanks for the photos. Yes, Sigmastar gained a lot of attention recently and we are trying to expand the device list. |
Here's the first boot log. The pad near "TP501" is the TX pin: |
Please give information what version your C110 device is, v1.0, v2.0 or other. |
I think 2.0 according to the sticker on the PCB. I tried to see if I could get the boot console today. Holding down Enter whilst plugging in the power cable didn't work as some have suggest for other SigmaStar products. |
Do you have a programmer and soic clip available for direct write access? |
@viktorxda No but I will buy one. Can you recommend a good SOIC clip / programmer? I am willing to get my hands dirty with these devices. |
The CH341A, it is not particularly good or powerful, but it is decent enough and easy to obtain. |
I forgot to mention, for Sigmastar you can also use mstar-snander to read and write directly to the flash chip over the uart connection. Replace bootloader:
Backup to sdcard:
|
@viktorxda I got the stock firmware extracted with the SOIC clip. The I found the SSC333 build of OpenIPC and decided to try writing it directly with the SOIC clip but it bricked the device. Appears it doesn't like being programmed this way. Fortunately So, end result is OpenIPC is working on the C110! I had to extract Very impressed with the project. To round this off as a success I still need to get the IR/night vision configured which means trial and error searching for the GPIO pins. Also need to make the kernel module for WiFi auto load. Tomorrow's job... Thanks for all your help so far. Going to buy more C110's as the price/performance for these cameras is now extremely appealing. |
Thank you for the feedback, I'm glad that it worked out in the end. An initial wiki entry for the C110 with the gpios has been created here: https://github.com/OpenIPC/wiki/blob/master/en/device-tapo-c110.md For the wlan driver we have a profile system to set the driver: https://github.com/OpenIPC/firmware/blob/master/general/overlay/etc/wireless/usb#L94 Please try the following:
|
@viktorxda Thanks for that. All working now. Just one more thing. I noticed that only 32MB of RAM is available to Linux and memory is a bit tight. I know this is a 64MB SoC. Is this normal? |
Yes, some of the ram is assigned to the vendor kernel driver and encoder. |
I can also report another successful device. Direct flashing via a SOP clip didn't work, but using snander worked perfectly. Connected to the UART and configured the I didn't try and read out the flash directly after the snander flash to see if it had any differences from the bin, but that might be for the next camera. On a side note I did direct flash a Tapo C310 with the SSC335 version and it worked out the box with ethernet without any other changes, but I'll commit to the wiki and such for that device. |
Hi, first time openIPC user here, I found this project, since I noticed, after buying the tapo c 110 for my 3D printer, that the app mandatory. Fortunately, I am not the only one not accepting this. I already opened the case and checked the board, are there some things to consider before attempting to flash or other recommendations? For those who are also interested in doing this, the case hase 4 latches, one on each side. Sliding a thin card in between two of them, was enough to pry it open with a spatula. If someone is willing to give me some guidance, I am happy to write a short HowTo |
From my and Chris' experimentation with these devices, we've found that they don't like direct flashing (for some reason we still can't get to the bottom of) so its a little bit of a pain to get running.
Like I said, it'd be great if a direct flash of the firmware worked using a clamp as it saves quite a bit of hassle, but for some reason we just never got it to work. Flashing the exact firmware via mstar-snander works perfectly every time. |
Hey @nikdoof Thank you for the guide, I appreciate it! Luckily, I have invested in some PCBite gooseneck probes, so no soldering needed ;) (cant praise them enough, they are so handy) . But the pogo pin clamp block looks pretty handy too. Hopefully I will be able to report a success tomorrow Best |
Theoretically it should be possible to create a complete binary, the flash layout should be:
Current firmware for the C110: OpenIPC/builder |
We're going to have another C110v2 to setup soon, so we'll experiment more with direct flashing the NOR. Our internal build has that layout, and the same bin works when wrote via |
Just bought a crappy CH341a device from amazon, got a chip labeled with CH341B. RX,TX are on 5V. Is this expected? I usually don't trust those dodgy devices... Connecting the device, with
running snander with
|
Ch341a is a decent versatile device that needs some TLC. Fix the voltage bug and switch jumper from serial mode to programmer mode to use it as a programmer not as a serial adapter. |
TP501 - TX/SDA Please write pinout. Also, what are the correct commands to flash? snander -a 0x000000 -w u-boot-ssc333-nor.bin |
I successfully flash OpenIPC to Tapo C110 v1, with
But wifi not working:
|
Missed ko fix - https://github.com/OpenIPC/builder/pull/16/files |
Dear @flyrouter, I wanted to inform you that the Tapo C110 version 1 and version 2 utilize the same WiFi chip, designated ssw101b-ssc333-tapo-c110. If you have reservations about approving my merge request, I kindly ask you to consider making the necessary adjustments yourself. |
I've a piece of Tapo C110 it was marked with version 2.20, I'm assuming it is version 2. Strange that these pads TP501,TP502,TP503 are not responding the serial console, tried snander also not able to detect too. |
Any chance to fix C110v1 in your firmware? The Wi-Fi chip is SSW101B in this revision... |
Hi, I recently bought a Tapo C110 camera, board version 2.20 according to the sticker. At first, I ran into the same problem as @shikilee regarding the UART pads not responding. After a closer look with a magnifying glass, I noticed the tiny pads near the UART pads (marked R504, R505, R506, R507 and C502) are all unpopulated, so the connection to the SoC pins is open. I put some solder on R504 and R505 (i.e. the one above the 7 and the one above the 4) to close the connection and attached a serial adapter (CH341A with the voltage fix). That solved the problem with communication. |
@sstepansky Which OS were you using to flash the camera from? I have only ever successfully used the The most reliably way (and fastest) I have found so far is to write only the U-Boot image using https://gist.github.com/cjdell/aa05e590e00e566635398d893d0c7616 At the very least, writing just U-Boot to the flash using |
@cjdell thanks for the tip!
Everything is OK now. |
It seems that the newer revisions of tapo devices are trying to complicate the uart access. For this we have added a script to create a full firmware binary with included wifi credentials:
This can be flashed with snander-mstar that also supports the CH341A:
|
@sstepansky Thank you for sharing and discovery the missing resistor which I didn't realising it. |
My v2.20 Tapo c110 IRLED not responding GPIO14, scanned whole range gpio also not able to trigger the IRled. |
@sstepansky Thanks for getting back, after trying all firmware it seems it is my hardware issue. |
just stumbled uppon this project and wanted to try to flash my tapo c110 v1. worked flawlessly and i have access to the console but wifi isnt working: how do i get working wifi or a working firmware? |
SC3335 sensor on you board ? |
yes.
using this config from an earlier reply i could compile it myself and get wifi working. |
Please note that there are several types of firmware for the device |
apologies for the thread-jack but I thought one of you guys might know... any idea if it's possible to add an external WiFi antennae to the board for these cameras? It looks like it's also possible to wire in an ethernet connection so that's plan B... thanks |
I don't know for sure if the fix you refer to is in the current build or not, but I just installed the current precompiled build and wifi works out of the box on my C110. used a combination of multiple comments to get all the steps needed but it worked. |
I successfully updated the c110 v1 camera to the latest version of OpenIPC. Everything works except ircut. When I turn on the ircut it turns on for a split second and immediately turns off again.
|
Hello. I have the v2.20 board missing R504 and R506 same as @shikilee showed above. Does anyone know what value resistors should I bridge these with to get the UART working, or do I just bridge them with solder? edit: nevermind! I have the UART working after simply bridging R504 only (with solder). |
I picked up 2 of these cameras (both Tapo C110 with SSC333) and flashed the prebuilt firmware to them using snander. Camera 1: Seems mostly working. However, it isn't automatically entering night mode. Does it have an onboard light sensor and is any configuration required to get the C110 night mode to automatically switch on/off? Here's a pic of its front board. I'm not sure but it looks like it only had LEDs and a mic, or is there a light sensor there? Camera 2: I have not managed to get on the Wifi because it has a AltoBeam 6012B WIFI chip instead of the SSW101B. I have opened an issue to request this variant be supported. OpenIPC is amazing, I'm so glad I made the effort |
AFAIK this camera doesn't have light sensors. It has two IR LEDs and one white LED. |
@sstepansky @BRFud you dont need to add a script, works just fine with the right majestic settings out of the box |
Nice. I guess it's time to update my camera 😅 |
Hi! I'm jumping into openipc for the first time, but I thought I'd share my notes. I just picked up a 4-pack of "TAPO C110" models from amazon.com - the boards say "TAPO C110P4(US) / 2.6". Inside, the chips say SSC333 + atbm6012b - but the atbm wifi device appears on the usb bus as 7a:888b, not 7a:8888, and is in fact an atbm6012b-x, despite the chip package only saying 6012b! This chip does not appear to be supported by the atbm60xx package; see #33 for more on that. I found a 6012b-x driver and got all 4 cameras working without any detectable problems (yet). I've collected my local patches to accomplish this and I'll be submitting PRs so others can build ssc333_lite_tp-link-tapo-c110-v26. For my cameras, I had to bridge R504 with solder to utilize the programming interface. It may be useful to others to hear how I did that: first off, magnifying glasses are helpful. My first attempts with a soldering iron were slow and uncertain. The solder tended to prefer the tip of my iron to the tiny pads on the PCB, but I learned that letting the solder cook on the tip before touching it to the PCB helped a bit. My subsequent attempts on more cameras were much easier and more reliable: I achieved that with a bit of solder paste, and a short time with a hot air rework station (~15s @ 250C @ low air flow). I discovered that if I let the paste heat for only a little bit it retained its shape and conducted well enough; if I heated it up normally it would ball and not cover both pads. Since it's a very low current temporary bridge I'm okay with the result. For my programming of the nor flash (u-boot only), I used a ch341a from amazon.com, but it claimed to be v1.7, and has a 4-position switch that lets me set the voltage to 1.8/2.5/3.3/5v. I checked the data pins with a DMM and the voltages appeared accurate! I recommend this device. I was not able to use it correctly in UART mode (linux driver problem?) - no data appeared, so I used a CP2102 instead that was also 3.3v safe, and that worked great.
|
Hello. I notice there is no guide for SSC333 however there are references to it in the source code. Does this mean that it could still work (unofficially) if I build the firmware myself? Is there any way I can help with the testing so support for this chip can be added?
Thank you
The text was updated successfully, but these errors were encountered: