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.

MSP430F5328: MSP430F5328

Part Number: MSP430F5328

Hi TI teams,

 May I ask one question about msp430f5328 BSL? I want to customize the BSL source code project for MSP430F5328 to implement our firmware upgrade. Cause our application image size already more than half of the internal flash, so we need to add a external flash to manage the image backup or crc check etc.,the external flash connected to MCU through SPI, can I add SPI external flash read/write logic to BSL? and will the SPI read/write can working properly in BSL? 

Another, if BSL cannot do this, can I use MSPboot to do this? Currently there is no MSPboot example for MSP430F5328, if I want to customize it, is it possible? Thank you very much.

Best Regrads,

Thank you

  • Hi,

    I do not think there is a way to add SPI external flash read/write logic to the BSL. 

    And the boot code is programmed in the ROM, which can not be modified by customer. 

    Best regards,

    Cash Hao

  • All F5xx are with factory preloaded BSL stored inside 2KByte of protected flash memory. You can do what ever you wont with it until size is not over 2KByte (Info memory can be used also to extend size). Device will enter to BSL mode by special sequence on RESET / TEST pins. Check if your device will enter automatically (after reset / power up) to BSL mode if reset vector is erased (0xFFFF value), like F5xx with HID BSL.

  • Hi,

    Thank you for your reply.

    If I am not wrong there are some BSL source code for MSP430,but only few MCU has examples ,we need to customize BSL for our own MCU. 

  • Hi zrno soli,

    Thank you for your reply.

    according to below table it said 

    not sure what does this mean. Is it said the Factory version BSL not support SPI or cannot implement SPI communication in BSL.

    Another I worry about once I added SPI communication to read/write external flash the BSL image size will become more than 2KB, just now you said " the Info memory can be used also to extend size" is it, May I know how to make the info memory to be extension memory for the BSL? Thank you very much.

    Best Regards

  • TI BSL sources cover all F5xx/6xx devices. Just find similar device (family) to your.

    This table is related to BSL interface, for exchanging data between master device and BSL. Your SPI interface for exchanging data between BSL and external flash is completely another thing.

  • ok, understood, Thank you.

    Another, as you said in last last reply, how to use the info memory used to extend BSL memory size?  thank you

  • Hi,

    I found this Appnote, which may help you. 

    https://www.ti.com/lit/an/slaa450g/slaa450g.pdf

    Best regards,

    Cash Hao

  • Hi Cash Hao,

    Thank you very much.

    Best Regards,

**Attention** This is a public forum