Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Flash via UART? #150

Open
RaW79 opened this issue May 14, 2024 · 3 comments
Open

Flash via UART? #150

RaW79 opened this issue May 14, 2024 · 3 comments

Comments

@RaW79
Copy link

RaW79 commented May 14, 2024

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!

@devbis
Copy link
Owner

devbis commented May 28, 2024

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.

@RaW79
Copy link
Author

RaW79 commented May 28, 2024

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

@devbis
Copy link
Owner

devbis commented May 28, 2024

Yes, both to P14. It is an emulation of single wire protocol by using a resistor to distinguish 'in' and 'out' signals.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants