I'm working with an msp430f1232. For the purposes of in-system programming I'm trying to use the BSL. I am, however, not having much success and was wondering if anyone else is using it successfully and could possibly give me a hint what I'm doing wrong. The symptoms are as follows:
First I tried following the instructions contained in document SLAA089B, "Features of the MSP430 Bootstrap Loader": Step 1) I twiddle the -RST and TEST pins to activate the BSL Step 2) Synchronize with the MSP430 BSL: TX: 0x80 RX: 0x90 This is, I think, a Good Thing(tm). Step 3) Perform mass erase: TX: 0x80 TX: 0x18 TX: 0x04 TX: 0x04 TX: 0x00 TX: 0x00 TX: 0x00 TX: 0x00 TX: 0x7B TX: 0xE3 RX: 0xA0 This is not good, so I read further. After reading document SLAA096B, "Application of Bootstrap Loader in MSP430 With Flash Hardware and Software Proposal", as referenced by document SLAA089B, I do the following: Step 1) I twiddle the -RST and TEST pins to activate the BSL Step 2) Synchronize with the MSP430 BSL: TX: 0x80 RX: 0x90 Step 3) Perform mass erase: TX: 0x80 TX: 0x18 TX: 0x04 TX: 0x04 TX: 0x00 TX: 0xFF TX: 0x06 TX: 0xA5 TX: 0x7D TX: 0xB9 RX: 0xA0 As a sanity check, I took the example software provided with document SLAA096B, modified it to work with a non-windows platform, compiled, and ran it. Its output conforms with my second example and has the same result. So, I'm puzzled. I've verified the hardware and everything appears to be correct (I even double-checked the serial stream on an oscilloscope) so I'm leaning toward a software issue but at this point after following TI's ICD I'm just puzzled. Any pointers anyone can provide would be greatly appreciated. Thanks for reading!