How to use Emulated EEPROM in a system with Chain of Trust?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

Hi,

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,

0 Likes
2 Replies
Anonymous
Not applicable

UP

Nobody knows how to do this?

Is there any Cypress support guy?

0 Likes
MarkH_61
Employee
Employee
25 likes received 50 replies posted 25 replies posted

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?

Mark

0 Likes