Hi
I enable the ID code mode into -Locked with ALL erase.
but even my code is OK it show error of ID mismatched
if your ID code is FFFFFFFFFFFFFFFFFFFFFFFFFFFFFF0F
you choose -Locked with ALL erase.
the actual ID code generated is FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFCF
b127, b126 of the id-code are set to '1' to ensure ALL erase.
that correspond to b7,b6 of the last byte "0F" -> "CF"
Check on this link RA Family: ID code protection
/* ID CODE: 00112233445566778899AABBCCDDEEff */#define BSP_CFG_ID_CODE_LONG_1 (0x33221100)#define BSP_CFG_ID_CODE_LONG_2 (0x77665544)#define BSP_CFG_ID_CODE_LONG_3 (0xBBAA9988)#define BSP_CFG_ID_CODE_LONG_4 (0xffEEDDCC)