Part Number: MSP432P401R
Tool/software: Code Composer Studio
Having issues loading program in MSP432P401R target. Initial problem is:
i unknown Memory map prevented reading 0x20010000
n unknown Memory map prevented reading 0x20010014
result unsigned char[16] [??? 0x20010004
[0] unknown Memory map prevented reading 0x20010004
[1] unknown Memory map prevented reading 0x20010005
.
.
I made an attempt to modify the msp432401r.gel file thinking the length was too short.
(old) GEL_MapAddStr(0x20000000, 0, 0x00010000, "R|W", 0); /* MEM_SRAM64K */
(new) GEL_MapAddStr(0x20000000, 0, 0x00020000, "R|W", 0); /* MEM_SRAM64K */
which resulted in:
i unknown Target failed to read 0x20010000
n unknown Target failed to read 0x20010014
result unsigned char[16] [??? 0x20010004
Next went to msp432p401r.cmd file and altered SRAM_DATA length
ALIAS
{
(old) SRAM_CODE (RWX): origin = 0x01000000
(old) SRAM_DATA (RW) : origin = 0x20000000
} length = 0x00010000
(new) SRAM_CODE (RWX): origin = 0x01000000
(new) SRAM_DATA (RW) : origin = 0x2000000
} length = 0x00020000 //changed from 0x00010000
Once I try to debug, this causes the software to loop with:
Texas Instruments XDS110 USB Debug Probe/CORTEX_M4_0 (In Reset)
Texas Instruments XDS110 USB Debug Probe/CORTEX_M4_0 (Running - A Reset Occurred On The Target)
When I suspend, the following message is displayed:
Texas Instruments XDS110 USB Debug Probe/CORTEX_M4_0 (Suspended - A Reset Occurred On The Target)
Default_Handler() at startup_msp432p401r_ccs.c:201 0x00001956
0xFFFFFFF8 (no symbols are defined for 0xFFFFFFF8)
Maybe its due to an overlap in the SRAM_CODE address w/ SRAM_DATA address but I'm not sure. Need a bit of help.
Thanks in advance.