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.

TMS320F2812

Other Parts Discussed in Thread: TMS320F2812

Hi,   iam using tms320f2812 dsp, recently i have faced an issue regarding OTP (one time programmable) i.e when i load the code into the DSP, the OTP will be generated, initially it was showing as 0XFC00, after some days of using the dsp, the OTP has got changed to 0XFC01. actually it should not get change. so my question is what factor made this to show like this ?? can you please help me on this ?? Thanks

  • Hi Nagaraj,

    The OTP is FLASH-based memory, so the flash programming tools are required for changing the OTP. Is it possible that a bit has flipped? Maybe.

    1. What OTP address are you referring to?
    2. Is this location now always 0xFC01 or does it change back to 0xFC00?
    3. How do you read this memory, through CCS or the MCU?
    4. Does your linker command file allocate memory in OTP or does your MAP file show any allocation to this address?

    Thanks,
    Jeff
  • Hi Jeff,

    Thanks for your reply.

    1. After loading the code into the DSP there is an option in CCS to calculate checksum, i.e checksum = flash + OTP (OTP = 0xFC01)

    2. Yeah the location is always 0xFC01 it does not change back to 0xFC00.

    3. Iam using CCS for reading the address.

    4.i did not get 4th question.

    iam looking forward to your answers...

    Thanks,

    Nagaraj

  • Okay Nagaraj, are saying:

    1. that the calculated checksum changes from 0xFC00 to 0xFC01?
    a. If so, then you need to determine what has changed in the source code or generated code from the compiler/linker
    2. or that the programmed location changes value without reprogramming?
    a. If so, please provide the memory address

    If the checksum is resulting in a different value, then could do a file comparison to understand where the change is occurring looking at the generated files from the compiler and linker. Consider looking at the absolute listing from the linker.

    Jeff
  • Hi Jeff,

       1. In that particular DSP the OTP has permanently changed from 0xFC00 to 0xFC01.  If i load the same code into the other DSP i get OTP as 0xFC00.

    seems strange but its true!  my doubt is how could this happen ??

       

    Thanks

    Nagaraj

  • It is strange. What is the exact address where this occurs?
  • Nagaraj,

    Do you see this problem in any other device (or) just this device?

    Regards,
    Manoj