Normally, when locking the CPU by writing stuff to JTAGSIGNATURE and
BSLSIGNATURE, you can still get it back by issuing an ERASE_USER_CODE
command (including losing your flash contents of course).
However, this seems to fail when the RESET pin had been configured in
NMI mode. I have used these commands during initialisation of my code
bis #SYSNMIIES, &SFRRPCR bis #SYSNMI, &SFRRPCR bis #NMIIE, &SFRIE1
and locked the two *SIGNATURE sections and used MSPFlasher -e ERASE_USER_CODE
using an MSP-FET and the SBW-Interface and it just told me that the
debug interface had been locked (it works when NOT enabling the NMI
feature). Luckily I got the device back by using the monitor programme
in my software to overwrite SFRRPCR contents.
Is this the expected behaviour and is it documented somewhere (I didn't
find anything)? If not it might qualify for an errata note if there is no other
way to get the CPU back...