The software packages described in Section 2.1 include example projects that can be loaded and run on the F280015x LaunchPad. If you installed the C2000WARE software to the default installation path of C:\ti\c2000\C2000Ware_<version>, you can find driverLib based example applications in C:\ti\c2000\C2000Ware_<version>\examples\F280015x. The on-board XDS110 is used with the On-Chip Flash Programmer tool to program applications to the F280015x LaunchPad.
Follow these steps to program example applications onto the F280015x LaunchPad development kit using the on-board XDS110 debug probe:
- Install Code Composer Studio (CCS) on a PC running Microsoft Windows.
- Connect the USB-A cable plug in to an available USB port on the PC and plug the USB Type-C™ plug to the port (USB101) on the F280015x LaunchPad.
- Verify the following LEDs are illuminated:
- LED7, at the top left of the board, indicating 5 V USB power.
- LED0 indicating 3.3 V power to the XDS110 debug probe.
- LED1 indicating 3.3 V power to the F2800157 MCU.
- Install Windows XDS110 and Virtual COM Port drivers if prompted. Installation instructions can be found at XDS110 Product Page.
- Run CCS on the PC.
- Import a F280015x project from C2000WARE, or another installed software package, into the CCS workspace.
- Add the _LAUNCHXL_F2800157 predefined symbol to the imported DriverLib example project for the software to use relevant F280015x LaunchPad signals.
- Open the projects Properties → Expand the Build tab → Expand the C2000 Compiler tab → Select Predefined Symbol → Add _LAUNCHXL_F2800157 pre-define NAME.
- Right click the project name and select Rebuild Project in CCS.
- Launch the LAUNCHXL-F2800157 Target Configuration file and connect to the F280015x device. Make sure that the Target Configuration file is configured to use the 2-pin cJTAG advanced configuration. For additional details, see Frequently Asked Questions.
- Click 'Load Program' and select the program's binary to load. The binary is loaded onto the device and can now be run and debugged.