logo elektroda
logo elektroda
X
logo elektroda

Teardown Insights for AVATTO 3 Gang No Neutral Switch - Flashing Guidance Needed

guilhermemaciel 1461 16
ADVERTISEMENT
  • ADVERTISEMENT
  • #2 20904622
    p.kaczmarek2
    Moderator Smart Home
    This should be easily flashable by:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    Please see related tutorials on our channel https://www.youtube.com/@elektrodacom , especially:





    Helpful post? Buy me a coffee.
  • ADVERTISEMENT
  • #3 20904629
    guilhermemaciel
    Level 3  

    Thanks for the help, I will get the tools and report my success or request further assistance. Thanks a lot!
  • ADVERTISEMENT
  • #4 20904830
    p.kaczmarek2
    Moderator Smart Home
    From what I can see on the photo, it doesn't look like TX1 and RX1 are going anywhere, so the flashing procedure will most likely be very simple.
    Helpful post? Buy me a coffee.
  • #5 20906254
    guilhermemaciel
    Level 3  

    I'm getting this error when trying to flash:
    Screenshot of BK7231 Easy UART Flasher showing an error message.
    Tried on another computer and I checked my connections also.

    Added after 50 [minutes]:

    I believe it's because I'm getting the 3.3v from the FTDI usb board itself and it isn't able to provide enough power.
  • #6 20906566
    p.kaczmarek2
    Moderator Smart Home
    You are correct, @guilhermemaciel . That's what we say on every flashing guide, and even in the flasher readme:
    https://github.com/openshwprojects/BK7231GUIFlashTool
    A section of the instructions for flashing options with a highlighted part of the text.
    Helpful post? Buy me a coffee.
  • #7 20924857
    guilhermemaciel
    Level 3  

    I used an external power. The board is fully booting, I know because I can connect/control it with the app. However, I didn't manage to flash it at all. I tried resetting it over 100 times and it didn't work...

    I even broke one of the pins of an IC that I thought was connected to the RX or TX of the board.

    Is it a better idea to desolder the board for reflashing?
  • #8 20930966
    guilhermemaciel
    Level 3  

    Desoldered the board and managed to flash. I'm trying to understand what vias are messing it up so I can just cut them on the board and fix them later. I think it's easier than desoldering.
  • #9 20932577
    guilhermemaciel
    Level 3  

    Close-up of a green PCB with a mounted module featuring CE and RoHS markings.
    If I cut this trace, I can flash without desoldering. I damaged 2 units in the solder/desolder process. I overheated one of the touch buttons with the hot air, and on another one, one of the SMD capacitors went missing, also because of the hot air.

    I'm going to start installing soon. The only thing that seems to be wrong is that the green "reset" LED that one of the buttons has stays on all the time.
  • ADVERTISEMENT
  • #10 20932582
    p.kaczmarek2
    Moderator Smart Home
    Maybe you can control this LED? Try using GPIO doctor to find out roles of the GPIO
    Helpful post? Buy me a coffee.
  • #11 20932603
    guilhermemaciel
    Level 3  

    It's pin 23, it's even tagged as Wi-Fi, how do I make it turn off?
  • #12 20932609
    p.kaczmarek2
    Moderator Smart Home
    If it's role is set as WiFiLED, it will show the current WiFi state. If you want it to be off most of the time, change the role to WiFILED_n. If you want to keep it forever off, consider changing it to AlwaysLow (or, maybe, AlwaysHigh, depending how is LED connected).
    Helpful post? Buy me a coffee.
  • #13 20932630
    guilhermemaciel
    Level 3  
    Thanks a lot, it's now fixed!

    This is the template that I got:

    Code: JSON
    Log in, to see the code
  • #14 20932956
    p.kaczmarek2
    Moderator Smart Home
    Thanks. I added more information to the template, along with the device model name - it's TS03, according to Aliexpress listing.
    Helpful post? Buy me a coffee.
  • #15 20941699
    guilhermemaciel
    Level 3  
    I'm not sure where to ask, but, I'm having issues with the buttons, they died on 3 boards. I thought it was some mistake on the ones that I was removing the CB3S chip, but, I'm sure that in at least one I tested it before installing. Any tips on what to check?

    I'm sure it isn't related to the fw, I think I broke something, just don't know exactly what traces to follow.
  • #17 20942136
    omniron
    Level 10  

    The buttons seem capacitive, then rarely anything can fail.
    What's the name of the U3 8-pin chip on the backside?
    One source of problems I found are the headers, resolder them with decent solder and maybe some flux.
    Plug the unit in while soldering, so the pins/sockets don't fall out of line.

Topic summary

The discussion revolves around flashing the AVATTO 3 Gang No Neutral Switch (model TS03) using the BK7231GUIFlashTool. Users share insights on the flashing process, troubleshooting connection issues, and the importance of using external power sources for successful flashing. One user encountered errors due to insufficient power from the FTDI USB board, while another successfully flashed the device after desoldering it. The conversation also covers the control of a persistent LED indicator and the configuration of GPIO pins. Additionally, users discuss issues with button functionality on multiple boards, suggesting checks on soldering quality and potential childlock settings.
Summary generated by the language model.
ADVERTISEMENT