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.

MSPM0L1106: MSPM0L1106 Firmware

Part Number: MSPM0L1106
Other Parts Discussed in Thread: UNIFLASH, MSPM0L1306

Tool/software:

Hi ti team,

I have question and please help to provide more information to me.

 

Q1 : Is it possible to set block of flash memory being write protected and unprotected by firmware itself?

Q2 : If answer of Q1 is yes, please help to provide more information on how to set protected and unprotected.

Q3 : What is the minimum size of block of flash memory being protected?

  • Hi, Smith,

    You can set specific areas of flash to be write-protected or not by software. For further information about MSPM0L1106 flash write protection mechanism, please refer to "MSPM0L1106 TRM(Technical Reference Manual)" — chapter 6 "NVM(Flash)" — chapter 6.4 "Write Protection"  MSPM0L1106 TRM Website link

    You can configure the dynamic write protection by setting up the CMDWEPROTA/CMDWEPROTB registers in the flash controller, for detailed information about these registers configuration, also please refer to the TRM — chapter 6.6 "FLASHCTL Registers" in the above link.

    Regarding your third question, if you use CMDWEPROTA register to set write-protected area of flash, this register has 32 bits, allowing the first 32 sectors(32KB) of the main region to be protected from program or erase, each bit protects 1 sector(1KB), which corresponds to the minimum size of block of flash memory being protected you have mentioned. You can also refer to the TRM file for more details.

    B.R.

    Peter

  • Hi Peter,

    We are target to use MSPM0L1106 for our product and using the UniFlash program to upgrade the firmware through BSL.
    However, I found that there is not MSPM0L1106 (BOOTLOADER) support in UniFlash as below. But bootloader is support for MSPM0L1306, i.e. EVB.

    From MSPM0L1106 datasheet, BSL is supported.

    Can you clarified the following :
    - Does MSPM0L1106 support BSL for firmware upgrade?
    - How to use UniFlash to do the firmware upgrade?
    - Or what is the software used for MSPM0L1106 firmware upgrade through BSL?

  • Hi switch,

    Firstly, according to your question, MSPM0L1106 does support BSL, If the drop-down menu in UniFlash does not have this option, it means that it is not currently supported separately, but there are existing other ways to use BSL to burn firmware.

    For saving your time, since that MSPM0L1306 and MSPM0L1106 are very similar except for some peripheral like analog resources, you can first try to select MSPM0L1306(BOOTLOADER) in UniFlash to burn firmware for MSPM0L1106.

    If it doesn't work, please refer to this document MSPM0 Bootloader (BSL) Implementation (Rev. C) , you can mainly focus on chapter 3(Bootloader Host), it provides two extra methods to do BSL test.

    B.R.

    Peter