Part Number: MSPM0G3507
Other Parts Discussed in Thread: SYSCONFIG
Tool/software:
I'm attempting to debug a bare-metal application on a MSPM0G3507 residing on a target board, via SWD using a SEGGER J-Link. Am unable to use the XDS110 on my LaunchPad because the target board uses 1.8V signaling (LP supports 3.3V only). The application's main() function consists of initialization code followed by a "superloop" which spends most of its time awaiting an interrupt via a WFI instruction. The low power policy specified via SysConfig is SLEEP0. When the MCU's program flash is blank, I'm able to successfully establish a debug connection to it using CCS Theia, and debug normally. However, subsequent attempts to establish a debug connection fail with the message "Error connecting to the target: Could not connect to target." I discovered that if I connect to the MCU via J-Link Commander and erase the MCU's flash, a subsequent attempt to establish a debug connection via CCS is successful. Thinking that perhaps this connection issue was a consequence of the MCU being in low power mode, I reviewed the addenda in the MCU SDK's "Known Issues and FAQ" section. None of the described scenarios matched exactly, but it seemed that configuring the J-Link to perform a hardware reset of the target before connecting was a reasonable step. However, when I attempt to access Debug Properties in CCS in order to configure the reset, I get the message "Cannot read properties of undefined (reading 'name'). Interestingly, if I reconfigure the "Connection" to be XDS110 instead of J-Link, the Debug Properties screen comes up fine. Any ideas? Note that I am using the latest J-Link firmware. Thanks


