SLAU131Y October 2004 – June 2021
The bootloader routine is a normal function, except that it executes before the C environment is set up. For this reason, it can't use the C stack, and it can't call any functions that have yet to be loaded!
The following sample code is for MSP430F5xx and MSP430F6xx devices. For more about setting up the bootloader, see the Creating a Custom Flash-Based Bootloader (BSL) (SLAA450) application note.