在这篇帖子内看到
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吗?
Susan Yang:
应该是不可以的
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).