# Quick start of TI CC3200

Download and install the following software：

• CC3200 SDK Package: <http://www.ti.com/tool/cc3200sdk>

Assuming the default installation folder C: TI CC3200SDK\_1.0.0\\

• IAR EWARM（Please install the software on their own, we recommend using IAR EWARM 7.2 or later）

• Tera Term (or similar software)

Tera Term link: <http://en.sourceforge.jp/projects/ttssh2/releases/>

**Configuration G1**

![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnfWHsE0IAHkea7%2Fquick%203200%201.png?generation=1584080204384626\&alt=media)

**G1 connection BPI open debugger board**

![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnhryRhgRf7L1k4%2Fquick%203200%202.png?generation=1584080205256958\&alt=media)

**Check whether the connected BPI open debugger board:**

BPI open debugger connected to the PC, and check whether the drive is installed, if you can not identify, install TI [UNIFLASH](http://www.ti.com/tool/uniflash), the programming software that comes with the driver. If you can identify that, please give G1 on electricity.

![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnj-qhIdc6cj1zf%2Fquick%203200%203.png?generation=1584080204805941\&alt=media)

**Cover IAR debugger interface file**

Copy the file C:\TI\CC3200SDK\_1.0.0\CC3200-sdk\tools\iar\_patch\armLMIFTDI.dll to folder C:\Program Files (x86)\IAR Systems\Embedded Workbench 7.0\arm\bin (Select be covered).

**Recompile SimpleLink library files**

1. Start the IAR and select File>Open>Workspace from the menu..

   ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnlX0dDu4mzvXNN%2Fquick%203200%204.png?generation=1584080204596842\&alt=media)
2. Browse C:\TI\CC3200SDK\_1.0.0\cc3200-sdk\simplelink\ewarm directory and open simplelink.eww

   ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnnxwDy_Cr-gvBb%2Fquick%203200%205.png?generation=1584080204268683\&alt=media)
3. From the menu, select Project>Rebuild All to Recompile simplelink project

   ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnp9vNnKJe_md23%2Fquick%203200%206.png?generation=1584080204953006\&alt=media)

**Compile, download and debug routines WLAN Station**

1. Open the wlan\_station project by selecting File>Open>Workspace from the menu, navigating to

   C:\TI\CC3200SDK\_1.0.0\cc3200-sdk\example\getting\_started\_with\_wlan\_station\ewarm, and opening wlan\_station.eww。
2. Open the common.h file located at the path C:\TI\CC3200SDK\_1.0.0\cc3200-sdk\example\common\。
3. Edit common.h to use the SSID, security type and security key of the Access Point being used. Edit the macros SSID\_NAME, SECURITY\_TYPE and SECURITY\_KEY to contain the Access Point’s information as shown in Figure. The security types supported for this demo are WPA/WPA2 and Open. For Open security, define SECURITY\_TYPE as SL\_SEC\_TYPE\_OPEN. For WPA and WPA2 security, define it as SL\_SEC\_TYPE\_WPA。

   ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnrpkfA2yPtk5nw%2Fquick%203200%207.png?generation=1584080204850668\&alt=media)
4. Save common.h.
5. Rebuild the wlan\_station project by selecting Project>Rebuild All from the menu.
6. The debugger must be configured to download code to the device. Select Project>Options from the menu, and select the Debugger category. In the Setup tab, choose TI Stellaris as the driver, as shown in Figure, and press Ok.

   ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLntO8nJ1N6xtS2w%2Fquick%203200%208.png?generation=1584080204571083\&alt=media)
7. Launch Tera Term, and create a new serial connection to the CC3200 Launchpad COM port as shown in Figure.
8. In the menu, select Setup>Serial Port, and change the baud rate to 115200 as shown in Figure.

   ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnv611Pf7Xakuoo%2Fquick%203200%209.png?generation=1584080205022211\&alt=media)
9. Click the debug icon as shown in Figure 24 to download code to the device and start debugging.Select Debug>Go from the menu or press F5 to begin execution.

   ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnxJjfsqjoY5QG2%2Fquick%203200%2010.png?generation=1584080204665689\&alt=media)
10. If the CC3200 successfully completes all steps, the serial output appears as shown in Figure.

    ![](https://3328098389-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-M2HWtR1ORXGh8cjr34f%2F-M2HWvRKw6XOIl6BxR3U%2F-M2HXLnzveIxOIMNtqpg%2Fquick%203200%2011.png?generation=1584080204170565\&alt=media)
