在看 28035的CMD文件的时候,发现下面一个定义,但找到解释,不知道这个 .ovly是什么段。
.ovly : > FLASHA, PAGE = 0
对芯片加密的时候,对CSM128位设定密码,如果想区分在不同的情况下,使用不同的密码,可行吗?看到一种写法如下:
.if 0 ; no password
.int 0xFFFF ;PWL0 (LSW of 128-bit password)
.int 0xFFFF ;PWL1
.int 0xFFFF ;PWL2
.int 0xFFFF ;PWL3
.int 0xFFFF ;PWL4
.int 0xFFFF ;PWL5
.int 0xFFFF ;PWL6
.int 0xFFFF ;PWL7 (MSW of 128-bit password)
.elseif 0 ;password 1
.int 0x33FF ;PWL0 (LSW of 128-bit password)
.int 0x33FF ;PWL1
.int 0x33FF ;PWL2
.int 0xFFFF ;PWL3
.int 0xFFFF ;PWL4
.int 0x33FF ;PWL5
.int 0xFFFF ;PWL6
.int 0xFFFF ;PWL7 (MSW of 128-bit password)
.elseif 1 ; password 2
.int 0x55FF ;PWL0 (LSW of 128-bit password)
.int 0x55FF ;PWL1
.int 0x55FF ;PWL2
.int 0xFFFF ;PWL3
.int 0xFFFF ;PWL4
.int 0x55FF ;PWL5
.int 0xFFFF ;PWL6
.int 0xFFFF ;PWL7 (MSW of 128-bit password)
.endif
这种写法对吗?通过那个值来区分3种不同的密码吗?他的.if的判断没有任何的比较,是存在什么默认的比较值,还是在CCS里面能设置呀?
谢谢