Coder Social home page Coder Social logo

Comments (13)

Mostalk avatar Mostalk commented on July 21, 2024

I had a similar error when I flashed from a computer, try from your phone

from z03mmc.

booroondook-eng avatar booroondook-eng commented on July 21, 2024

Try to extract and insert the battery.

from z03mmc.

adamlc avatar adamlc commented on July 21, 2024

Also try a different battery. I've found if the battery is a bit on the low side it may throw random errors like above

from z03mmc.

MartynIden avatar MartynIden commented on July 21, 2024

i have a problem with hw B1.7 revision too, brick after first flashing via air (no connect, no screen), then flashed via UART - all worked fine but get another brick after OTA (z2m) on ver 1.0.3
reflashed 1.0.3 via UART again and brick after OTA to 1.0.5

revision 1.7 little shitty)) another device hw B1.4 worked fine

from z03mmc.

Adrian-czw avatar Adrian-czw commented on July 21, 2024

I have exactly the same symptom hw B1.7 - after uploading the software and rebooting, the sensor screen displays nothing. Battery replaced with new one and reset done.

With another hw B1.4 device, the transition to Zigbee was successful.

from z03mmc.

devbis avatar devbis commented on July 21, 2024

I don't have any idea why OTA on B1.7 works incorrectly. Feel free to share your thoughts. #36

from z03mmc.

pvvx avatar pvvx commented on July 21, 2024

For B1.7, B1.9, B2.0, the code from ATC1441 used to work with the display controller (BU9792FUV) in the Zigbee firmware is not quite correct.
Failures often occur and the display readings fly off.
Partially helps to reset the power supply...

from z03mmc.

mtdn avatar mtdn commented on July 21, 2024

Same error with B1.6. Tryed on several devices with PC and phone.

Flashing ATC_ota_40000 is OK. After reconnect:

Status: Hardware Version: LYWSD03MMC B1.6, Software Version: 4.4
Vbat: 3113 mV , Temp: 25.97°C, Humi: 52.32%, ID: 58, Reed switch counter: 0, flg: 0x04:r0/t0
14:06:50: Searching for devices
14:06:56: Connecting to: ATC_203A9D
14:07:00: Hardware Revision String: B1.6
14:07:00: Software Revision String: V4.4
14:07:00: Firmware Revision String: github.com/pvvx
14:07:00: Detected custom Firmware
14:07:00: Hardware Version: LYWSD03MMC B1.6, Software Version: 4.4, Sensor: SHT4x
14:07:00: Custom config HEX string: 55051000002804a9313104b4

And when trying to flash anithing after ATC_ota_40000.bin (not only z03mmc.bin) I have error "Update error: NotSupportedError: GATT operation failed for unknown reason."

I think that is important: all firmwares stops on "Sending block nr: 7 from ..." when flashing

Status: Sending block nr: 7 from 8078, 0% done, time since start 0.02s
Vbat: 3113 mV , Temp: 25.97°C, Humi: 52.32%, ID: 58, Reed switch counter: 0, flg: 0x04:r0/t0
14:06:50: Searching for devices
14:06:56: Connecting to: ATC_203A9D
14:07:00: Hardware Revision String: B1.6
14:07:00: Software Revision String: V4.4
14:07:00: Firmware Revision String: github.com/pvvx
14:07:00: Detected custom Firmware
14:07:00: Hardware Version: LYWSD03MMC B1.6, Software Version: 4.4, Sensor: SHT4x
14:07:00: Custom config HEX string: 55051000002804a9313104b4
14:14:31: File: z03mmc.bin
14:14:31: File size: 129236 bytes
14:14:31: Count: 8078
14:14:34: Start DFU
14:14:40: Update error: NotSupportedError: GATT operation failed for unknown reason.
14:14:40: Disconnected.

from z03mmc.

pvvx avatar pvvx commented on July 21, 2024

@mtdn - Clarification is not possible - there is no source code ATC_ota_40000.bin.

There are only guesses - ATC_ota_40000.bin does not clear the Flash area for writing OTA.
OTA firmware is loaded into a different area, and there may be dependencies on this.
As a result, after the ATC_ota_40000.bin, OTA is no longer available.

from z03mmc.

jumakki avatar jumakki commented on July 21, 2024

@mtdn, I had same issue with B1.6. Flashing with Android phone, same as I used for flashing ATC_ota_40000, failed repeatedly on block nr 7. But I was able to flash Zigbee successfully using this flasher #50 when using Linux PC.

from z03mmc.

nicolashimmelmann avatar nicolashimmelmann commented on July 21, 2024

Had the same issue with revision B1.6 several times, on all 4 devices that I bought. Flashing ATC_ota_40000.bin went smoothly after activation, but flashing z03mmc.bin always gave an error after the first battery-out/in and connecting to the ATC_XXXX device.

What helped was simply retrying:

  • just remove the battery, put it back in, reload the TelinkMiFlasher website and try to connect and flash z03mmc.bin again.
  • If it still does not work, connect the GND and Reset Pins on the back side until the device shows up for connection, connect again on the flasher website, and flash z03mmc.bin again.
  • just retry until it works.

I was able to flash all 4 devices after a maximum of 3 tries per device. But I have no idea what the cause for the issue is. As others reported above, it stops at "Sending block nr: 7 from ..." and shows the " NotSupportedError: GATT operation failed for unknown reason."

from z03mmc.

pvvx avatar pvvx commented on July 21, 2024

z03mmc.bin from devbis is not supported in BLE OTA TelinkMiFlasher.html.
z03mmc.bin does not support BLE OTA booting.
The use of ATC_ota_40000.bin from devbis is not recommended due to many problems for users.

TelinkMiFlasher.html supports downloading Zigbee firmware in *.zigbee file format with BLE firmware version from 4.6.

When selecting the firmware file in TelinkMiFlasher.html, copy and paste the link https://github.com/devbis/z03mmc/releases/download/1.0.6/1141-0203-10063001-z03mmc.zigbee.

If there is a “disconnect” when starting the flashing, reconnect and repeat OTA. The reasons for 'disconnect' may be due to difficulties in preparing Flash to write firmware to another area. Not all BT adapters can maintain a connection at varying intervals.

from z03mmc.

devbis avatar devbis commented on July 21, 2024

I received V1.6 HW sensors and confirm that OTA in transitional firmware is broken.
After some research I found out that enabling uart breaks the ability to use OTA.
For this case I just disable LCD for 1.5/1.6 revisions in transitional fw, now update works correctly.
For already stuck devices the only known way is to flash via UART/SWS.

from z03mmc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.