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.
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.
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.

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.