SLUAAP5 july   2023 UCD3138 , UCD3138064 , UCD3138064A , UCD3138128 , UCD3138128A , UCD3138A , UCD3138A64

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. 1Why Lockup Can Occur
  5. 2Reasons for Lockup
    1. 2.1 Wrong Code in the load.asm
    2. 2.2 Misoperation with TI GUI
    3. 2.3 zero_out_integrity_word Function Fails
    4. 2.4 PMBus Communication Fails
    5. 2.5 Unexpected Occurrences
  6. 3How to Avoid a Lockup
  7. 4Unlock with JTAG
    1. 4.1 Enable JTAG Functionality
    2. 4.2 New Target Configuration in CCS
    3. 4.3 Clear the Flash
  8. 5Summary
  9. 6References

Clear the Flash

Right click on the ucd3138064a-xds110.ccxml, select Launch Selected Configuration. The debug window appears as in Figure 4-5. On the top menu, click Run > Connect Target.

Use the following steps:

  • Go to the Registers tab, clear the RONLY bit in MFBALR1 register.
  • Set the value of the FLASHILOCK register as 0x42DC157E.
  • Set the MASS_ERASE bit in PFLASHCTRL1. This erases the block 1 in UCD3138064A.
  • Exit from debug mode and reset the device. The device is now in ROM mode.

GUID-20230608-SS0I-RS51-SKVB-JJ23XJDGCDM4-low.png

Figure 4-5 Debug Mode