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 TMS57012: Project 1

From Texas Instruments Wiki
Jump to: navigation, search

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]

File:Project1 TMS570LS1224x.zip

The .zip file contains the .out file for the project.

To load this file back into the TMS570LS1224 device:

  1. Launch a debug session in CCS, with the LAUNCHXL2-TMS57012 target configuration file.
    Launch Your Target Configuration From the Context Menu (Right Click)
  2. Connect to the TMS570LS1224 device.
    Connect To Your Target Device
  3. From the CCS menu, select Run->Load->Load Program.
    Load Program
  4. Navigate to the .out file you unzipped and select this file to load into the target.
    Select the .out file you unzipped
  5. Press OK to load the program (the program is loaded into FLASH automatically by CCS)
E2e.jpg {{
  1. switchcategory:MultiCore=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article LAUNCHXL2 TMS57012: Project 1 here.

Keystone=
  • For technical support on MultiCore devices, please post your questions in the C6000 MultiCore Forum
  • For questions related to the BIOS MultiCore SDK (MCSDK), please use the BIOS Forum

Please post only comments related to the article LAUNCHXL2 TMS57012: Project 1 here.

C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article LAUNCHXL2 TMS57012: Project 1 here. DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article LAUNCHXL2 TMS57012: Project 1 here. MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article LAUNCHXL2 TMS57012: Project 1 here. OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article LAUNCHXL2 TMS57012: Project 1 here. OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article LAUNCHXL2 TMS57012: Project 1 here. MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article LAUNCHXL2 TMS57012: Project 1 here. For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article LAUNCHXL2 TMS57012: Project 1 here.

}}

Hyperlink blue.png Links

Amplifiers & Linear
Audio
Broadband RF/IF & Digital Radio
Clocks & Timers
Data Converters

DLP & MEMS
High-Reliability
Interface
Logic
Power Management

Processors

Switches & Multiplexers
Temperature Sensors & Control ICs
Wireless Connectivity