Menu
NOTICE: The Processors Wiki will End-of-Life on January 15, 2021. It is recommended to download any files or other content you may need that are hosted on processors.wiki.ti.com. The site is now set to read only.
The CC3200 has the capability for Over-the-Air programming which allows for files to be written and updated over a network connection. An OTA programming library is available in the CC3200 SDK. The OTA update scheme relies on a subroutine that periodically checks with a remote OTA server to see if there are any available file updates. These directions assume that you have already successfully configured Code Composer Studio to build example applications from the CC3200 SDK, if not, follow the instructions in the Quick Start Guide included in the SDK. Clone this repository or download the zip and extract. Open Code Composer Studio v6.0 or greater. Import the project files.
Overview[edit]
- Prepare Download and install the latest version of Energia Platform, available for Windows, Mac and Linux. To setup on Windows platform, follow the steps present in this link. Open the Energia IDEIn the Tools menu, select Board, then select “Launchpad w/ cc3200 (80Mhz)'Again, in Tools menu, select Serial Port, and then select the appropriate port ….
- C: ti CC3200SDK1.2.0 cc3200-sdk simplelink 2.
- . CC3200/CC3220: MCU with Wi-Fi. SDK for development with IAR. MAC Processor Crypto Engine r PA LNA.
CC3200 Antenna Selection is method by which user can configure the WLAN RF Antenna on the CC3200 device from a Browser. The CC3200 device scans the Access Points with 2 different Antennas, stores the SSID and RSSI information in the memory and create an HTML page. User can open the HTML page and select the Antenna which he/she wants to configure. Also user can check the connection to the Access Point using the selected Antenna.
Prerequisites[edit]
- CC3ANTENNABOOST (also known as CC31xx_antenna_diversity_board)
Cc3200 Sdk For Mac Iso
Usage[edit]
- Flash Example Content(html,image,js,Application binary)on serial flash by following below steps.
- If CC3200 SDK is installed at default location C:tiCC3200SDK
- Open C:tiCC3200SDKcc3200-sdkexampleantenna_selectionhtmlantenna_selection.ucf session file in Uniflash.
- Flash the files to the device. Detailed instructions at Uniflash User Guide.
- If CC3200 SDK is not installed at default location C:tiCC3200SDK
- Open <cc3200-sdk>examplesantenna_selectionhtmlantenna_selection.ucf session file in Uniflash.
- Modify Url for all the files in the list.
- Flash the files to the device. Detailed instructions at Uniflash User Guide.
- If CC3200 SDK is installed at default location C:tiCC3200SDK
- Run the reference application
- Run From IDE (IAR/CCS)
- Make the Board Modification as mentioned in the following section.
- Open the Project as mentioned in the <cc3200-sdk>docsCC3200-Getting Started Guide.pdf
- Build and download the application to the board
- Run Flashed Binary
- Remove SOP-2 Jumper on Board and Press Reset. Refer <cc3200-sdk>docsCC3200-Getting Started Guide.pdf for detailed Information
- Make the Board Modification as mentioned in the following section.
- Run From IDE (IAR/CCS)
- CC3200 Device first comes up in STA mode, scans for visible access-points. Next, it restarts and comes up in AP mode (Default SSID: mysimplelink-<MacAddr>)
- User connects his/her WIFI enabled device PC/MAC/Smartphone to above AP
- Type 'mysimplelink.netmain.html' in browser. it will Open CC3200 Main HTML Page
- Click/Press on Antenna Selection which will open the Antenna Selection page as shown in picture below
- Antenna Selection page displays the list of the Access Points SSID and RSSI with 2 different Antenna
- User select the AP by clicking on the Radio Button
- User also need to provide Security Type, Security Key and Profile Priority in the corresponding fields
- User clicks Add Button
- Device then switches to Station Mode and connects to the selected AP
- After the Connection is Successful or Failed, Alert Message is Displayed
Board Modifications[edit]
Below modifications are required on CC3200-LP for working with CC3ANTENNABOOST
- Unmount R111 & Mount R110
- Connect the U.FL connectors, J18 on Launch Pad to J19 on Antenna Board with U.FL-U.FL connector cable.
- Stack the Launch Pad and Antenna Board as shown in the picture below
Source Files briefly explained[edit]
- main.c
- Select Antenna 1
- Scans and Stores AP information
- Select Antenna 2
- Scans and Stores AP information
- Handles HTTP GET request to provide AP List
- Handles HTTP POST request to receive command to connect to AP with Selected Antenna
- Connection to the selected AP
- startup_ewarm.c
- Implements interrupt vector table when using IAR ewarm tool chain
Note: This example can be used either on TI-RTOS or FreeRTOS.For the application to work with TI-RTOS, ti_rtos_config project need to be imported into the application workspace. These projects can be found in CC3200-SDK under ti_rtos folder. Please follow this link for CC3200 TI-RTOS usage CC3200 TI-RTOS
Limitations/Known Issues[edit]
- Only 5 APs are displayed
- Duplicate SSIDs are displayed when the SSID has multiple BSSIDs
- During Connection Status Check, User Device PC/MAC/Smartphone might connect to different AP, User need to reconnect to the SimpleLink AP Again
Links[edit]
{{#invoke: Navbox | navbox }}{{#invoke: Navbox | navbox }}
{{
Please post only comments related to the article CC3200 Antenna Selection Application here. | Keystone=
Please post only comments related to the article CC3200 Antenna Selection Application here. | C2000=For technical support on the C2000 please post your questions on The C2000 Forum. Please post only comments about the article CC3200 Antenna Selection Application here. | DaVinci=For technical support on DaVincoplease post your questions on The DaVinci Forum. Please post only comments about the article CC3200 Antenna Selection Application here. | MSP430=For technical support on MSP430 please post your questions on The MSP430 Forum. Please post only comments about the article CC3200 Antenna Selection Application here. | OMAP35x=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Antenna Selection Application here. | OMAPL1=For technical support on OMAP please post your questions on The OMAP Forum. Please post only comments about the article CC3200 Antenna Selection Application here. | MAVRK=For technical support on MAVRK please post your questions on The MAVRK Toolbox Forum. Please post only comments about the article CC3200 Antenna Selection Application here. | For technical support please post your questions at http://e2e.ti.com. Please post only comments about the article CC3200 Antenna Selection Application here. }} |
Links | |||
|
Retrieved from 'https://processors.wiki.ti.com/index.php?title=CC3200_Antenna_Selection_Application&oldid=227250'
Texas Instuments offers an evaluation kit for it's Single-Chip Wireless MCU CC3200: CC3200-LaunchXL
Citing from TI's Description:
The SimpleLink™ Wi-Fi® CC3200 LaunchPad evaluation kit is a development platform for the CC3200 wireless microcontroller (MCU), the industry’s first single-chip programmable MCU with built-in Wi-Fi connectivity. The board features on-board emulation using FTDI device.
This LaunchPad comes with driver support and a software development kit (SDK) with 40+ applications for Wi-Fi protocols, internet applications, and MCU peripheral examples.
The CC3200 MCU features a 802.11 b/g/n Station and Access Point, roles with fully integrated radio, baseband, and MAC Standards-based Wi-Fi solution Single-chip Wi-Fi MCU: Wi-Fi network processor + ARM® Cortex®-M4 MCU integrated into one chip including RF reference design.
This page will document my experiences with the CC3200-LaunchXL using Linux as development platform.
Index
Getting the SDK from Texas Instruments
For downloading the SimpleLink Wi-Fi CC3200 Software Development Kit (SDK) you need a 'myTI' account which you may create for free.
The SDK is a Windows executable which simply installs all the files needed for development on a Windows platform. To be able to use the files on Linux you may either run the SDK installer on a Windows box and copy the directory tree to your Linux system, or you may run the installer with
wine
directly under Linux. Running the installer on Windows creates a directory tree under
C:tiCC3200SDK_1.0.0
. As stated above, you may run the SDK installer under Linux with
wine
: Cc3200 Sdk For Mac Windows 10
Running the installer with
I symlinked
wine
creates a directory tree under ~/.wine/drive_c/ti/CC3200SDK_1.0.0
. I symlinked
~/.wine/drive_c/ti/CC3200SDK_1.0.0/cc3200-sdk
to ~/cc3200-sdk
and used this in the examples below. The CC3200 Software Development Kit consists of a collection of hardware and software documenting pdfs, a collection of example program sources, the sources of the hardware driver library/application development framework and some tools to support development with serveral IDEs and tool chains.
Of course the GNU toolchain (gcc) is the one interesting me.
Of course the GNU toolchain (gcc) is the one interesting me.
Configuring the LaunchXL JTAG Debug Interface
Simcity buildit mac download. The debug interface is provided by an FTDI FT2232 chip with custom vendor and product IDs. To make it accessible for the Linux system, there is an udev rule (from here) needed:
/etc/udev/rules.d/99-tiftdi.rules
(in kernel versions newer than 3.12 this doesn't work anymore, see here)
With the
ftdi-sio
module loaded (by the above udev rule or otherwise), I get two /dev/ttyUSBx
devices when the Launchpad is plugged in. In my setup, OpenOCD seems to write access
/dev/bus/usb/<bus_num>/<node_num>
which is owned by root:root
. This ownership is not changed by a GROUP:='dialout'
statement in the above udev rule. So I had to add an additional rule to change group ownership of this device file.
My
My
/etc/udev/rules.d/99-tiftdi.rules
looks like this: /usr/local/ftdi_chown.sh
is a tiny script getting bus id and node id from udev via environment and changes the group ownership of the respective device file. Running
The second
gdb
/openocd
as described below will remove the first of the two /dev/ttyUSB*
for use as the debug interface. The second
/dev/ttyUSB*
may be used as a serial console by the target program. Build and install openOCD (Open On-Chip Debugger)
Building and installing openOCD is the standard './configure; make; sudo make install
' procedure. Make shure the
./configure
run reports Using OpenOCD in version 0.8.0, the configuration file for the debug interface needs to be changed.
(same has been successfully tried with OpenOCD version 0.9.0)
(same has been successfully tried with OpenOCD version 0.9.0)
In
~/cc3200-sdk/tools/gcc_scripts/cc3200.cfg
replace the following few lines by
Starting OpenOCD with the following command:
shows the following message:
Stop OpenOCD by pressing Ctrl-C. In the future it will get started from the gdb debugger.
arm-none-eabi Cross Tool Chain
Download the prebuilt binaries of thearm-none-eabi cross tool chain for Linux from launchpad.net. Unpack it to an appropriate directory and add the
bin/
directory to the execution path. You may want to add the last line from above to
~/.bashrc
to have the path to the arm tool chain binaries available in every future shell. Android Sdk For Mac
Compile one of the examples from the CC3200 SDK:
This should produce
blinky.axf
in ~/cc3200-sdk/example/blinky/gcc/exe/
. Cc3200 Sdk For Mac Windows 7
To be able to upload, run and debug the compiled binary for the CC3200, you may need to move the jumper from P58-VCC to SOP2.
The jumpers should be set like in the picture below.
The jumpers should be set like in the picture below.
Edit the OpenOCD start command in
Mine looks like this:
~/cc3200-sdk/tools/gcc_scripts/gdbinit
to make shure OpenOCD finds it's appropriate configuration file. Mine looks like this:
Run a gdb session
The gdb should upload the
blinky
binary to the CC3200 and print something like below: Pressing 'c' (for continue), then 'enter' should run the uploaded program and you should see blinking the three LEDs D5 - D7 one after another in a one second interval.
Links
TI Manuals as PDFs
Hardware Examples
Cc3200 Sdk For Mac High Sierra
This site maintained by: [email protected] My public PGP key | last updated: 2014-05-08 |