SLAAEJ0 November 2023 AM625 , MSPM0L1306
After creating the target configurations, the prebuilt MSPM0 binaries can be written to the on-chip flash:
Import the CCS project in the Workspace. This is the path to the project:
<Beyond-SDK-installation-path>/Beyond-SDK/am62x/MSPM0-ADC-RTC-Attach/MSPM0-ADC-Attach-SPI/<x_Byte_x_Channel_SPI>/Peripheral/MSPM0/
The binary can be found in <Beyond-SDK-installation-path>/…/MSPM0/Debug/<file-name>.out
Build the imported CCS project.
If there is a Duplicate Name of GPIO Pin error, then do the following:
Open the System Configuration file indicated by .syscfg file extension
Open ADC12 Configuration
Go to the Pin Configuration Section and Open ADC12 Channel 7 Pin
Change the name of the pin from “ti_driverlib_gpio_GPIOPinGeneric0” to “ti_driverlib_gpio_GPIOPinGeneric6”
Save the change and Build the project again
Right-click on MSPM0_XDS110.ccxml in Target Configurations window
Select “Launch Selected Configuration”
In the Debug window, click on the "Texas Instruments XDS110 USB Debug Probe_0/CORTEX_M0P"
Select Run -> Connect Target
Select Run -> Reset -> Subsystem Reset
Select Run -> Load -> Load Program
Browse to the prebuilt binary for the MSPM0 project, and click “OK”.
This will write the flash with the binary.
Select Run -> Resume
For additional support with CCS, review the Code Composer Studio User’s Guide.