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

CC2531 as router - repairing process #1086

Closed
h4nc opened this issue Feb 14, 2019 · 21 comments
Closed

CC2531 as router - repairing process #1086

h4nc opened this issue Feb 14, 2019 · 21 comments

Comments

@h4nc
Copy link

h4nc commented Feb 14, 2019

I already know that you have to reflash a CC2530 if you have to repair it. It has no buttons to perform a reset.

Does a CC2531 flashes as a router have the ability to be reset, or do we also have to reflash it?

@Koenkk
Copy link
Owner

Koenkk commented Feb 14, 2019

@ptvoinfo has this been implemented?

@ptvoinfo
Copy link
Contributor

CC2531 can be re-paired pressing S2 for 5 seconds.
СС2530 (the latest version) can be re-paired if you power on/power off it three times (power on, wait 2 seconds, power off, repeat this cycle three times).
http://ptvo.info/cc2530-based-zigbee-coordinator-and-router-112/

@h4nc
Copy link
Author

h4nc commented Feb 14, 2019

Nice to know that, would be great to add that to the zigbee2mqtt docs.

@h4nc h4nc closed this as completed Feb 14, 2019
Koenkk added a commit to Koenkk/Z-Stack-firmware that referenced this issue Feb 14, 2019
Koenkk added a commit to Koenkk/zigbee2mqtt.io that referenced this issue Feb 14, 2019
@Koenkk
Copy link
Owner

Koenkk commented Feb 14, 2019

@h4nc done! @ptvoinfo thanks!

@h4nc
Copy link
Author

h4nc commented Feb 14, 2019

Are there more noticable Upgrades in that Firmware.

It should we only update if we want that feature (repairing).?

@ptvoinfo
Copy link
Contributor

@h4nc One more thing: The previous version allowed to join for deleted devices.

@h4nc
Copy link
Author

h4nc commented Feb 15, 2019

You mean without permit_join enabled? So it was a bug.

@ptvoinfo
Copy link
Contributor

Yes, without permit_join.

@h4nc
Copy link
Author

h4nc commented Feb 15, 2019

Ok, I will update.

Should I delete the routers from the coord before I reflash them?

@ptvoinfo
Copy link
Contributor

no, this is not necessary

@h4nc
Copy link
Author

h4nc commented Feb 15, 2019

To add them to the network again after reflashing I would enable permit join and than power them up near the coord.

Is that the right way to do it?

@ptvoinfo
Copy link
Contributor

yes, exactly.

@h4nc
Copy link
Author

h4nc commented Feb 15, 2019

Thanks.

@h4nc
Copy link
Author

h4nc commented Mar 4, 2019

@Koenkk I wondering what would happen if you connect the cable wrong to the CC2531. The connector is not poka yoke, so users could plug in the wrong way.

Would you fry the board with a wrong connected cable or would it simple not flash.
If it would fry the board, we probably should add a WARNING to the How To Flash docs.
The only thing that indicated the right direction now is the picture, users could probably fail.

@Koenkk
Copy link
Owner

Koenkk commented Mar 4, 2019

@h4nc I have no idea, but a warning is always good, could you make a PR?

@h4nc
Copy link
Author

h4nc commented Mar 4, 2019

@Koenkk I'm trying for some minutes now, because this would be my first PR, but I don't get it.
It but be nice to know how it works for future requests.

Could you point me in the right direction?
It says I have to compare changes. So i selected dev to left and master to the right also search for this link

zigbee2mqtt.io/getting_started/flashing_the_cc2531.md

But I simple don't get what to do. I think there should open up that text file and than I can change it and later you can confirm or not confirm.

@Koenkk
Copy link
Owner

Koenkk commented Mar 4, 2019

@h4nc
Copy link
Author

h4nc commented Mar 4, 2019

@Koenkk So this is a pull request? And what about the comparison thing?

@Koenkk
Copy link
Owner

Koenkk commented Mar 4, 2019

I'm not sure what you mean with the comparison thing, but the pull request is what you need.

@h4nc
Copy link
Author

h4nc commented Mar 4, 2019

This

1

I get there when I press "Pull Requests" and then "New Pull Request"

@h4nc
Copy link
Author

h4nc commented Mar 4, 2019

ok just postet my first PR, thanks @Koenkk

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

3 participants