微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > zigbee OTA疑问!

zigbee OTA疑问!

时间:10-02 整理:3721RD 点击:

最近想做ZIGBEE的OTA应用。按照文档的操作编译通过,下载到板子上运行也貌似正常,但是有几个地方没看明白:

1、cc2530 bootloader工程下中的linker下的sb-boot.xcl文件中,_CODE_START的位置是0x0000,_XDATA_END是0X1EFF.可是例子中RouterEB中的却是_CODE_START的位置是0x0800,_XDATA_END是0X7FFF,这不是有交叉么?

2、CC2530的各个中断向量的地址是0X03,0X0B。。。。我没看到在哪里对这个0X03处的中断进行映射啊,第一页不是已经写了bootloader程序了么,这样中断程序还能执行,这是怎样的呢?

为啥没人来解答啊!

这些在对应的ota文档里都有答案,

第一个问题,

2.4.6.1 SmartRF05 with CC2530EM The Bootloader is loaded into the first page of memory on the CC2530. This page is 2K in length and is located at addresses 0x0000 through 0x0800. The remaining 254K of the flash on the CC2530 is used as the operation memory space. The secondary storage resides on an Off-Chip serial flash.

 

第二个问题,

2.4.7 OTA Bootloader The OTA bootloader used by Z-Stack is responsible for: ? Copying memory from the secondary storage space to the primary storage space. ? Performing a CRC check of the memory in the secondary and primary space to verify the integrity of the image. ? Forwarding interrupts to the primary memory space. ? Booting the application in the primary memory space.

Copyright © 2017-2020 微波EDA网 版权所有

网站地图

Top