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/TMS320F28377S: Avoid program OTP for first step validation

Part Number: TMS320F28377S

Tool/software: Code Composer Studio

Dear,

We have developped software on LaunchHXL-F28377S. When We download it to own board (DSP TMS320F28377SPZPS), OTP is not programmed and return trap error.

At this step of development, it is not useful for us to program OTP of DSP.

Is-it possible to use default parameters and avoid to program OTP ?

Regards

  • Hi Stephane,

    I assume you are referring USER OTP here. USER OTP has the security configuration which user need to program if planning to secure the device. If not then user need not to program it default value in USER OTP will be good.  I am not clear why are you getting a TRAP error though. 

    Regards,

    Vivek Singh

  • Dear Vivek,

    I refer to OTP programmed by TI for DSPs in production because marking contains "TMS" word.

    I have two cases where getting TRAP error:

    Temperature:

    if(DevCfgRegs.REVID >= 3)

    {

    //

    //for production devices (Rev. C), pull the slope and offset from OTP

    //

    tempSensor_tempSlope = (int32)getTempSlope();  --> TRAP Error here

    tempSensor_tempOffset = getTempOffset();

    }

    else

    {

    //

    //for pre-production devices, use these static values for slope

    //and offset

    //

    tempSensor_tempSlope = 5196;

    tempSensor_tempOffset = 1788;

    }

    and second case:

    void AdcSetMode(Uint16 adc, Uint16 resolution, Uint16 signalmode)

    {

    Uint16 adcOffsetTrimOTPIndex; //index into OTP table of ADC offset trims

    Uint16 adcOffsetTrim; //temporary ADC offset trim

    //

    //re-populate INL trim

    //

    CalAdcINL(adc);

    if(0xFFFF != *((Uint16*)GetAdcOffsetTrimOTP)) :---> TRAP Error

    {

    I think this address are not defined. Nevertheless Eval Board (LAUNCHPAD) work fine with this code.

    Regards

  • Ok, understood. These functions are supposed to be programmed by TI. Can you take a picture of your device (top view) and send it.

    Regards,

    Vivek Singh

  • Hi,

    Can you send the snapshot ?

    Vivek Singh
  • Dear,

    I found the problem, it was a bad configuration of PLL.

    Regards