Hi there,
we need to flash an encrypted application to the qspi attached NOR flash of our microcontroller and debug it with Ozone. At runtime, the application will be decrypted transparently in the background on-the-fly by a peripheral of the MCU. For the writing of the unencrypted application we use SEGGERs Open Flashloader and it this works, but doing the encryption in Open Flashloader while writing to the NOR flash does not work at all.
Our new plan now is to encrypt the application before giving it to Open Flashloader, but we still need to be able to use Ozone for debugging. For this I need some background knowledge regarding how Ozone is using JLink for downloading the application the the MCU.
Question: Is there a way, to make Ozone use an encrypted .bin for downloading, but using an unencrypted .elf for debugging? I suppose when we encrypt the complete .elf file Ozone won't be able to debug anymore.
Any further suggestions on how to achieve our goal would be much appreciated.
Best regards
Paul
we need to flash an encrypted application to the qspi attached NOR flash of our microcontroller and debug it with Ozone. At runtime, the application will be decrypted transparently in the background on-the-fly by a peripheral of the MCU. For the writing of the unencrypted application we use SEGGERs Open Flashloader and it this works, but doing the encryption in Open Flashloader while writing to the NOR flash does not work at all.
Our new plan now is to encrypt the application before giving it to Open Flashloader, but we still need to be able to use Ozone for debugging. For this I need some background knowledge regarding how Ozone is using JLink for downloading the application the the MCU.
Question: Is there a way, to make Ozone use an encrypted .bin for downloading, but using an unencrypted .elf for debugging? I suppose when we encrypt the complete .elf file Ozone won't be able to debug anymore.
Any further suggestions on how to achieve our goal would be much appreciated.
Best regards
Paul