Other Parts Discussed in Thread: CC2530, Z-STACK
CC2530 secondary地址只能用flash programmer擦除,在程序中无法实现擦除,是什么原因?有没有高手遇到过此问题?我想实现程序修改IEEE地址功能,求解
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
CC2530有Primary IEEEE address、Secondary IEEE address以及Random IEEE 地址,Primary是无法设置的,Secondary是可以设置的,通过 smartRF Flash Programmer。
当设备运行时,zigbee协议栈依据以下四个优先级来决定IEEE地址:
1、从Z-Stack的NV中读取;
2、在Secondary IEEE 地址位置查找;
3、在Primary IEEE地址位置查找;
4、用随机产生的数创建临时IEEE地址。
具体实现,请看void zmain_ext_addr(void).
运行时候不可修改。