Template:LAUNCHXL2-570LC43 RM57L-RUNNING-DEMO

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.1 - which is available on this page: http://processors.wiki.ti.com/index.php/Category:Code_Composer_Studio_v6

After installing CCS make that your versions of these components are at least: You can list the versions of installed components by launching CCS, and from Help->About Code Composer Studio press the 'Installation Details' button. If you have an older version of either package, then do Help->Check for Updates from within CCS to update your versions.
 * TI Emulators  5.1.641.00 or Later
 * Hercules Emulation 6.0.7 or Later

2. Connecting to a Computer and Powering the LaunchPad
The LaunchPad is configured by default to be USB powered (JP6 must be shorted), 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.

Demo 1:
Potentiometer (U10) is connected to one of the MCU's Analog Inputs. USER LED B (LED3) blinks according to the potentiometer setting. Turning the potentiometer will increase/decrease the speed at which USER LED B blinks.

Demo 2:
Pressing S5 (labeled Kill OSC) will short the Oscillator and cause the MCU to detect an Oscillator Fault. The on chip clock monitor will detect this and trigger the ERROR\ pin. The ERR LED in the top right corner of the LaunchPad will light up. You must press the PORRST pushbutton to recover from this condition and run the remaining demos.

Demo 3:
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:
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.

NB: Unlike the other Hercules Launchpads - the RM57L843 and TMS570LC4357 devices contain a new Error Profiling (EPC) module that captures a history of the most recent single bit errors in a CAM. There is no longer a simple threshold after which a certain number of single bit (correctable) errors will trip the ERROR\ pin.