Coder Social home page Coder Social logo

Rollback guide to bluetooth about z03mmc HOT 8 CLOSED

devbis avatar devbis commented on July 21, 2024 5
Rollback guide to bluetooth

from z03mmc.

Comments (8)

pvvx avatar pvvx commented on July 21, 2024 1

Fixed and tested.


Sorry for forgetting to update the repository.

For compatibility, I adopted the following fw numbers:

/* Board ID */
#define BOARD_LYWSD03MMC_B14     0
#define BOARD_MHO_C401  1
#define BOARD_CGG1                            2
#define BOARD_LYWSD03MMC_B19      3
#define BOARD_LYWSD03MMC_B16      4
#define BOARD_LYWSD03MMC_B17      5
#define BOARD_CGDK2                          6
#define BOARD_CGG1N                          7 // 2022
#define BOARD_MHO_C401N                8 // 2022
#define BOARD_MJWSD05MMC            9
#define BOARD_LYWSD03MMC_B15     10
#define BOARD_LYWSD03MMC             10
#define BOARD_MHO_C122                   11

#define BOARD   BOARD_LYWSD03MMC

#define APP_RELEASE          0x99	// BCD app release "9.9"
#define APP_BUILD              0x99	// BCD app build "9.9"
#define STACK_RELEASE       0x30	// BCD stack release 3.0
#define STACK_BUILD           0x01	// BCD stack build 0.1
/*********************************************************************************************
 * During OTA upgrade, the upgraded device will check the rules of the following three fields.
 * Refer to ZCL OTA specification for details.
 */
#define MANUFACTURER_CODE_TELINK        	0x1141	// Telink ID
#define IMAGE_TYPE    ((CHIP_TYPE << 8) | BOARD)
#define FILE_VERSION  ((APP_RELEASE << 24) | (APP_BUILD << 16) | (STACK_RELEASE << 8) | STACK_BUILD)

from z03mmc.

IvanGavrilenko avatar IvanGavrilenko commented on July 21, 2024

You can get original or modified Bluetooth firmware here and flash it via USB to UART

from z03mmc.

devbis avatar devbis commented on July 21, 2024

Added a paragraph about reverting to BLE over UART

from z03mmc.

pvvx avatar pvvx commented on July 21, 2024

Zigbee OTA firmware files for recovery in BLE

from z03mmc.

devbis avatar devbis commented on July 21, 2024

@pvvx Are these firmwares tested? Can I recomment them in the project readme?

from z03mmc.

pvvx avatar pvvx commented on July 21, 2024

This is a typical firmware with headers for Zigbee OTA.

from z03mmc.

devbis avatar devbis commented on July 21, 2024

I made such experiments it they failed in 50%. What would happen if BLE firmware is written to address 0x40000?

from z03mmc.

raknam avatar raknam commented on July 21, 2024

Thank you !! :)

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.