按照例程,怎么没有加上密呢?
MEMORY
{
PAGE 0 :
DCSM_OTP_Z1_P0 : origin = 0x78000, length = 0x000020
DCSM_OTP_Z2_P0 : origin = 0x78200, length = 0x000020
DCSM_ZSEL_Z1_P0 : origin = 0x78020, length = 0x000010
DCSM_ZSEL_Z2_P0 : origin = 0x78220, length = 0x000010
}
SECTIONS
{
dcsm_otp_z1 : > DCSM_OTP_Z1_P0 PAGE = 0, type = DSECT
dcsm_otp_z2 : > DCSM_OTP_Z2_P0 PAGE = 0, type = DSECT
dcsm_zsel_z1 : > DCSM_ZSEL_Z1_P0 PAGE = 0, type = DSECT
dcsm_zsel_z2 : > DCSM_ZSEL_Z2_P0 PAGE = 0, type = DSECT
}
.sect "dcsm_otp_z1"
.long 0xFFFFFFFF ;Z1-LINKPOINTER1
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-LINKPOINTER2
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-LINKPOINTER3
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-PSWDLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-CRCLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-JTAGLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-BOOTCTRL
.sect "dcsm_zsel_z1"
.long 0xFFFFFFFF ;Z1-EXEONLYRAM
.long 0xFFFFFFFF ;Z1-EXEONLYSECT
.long 0xFFFFFFFF ;Z1-GRABRAM
.long 0xFFFFFFFF ;Z1-GRABSECT
.long 0xFFFFFFF1 ;Z1-CSMPSWD0 (LSW of 128-bit password)
.long 0xFFFFFFFF ;Z1-CSMPSWD1
.long 0xFFFFFFFF ;Z1-CSMPSWD2
.long 0xFFFFFFFF ;Z1-CSMPSWD3 (MSW of 128-bit password)
.sect "dcsm_otp_z2"
.long 0xFFFFFFFF ;Z2-LINKPOINTER1
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-LINKPOINTER2
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-LINKPOINTER3
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-PSWDLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-CRCLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-JTAGLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-BOOTCTRL
.sect "dcsm_zsel_z2"
.long 0xFFFFFFFF ;Z2-EXEONLYRAM
.long 0xFFFFFFFF ;Z2-EXEONLYSECT
.long 0xFFFFFFFF ;Z2-GRABRAM
.long 0xFFFFFFFF ;Z2-GRABSECT
.long 0xFFFFFFF1 ;Z2-CSMPSWD0 (LSW of 128-bit password)
.long 0xFFFFFFFF ;Z2-CSMPSWD1
.long 0xFFFFFFFF ;Z2-CSMPSWD2
.long 0xFFFFFFFF ;Z2-CSMPSWD3 (MSW of 128-bit password)
Seven Han:
这边讨论是否能够帮助到您:
http://www.deyisupport.com/question_answer/microcontrollers/c2000/f/56/t/132790.aspx
按照例程,怎么没有加上密呢?
MEMORY
{
PAGE 0 :
DCSM_OTP_Z1_P0 : origin = 0x78000, length = 0x000020
DCSM_OTP_Z2_P0 : origin = 0x78200, length = 0x000020
DCSM_ZSEL_Z1_P0 : origin = 0x78020, length = 0x000010
DCSM_ZSEL_Z2_P0 : origin = 0x78220, length = 0x000010
}
SECTIONS
{
dcsm_otp_z1 : > DCSM_OTP_Z1_P0 PAGE = 0, type = DSECT
dcsm_otp_z2 : > DCSM_OTP_Z2_P0 PAGE = 0, type = DSECT
dcsm_zsel_z1 : > DCSM_ZSEL_Z1_P0 PAGE = 0, type = DSECT
dcsm_zsel_z2 : > DCSM_ZSEL_Z2_P0 PAGE = 0, type = DSECT
}
.sect "dcsm_otp_z1"
.long 0xFFFFFFFF ;Z1-LINKPOINTER1
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-LINKPOINTER2
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-LINKPOINTER3
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-PSWDLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-CRCLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-JTAGLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z1-BOOTCTRL
.sect "dcsm_zsel_z1"
.long 0xFFFFFFFF ;Z1-EXEONLYRAM
.long 0xFFFFFFFF ;Z1-EXEONLYSECT
.long 0xFFFFFFFF ;Z1-GRABRAM
.long 0xFFFFFFFF ;Z1-GRABSECT
.long 0xFFFFFFF1 ;Z1-CSMPSWD0 (LSW of 128-bit password)
.long 0xFFFFFFFF ;Z1-CSMPSWD1
.long 0xFFFFFFFF ;Z1-CSMPSWD2
.long 0xFFFFFFFF ;Z1-CSMPSWD3 (MSW of 128-bit password)
.sect "dcsm_otp_z2"
.long 0xFFFFFFFF ;Z2-LINKPOINTER1
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-LINKPOINTER2
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-LINKPOINTER3
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-PSWDLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-CRCLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-JTAGLOCK
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Reserved
.long 0xFFFFFFFF ;Z2-BOOTCTRL
.sect "dcsm_zsel_z2"
.long 0xFFFFFFFF ;Z2-EXEONLYRAM
.long 0xFFFFFFFF ;Z2-EXEONLYSECT
.long 0xFFFFFFFF ;Z2-GRABRAM
.long 0xFFFFFFFF ;Z2-GRABSECT
.long 0xFFFFFFF1 ;Z2-CSMPSWD0 (LSW of 128-bit password)
.long 0xFFFFFFFF ;Z2-CSMPSWD1
.long 0xFFFFFFFF ;Z2-CSMPSWD2
.long 0xFFFFFFFF ;Z2-CSMPSWD3 (MSW of 128-bit password)
user4661451:
哥们,你的加密弄成功了吗?