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.

writing to OTP

HI all,

I am new to OTP programming. I want to know how to write data ( assign some values in otp) to the OTP memory. i don't want to change any bootloader function, only just want to write some values to otp. Is it possible to do with the ccs? Can anyone tell the steps to do that.

Thank you.

  • Hi Githin,

    Githin George said:
    I am new to OTP programming. I want to know how to write data ( assign some values in otp) to the OTP memory. i don't want to change any bootloader function, only just want to write some values to otp. Is it possible to do with the ccs? Can anyone tell the steps to do that.

    Why not emulate EEPROM in one of the Flash Sector?  You can do this using CCS and Flash APIs. Let me know if you need more help on this topic. As for OTP, you 'll have to customize your bootloader. More info here:

    http://www.ti.com/lit/an/spraaq3/spraaq3.pdf

    Regards,

    Gautam

  • Hi Gautam,

    Thanks for the reply.

    Sure i need help on this OTP programming. What i understood from the pdf is that we are writing a SPI bootloader code to the otp. 

    Is the Linker Command is responsible for the OTP writing?

    If i edit the Init_Boot.asm and Linker command, will it affect the controller operation?

    what is the factory built bootloader function, is it boot from flash?