Legacy Forum: Preserving Nearly 20 Years of Community History - A Time Capsule of Discussions, Memories, and Shared Experiences.

Programming Zigbee on the fly

Bioloid robot kit from Korean company Robotis; CM5 controller block, AX12 servos..
1 postPage 1 of 1
1 postPage 1 of 1

Programming Zigbee on the fly

Post by StuartL » Mon Aug 20, 2007 7:24 pm

Post by StuartL
Mon Aug 20, 2007 7:24 pm

Has anyone tried programming the Zig-100 on the fly from the CM5? i.e. Has anyone tried anything to change destination IDs, broadcast mode etc after soldering it onto the CM5 motherboard?

It looks relatively straightforward, you'd just need to ensure that you programmed it from software within 60ms of hardware reset.

However I'm thinking of doing automatic peer discovery for CM5-CM5-PC communication and that's a little more complicated with the Zigbee modules working the way they do. It would involve switching from broadcast to point to point mode on the fly and this seems expensive and pointless.

You may as well use the Zigbee modules permanently in broadcast mode, which doesn't require in-circuit programming, and write a communications layer on top to handle peer discovery etc. The protocol would handle very basic messaging with broadcast and unicast functionality with built in checksum. A layer above could track and cache peers and note when a peer has been uncontactable for a preset time.

Thoughts?
Has anyone tried programming the Zig-100 on the fly from the CM5? i.e. Has anyone tried anything to change destination IDs, broadcast mode etc after soldering it onto the CM5 motherboard?

It looks relatively straightforward, you'd just need to ensure that you programmed it from software within 60ms of hardware reset.

However I'm thinking of doing automatic peer discovery for CM5-CM5-PC communication and that's a little more complicated with the Zigbee modules working the way they do. It would involve switching from broadcast to point to point mode on the fly and this seems expensive and pointless.

You may as well use the Zigbee modules permanently in broadcast mode, which doesn't require in-circuit programming, and write a communications layer on top to handle peer discovery etc. The protocol would handle very basic messaging with broadcast and unicast functionality with built in checksum. A layer above could track and cache peers and note when a peer has been uncontactable for a preset time.

Thoughts?
StuartL
Savvy Roboteer
Savvy Roboteer
Posts: 350
Joined: Mon Jun 04, 2007 3:46 pm
Location: Thatcham, Berkshire, UK

1 postPage 1 of 1
1 postPage 1 of 1