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.

MSPM0L1105: Error while disabling the BSL.

Part Number: MSPM0L1105
Other Parts Discussed in Thread: SYSCONFIG

Hello,

I'm working on a project that requires the BSL to be disabled. But when uncheck the "Enable BSL" option, I have an error.

If I try to compile that, an error indicating that the invalid i2cSCLPin has been selected, which doesn't make much sense to me, since I'm disabling the BSL itself.

I also tried to leave it enabled but changing the "BSL Invoke Pin Level"

Sill, when I try to download this to the micro, I have an issue related to writing to the NONMAIN.

Any idea of how to solve this?

Christian

  • Hi Christian,

    Before you continue, what version of silicon are you using? Are these production devices or early sample devices? On production devices this should be doable, but on early sample devices we do not advise touching non-main at all. 

    As that error says, you will need to erase non-main memory before you can reprogram it. 

    To set your programmer to do so, right click on your project in the project explorer in CCS, and select "Properties" from the context menu. Then choose the Debug properties, and under MSPM0 Flash Settings, choose to Erase MAIN and NONMAIN memory. 

    Be advised that is still possible to lock yourself out of a device if the NON-MAIN configuration you write afterwards is invalid. The SysConfig tool should handle writing the correct non-main configuration safely, but the non-main configuration section is still a new feature, and bugs are possible to encounter, so use it at your own risk. 

    Best Regards,
    Brandon Fisher

  • Hello Brandon,

    We have the PG1 version of the silicon, early sample devices.

    We just receive a few samples from the PG2, we're going to try to create some samples with this new samples an we'll try to implement the configuration that you just facilitate to us.

    Thanks,

    Christian

  • Hi Christian,

    Glad to hear you have some production samples to try this on. It should work with those. 

    Managing parallel production and early sample setups is a bit of a nuisance, but for early samples you have to make sure you use the software versions listed in this post under the Early Samples column: 

    https://e2e.ti.com/support/microcontrollers/arm-based-microcontrollers-group/arm-based-microcontrollers/f/arm-based-microcontrollers-forum/1204644/faq-mspm0-sdk-important-note-for-early-mspm0-customers

    There won't be a non-main configuration option in the early sample versions of the tools, which is intentional to prevent people trying to modify non-main on early devices. You can maintain two CCS installations (one for early samples and one for production) if you are going to be working with both for a while. 

    Let me know how the PG2 sample configuration works out once you've had a chance to try it. 

    Best Regards,
    Brandon Fisher