Hii linminliang,
My problem is solved.
Only thing i was missing is Jumper we need to insert jumper TA_BB for running secure boot.
One bug is der in SDK 1.7 that RCW given for secure boot is going in hold_off mode(BOOT_HO=1).
Most probably That is now fixed in SDK1.8.
Here is the steps if anybody wants to try secure debug on LS series.
Reset Configuration Word (RCW):
00000000: 0608000a 00000000 00000000 00000000
00000010: 20000000 00407900 e0225a00 21046000
00000020: 00000000 00000000 00000000 00038000
00000030: 00000000 881b7540 00000000 00000000
Board: LS1021ATWR
1.Insert Jumper j8 and programme fuses in following fashion.
mw 1e80204 02000000
mw 1e80208 dodododo
mw 1e8020c cocococo
mw 1e80210 eecbfeca
mw 1e80214 ba00aa01
mw 1e80020 02000000
01aa00bbcafecafe (passowrd)
Hamming code:-
DRV0-cafecbee
DRV1-01aa00ba
2.Board is booting in Secure state.
3.Commands from Codewarrior Connection server.
bin) 50 % display ccs::read_mem 19 0x00010000 0x00000000 8 0 1
+0 +8
[0x0001000000000000] C0C0C0C0D0D0D0D0
(bin) 52 % ccs::write_mem 19 0x00010000 0x00000008 8 0 {0xba00aa01 0xeecbfeca}
this will allow you to debug disassembly and register
But three wrong attempts will reset your board.
this is our password "0xba00aa01 0xeecbfeca"
=> md 1e80204
01e80204: 02000000 d0d0d0d0 c0c0c0c0 ffffffff ................
01e80214: ffffffff 00000000 00000000 00000000 ................
01e80224: 00000000 00000000 00000000 00000000 ................
01e80234: ffffffff ffffffff ffffffff ffffffff ................
01e80244: ffffffff ffffffff ffffffff ffffffff ................
01e80254: 45e85b37 e8e2bb49 a47fa6d7 5afa0bda 7[.EI..........Z
01e80264: c716a39c f6a13b4d 29654110 3c8007a9 ....M;...Ae)...<
Let me know if anyone is interested in Secure Boot i can share steps for those also.
Thanks
Abhishek Ojha