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.

TI CC2530F256芯片无法程序控制flash加解锁最后16字节

您好:

       我现在使用CC2530F256芯片,用TI专门的烧写工具可以对flash加解锁16字节进行加解锁操作。

但是现在我想通过调用HalFlashWrite()函数软件控制BANK7的page127末尾16字节,发现该页只能读取而不能写入。而且127页一直都是解锁状态,要如何才能够对该页进行写入操作以便程序任意控制flash所有页的状态?谢谢!!

 

  •  The lock bit is saved in the last page-p127, and Page 127 is a read-only page, so it could not be changed in program.

    The lock bit could be erased only in debug-mode(due to CC-Debuger)

  • 那我程序运行过程中可以设置它为 debug-mode(due to CC-Debuger)模式,然后再去擦除page127设置lock bits吗??

  • 请问你实现修改lock标志位吗?

    我现在想使用SBL和OTA,但这都要求不能lock。不lock程序又会出现问题,这很尴尬啊!

  • 根据手册说明要修改Lock标志位只能在debug模式,而这个模式只有使用TI烧写软件进行hex程序烧写时提前设置好才能一起烧写到flash里面进行修改,否则正常程序运行状态下是改不了lock标志位,除非你有办法控制硬件进入debug模式。

x 出现错误。请重试或与管理员联系。