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.

CCS/TMS320F28379D: DCSM OTP memory programming error

Part Number: TMS320F28379D
Other Parts Discussed in Thread: UNIFLASH

Tool/software: Code Composer Studio

Diar sirs.

We use LanchPad XL tms320f28379D with CCS6.2.0 to debug our code.

Our problem is to write some OTP location, when we program DCSM OTP memory.

In detail:

we use F021API library procedure Fapi_issueProgrammingCommand() for writing each 8 words

Fapi_issueProgrammingCommand(DstAddr,SrcAddr,8,0,0,Fapi_AutoEccGeneration);


1. Write first 16 words from start of OTP range for security zone (LINKPOINTER[1,2,3] values). It works:  OTP values and LINKPOINTER register values is OK.
2. Write next 16 words (PSWDLOCK,CRCLOCK,BOOTCTRL values). It do not works: words 0x10..0x17 written ok,
     but BOOTCRL value stays 0xFFFFFFFF, and Fapi_issueProgrammingCommand() returns status 507 for words 0x18..1F).
3. Write to any other 16-word range (ZONESELECTBLOCK_N) is successful - checked by reading OTP and by Secure/Unsecure zone with a password.

We try this on 4 zones ( CPU1 Z1,Z2; CPU2 Z1,Z2 ) with any variations, but have a error stable.
Before writing this locations we check it clear - all 0xFFFFFFFF.

Uniflash utility writes the BOOTCRL value successfully.

Our question - is that location (words 0x18..0x1F)  have a special requirements for programming?