Sunday, February 16, 2025

Running Project 0 for LAUNCHXL2-RM46 development board

Running Project 0 for LAUNCHXL2-RM46 development board

Project 0 is simple example to verify that LAUNCHXL2-RM46 and the environment is working by blinking an LED.

Pre-requisite:
Tested on the following:
- Host: Windows 10 IoT LTSC 2021
- Code Composer Studio 9.3.x

Step 1. Clone git repo for Hecules examples.
PS C:\> mkdir c:\repo
PS C:\> cd c:\repo
PS C:\> git clone https://git.ti.com/git/hercules_examples/hercules_examples.git

Step 2. Import into Code Composer Studio 9.3.x.

Open CCS 9.3.x

Ensure CCS Edit perspective is active

Import Project 0
If your CCS 9.3.x looks like below, then you have to restore the view.
Click on Restore button to view Project Explorer
Below is the Project Explorer view that is needed
Inside Project Explorer area, right click and do Import | CSS Projects
Naviate to Project 0 inside the repo (C:\repo\hercules_examples\Launchpad\RM\RM46L8\Project_0)
Project 0 loaded
Step 3: Debug the project!
You should see lots of activities and in the Console Window (Windows | Show View | Console), a message shows "System Reset" and the LED should start blinking at this point.

References:
TI git repo site - https://git.ti.com/cgit/hercules_examples/hercules_examples/
My Project 0 repo - https://github.com/myLAUNCHXL2-RM46/Project0

Q&A: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision

Q: How to create a blinky baremetal application on STM32F407G-DISC1 using STM32CubeMX and Keil μVision Answer: Blinking an LED is the equiv...