2 Replies Latest reply on Jan 31, 2017 4:42 AM by jerome.hiebel_1699481

    PRoC BLE Encrypted Image OTA Update

    jerome.hiebel_1699481

      Hi, 

      I would like to have a secure BLE OTA bootloader, with upgradable BLE stack. The update image (binary) is totally encrypted, the user should at no point be able to get an un-encrypted binary image file. This is to avoid my product to be copied to easily, obviously. 

         


      I have worked with such problems before so I am not looking for the encryption side of the things, but for the PSoC 4 / PRoC BLE specifics only. 
      So far I could only find the example using an external memory, but external memory is expensive and doesn't seem necessary so I would like to use only the internal memory. 
      Have you done something like this? 

      I don't mind implementing it but I would like some directions, I'm quite new with Cypress. Packets could be decrypted on the fly as they arrive and before writing them to the flash. But at the moment everything is encapsulated in the provided "bootloader component" from the standard library. Is it possible to modify this component? Is this Bootloader Open Source or is this totally Cypress proprietary ? 

      I would appreciate any help on this. 

      Thank you! 
      Jerome