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.

LP-MSPM0G3507: Regarding ECC enablement when Flashing from Code composer studio

Part Number: LP-MSPM0G3507
Other Parts Discussed in Thread: MSPM0G3507
Hello.

I'm using Code composer studio 12.4.0.
When writing a project such as empty_LP_MSPM0G3507_nortos_ticlang, it seems that the MAIN ECC Code is also written to 0x41800000.
In what settings is this enabled?
I will be moving to enable ECC in the future, but I feel strange that it is enabled even though I have not set anything.
  • Hello,

    By default on MSPM0, code is loaded in the ECC protected region of flash starting at 0x00000000. The TI Clang documentation describes general use cases for all MCUs, and is not device specific. 

  • thank you.

    >By default on MSPM0, code is loaded in the ECC protected region of flash starting at 0x00000000. 

    Regarding this, I would like to know where to configure to enable ECC in CCS.
    Or is there no such setting?

    I don't have a problem if ECC is enabled with the default settings, but I would like to know this information in order to create specifications for building a development environment.

  • I am expecting to build and program the output file with MSP GANG.

    To do this, I think it is necessary to enable ECC in the cmd file.
    However, if you change the setting to enable ECC in the cmd file, I think it is necessary to disable the ECC setting in CCS. Therefore, I would like to know more about how to turn on/off ECC settings in CCS.

  • I have an image like this.
    I'm sorry that I don't quite understand.

    Thank you.

  • Hello Kei,

    There are options wihtin the linker section (linker flags) in CCS to not utilize ECC.

  • ありがとう。

    そのオプションはここにありますか?
    ON/OFFを切り替えてみましたが、挙動は変わりませんでした。

  • Hello Kei,

    I got some clarification from our software team here. The ECC flags found in TI CLANG compiler can be used to generate the actual ECC codes and possibly inject errors. By default it will not have any effect on MSPM0 devices as the FlashCTL calculates and writes the ECC automatically when using ECC region (default) .

    If you wanted to use no ECC by default, then you would need to modify the linker file to switch the default Flash regions to their prospective non-ECC area mapped regions. (Fash default to 0x41400000). 

  • thank you.
    I just cared too much.
    I will proceed with the evaluation with Default and look at the manual again when using MSPGANG.