Hello Mohammed,
CFPA version is based at address 0x9de04 -> blhost -p COM12 read-memory 0X9DE04 0x4 (keep in mind endianness)
When you want to update CFPA than version of new CFPA has to be higher then previous version.
How do you want to update CFPA? I expect you use blhost -p COM12 write-memory 0X9DE00 new_cfpa.bin
Be sure that in new_cfpa.bin which is 512B file is at address 0x4 incremented version register.
Also keep in mind for proper security setting we have one way changing possibilities for some registers in CFPA.
Ensure the secureFwVersion in new CFPA must be >= existing secureFwVersion
Ensure the nsFwVersion in new CFPA must be >= existing nsFwVersion
Ensure the vendorUsage in new CFPA must be >= existing vendorUsage
Ensure that the imageKeyRevoke must be >= existing imageKeyRevoke
Note the imagekeyRevoke are treated like OTP, the version increasing flow, (0, 1, 3, 7, etc)
Ensure that the rotkhRevoke must be >= existing rotkhRevoke
Note the rotkhRevoke are treated like OTP, the version increasing flow, (0, 1, 3, 7, etc)
Regards,
Tomas