User manual
Table Of Contents

www.ti.com
Compile, Download, and Debug
Figure 30. Makefile Command
This generates the wlan_station.axf file under the gcc\exe folder.
3.3.5 Target Connection and Debug (GDB)
1. The OpenOCD configuration file for FTDI is present under the C:\CC3200SDK\cc3200-sdk\
tools\gcc_scripts\ folder. To test the connection to the CC3200 FTDI Launchpad, navigate to the
<cc3200-sdk>\tools\gcc_scripts folder in the Cygwin terminal, run the following command and check
the output to see if the connection happened properly.
openocd -f cc3200.cfg
See Figure 31 for the output screen while the CC3200 device is connected through GDB.
Figure 31. Output Screen
2. Press <ctrl>+c to return to prompt.
3. Copy the wlan_station.axf file found in C:\TI\CC3200SDK\cc3200-sdk\
\example\getting_started_with_wlan_station\gcc\exe\ to the directory C:\TI\CC3200SDK\c3200-
sdk\tools\gcc_scripts\.
4. To start debugging using GDB on CC3200, go to C:\TI\CC3200SDK\cc3200-sdk\tools\gcc_scripts\ and
run the following command at the Cygwin prompt:
arm-none-eabi-gdb -x gdbinit wlan_station.axf
See Figure 32 for the result of debugging the wlan_station application from GCC.
25
SWRU376A–June 2014–Revised June 2014 CC3200 SimpleLink™ Wi-Fi
®
and IoT Solution With MCU LaunchPad™
Getting Started Guide
Submit Documentation Feedback
Copyright © 2014, Texas Instruments Incorporated