Flash via UART?
RaW79 opened this issue · comments
Hi
I have a LYWSD03MC where something OTA has gone wrong and I´m not sure what is working in the device.
I cannot recognize any BLE activities at different computers but also at different versions of the Online-Flasher.
Then checked my Zigbee cordinator and this also does not recognise any new device within pairing mode like the other LYWSD03MC have flashed successfully before.
So I tried to flash vie the browser UART flasher and connected 3,3V, GND and TX through a 1kOhm resistor.
Then used z03mmc.bin but of course only with a TX connection there is nothing recognized in the log of the flasher then just the cmd sending to flash.
Afterwards powering the device via battery the h&t values are shown at the display but again no recognition at BLE or Zigbee.
Can someone please give some more details how to do the flashing?
I also shorted GND and RST points but only due to longer connection I can change display values from °C to F.
Kindly ask for your guidance. Thx!
The detailed description of flashing is written in the main readme. In most cases changing uart dongle helps. And, try use python script, it has feedback using tx wire while web flashed does not. Also, erasing flash usually helps.
Thanks for your feedback and I´ll try the python script.
To be sure regarding the readme and connection Mi_SWS_Connection.jpg What is to be connected at P14? Both TX (with resistor) and RX (direct) at the same time? Sorry for asking but new for me and never connected RX/TX at the same pin (only 3 wires in the picture).
Yes, both to P14. It is an emulation of single wire protocol by using a resistor to distinguish 'in' and 'out' signals.