-
Hi, I store application data in arbitrary data objects (type 3 0xF1D0-0xF1DB), I'm not clear if I can modify only few bytes inside a slot without erase the slot (140 bytes). regards |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @gaetanoi you can define how would you like to write data into the object, either overwrite completely or only partially. |
Beta Was this translation helpful? Give feedback.
Hi @gaetanoi
you can define how would you like to write data into the object, either overwrite completely or only partially.
optiga_util_write_data()
fnction has a parameterwrite_type
which can be eitherOPTIGA_UTIL_WRITE_ONLY
orOPTIGA_UTIL_ERASE_AND_WRITE
, the latter one will erase the object and then write your newly provided data, the first one will simply write over existing data.