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:从代码编写IEEE辅助代码

Guru**** 2538950 points
Other Parts Discussed in Thread: CC2530

请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/wireless-connectivity/zigbee-thread-group/zigbee-and-thread/f/zigbee-thread-forum/573209/cc2530-writing-ieee-secondary-from-code

部件号:CC2530

您好,

我正在尝试使用下面的代码更改程序中的IEEE次要值

UINT8 new_EXT_Addr[Z_EXTADDR_LEN];

new_ext_Addr[0]= 0xB6;
new_ext_Addr[1]= 0x00;
new_ext_Addr[2]= 0x00;
new_ext_Addr[3]= 0x00;
new_ext_Addr[4]= 0x0d;
new_ext_Addr[5]= 0xaf;
new_ext_Addr[6]= 0x80;
new_ext_Addr[7]= 0x05;


HalFlashErase( HAL_FLASH_IEEE_PAGE );
While (FCTL和0x80);


HalFlashWrite(HAL_FLASH_IEEE_PAGE + HAL_FLASH_IEEE_OSET,new_EXT_Addr,Z_EXTADDR_LEN);//读取次要IEEE地址

但是,它不会更改该值。  

如有任何关于更改值的建议,我们将不胜感激

谢谢你

  • 请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。
    您好,Peter,

    您在CC2530上使用的是什么软件?