This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

APPROTECT and ota dfu

Hi community, I am working on IoT device. We want to establish a secure connection therefore we are going to need a secure storage for our private key. I am aware that the flash is not the best solution. Furthermore, we want to be able to update our firmware over the air.

However, the idea at the moment is to store the private key in the flash and protect it via the APPROTECT functionality.

My question is, can I use the APPROTECT function and still do ota updates.

I am working on the pcb design at the moment and have to determine whether we are going to need an external encrypted memory or not.

cheers.

Parents
  • Yes, you can use access port protection and still do DFU OTA.

    When access port protection is enabled, the chip is locked to the outside world. 'Access port protection blocks the debugger from read and write access to all CPU registers and memory-mapped addresses.' However, you're application isn't limited by this. In can still read/write memory and do things like DFU.

Reply
  • Yes, you can use access port protection and still do DFU OTA.

    When access port protection is enabled, the chip is locked to the outside world. 'Access port protection blocks the debugger from read and write access to all CPU registers and memory-mapped addresses.' However, you're application isn't limited by this. In can still read/write memory and do things like DFU.

Children
Related