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.

TMS320F2800157: DCSM Programming Abnormality

Part Number: TMS320F2800157


Tool/software:

Hi experts

My customer now have a problem about 2800137/2800157. When there is a password in the project and there is data in the address areas 0x78010 and 0x78020, it is necessary to call TI's flash_api, Fapi_issueProgrammingCommand to rewrite these address areas. Before the call, 0xFFFFFFFFC has been written to the address 0x52210 through Fapi_setupBankSectorEnable to enable the modification permission for the DCSM OTP area of the chip. This is a normal process, which has been verified in 280039 and 28p650 and can be used normally.

At present, the problem is that during the programming process of the password area of the 2800135 and 2800157 chips, when rewriting these two addresses in an empty chip (where the password areas are all at initial values), the FSM module will report an error and stall the programming process. At this point, without making any changes, if you power on again and repeat the programming operation once, it can be completed successfully according to the normal process. That is, two programming operations are required to program the project with a password into an empty chip. Please help give some comments.

  • Hi Ethan,

    Programming the CSM password locations and reading them back will cause the device to become locked and halt the programming process. On the next programming attempt, after you have unlocked the device, the programming attempt will complete since the password is not being changed from it's previous value.

    Are you able to disable the verify option in the flash API to prevent a read-back on first programming attempt? I may need to loop in a flash API expert to assist with this issue.

    Thank you,

    Luke