logo elektroda
logo elektroda
X
logo elektroda

Flashing KMC Smart Tap Mini 30407 with OpenBK: Cutting traces to the TX/RX Pins and ltchiptool

hartzell 375 2
ADVERTISEMENT
  • #1 21246228
    hartzell
    Level 7  
    I've been playing with a KMC Smart Tap Mini, Model 30407 (here's the Amazon link).

    @mjspez posted a teardown in this forum back in Feb 2023 in which they desoldered the CB2S module and flashed it with OpenBK. That thread pivoted to a bunch of work by @omniron as they worked on getting cloudcutter working with it.

    There was also work by @starfoxinstinct on a cloudcutter template for it here.

    I'm looking for a long term supply of parts that work, so depending on cloudcutter (which is, or will be, patched) isn't a great option. I'd also rather not desolder modules on a regular basis.

    To that end, I whipped up a little 3d-printed jig that positions pogo pins over the module contacts and started trying to get ltchiptool to talk to it. After a lot of failures, I noticed a couple of things:

    - I could get the Smartlife AP to appear by pushing the button.
    - The center LED, and/or one of the relays, would often click when ltchiptool was running if I tried it while the factory firmware was running.

    This, various multimeter poking and prodding, and re-reading the pin assignments from @mjspez' writeup made me realize that the TX/RX pins on the module are being used in their GPIO guise when the factory firmware is running. I think that the physical connections associated with this are preventing them from being used as TX/RX while trying to run ltchiptool.

    The two pins seem to come out to traces from the back to the front of the board right near the R8/R9 labels in the first photo, then run up towards the corner of the board. From there they duck back through the board to a pair of traces on the back of the board that run to the button and LED. I've verified this with the continuity tester on my multimeter.

    Close-up of a circuit board with highlighted TX/RX pins and components labeled R8/R9. Image of a circuit board with red-marked areas on the traces.

    I'm not sure I'm up for the adventure, but if I were to cut those traces, would that allow ltchiptool to run? Would I then be able to reconnect the trace? Any suggestions/techniques for this would be welcome.

    In the meantime, I'm going to see if this unit is vulnerable to the cloudcutter vulnerability.
  • ADVERTISEMENT
  • #2 21246635
    p.kaczmarek2
    Moderator Smart Home
    Cutting traces here is the harder approach. I think it will be easier to desolder WiFi module. Refer to our guide to see how we do it:



    And here is flash tool used on this video: https://github.com/openshwprojects/BK7231GUIFlashTool
    Helpful post? Buy me a coffee.
  • #3 21247462
    hartzell
    Level 7  
    Thank you for the followup. I don't have any Windows systems around, or Linux systems with Mono, so using `ltchiptool`, which *should* work if I understand correctly, has been my choice.

    I may resort to the soldering approach, but don't want to work with lead solder and don't generally have the skills to have it be reliable. The example you showed in that video didn't seem to have anything connected to the TX/RX pads, so I bet it would have flashed nicely with the pogo pin jig.

    I wonder if there are any multi-plugs or extension cords that don't use the GPIOs that are also TX/RX?
ADVERTISEMENT