This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS320F280049C: 280049 DCSM password of flash bank0 and bank1

Part Number: TMS320F280049C


when i debug the DCSM of 280049, I find in " f28004x_dcsm_z1otp.asm" , the flash bank0 has password as follow:

.sect "b0_dcsm_zsel_z1"

;; .long 0xFFFFFFFF ;B0_Z1OTP_EXEONLYRAM
;; .long 0xFFFFFFFF ;B0_Z1OTP_EXEONLYSECT
;; .long 0xFFFFFFFF ;B0_Z1OTP_GRABRAM
;; .long 0xFFFFFFFF ;B0_Z1OTP_GRABSECT

;; .long 0xFFFFFFFF ;B0_Z1OTP_CSMPSWD0 (LSW of 128-bit password)
;; .long 0xFFFFFFFF ;B0_Z1OTP_CSMPSWD1
;; .long 0xFFFFFFFF ;B0_Z1OTP_CSMPSWD2
;; .long 0xFFFFFFFF ;B0_Z1OTP_CSMPSWD3 (MSW of 128-bit password)

but the bank 1 has no password, you only can set the EXEONLYSECT and GRABSECT

.sect "b1_dcsm_zsel_z1"
;; .long 0xFFFFFFFF ;Reserved
;; .long 0xFFFFFFFF ;B1_Z1OTP_EXEONLYSECT
;; .long 0xFFFFFFFF ;Reserved
;; .long 0xFFFFFFFF ;B1_Z1OTP_GRABSECT

;; .long 0xFFFFFFFF ;Reserved
;; .long 0xFFFFFFFF ;Reserved
;; .long 0xFFFFFFFF ;Reserved
;; .long 0xFFFFFFFF ;Reserved

so my question is: what's the password of bank1,  if i want bank0 and bank1 have a same password, how should i set it??

  • Hi,

    By design, both Bank0 and Bank 1 are governed by the same password. So there is no action needed for both the banks to have the same password. It is true by design.

    However, if there is a need for you to set different passwords for both the banks, you can achieve that as well by programming the link pointers for Bank0 and Bank1 differently.

    Hope this answers your query.

    Please click on "This resolved my issue" button at the bottom of the post if this response has answered your query.

    Thanks & Regards

    Pramod

  • thank you .

    if i set different passwords for bank0 and bank1,  through linkpointer, how can i unlock bank1, since there is no window for us to fill password for bank1 in CCS

  • Hi,

    A correction to my earlier response(Apologies for that). You cannot have different passwords govern the zone lock/unlock status across banks. The option of link pointer configuration for Bank 1 is provided only to change the settings of the GRABSECT and EXEONLYSECT for Bank 1 sectors which are different from the GRABSECT and EXEONLYSECT of BANK0 sectors. The default zone password is still derived based on the link pointer of Bank 0.


    Hope this answers your query.

    Please click on "This resolved my issue" button at the bottom of the post if this response has answered your query.

    Thanks & Regards

    Pramod

  • thank you for your professional answer. i got it .

    could u help me another question:

    e2e.ti.com/.../tms320f280049c-280049-dcsm-password-change-debug