This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

【CC3200 评测】CC3200-LAUNCHXL开发板使用心得分享+使用simplelink的库成功运行wlan_station_demo

Other Parts Discussed in Thread: UNIFLASH, CC3200

1.板子用USB连接PC,打开PC识别的串口,可以看log。

2.用GCC编译wlan_station_demo生成bin,短接SOP2,然后用uniflash先format, 选择1MB容量,然后烧写wlan_station_demo到SPI FLASH。

3.移除SOP2,reset之后程序运行,log如下:

*************************************************
CC3200 WLAN STATION Application
*************************************************

Host Driver Version: 1.0.1.13
Build Version 0.0.0.0.31.0.0.0.0.0.0.0.0
Device is configured in default state
Device started as STATION
[WLAN EVENT] STA Connected to the AP: ,BSSID: 0:0:0:0:0:0
[NETAPP EVENT] IP Acquired: IP=192.168.43.220 , Gateway=192.168.43.1
Connection established w/ AP and IP is aquired
Pinging...!
Device pinged both the gateway and the external host
WLAN STATION example executed successfully

注意,刚运行是还没连接到wifi时,红色LED闪烁,连到wifi后,三个LED灯常亮。

wifi的名称是在common.h里面修改为自己的wifi名称和密码即可。