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.

TM4C123GE6PM: Read protection problem

Part Number: TM4C123GE6PM
Other Parts Discussed in Thread: UNIFLASH

Hi sir,

I have a problem on TM4C123G use.

When using TM4C123G,

After programming this MCU, the program can not run after setting FMPRE

However if I do not make read-protection FMPRE, the program runs normally.

do you know the reason?

BTW, can 'LM flash programmer' this software set chip read-protection?

also, can 'uniflash' this software set chip read-protection?

I appreciate that you can provide advice for this simple inquiry.

Thanks a lot.

Regards,

  • Hi Frank,

      

    FRANK1 said:
    After programming this MCU, the program can not run after setting FMPRE

    Can you please confirm the exact bit setting of the FMPPE and FMPRE? I want to make sure you are not in the Execute-Only mode. If you are in Execuite-Only mode then there are some precautions you need to take when reading the data by your own software because any literal data read by your software will also be blocked. Check the datasheet for detail under the section "Execute-Only Protection" for detail on how to workaround this with the compiler.

      

    FRANK1 said:

    BTW, can 'LM flash programmer' this software set chip read-protection?

    also, can 'uniflash' this software set chip read-protection?

    No, the protection needs to be specified by the software. The LM flash programmer/Uniflash cannot set up which block of the flash to protect.