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.

MSPM0G1107: BSL Update FW Memory Question

Part Number: MSPM0G1107


Tool/software:

Hi Team,

Our customer have 

tried the example bsl_host_mcu_to_mspm0g1x0x_g3x0x_target_uart, it can success to update FW.

But there are few questions need comments.

 

  • How to config the App1 structure which defined in application_image_uart.h. What are the purposes of these two partitions(1400, 16)?

  • How can I merge the code to our application code? I'm still a bit puzzled about how to set the BSL UART baud rate from 9600 to 115200 with the BSL Plugin sample code?

  • How to avoid to erase the user data partition “EEPROM” when we do the OTA update by SBL UART?

 

MEMORY

{

    FLASH           (RX)  : origin = 0x00000000, length = 0x0001F000

    EEPROM          (RWX)  : origin = 0x0001F000, length = 0x00001000

    SRAM            (RWX) : origin = 0x20200000, length = 0x00008000

    BCR_CONFIG      (R)   : origin = 0x41C00000, length = 0x00000080

    BSL_CONFIG      (R)   : origin = 0x41C00100, length = 0x00000080

}

Thanks for your support in advance! 

  • Hi Eason,

    What are the purposes of these two partitions(1400, 16)?

    It is used for twice loading.

    App0 and App1 combined to a whole frimware. We recommend to load the first 8 bytes at last, so it divided it to two parts.

    How can I merge the code to our application code? I'm still a bit puzzled about how to set the BSL UART baud rate from 9600 to 115200 with the BSL Plugin sample code?

    Please refer to the UG: https://www.ti.com/lit/an/slaae88c/slaae88c.pdf  && https://www.ti.com/lit/ug/slau887/slau887.pdf 

    As target is default as 9600, so you should firstly establish the connection in 9600 baud rate, then configure the target to 115200 by send the BSL command, and finally configure your host at new baud rate.

    How to avoid to erase the user data partition “EEPROM” when we do the OTA update by SBL UART?

    You should take care on the BSL command, use CMD Flash Range Erase, rather than the CMD Mass Erase (default method in example project).

    B.R.

    Sal