Other Parts Discussed in Thread: UNIFLASH, MSP-FET
I am developing my custom board where MSP430FG6626 is a SPI-slave mcu device of a master ARM-based cpu.
I will need to update the MSP430 firmware through the master cpu application code. I could develop my custom SPI-base bootloader, but why not to use BSL already available for MSP430 mcus? Unfortunately, till now I never used BSL for MSP430 devices programming; I know very little about it.
For that porpose, I routed all the UART BSL pins (RST/NMI/SBWTDIO, TEST/SBWTCK, P1.1 (BSLTX), P1.2 (BSLRX)) to the master cpu.
The MSP430FG6626 devices come preprogrammed with USB BSL, but my application does not plan to use USB functions. I see MSP430FG6626 devices may also be programmed with UART BSL in the BSL memory, replacing the factory-supplied USB BSL preprogrammed code.
My questions:
- Where do I find UART BSL firmware code for MSP430FG6626 devices?
- How do I program UART BSL on my MSP430FG6626 device? Is the Spy-Bi-Wire interface with MSP-FET430UIF and UniFlash tool enough?
- How do I check UART BSL for programming my MSP430FG6626 device? Do MSP-FET430UIF and UniFlash tool support BSL programming mode?
- Is there an application note or a demonstration code for an embedded BSL programmer C application to be used on my master cpu?
- What if I need to customize the UART BSL code? Is UART BSL source code available?
Thanks!