SLAA450G April 2010 – April 2020
Answer: The source code and the firmware images are available from the CUSTOM-BSL430 link at Bootloader (BSL) for MSP low-power microcontrollers.
Answer: When the Custom BSL is programmed in the protected memory, it is secured from erasing and unintended execution. This configuration also supports the invoke sequence, where the bootcode executes the BSL when the invoke sequence is applied. In addition, the custom BSL does not occupy any of the main memory space.
Answer: Yes. After starting the debug session, set the Program Counter (PC) to point to the BSL entry location (@0x1000).
Answer: The factory BSL (also included in the Custom BSL) provides the SET PC command. This command sets the PC register to the given address to start the application.
Answer: The devices that come from the factory are erased, and the interrupt vectors are blank (0xFF). This means that the BSL password for initial programming is the default password (all 0xFF).
Answer: The MASS ERASE command erases all banks of the main memory. Information memory segments A to D and the BSL segments A to D are not erased.
Answer: Yes, by using BSL when the BSL is unlocked with the correct password.
Answer: If the BSL signature is corrupted or the BSL application is not functional, the BSL can still be recovered or reprogrammed using JTAG or SBW, as long as these interfaces are not locked.
Answer: The IAR project in the Custom BSL430 package was built in IAR 6.30.
Answer: MSP430 Custom BSL 1.1.0 provides the CCS example that can be easily imported to CCS.
Under "Download Options", select "Allow Read/Write/Erase access to BSL memory".
Under "Erase Options", select "Erase main and information memory".
NOTE
Due to current compiler restraints in CCS, some Custom BSL combinations will not compile under 2KB memory. If the application must have the BSL completely in its 2KB memory region, use IAR to compile the custom BSL.