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.

CCS/msp430f5659: msp430f5659 bsl by another mcu.

Part Number: MSP430F5659

Tool/software: Code Composer Studio

Hi,

I'm using msp430f5659 mcu.

And, I want  to update firmware by another mcu(nordic nRF52832).

Msp430f5659 is connected by spi with nRF52832 in my schematic.

I planned over-the-air programming for msp430f5659 through nRF52832.

I know msp430f5xx series support UART, I2C and USB BSL.

But, when i read this wiki, it is possible to use SPI instead of I2C or UART.

I read msp430 can access bsl by ((void (*)())0x1000)() without reset.

Then, Where do i save binary code download by spi?

And, How to call binary code when calling ((void (*)())0x1000)()?

I don't know how to write binary code to main memory after called ((void (*)())0x1000)().

Thank you.

Regards

Youngjun.

  • Hi Youngjun,

    If you want to use SPI for firmware update on MSP430F5659, the BSL on 0x1000 will not work for this. So you need to write your own BSL code.

    There are two documents and example code for your reference.

    1. MSP430FRBoot – Main Memory Bootloader and Over-the Air Updates for MSP430™ FRAM Large Memory Model Devices

    www.ti.com/.../slaa721a.pdf

    2. MSPBoot – Main Memory Bootloader for MSP430™ Microcontrollers

    www.ti.com/.../slaa600b.pdf

    Regards
    KC
  • Hi KC Xu.

    Thanks for your replies.

    I have some question about MSPBoot.

    First, i downloaded MSPBoot 1_01 version.

    But, this version is not include msp430f5659 project.

    Is there exist MSPboot example code for msp430f5659?

    Second, if msp430f5659 example is not exist, What should i change for msp430f5659 in MSPBoot 1_01 version?

    Is there any guide or CCS setup for modifying and porting MSPBoot?

    Last, Is it possible to enter bootloader just calling 0x1000 in application code? 


    Thank you.
    regards
    Youngjun

  • Hi Youngjun,

    There is no example code for msp430f5659 in MSPBoot but you can refer to G2553_SPI which is flash base and SPI communication, similar to what you want.
    The UG slaa600a.pdf has detail description about the software package.

    Target: G2553_SPI ,
    Host: MSP-EXP430F538

    With BSL in 0x1000 it only support USB/UART, not SPI...

    regards
    KC

**Attention** This is a public forum