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.

CC2640: Code read protection

Part Number: CC2640


Hello,

According to Par. 9.1 of  SWCU117G the code read protection can be applied only by locking the debug interface or disabling the boot loader.

Is there any other option to apply the code read protection?

If not can the flash be reprogrammed after locking the debug interface and disabling the boot loader?

Thanks

  • Hello Edward,

    The code executing internally can still r/w to flash, so you will need to have some logic that can update the code if you don't use the ROM bootloader or JTAG. One way is to use a software bootloader. There is a serial_bootloader example on our GitHub page (link on BLE Wiki).

    Best wishes
  • Only internal application can program flash if you lock the debug interface and disable the boot loader. So, the alternative is to implement OAD firmware update in your application in case if you need to do FW update later.

  • I have to reprogram the flash in the production by using the serial bootloader or the JTAG interface,

    therefore the OAD firmware update is not the solution for me.

    Thanks