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.

TMS320F28062: The value of the variable has no change

Part Number: TMS320F28062

Hi team,

The customer wants to change the values of OTP_key and OTP_BMODE addresses, so start from OTP and assign the variables to both addresses, but the values of the variables do not change which are still 0xffff: 

The variable address is assigned correctly, as shown in the following figure: 

Could you help check this case? Thanks.

Best Regards,

Cherry

  • Hi Cherry,

    I am looking into the same and will get back to you soon.

    Regards,

    Ronak

  • Hi Ronak,

    Thank you for the support.

    And the original issue has been resolved. Could you help look into the new question below?

    Need: Have the API program be hardened into OTP 

    1) First define the address and length of the OTP in the 28062.cmd file: 

    2) Then change the section load from flash to OTP:

    3) The OTP part of the program has been flashed according to the Memory Browser:

    4) Assign variables to OTP_key and OTP_BMODE to specified addresses 0x3D7BFB and 0x3D7BFE.

    5) The expressions window and map file show that the address and value are configured correctly:

    6) The DSP28062 board still fails to boot from OTP.

    Thanks and regards,

    Cherry

  • Hi cherry,

    Can you please confirm that when switching to OTP_Boot the program counter is actually going to the said location 0x3D7800 ?

    Also, if possible, can you try using Flash boot options and test that no other section of the program is causing the program. You can use the same flow only in OTP_boot_mode use any other value then the said table.

    Thanks

    Ronak