Hello,
I'm using blhost to write IFR 0x80 to put device into unsecured state. To do this I must set bits 1:0 in FSEC register to 10. Since blhost requires 4 or 8 bytes, I am guessing the value I should write is: 0xFFFFFFFE (0xE = 1110). I also tried little endian 0xFEFFFFFF. It did not work either.
When I read back 0x80 after writing, it looks like it worked. When I reset the device (or cycle power), the state is SECURED. But I expect it to be UNSECURED, since I wrote 10.
What am I doing wrong?
Thank you
blhost -p COM5 flash-program-once 0x80 4 FFFFFFFE
Ping responded in 1 attempt(s)
Inject command 'flash-program-once'
Successful generic response to command 'flash-program-once'
Response status = 0 (0x0) Success.
blhost -p COM5 flash-read-once 0x80 4
Ping responded in 1 attempt(s)
Inject command 'flash-read-once'
Response status = 0 (0x0) Success.
Response word 1 = 4 (0x4)
Response word 2 = -2 (0xfffffffe)
blhost -p COM5 reset
Ping responded in 1 attempt(s)
Inject command 'reset'
Successful generic response to command 'reset'
Response status = 0 (0x0) Success.
blhost -p COM5 get-property 17
Ping responded in 1 attempt(s)
Inject command 'get-property'
Response status = 0 (0x0) Success.
Response word 1 = 1 (0x1)
Security State = SECURE