🐭🤖
TM4C Code Composer Studio Environment Setup
-
Download and install Code Composer Studio (CCS) v9.3.0.
-
Open Resource Explorer
-
Navigate to Software -> Click on TI-RTOS for TivaC and click install. Leave settings as default in the popup box.
-
Go to Resource Explorer -> TI-RTOS for TivaC -> EK-TM4C123GXL -> Driver Examples -> GPIO Examples -> GPIO Interrupt
-
After the project is imported, it should appear in your project explorer. If you can't find the project explorer, click on View -> Project Explorer
-
Right click the project inside project explorer and create a new Target Configuration File. File name does not matter. Open the new target configuration file and in the window that pops up, change your settings to the following and click on save:
-
Download XDCtools 3.32. Delete everything inside C:\ti\ccs930\xdctools_3_60_02_34_core and replace it with the contents of your downloaded xdctools_3_32_01_22_core folder.
- Make sure to not download the one that is labeled "XDCtools Core without a JRE"
-
Restart CCS. If you get a popup asking if you want to update XDCtools, ignore it and press cancel.
-
The example code can be found in your project gpiointerrupt_EK_TM4C.../gpiointerrupt.c
-
Plug the board into your computer and set the board power switch so that the green LED turns on. Make sure to plug the USB into the same port as the one in the picture. Press the debug button and accept any dialog boxes.
-
Click on the debug button again. CCS will now flash your TM4C board with the new code. To test the code, play around with the bottom 2 buttons and make sure the LED turns on.