logo elektroda
logo elektroda
X
logo elektroda

Flashing Tuya Smoke Detector (CBU Chip) with CH340 & ESPHome After Cloudcutter

vasilehijs 273 2
ADVERTISEMENT
  • #1 21608586
    vasilehijs
    Level 3  
    As title says I have a https://obrazki.elektroda.pl/2075397100_1752677757.jpg chip which it is no longer connecting AP after cloudcutter; stays blocked on connecting "A-123". So I am trying an alternative by writing code on Home Assistant and get .bin file. Then using a CH340 with switch (UART/PROG) used on PROG mode wired on 3V3, TX, RX, RST and GND to 3V3, TX, RX, RST and GND (Should I have to do the reverse PIN TX->RX and RX->TX even if using on CH340 on PROG mode?). Tried both of them, but not successfully.
    Also I have tried to add a wire between GND and PA0 pin while plug CH340 in USB. For programming I am using https://web.esphome.io/ as on my mac I cannot use bekentool.


    Flashing Tuya Smoke Detector (CBU Chip) with CH340 & ESPHome After Cloudcutter
    AI: Can you provide the exact model number or chip type of your Tuya smoke detector?
    CBU
    AI: When you try to flash the device with esphome and the CH340, do you get any specific error messages or does the device show any particular behavior (e.g., no response, failed to connect, etc.)?
    Continuously connecting.
  • ADVERTISEMENT
  • #2 21610049
    divadiow
    Level 35  
    If this device has a TuyaMCU (looks to have - circled) communicating with the module over TX/RX then this often gets in the way of flashing.
    Flashing Tuya Smoke Detector (CBU Chip) with CH340 & ESPHome After Cloudcutter

    You may have to de-solder CBU in order to flash it. To see if you are receiving TuyaMCU comms you can leverage this tool while connected to either TX or RX to see if anything appears with com port open at 9600 or 115200 baud.

    https://github.com/openshwprojects/TuyaMCUAnalyzer

    Added after 2 [minutes]:

    or maybe this thread has everything https://www.elektroda.com/rtvforum/topic3941698.html
  • #3 21631810
    vasilehijs
    Level 3  
    I have de-solder it and no nothing on TX or RX.
ADVERTISEMENT