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.

How to program OTP flash areas

Other Parts Discussed in Thread: UNIFLASH, HALCOGEN

Hi,

Each memory bank on the RM48 contains a OTP customer region. 

What libraries are available for me to program these regions; I may want to program then via JTAG or via a custom software program. I am pretty sure TI will have its own windows type utility to program these areas; but I need to develop my own.

Anyone any pointers to relevant documentation?

Kind Regards,

Owain

  • http://e2e.ti.com/support/microcontrollers/hercules/f/312/p/302589/1069751.aspx#1069751

    goes someway to explaining; but only discusses using a TI Program to program flash. I need to program manufacturing data either via JTAG or a test program.

  • Owain,

    How are you planning to program your application to the device flash memory?
    TI provides a stand-alone Flash utility (UniFlash) that can be use to program the main flash banks as well as the Customer OTP sectors.

    If you want to develop your own JTAG flash programmer, this is not a trivial task.
    I can search and see if we have any documentation to explain all the JTAG detail you need to understand to gain access to the device via JTAG using your own solution.

    Please let me know what is your detailed plan and I will see how I can help.

  • Hi Jean-Marc,

    No; ideally we don't want to use JTAG; ideally programs written to use your flash API's. Is the following the correct document?

    http://www.ti.com/lit/ug/spnu493e/spnu493e.pdf

    I am looking at two aspects of programming  flash at the moment; OTP usage for manufacturing data and normal flash upgrade via our product specific bootloaders. Hopefully all can be achieved using TI flash API's.

    Kind Regards,

    Owain

  • Owain,

    The document you referenced is not the correct one for the device you are using.

    The FLASH API and documentation are installed during HalcoGen installation and should be located by default in:

    C:\ti\Hercules\F021 Flash API\02.00.01

    In this directory you will find a document SPNU501E.pdf, F021 Flash API Reference Guide. This is the correct one.
    The F021 Flash API provides all routine to program and erase the main flash bank and program the Customer OTP sectors.