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

[REQUEST] Ability to upgrade Texas Instrument coordinator firmware via zigbee2mqtt? #3694

Closed
Hedda opened this issue Jun 8, 2020 · 3 comments
Labels
feature request Feature request stale Stale issues

Comments

@Hedda
Copy link
Contributor

Hedda commented Jun 8, 2020

@Koenkk Requesting this now as @puddly posted in zigpy/zigpy-znp#14 saying that he implemented the serial bootloader protocol (f67e8a4) used by the Windows utility mentioned in Koenkk/zigbee2mqtt#320 into zigpy-znp (a new open-source TI ZNP 3.x client written in Python that is in early development for zigpy and ZHA in Home Assistant) and was able to upgrade flash his already pre-flashed Texas Instruments CC adapter with a newer firmware without using any external tools, so as a standalone application to flash an adapter (in his case he tested it with a CC2531 adapter from ITead which is now known to be shipped with an older firmware from the factory)

ip install zigpy-znp
$ python -m zigpy_znp.tools.flash_read /dev/serial/by-id/radio -o flash.bin
$ python -m zigpy_znp.tools.flash_write /dev/serial/by-id/radio -i flash.bin

Suggest considering adding ability to upgrade Texas Instrument coordinator firmware via zigbee2mqtt.

So not just backup and restore the firmware but update it if bought an adapter that has old firmware.

Best would probably be if users could have this ability if only they first manually download and rename firmware binary image file in a specific format to a predetermined file-name and then place that correctly formatted/named file in a specific directory before being able to issue an "upgrade coordinator firmware" command.

Even more awesome would then be to also add the ability to utilize that ability from a web GUI / UI.

If so it would probably be best to first let the user manually download and unpack the firmware themselves so leave the responsibility to them to make sure it is in the correct format and then having a button in a web GUI / UI for "upgrade coordinator firmware".

More user-friendly would then, of course, be if you users enter a URL source location for automatic download of firmware, like for example https://github.com/Koenkk/Z-Stack-firmware/

@Hedda
Copy link
Contributor Author

Hedda commented Jun 8, 2020

FYI, for further discussions also cross-posted same request to zigpy-znp here => zigpy/zigpy-znp#24

@Hedda
Copy link
Contributor Author

Hedda commented Jun 9, 2020

cc2538-bsl by JelmerT cc2538-bsl.py python can support the newer serial boot loader to flash upgrade CC13xx, CC2538 and CC26xx SoCs, but for old CC253x bootloader need zigpy-znp method

@stale
Copy link

stale bot commented Jul 19, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Stale issues label Jul 19, 2020
@stale stale bot closed this as completed Jul 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request Feature request stale Stale issues
Projects
None yet
Development

No branches or pull requests

2 participants