Comments (4)
Running cc2538-bsl.py
with -evw
will indeed erase everything, including the NVRAM. Running it without -e
doesn't seem to work and leaves my device unbootable until reflashed with the mass erase option.
When restoring NVRAM your network will have a bunch of routing errors for a bit because zigpy-znp at the moment doesn't proactively send route discovery messages like zigbee2mqtt does. It'll take a few minutes for everything to sync back up.
from zigpy-znp.
Ok, understood, and the NVRAM backup/restore is mandatory, so without it, it would not work without recreating network? (the zha/zigpy does not cache the settings that are needed like pan_id etc.?). Sorry for asking and not finding it by myself.
I also see that your library has a flash.write tool. So can I just use that and feed it the .hex firmware file from Koenkk? If that handles the upgrade more gracefully, maybe I can put a commit to a README.md with info about fw upgrade through your library? (Because I am not sure if the users actually know about this, or if its intentional that way.)
However thanks for a really fast reply!
from zigpy-znp.
Not a problem, I'll update the documentation to make this stuff more clear.
- That's correct. Upgrading the firmware wipes all of your settings and because zigpy/ZHA assumes your device persists all of your settings, your network will be completely gone if you don't back it up before upgrading.
flash_read/write
only works with the CC2531's bootloader, unfortunately. I should probably rename it. You'll have to usecc2538-bsl.py
for sticks using the CC2652R/RB.
from zigpy-znp.
Now its totally clear!
I almost didn't realize this and pushed the enter for the fw upgrade without even backing it up..
So big thanks for all the info! Hope you are staying safe.
from zigpy-znp.
Related Issues (20)
- zigpy-packet-api integration in z4d HOT 7
- zigpy-znp application examples HOT 3
- Python3.7 HOT 2
- OTA for Texas Instruments CC1352/CC2652, Z-Stack HOT 7
- Unable to start zigpy-znp HOT 5
- (zigpy_znp.__version__) not available HOT 3
- Dubious licensing HOT 2
- Various failing tests with zigpy==0.54.0 HOT 1
- Dependencies are unclear to me - Docker /alpine/v3.16 HOT 2
- timeout error when read CC2652 Sonoff dongle HOT 1
- Unable to form network - No module named form_network HOT 2
- zigpy_znp.tools.network_backup fails with asyncio.exceptions.CancelledError on SkyConnect HOT 5
- Develco Products "ZigBee Wallplug HA SP2" unsupported frame
- test_on_af_message_callback fails with zigpy==0.59.0
- Unable to pair devices HOT 13
- Better Error Reporting HOT 5
- command "zigpy_znp.tools.nvram_read" Timeout
- `zigpy_znp.tools.network_restore` fails with `AttributeError` HOT 2
- CC2674 (CC2674P/CC2674R) and CC1354 (CC1354P) Zigbee Coordinator compatibility with with zigpy-znp? HOT 2
- MotionSensor detected but stuck at configuration within HomeAssistant (ZHA) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zigpy-znp.