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.

MSPM0G3519: MSPM0G3519

Part Number: MSPM0G3519

Tool/software:

Dear,

I have the following *.map file of my project MSPM0G3519.

As far as I see this is all good and all sections are within flash, ram ... etc...

******************************************************************************
TI ARM Clang Linker PC v3.2.1
******************************************************************************
>> Linked Thu Jan 16 10:43:09 2025

OUTPUT FILE NAME: <PAD.out>
ENTRY POINT SYMBOL: "_c_int00_noargs" address: 000076f1


MEMORY CONFIGURATION

name origin length used unused attr fill
---------------------- -------- --------- -------- -------- ---- --------
FLASH 00000000 00080000 00008d68 00077298 R X
SRAM_BANK0 20200000 00010000 00007178 00008e88 RW X
SRAM_BANK1 20210000 00010000 00000000 00010000 RW X
BCR_CONFIG 41c00000 000000ff 00000000 000000ff R
BSL_CONFIG 41c00100 00000080 00000000 00000080 R
DATA 41d00000 00004000 00000000 00004000 R


SEGMENT ALLOCATION MAP

run origin load origin length init length attrs members
---------- ----------- ---------- ----------- ----- -------
00000000 00000000 00007c08 00007c08 r-x
00000000 00000000 000000c0 000000c0 r-- .intvecs
000000c0 000000c0 00007b48 00007b48 r-x .text
00007c10 00007c10 00001160 00001160 r--
00007c10 00007c10 00001100 00001100 r-- .rodata
00008d10 00008d10 00000060 00000060 r-- .cinit
20200000 20200000 0000707c 00000000 rw-
20200000 20200000 00006a8e 00000000 rw- .bss
20206a90 20206a90 000005a6 00000000 rw- .data
20207038 20207038 00000044 00000000 rw- .TrimTable
2020ff00 2020ff00 00000100 00000000 rw-
2020ff00 2020ff00 00000100 00000000 rw- .stack

However, the debugger reports different things:

CORTEX_M0P: GEL Output: Memory Map Initialization Complete
CORTEX_M0P: * WARNING *: The connected device is not MSPM0G151X/G351X 

>>>> this is strange since 3519 is on the board...
CORTEX_M0P: Error initializing flash programming: Invalid device ID

>>>> also strange
CORTEX_M0P: Loader: One or more sections of your program falls into a memory region that is not writable. These regions will not actually be written to the target. Check your linker configuration and/or memory map.

>>>> also strange

Also my configuration file seems to be correct.

P.S. 

"C:\ti\mspm0_sdk_2_02_00_05\source\ti\drivers\lib\ticlang\m0p\drivers_mspm0g151x_g351x.a"

Since I didn't find this file, I renamed it to the file that I have found:

 drivers_mspm0gx51x.a

Can somebody help me please?

Best regards,

John

  • Hi John,

    CCS 20 will have a fix for this, but you can also go into your project settings and enable the wait for debug option. The cause is from the errata - FLASH_ERR_01

    Regards,
    Luke