Other Parts Discussed in Thread: UNIFLASH, HALCOGEN,
I've been loading related thread on forum for a while and following are the key points of the process. Need your help to verify before mess up with the pricey chip.
1. Read first 4 32-bit out of OTP start from address 0xF0000000. The number reads is known as 'original visible unlock code'. Let's say we have a reads of all '1s', 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF. The pattern is unique on each individual chip.
2. Program few bits in those 128-bits from '1' into '0'. For instance, Program 0xFFFFFFFF 0x00000000 0xFFFFFFFF 0xFFFFFFFF into that area. It will result OTP reads 0xFFFFFFFF 0x00000000 0xFFFFFFFF 0xFFFFFFFF.
3. After procedure 2, the JTAG port is locked and there is no way back to permanent unlock JTAG. The only approach to temporally unlock JTAG is by using AJSM. By saying temporally, it means valid till next power cycle.
4. The idea to unlock using AJSM is to use a register called "unlock-by-scan", once the register's 128-bit value XOR OTP first 128-bit value equals to the 'original visible unlock code', user shall gain temporally access to JTAG port.
5. Operation 4 take places right after Target connect and before Reset finish.
6. Once program OTP first 128-bit into all 0s, JTAG will permanently lock and AJSM mechanism will disabled.
Then the second parts need help is about the tools available for this procedure.
By uniflash, the 'original visible unlock code' is able to read out. OTP can be programmed by either CCS or uniflash. The question is, is there anything else can perform procedure 1-3? If any, what's their pros and cons? What is the tools available for procedure 4-6?
Please kindly help me confirm point by point. I need to get this procedure 99% sure before hands on.