微波EDA网,见证研发工程师的成长!
首页 > 研发问答 > 无线和射频 > TI Zigbee设计交流 > cc2430 如何在program中读取出Debug Lock bit

cc2430 如何在program中读取出Debug Lock bit

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

在这篇帖子内看到

http://www.deyisupport.com/question_answer/wireless_connectivity/zigbee/f/104/t/82269.aspx

// Define the region for Lock Bits in flash.

define region FLASH_LCK = mem:[from 0x0027FFE0 to 0x0027FFFF];

直接在程序里面对寄存器进行操作

在程序里面可以直接往这个地址写值进行,相当于用SmartRF Flash Programmer2来写是一样的。

那在cc2430程序内也可以读取或写入Lock Bits吗?

 

应该是不可以的

That might not be possible on CC2430 because the debug lock protection bits are not stored as part of the flash main pages, but instead in a separate 2kB flash area called the Flash Information Page. (See the CC2430 data sheet, section 12.4 for more details).

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

网站地图

Top