Skip to Main Content

Java Card

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

How to detect damaged cells (NVM) - Integrity Check

864549Jun 22 2011 — edited Jun 22 2011
Hi,

is there any way to detect damaged memory (NVM) ?
Is there any sample code for that purpose ?

I'm a bit concerned about the security of java card applets. The number of times you can update an NVM (non-volatile memory) is limited (~100,000 updates for E2PROM and FLASH). Hence I'm taking care to avoid over-stressing the NVM. However, what happens if this limit is reached? Will it result in corrupt data? So it could be a potential risk, especially if the applet is dealing with security?

What is the common practice to ensure no issues if memory is damaged?

Phil
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jul 20 2011
Added on Jun 22 2011
1 comment
389 views