Here are various resources for the course.

How To

  1. Creating a new Project in TI Code Composer Studio

Hardware References

  1. Launchpad Data Sheet (this is the important one)
  2. Launchpad user guide
  3. Cortex M4 - Assembly Reference
  4. Cortex M4 - Reference Manual
  5. Assembly Reference


  1. IDE: Texas Instruments Code Composer Studio™ (CCS)
  2. Serial Client
    • Windows: PuTTY
    • Mac: You can use the builtin screen command

Serial Communication How To

  1. Windows: How to use PuTTY to connect your board using serial communication
  2. Mac: How to use screen to connect your board using serial communication
    • Open a terminal
    • Run ls /dev/tty.usb* and look for the name of the serial port. (It should be something like /dev/tty.usbmodemXXXXXXXXX)
    • Using that name, run screen /dev/tty.usbmodemXXXXXXXXX 115200

Differences Between CCS and Keil

The examples in the course textbook were originally designed for an IDE named Keil uVision. We, however, are using TI’s Code Composer Studio. The course stuff have done our best to make things as compatible as possible, but there are some differences:

  • For a discussion of the differences in assembly formats, please see this resource from the book’s author.
  • In CCS, registering an interrupt handler requires modifying tm4c123gh6pm_startup_ccs.c.
    • Add a prototype for your handler around line 58. (For example, extern void myAwesomeHandler(void);)
    • Find the correct entry in the pfnVectors table and change IntDefaultHandler to name of your function. (For example, myAwesomeHandler.)
    • This will most likely come up when adding either a SysTick handler or a Timer0A handler.