Part Number: MSP430G2231
This is not really important because I'm going to fix it anyway. But...
The following appears in the custom BSL for the G2231 appearing in MSP430BSL_1_01_00_01.zip, and in all previous versions that I have checked:
EraseSeg: mov &FWKEY+ERASE, &FCTL1
And it assembles as:
mov &0xA502, &0x0128
It seems to me it should be:
mov #FWKEY...etc.
The reason I'm asking is because it appears the original instruction actually works, and I don't understand how it could possibly work. Whatever is at location 0xA502 (there's no flash there) is unlikely to contain 0xA5 in the upper byte, so the instruction should be ignored.. Or am I looking at this all wrong? Any ideas?