Please note as of Wednesday, August 15th, 2018 this wiki has been set to read only. If you are a TI Employee and require Edit ability please contact x0211426 from the company directory.
LAUNCHXL2 TMS57012: Project 1
- 1 Running the Demo (PROJECT 1)
- 2 Project 1 Binary file
Running the Demo (PROJECT 1)
1. (Optional) Installing Code Composer Studio (CCS)
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
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
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
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.
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.
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.
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.
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
The .zip file contains the .out file for the project.
To load this file back into the TMS570LS1224 device:
- Launch a debug session in CCS, with the LAUNCHXL2-TMS57012 target configuration file.
- Connect to the TMS570LS1224 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)