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.

CC2640R2F: 修改过Flash与GPRam空间后烧录失败芯片被锁,擦除仍然无效

Part Number: CC2640R2F


CC2640R2F开始可以使用CCS编译器正常编译及下载程序,后因随着代码编写增多,导致编译时提示空间不够使用,故去修改cc26xx_app.cmd中的FLASH_SIZE、FLASH_LAST_PAGE (RX)以及GPRAM(RWX)都加大2倍,并且使能了CACHE_AS_RAM与SET_CCFG_SIZE_AND_DIS_FLAGS_DIS_GPRAM。修改后编译通过但运行烧录到板子失败,提示被锁。

另外使用Flash Programmer 2工具提示

>Initiate access to target: XDS-L500141F using 2-pin cJTAG.
>Debug interface is locked. Aborting action. Only forced mass erase is possible.
>Reset target ...
>Reset of target successful.

擦除仍然被锁,烧录其他demo程序也失败。请问如何解决?