Hi all!
I'm trying to figure out what the best approch to a custom boot loader is, i'm using a MSP430F5438. Pin 9.4 and 9.5 for UART RX and TX. These pins are connected to a bluetooth module.
My main goal is to receive a new firmware via bluetooth, write this in the flash(?) and at the end swap the firmware with the new firmware.
I have a few questions:
1) Can i write this in C? I have found some assembly examples but i want to write this in C.
2) Can use the main flas memory banks for this purpuse or do i have to use the BSL memory.
3) When the new firmware is received, how do i "switch" to the new firmware?
4) Is is possible to switch firmware on run time? I can receive the new firmware and write it to the flash. How do i switch to the new firmware?
Any sugestions are welcome!