TI中文支持网
TI专业的中文技术问题搜集分享网站

F28035程序加密问题

MemoryBrowser中查看:csmpasswds显示如下

程序中配置如下:

.sect "csmpasswds"

.if 1 ; password
.int 0x5D19 ;PWL0 (LSW of 128-bit password)
.int 0x5C26 ;PWL1
.int 0x7B30 ;PWL2
.int 0x0A41 ;PWL3
.int 0x14A0 ;PWL4
.int 0x03B7 ;PWL5
.int 0x62C5 ;PWL6
.int 0x91D5 ;PWL7 (MSW of 128-bit password)
.elseif 1 ; 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)
.endif

;———————————————————————-

; For code security operation, all addresses between 0x3F7F80 and
; 0X3f7ff5 cannot be used as program code or data. These locations
; must be programmed to 0x0000 when the code security password locations
; (PWL) are programmed. If security is not a concern, then these addresses
; can be used for code or data.

; The section "csm_rsvd" can be used to program these locations to 0x0000.

.sect "csm_rsvd"
.loop (3F7FF5h – 3F7F80h + 1)
.int 0x0000
.endloop

=====================================================================

在On-Chip flash 中操作结果:

C28xx: Erasing Flash memory…
C28xx: Flash Programmer: Error erasing flash memory. Device is locked or not connected. Operation cancelled
C28xx: Starting device unlocking…
C28xx: Flash Programmer: Error unlocking flash memory. Device is still locked

问题:在flash烧录的过程中可以设置csmpasswds全部为0,还有什么情况下会全部为0?

Nancy Wang:

请去c2000论坛咨询。
e2echina.ti.com/…/

赞(0)
未经允许不得转载:TI中文支持网 » F28035程序加密问题
分享到: 更多 (0)