Hi Haneul,
It is because 0x55 and 0xAA are very nice numbers in binary format.
0b01010101 = 0x55
0b10101010 = 0xAA
So, every write into ARMCOP register should negate every individual bit.
The access to ARMCOP register is watched by special logic and any write different from 0x55 or 0xAA will cause immediately COP reset (only when COP is enabled). Write 0x55/0xAA will reset COP counter.
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------