TI中文支持网
TI专业的中文技术问题搜集分享网站

CC2541 如何读取secondary mac地址

如何在程序内读取写入到secondary 的mac 地址?

da qin zheng sheng:

256K flash存储器分成8个bank,把所在bank映射到sram ,

XREG(adress);adress范围0x8000-0xffff

Susan Yang:

若是您使用HCI_ReadBDADDRCmd()读mac addr,如果有secondary 地址,就是secondary 的值,否则是primary的值。

Susan Yang:

回复 da qin zheng sheng:

The secondary IEEE address is stored in the uppermost flash page at address 0x7EA from the start of the page. That means that it is readable from XDATA memory at address 0xFFEA when the uppermost flash bank is selected through MEMCTR.XBANK. The uppermost flash bank is 3 for a CC2540F128 and 7 for a CC2540F256.

Yue TANG:

你用flash programmer改了secondary address后,gapRole_bdAddr里就是secondary 的地址。

赞(0)
未经允许不得转载:TI中文支持网 » CC2541 如何读取secondary mac地址
分享到: 更多 (0)