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.
Part Number: MSP432P401M
Tool/software: Code Composer Studio
Hello,
I need desperate help. I have two MSP432P401R LaunchPad - Red 2.x (Red) witch is good works with "TI-RTOS" and with "No RTOS" projects.
And came some prototype pcb with "MSP432P401MIRGCR" processor (with 32MHz HFXT and 32,768kHz LFXT), wher with the "XDS110 USB Debugger" also work with "No RTOS" projects after when changed the "Device Variant" and the "Linker command file" for "msp432p401m.cmd" in property.
Example: "dev.ti.com/.../node witch is work.
But when i try some TI-RTOS project where i also changed the Property, ther only "MSP_EXP432P401R_TIRTOS.cmd" have for "MSP432P401M" "Device variant" witch is working for complying, but the debugger throw this error message:
On Debug Console:
Texas Instruments XDS110 Debug Probe/CORTEX_M4_0(In Reset)
On console:
CORTEX_M4_0: Trouble Halting Target CPU: (Error -1266 @ 0x0) Device is held in reset. Take the device out of reset, and retry the operation. (Emulation package 9.1.0.00001)
CORTEX_M4_0: GEL Output: Memory Map Initialization Complete
CORTEX_M4_0: GEL Output: Halting Watchdog Timer
Now, i don’t know ther need change any other things or property, or the Dependencies "tirtos_builds_MSP_EXP432P401R_release_ccs" project not correct for MSP432P401M.
Can anyone please throw some lite on this.
Hi Klaus,
Can you point to the specific example TI-RTOS project that you used where you run into this problem?
Srinivas
Hello Srinivas,
Special examples:
-dev.ti.com/.../node
-dev.ti.com/.../node
In the prototype the µC is RGC64 package and their make the configuration necessary the LDO in "Active State In Power Performance Level" (The µC VCORE pin connect to 100nF condensator for LDO-only operation)
This parameter not possible set in SysConfig in Performance Level 1-3, while this is readable only.
How can this setting be modified?
Klaus
Hello,
Here are the CCS Diagnostic Logs and the CCS Installation Logs:
Part Number: MSP432P401M
Tool/software: Code Composer Studio
Hi,
We have one LaunchPad MSP432P401R running. Here everything works fine.
We have made our own prototype HW with MSP432P401M (HFXT 32MHz, 64 pin, 128kB Flash, 32 kB SRAM).
The VSW Pin is unconnected (This requires the LDO-only operation) (VCORE Pin: Pull down with 100nF)
With this prototype we have problems:
-A No-RTOS Project (Example: blinkled_msp432p401r_MSP_EXP432P401R_nortos_ccs) is working fine
-When we try projects with TI-Rtos (Example: empty_MSP_EXP432P401R_tirtos_ccs; nvsinternal_MSP_EXP432P401R_tirtos_ccs, uartecho_MSP_EXP432P401R_tirtos_ccs), the processor stays "In Reset":
On Debug Console we see: (Picture 1.png)
Texas Instruments XDS110 Debug Probe/CORTEX_M4_0(In Reset)
And then stops the debug: (see Pause.png)
when I step into: (see LastBootASM.png)
Step into again: (see LastHWIASM.png)
When going on, program goes back to the beginning (see again Pause.png)
Settings:
-HFXT quartz setting: SysConfig -> TI Drivers -> Power -> Advanced Configuration -> Enable HFXT Clock -> HFXT Frequency
-Packet form: in new SysConfig there is only the possibility to select MSP432P401R, not M-type with Package RGC64
-Device variant: Project Property -> General -> Device -> Variant: MSP432P401M
But then the Linker Command file stays also: MSP_EXP432P401R_TIRTOS.cmd witch maybe not compatible with MSP432P401M?!
-LDO-only operation: SysConfig -> TI Drivers -> Power -> Performance Level x -> Active State: LDO
(But for Performance Level: 0 - 3 we cannot set, they are readonly)
"PowerMSP432PerfLevels Configuration Synopsis: inst.activeState = 'LDO'; // Active State"
Could you please take a look on this issue? It's quite urgent and we need to solve this.
Thanks,
Alen
Hi Alen,
Could you please try with the attached linker script. This is modified from the example project for empty_MSP_EXP432P401R_tirtos_ccs at http://dev.ti.com/tirex/explore/node?node=AFqRyiHUqMLCcrGtKErw-A__z-lQYNj__LATEST and modified it for MSP432P401M. You can compare and see the differences between the .cmd files.
Srinivas
Hi Srinivas,
Thank for the help and the answer.
For debugging really need to modify these values which is in the attachment .cmd file have,
plus need to set the HEAPSIZE for 0x4000;
The correct .cmd file for TiRtos:
2703.MSP_EXP432P401M_TIRTOS.zip
The correct .cmd file for NoRtos:
The LDO-only operation we set in .syscfg file with one plus custom performance level and is initialized with this level.
Thanks,
**Attention** This is a public forum