I'm developing a system with Chain of Trust, based on the Secure Image example.
The problem is that I need to store some small amount of data in non volatile memory, so I've tried to add an Emulated EEPROM component. I've tested my code in a project without Chain of Trust, and it works, but when I place the same code in the user application of the Chain of Trust project, read and write operations to the Emulated EEPROM return error. So, is there a way to use Emulated EEPROM components in a Chain of Trust project? if so, how?
Moreover, since emulated EEPROM is data located in flash, Will it impact on the user app signature provoking booting errors?
Thank you in advance for your response,
With the secure image in place, it depends on where you put your emulated EEROM and which CPU is attempting to access it. If it is just accessed by the CM4, put it in the CM4 memory (Flash) space. What error is being returned by what function?