Other Parts Discussed in Thread: MSPWARE, MSPBSL
We have a small USB sensor that uses the MSP430F5526. We rely on the bootloader to program new boards as well as to update firmware should the need arise. Our program uses the python source code (with a few modifications to fix a few timing issues) given in the bootloader example code. We have had these in production for approximately 3 years without any problems. Lately, the application is not being successfully written to flash memory. Initializing the factory BSL works, writing the RAM BSL works, re-enumerating to the RAM BSL works, and the RAM BSL appears to accept the commands sent to it with no problems. If I send an unsupported command like TX_DATA_BLOCK, it responds with the correct error code 7 for unknown command.But for whatever reason, the flash memory is not being written. Has anyone seen this before or knows how to fix it?
It may be helpful to know that the MSP430 USB Firmware Upgrade Example v1.3.1 output is:
Sending RAM BSL v00.07.08.38
Done RAM BSL v00.07.08.38
USB device was unplugged!
Unsuccessful in starting the BSL. Restarting.
USB device was unplugged!
However our custom script seems to have no problem starting the RAM BSL. I believe this is because we allot additional time for re-enumeration after the ram bsl has been written. I have also tried the newer version of RAM BSL v00.08.08.38 with the same results.