This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Download MSP430 firmware using BLE(CC2540) over SPI to MSP430

Other Parts Discussed in Thread: CC2540

I need to download MSP430 code over BLE to the CC2540, which will transmit the MSP430 code packets via SPI to the MSP430.  

1) I have successfully integrated TIs OAD profiles into our CC2540 application and have tested the OAD capability.  So, I can update the CC2540 firmware successfully.  This capability will not be used to download the MSP430 code, but it does provide a great example of how to download lots of data fast.

2) I have created a download-MSP430-code profile in my CC2540 firmware that will be used to accept the MSP430 code.  Once the PC or mobile device initiates the MSP430 download process, the CC2540 sends a command to the MSP430 to halt normal application execution and enter a download FM mode.  Due to the limited memory (of all kinds) on the CC2540, this profile and accompanying serial interface support will pass the code packets over to the MSP430 via the SPI bus.  Error checking each packet is the MSP430's responsibility.

3) Once the code download is initiated from the CC2540, the MSP430 will halt normal operations and accept only SPI packets from the CC2540 for storage into flash.

4)  I am currently working on integrating portions of the boot loader (SLAA600A) into my application on the MSP430.  This code will concatenate the packets into a location in the flash, verify and then initiated the boot strap process if the code validates at the end.

Basically, this process is an adaptation of what I have found in SLAA600A (MSPBoot  Main memory Bootloader for MSP430 Microcontrollers) and to a lesser extent, SLAU319H (MSP430 Programming via the BootStrap Loader (BSL)) and SLAA-450C (Creating a Custom Flash-Based Bootstrap Loader (BSL)).

Has anyone done this previously?  If so, are there issues that you have run into? Or issues with the outlined process?

I also have been looking for a PC or Mac tool that will allow me to download the MSP430 code to the CC2540.  I obviously would need source code as this download profile will need to customized.