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.

TM4C1230H6PM: Factory reset about LM Flash Programmer

Genius 5675 points
Part Number: TM4C1230H6PM

Tool/software:

Hi experts,

Does the LM Flash Programmer perform datasheet "4.3.4.3 Recovering a "Locked" Microcontroller" during flashing?

Also, am I correct in understanding that the LM Flash Programmer does not provide a command to perform "4.3.4.3 Recovering a "Locked" Microcontroller"?

Best regards,
O.H

  • Hi,

      LM flash programmer implements the 'Unlock' operation. See below. Click the 'Unlock' button and follow the instructions that prompts you. 

  • Hi,

    Sorry for the late reply, and thank you for your support.

    I understand that the recovery sequence is not executed automatically when flash programming (when the "Program" button is pressed), but is executed manually when the "Unlock" button is pressed.

    Best regards,
    O.H

  • Hi,

    I understand that the recovery sequence is not executed automatically when flash programming (when the "Program" button is pressed),

    That is not entirely correct. When you hit the 'Program' button, the flash needs to be first erased in order for the subsequent 'Program' operation to proceed. However, this is merely an erase of the 'main' flash memory. This erase does not include the NVM registers like USER0/USER1 and BOOTCFG registers. It does not include erasing the on-chip EEPROM either. It is the 'Unlock' operation which is a form of mass-erase that will erase everything including the main flash, NVM registers and EEprom and restore the device to its factory setting. 

  • Hi,

    Thank you for your detailed explanation.

    I will contact you again if I receive any additional questions from customer.

    Best regards,
    O.H