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: How to bypass BSL

Part Number: MSPM0G1107
Other Parts Discussed in Thread: SYSCONFIG

Hi,

In our hardware design,  MSPM0G1107's PA4 and PA18 are used as I2C interface and thus pullup resistors are attatched. Now I just realized that PA18 is by defult used as BSL_Invoke. Since it is pulled up, the device won't boot up to run the applicaiton firmware directly.

Without change the hardware design, what is the best way to address this issue? I was trying to change the BCR configuration, but there is no interface in the CCS IDE to do this.

Regards,

Tianlei

 

  • Hi Tianlei,
    My recommendations will be to de-populate your pull-up from te BSL_Invoke pin, connect to the device, and configure NONMAIN so the BSL_INVOKE pin is either disabled or moved from PA18. Here's a screenshot on where to change this configuration:

    Best Regards,

    Diego Abad

  • Hi Diego,

    Does it mean that for every board, I will have to remove the pull-up resistor first, then load the project with the BSL_Invoke pin reassigned, and then put the pull-up resistor back? 

    After the above, if I want to debug my project, I will again need to revert what I did on Configuration NVM section?

    Thank you!

    Tianlei

  • Hi Tianlei,
    I assumed that SWD is not accessible. However, if the device is able to talk though the SWD pins, then you should be able to change that BSL Invoke configuration in SYSCONFIG, which means you don't need the hardware workaround.

    Best Regards,

    Diego Abad

  • Hi Diego,

    I figured out what I should do without the hardware change:

    1. create a dummy project only to modify the NONMAIN to bypass the BSL and load the binary to the device

    2. after this, I would be able to develop my regular project without touching the NONMAIN.

    Is this the proper strategy?

    Tianlei