Quantcast
Channel: MSP low-power microcontrollers
Viewing all articles
Browse latest Browse all 62309

Forum Post: RE: MSP430F249 Fail Safe Boot Loader

$
0
0
Hello Jim, Removing power during programming of Flash is not advised and violates our specification for the part. In doing so the MCU may act sporadically or not properly program. You must have a minimum of 2.2V applied to DVCC in order to properly program Flash. the only way I can see a recovery from such a state is to split your Flash in half and create two images. By utilizing parts of MSPBoot you can do this with the following scheme. You can create version numbers of your firmware that MSPBoot tries to boot up first, in which it will always try to load the latest. First it performs a CRC to make sure the firmware is downloaded correctly, and if not reverts to older firmware. This isn't foolproof mind you due to the unpredictable behavior of the MCU when programming Flash while losing power, but it could help.

Viewing all articles
Browse latest Browse all 62309

Trending Articles