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/read User2 and User3 flash registers?

Other Parts Discussed in Thread: EK-TM4C1294XL, UNIFLASH, LMFLASHPROGRAMMER

Hi.

Right now I'm playing with EK-TM4C1294XL evaluation board. Eventually I'm going to use the uC in my application.

The LM Flash Programmer utility has the option of programming MAC address to the uC, which is stored in User0 and User1 flash registers.

I want to use also User2 and User3 register for my needs, but I don't see how to program them and how to read them (FlashUserGet function reads only the first two).

Please help.

Thanks.

  • Hello Michael,

    You may create a function similar to the FlashUserGet to add the USER_REG2 and USER_REG3. Or you can modify the existing function and recompile the driverlib.

    BTW, that is a good suggestion to add to the existing driver files. I will file the same into the enhancement request

    Regards
    Amit
  • Thank you, Amit.

    I will create this function, as you've suggested.

    But there is still the problem of programming these registers using LM Flash Programmer, when my board will reach production stage. During assembly/validation the MAC address will be programmed, but User2 and User3 are not accessible from LM.

  • Hello Michael,

    There are no planned updates to the LMFlashProgrammer as there are more such registers that may be configured at production. For such application we either propose using the dss/gel interface with UNIFLASH or Elpotronics Programmer.

    Regards
    Amit