SLAU320AJ July 2010 – May 2021
In addition to the Memory Protection Unit (MPU), FR59xx, FR58xx, FR69xx, and FR68xx devices feature the IP Encapsulation (IPE) module. The IPE module allows the user to specify a single memory segment to be protected against external access. See the MSP430FR58xx, MSP430FR59xx, and MSP430FR6xx Family User's Guide for information on how to invoke the IP Encapsulation feature.
To remove IPE settings, the target memory must be completely erased. Because a regular mass erase does not affect the IPE protected area, a special erase sequence, which is detailed in the following diagram below, must be performed to reset the IPE settings.
Restart device, initialize JTAG and feed in Erase command while device is in reset | |
ClrTST() | Restart device |
ClrRST() | Restart device |
StartJtag(RSTLOW) | Restart JTAG – Keep RST low device does not start |
ResetTAP() | Reset JTAG TAP state machine |
IR_Shift(IR_JMB_EXCHANGE) | Do JTAG mailbox exchange request |
DR_Shift(0xA55A) | Send device into LPM4 after BootCode execution |
DR_Shift(0x1B1B) | Send Total Erase command |
Stop JTAG (release device to run) | |
Wait until BootCode is executed and device is in LPM4 | |
Initialize JTAG access (Rest Tap) | |
Get back JTAG control calling SyncJtag_AssertPor() function |