diff --git a/data/registers/flash_h50.json b/data/registers/flash_h50.json index 291d1b7..e0fa708 100644 --- a/data/registers/flash_h50.json +++ b/data/registers/flash_h50.json @@ -70,6 +70,7 @@ "name": "OPTSR_CUR", "description": "FLASH option status register", "byte_offset": 80, + "access": "Read", "fieldset": "OPTSR" }, { @@ -82,6 +83,7 @@ "name": "OPTSR2_CUR", "description": "FLASH option status register 2", "byte_offset": 112, + "access": "Read", "fieldset": "OPTSR2" }, { @@ -94,6 +96,7 @@ "name": "NSBOOTR_CUR", "description": "FLASH non-secure unique boot entry register", "byte_offset": 128, + "access": "Read", "fieldset": "NSBOOTR" }, { @@ -106,6 +109,7 @@ "name": "OTPBLR_CUR", "description": "FLASH non-secure OTP block lock", "byte_offset": 144, + "access": "Read", "fieldset": "OTPBLR" }, { @@ -124,6 +128,7 @@ "name": "WRPSGN1R_CUR", "description": "FLASH write sector protection for Bank1", "byte_offset": 232, + "access": "Read", "fieldset": "WRP" }, { @@ -136,6 +141,7 @@ "name": "HDP1R_CUR", "description": "FLASH HDP Bank1 register", "byte_offset": 248, + "access": "Read", "fieldset": "HDP1R" }, { @@ -166,6 +172,7 @@ "name": "WRPSGN2R_CUR", "description": "FLASH write sector protection for Bank2", "byte_offset": 488, + "access": "Read", "fieldset": "WRP" }, { @@ -178,6 +185,7 @@ "name": "HDP2R_CUR", "description": "FLASH HDP Bank2 register", "byte_offset": 504, + "access": "Read", "fieldset": "HDP2R" }, { @@ -682,9 +690,10 @@ }, { "name": "PRODUCT_STATE", - "description": "Life state code (based on Hamming 8,4). More information in .", + "description": "Life state code (based on Hamming 8,4).", "bit_offset": 8, - "bit_size": 8 + "bit_size": 8, + "enum": "PRODUCT_STATE" }, { "name": "IO_VDD_HSLV", @@ -1174,5 +1183,40 @@ "value": 1 } ] + }, + "enum/PRODUCT_STATE": { + "bit_size": 8, + "variants": [ + { + "name": "OPEN", + "description": "Open", + "value": 237 + }, + { + "name": "PROVISIONING", + "description": "Provisioning", + "value": 23 + }, + { + "name": "IROT_PROVISIONED", + "description": "iROT-Provisioned", + "value": 46 + }, + { + "name": "CLOSED", + "description": "Closed", + "value": 114 + }, + { + "name": "LOCKED", + "description": "Locked", + "value": 92 + }, + { + "name": "REGRESSION", + "description": "Regression", + "value": 154 + } + ] } } \ No newline at end of file