我用CCS3.3 烧写flash
芯片(TMS28034)时 第一次烧写FLASH的时候我没设置过"Code Security Password" 代码系统默认是:FFFF 在烧写成功后 我装上机测试后 再次进入CCS3.3来擦除烧写第二次,但是芯片第二次烧写的时候就出现 要解锁"Unlock Flash"了,我就算输入了8个"FFFF"也无法解锁Flash。请问这个情况怎样解决呢 我全部试过6块芯片 有2块就试过在烧写第3次才出现解锁Flash .
以下是我的默认代码:
.sect "csmpasswds"
.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)
;----------------------------------------------------------------------
; For code security opera
tion, 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
;//===========================================================================
;// End of file.
;//===========================================================================
csm_rsvd 0 003f7f80 00000076
003f7f80 00000076 DSP2833x_CSMPasswords.obj (csm_rsvd)
1:以上这个是FLASH文件里的,以下这个也是FLASH文件的
csmpasswds
* 0 003f7ff8 00000007
003f7ff8 00000007 DSP2833x_CSMPasswords.obj (csmpasswds)
一周热门 更多>