NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
LAUNCHXL2 RM46: Project 1
Running the Demo (PROJECT 1)[edit]
1. (Optional) Installing Code Composer Studio (CCS)[edit]
The virtual COM port drivers that are required to see the console output of the out of box demo are bundled with CCS. If you wish to see this part of the demo, install CCS v6.0.1 or later before connecting the LaunchPad to the PC. For detailed instructions on this step, see Code Composer Studio Installation for LAUNCHXL2-RM46 or Code Composer Studio Installation for LAUNCHXL2-TMS57012.
2. Connecting to a Computer and Powering the LaunchPad[edit]
The LaunchPad is configured by default to be USB powered (JP6 must be installed), which can be done by connecting the LaunchPad to a computer using the included USB cable. If you skipped the optional step 1, ignore any error/warning messages about missing drivers during this step.
3. (Optional) Opening a Terminal Program[edit]
If you completed step 1 and wish to see the console output of the demo, this is the time to configure the terminal program of your choice:
- Select COM port identified as "XDS Class Application/User UART" from your computer's device manager.
- Configure Baud Rate: 19200, Data Bits: 8, Stop Bits: 2 and Parity: None.
4. Running the Out-of-box Demo[edit]
This LaunchPad comes pre-programmed with a demo set that highlights several of MCU's safety features. When powered the LaunchPad will start blinking USER LEDs.
Demo 1:[edit]
An on-board Ambient Light Sensor is connected to the MCU's Analog Input 1. The USER LED B blinks according to the light intesity and a change in light intensity will cause it to blink faster or slower.
Demo 2:[edit]
Shorting jumper JP1 will short the OSC to GND and cause the MCU to experience an Oscillator Fault. The on-chip monitor will detect and trigger an error singal causing the ERR LED to light up.
Demo 3:[edit]
The push-button USER SWITCH B will inject a core compare error (CPU mismatch). An on-chip monitor will detect the fault and trigger an error signal causing the ERR LED to light up.
Demo 4:[edit]
The push-button USER SWITCH A will inject a single bit error in the MCU's flash on every push. ECC logic corrects single bit errors in flash and counts them. The USER LED A blinks faster with every error detected. When a pre-programmed limit (6) is reached, the error signal is triggered and the ERR LED lights up.
Project 1 Binary File[edit]
If you need to reprogram Project 1 into your launchpad, here is the binary file: File:Project1 RM46x.zip
The .zip file contains the .out file for the project.
To load this file back into the RM46L852 device:
- Launch a debug session in CCS, with the LAUNCHXL2-RM46 target configuration file.
- Connect to the RM46L852 device.
- From the CCS menu, select Run->Load->Load Program.
- Navigate to the .out file you unzipped and select this file to load into the target.
- Press OK to load the program (the program is loaded into FLASH automatically by CCS)