logo elektroda
logo elektroda
X
logo elektroda

Identifying Chip for Flashing Smart Wifi Switch: Assistance Needed

Advian1 2499 26
ADVERTISEMENT
  • #1 20967193
    Advian1
    Level 6  

    Hi, I'm new in here and new in smart home scene.
    I bought this "Smart Wifi Switch"
    But I'm not sure what chip it has.
    Close-up of a circuit board from a smart Wi-Fi switch with various electronic components. PCB of a smart Wi-Fi switch with electronic components. Close-up view of a green printed circuit board from a Wi-Fi smart switch. Top view of a smart Wi-Fi switch label. Box of Wi-Fi smart switch with logos for compatibility with Amazon Alexa, Google Assistant, and TMALL Genie.

    can anyone please help me with this?
    Is this supported?
    I can find anything similar in the openbekeniot page.
    Not sure how to proceed about flashing this.

    Any help or link to any documentation/article will be helpful.

    Thanks.
  • ADVERTISEMENT
  • Helpful post
    #2 20967246
    p.kaczmarek2
    Moderator Smart Home
    Hello, have you checked our OBK page?
    https://github.com/openshwprojects/OpenBK7231T_App
    It lists T34 as supported:
    Screenshot of the OpenBK7231T/OpenBeken project introduction documentation.
    Still, in order to flash you need to locate RX and TX... hmm...
    T34 docs:
    https://developer.tuya.com/en/docs/iot/t34-module-datasheet?id=Ka0l4h5zvg6j8
    Helpful post? Buy me a coffee.
  • #3 20967268
    Advian1
    Level 6  
    Thanks for the quick reply. :)

    p.kaczmarek2 wrote:
    Still, in order to flash you need to locate RX and TX... hmm...

    yes, the problem is identifying the RX and TX.
    It seems 25 and 26 are RX and TX
    But how will I find that in the board? any idea?
    it's so tiny I can't even see the legs clearly with my eyes!
  • Helpful post
    #4 20967294
    p.kaczmarek2
    Moderator Smart Home
    The dot mark on the chip indicates where first pin is:
    Close-up of a PCB featuring a T34 chip and a connection diagram.
    Are those UART signals routed out somewhere?
    Helpful post? Buy me a coffee.
  • #5 20967307
    Advian1
    Level 6  

    p.kaczmarek2 wrote:
    The dot mark on the chip indicates where first pin is:
    Close-up of a PCB featuring a T34 chip and a connection diagram.
    Are those UART signals routed out somewhere?



    Close-up of a green printed circuit board with various electronic components.

    Doesn't look like they are connected to anything. 😭

    nothing on the other side either.
    Green printed circuit board with various connections and traces.

    Added after 10 [minutes]:

    will check if it is vulnerable to cloudcutter.
    if not, I'm out of luck I guess?
  • ADVERTISEMENT
  • Helpful post
    #6 20967343
    p.kaczmarek2
    Moderator Smart Home
    I don't think it's actually that bad. What kind of soldering iron you have? Do you have a flux? I think it should be still relatively easily to solder to those points, given the assumption that you just have some flux and a thin soldering iron tip. First I would add some flux, then I would add Pb solder. I would remove the excess solder from the pads with the soldering wick. Then, tin a tiny wire and try to solder it, soldering iron in one hand, wire in the second hand... I can try to do something like that on a video someday in a form of tutorial for our YT channel: https://www.youtube.com/@elektrodacom

    Still, check Cutter as well. I can help you with OpenBeken config once you flash it.
    Helpful post? Buy me a coffee.
  • #7 20967377
    Advian1
    Level 6  

    p.kaczmarek2 wrote:
    I don't think it's actually that bad. What kind of soldering iron do you have? Do you have flux? I think it should still be relatively easy to solder to those points, given the assumption that you just have some flux and a thin soldering iron tip. First, I would add some flux, then I would add Pb solder. I would remove the excess solder from the pads with the soldering wick. Then, tin a tiny wire and try to solder it, soldering iron in one hand, wire in the second hand... I can try to do something like that on a video someday in a form of tutorial for our YT channel: https://www.youtube.com/@elektrodacom

    Still, check Cutter as well. I can help you with OpenBeken config once you flash it.


    Not sure if you can see how small those are.

    here is the chip against the iron tip.
    Electronic circuit with capacitors and soldered copper wire.

    I have never worked on such a small circuit,
    so a bit afraid I'll ruin it.

    I'll try the cloud cutter first, if it doesn't work, then I'll try to solder a single strand of a copper wire and see if I can succeed.
    because I won't use it with it connected to the Chinese server anyway.

    So either it'll work, or it won't. :D

    Thanks a lot for your guidance so far. 😊😊😊

    Will certainly update you.
  • #8 20967407
    p.kaczmarek2
    Moderator Smart Home
    I know how small they are, I've already did soldering to QFN pad here:
    How to access hardware SPI port on CB2S? P16 (MOSI) GPIO breakout method
    If we were from the same country, I could do the job for you, but still, it's just a single switch.... and there is still a chance that WiFi method may work as well. Who knows.
    Helpful post? Buy me a coffee.
  • #9 20967424
    Advian1
    Level 6  

    p.kaczmarek2 wrote:
    If we were from the same country, I could do the job for you

    Really appreciate the gesture! you are a kind person.

    p.kaczmarek2 wrote:
    I know how small they are, I've already did soldering to QFN pad here:
    How to access hardware SPI port on CB2S? P16 (MOSI) GPIO breakout method


    wow! I don't think I'm as good as you in soldering. I'll definitely give it a try if the wifi method fails.

    Can't thank you enough! Literally!!! it says I can't thank more than 3 post :D
  • #12 20982165
    Advian1
    Level 6  

    @p.kaczmarek2

    Can you please help me a bit more?
    Which one is VCC?
    Photo of a circuit board with markings indicating potential VCC connection points.
  • #13 20982192
    p.kaczmarek2
    Moderator Smart Home
    VBAT/3.3V is here:
    Image of an electronic module with labeled pins ANT, GND, and 3.3V and a T34 pin schematic.

    Added after 22 [minutes]:

    EDIT: I think the 3.3V is also where you marked:
    Table with information on RF PA power supply, recommending 3.3 V voltage.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #14 20989234
    Advian1
    Level 6  

    flashed it successfully.
    Screenshot of the BK7231 Easy UART Flasher application with Write success! message.
    But after that it isn't booting.
    This is the log I'm getting over console. (attached)

    what did I do wrong?
  • #15 20989245
    p.kaczmarek2
    Moderator Smart Home
    How did you get so badly corrupted log? Check the PCB for shorts.
    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #16 20989458
    Advian1
    Level 6  

    p.kaczmarek2 wrote:
    How did you get so badly corrupted log? Check the PCB for shorts.

    did some cleanup, now it looks like this:
    Close-up of a circuit board with various electronic components.

    but 26 is short with ground :(
    is it dead? 😭
  • #17 20989460
    p.kaczmarek2
    Moderator Smart Home
    I don't think so, just clean the soldering iron tip, add some flux, and clean the excess solder with the soldering wick.
    Helpful post? Buy me a coffee.
  • #18 20989470
    Advian1
    Level 6  
    p.kaczmarek2 wrote:
    I don't think so, just clean the soldering iron tip, add some flux, and clean the excess solder with the soldering wick.


    That was the pic after I cleaned it. will try to clean even more.
    I'm not good at such tiny scale :(

    By the way, getting this console log on pin 28 (UART2) at the moment.
    nothing on pin 26 for now.
  • #19 20989584
    p.kaczmarek2
    Moderator Smart Home
    This means that OBK firmware boots but something is wrong later. Maybe you've removed some capacitors or device does not get enough power to start.
    Helpful post? Buy me a coffee.
  • #20 20989893
    Advian1
    Level 6  

    p.kaczmarek2 wrote:
    This means that OBK firmware boots but something is wrong later. Maybe you've removed some capacitors or the device does not get enough power to start.

    Close-up of a circuit board with various electronic components, including capacitors and a relay.
    I don't think I can clean it any better.
    Now there is no short between pins.
    I don't see any missing or misplaced capacitor anywhere either.

    Now there is no output on the console on pin 26 at all.
    The flasher app doesn't detect it either.
    Stuck at "Getting bus..."

    Pin 28 has the same output on the console as earlier.

    I provided power with an am1117 this time.
    So power shouldn't be an issue.

    Not sure what else to try.
  • #21 20996942
    seeindarkness
    Level 4  

    Here is the pinout for the device:
    P6 - Wifi_led
    P14 - Get
    P15 - Relay
    P24 - Btn

    Easier connection points for flashing
    Close-up view of a circuit board with pin labels.
  • #22 20996944
    Advian1
    Level 6  

    seeindarkness wrote:
    Here is the pinout for the device:
    P6 - Wifi_led
    P14 - Get
    P15 - Relay
    P24 - Btn


    Thanks for replying.
    But the current problem is, I haven't been able to boot it up after flashing.
  • #23 21090302
    kkarmah
    Level 6  
    Good morning everybody.
    Did you manage to flash it without desoldering the chip?
    I'm trying to do it but in "BK7231 Easy UART Flasher" it always gives me the error "Failed to set baud rate!"
    Whether I choose 921600 or 115200...

    The connections I have are these (without unsoldering):
    GND - GND
    RX - TX
    TX - RX
    VBAT - 3.3V

    And to start the flash attempt, I disconnect the VBAT pin and connect it again to TTL.
    I'm not using the CEN pin.


    Screenshot of BK7231 Easy UART Flasher with baud rate setting error.

    Thank you all
  • #24 21090876
    p.kaczmarek2
    Moderator Smart Home
    Have you tried lower baud setting?
    Is anything connected to RX/TX on the board?
    How do you power the circuit? The large bulk capacitor on the board may interfere and/or overload the power supply...
    Helpful post? Buy me a coffee.
  • #25 21091187
    kkarmah
    Level 6  

    Thank you friend.
    Because you asked about the RX and TX, I went to check if they were touching each other and they were! As it is so difficult to solder to the right pin, they seemed to be far from each other but they weren't...
    I've already managed to flash it, now I'm configuring it but I have a question. What is the pin "P14 - GET"? I don't have any on the list.

    Screenshot of a pin configuration interface.

    Another question, on the main page I see "boot incompletes 1". What does this mean? Should I be worried?
    Screenshot of a software interface displaying device status information.

    Thanks
  • #26 21128174
    nebuknadezur
    Level 1  
    Soldering the RX / TX wire was a bit tricky, but it works without any problems. I set the baud rate to 115200, the flashing worked wonderfully.
    Interesting, after klick on the starting the flash button it is requested to disconnect the VCC, then the flash process started and flashed everything until end WITHOUT necessary reconnecting the VCC.

    By the way, in the configuration, I didn't find "P14 - GET" either, don't know what that is. I left the P14 unconfigured, the switch works just fine.
    Sorry for the blurry photo…

    Thanks for the support !
    Close-up of a circuit board with soldered copper wires and electronic components. Blurry image of a circuit board with wires connected to a programmer attached to a USB port.
  • #27 21128187
    p.kaczmarek2
    Moderator Smart Home
    I don't know what this user means by "GET", maybe LED? A typo? Still, if unsure, you can do Tuya config extraction:


    Helpful post? Buy me a coffee.

Topic summary

A user seeks assistance in identifying the chip in their Smart Wifi Switch for flashing purposes. They reference the OpenBeken project and inquire about locating RX and TX pins for flashing. Responses suggest checking the OBK page for supported modules, specifically the T34, and provide guidance on soldering techniques for small components. The user struggles with identifying the correct pins and expresses concern about damaging the circuit. After several attempts, they successfully flash the device but encounter boot issues, leading to further troubleshooting discussions about potential shorts and power supply problems. Ultimately, they manage to flash the device and configure it, although some pin functions remain unclear.
Summary generated by the language model.
ADVERTISEMENT