0% found this document useful (0 votes)
30 views9 pages

Getting Started With WiFiMote Examples

This document provides instructions for setting up Code Composer Studio to compile and flash WiFiMote example code onto a CC3200 device. It describes importing projects, configuring build properties to include necessary libraries, and using UniFlash to program the compiled binary file onto the WiFiMote board. Specific steps include selecting the SDK path as a variable, adding library search paths, generating binary files, and toggling mode pins on the WiFiMote to enable flashing and running the example code.

Uploaded by

DEEPAK PRAJAPATI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
30 views9 pages

Getting Started With WiFiMote Examples

This document provides instructions for setting up Code Composer Studio to compile and flash WiFiMote example code onto a CC3200 device. It describes importing projects, configuring build properties to include necessary libraries, and using UniFlash to program the compiled binary file onto the WiFiMote board. Specific steps include selecting the SDK path as a variable, adding library search paths, generating binary files, and toggling mode pins on the WiFiMote to enable flashing and running the example code.

Uploaded by

DEEPAK PRAJAPATI
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Getting Started With WiFiMote Examples

1.Open Code Composer Studio(CCS) From start Menu.

2.Choose Your workspace folder location. All new Project will be created in this location folder only.

Below steps (3-13) have to be done only once, if you have freshly installed code composer studio.

3. When CCS starts ,go to menu bar select Windows->Preferences.

4. A preferences dialog box will open, navigate to the Code Composer Studio->Build->Variables from the left side menu.

1
5. Click on Add, a new dialogue box will open.

6. Enter the following data: -

a. Variable name: CC3200_SDK_ROOT

b. Select Type from drop down menu to PATH

c. Value will be equal to the Path of the SDK {C:\ti\CC3200SDK_1.x.0\cc3200-sdk; where x is your SDK version}

7. Then click on OK, and then apply changes.

2
8. Next go to Environment option, Click on Add to add new variable.

9. Click on the variables button and look for the variable CC3200_SDK_ROOT

10. After selecting the variable click on OK.

11. Give Name: CC3200_SDK_ROOT. Then click on OK.

12. Then click on Apply to apply change.

13. In the main window from the menu bar navigate to option Project->Import CCS Projects.

3
15. A new dialogue box will appear

16. Click on browse option from the Select Search-directory, navigate to project directory and select the folder where your
project is present.

17. Make sure the option Copy projects into workspace is also checked then click on finish. On the left side, you can see
the project been added.

If not selected Copy projects into workspace, it will work on the actual project instead of making copy of it.

4
18. Right click on the project folder and select option properties. Properties dialogue box will open up.

19.Select Build option from the dialogue box and the steps option as shown below.

5
20. Go-to the Wi-Fi_Labkit folder provided in Docs folder a settings.txt file is there open the file and copy the line
mentioned under post build steps.

“${CCE_INSTALL_ROOT}/utils/tiobj2bin/tiobj2bin" "${BuildArtifactFileName}"
"${BuildArtifactFileBaseName}.bin" "${CG_TOOL_ROOT}/bin/armofd" "${CG_TOOL_ROOT}/bin/armhex"
"${CCE_INSTALL_ROOT}/utils/tiobj2bin/mkhex4bin”

Paste these line under Post-build steps section in the project properties dialogue box. Click on OK.

21. Right Click on the project folder Click on Build project option to compile and generate the .out file and .bin file.

Below Steps are for the example code which deal with wifi Motes RF operations and Sensor boards codes.

6
22. Import the project in which contains wifi rf operations code or sensor data read codes. Right click on the project folder
and go to properties option. Click and expand Build option and select option ARM Linker->File Search Path.

23. Remove the two entries from Include library file or command file as input (--library, -l)

"D:\WiFi_LAB_Kit\WiFiMoteLib\WiFiMoteLib.lib"

"D:\WiFi_LAB_Kit\WiFiMoteLib\UbiSense_lib.lib"

To remove the above paths, select one path and click on the remove icon.

Add new path of WiFiMote.lib and UbiSense_lib.lib by browsing the WiFi_Labkit folder click on the add icon.

WiFi_Labkit->WiFiMote_Experiments->WiFiMoteLib and select both the files WiFiMoteLib.lib and Ubisense_lib.lib

24. In Add <dir> to library search path (--search_path, -i) add the path of the WiFiMoteLib folder. Click on OK. Then
compile the example to generate the .out and .bin file.

How to Flash A code in WiFiMote


1. Open Uniflash from Start->All Programs->Texas Instrument->CCS UniFlash

7
2. Click on New Target Configuration, a new configuration window will open select Connection as CC3x Serial(UART)
Interface. Board or Device should be set to SimpleLink Wifi CC3100/CC3200.

3. A new window will open, enter the COM Port Value it could be found from Device Manager. Select the option System
Files->/sys/mcuimg.bin from the left side menu.

8
4. In Url give the Path of the bin file, it will be in the project folders subfolder Debug. Max Size should be 0. Make sure the
Erase, Update & Verify check boxes are checked. Go back to the CC31xx/CC32xx Flash Setup and Control option.

5. Switch SOP 1 Pin OFF & SOP 2 Pin ON to enable Flashing of the Mote, Click on Program button in the uniflash
window. Press the reset button on WiFiMote Board if flashing does not start automatically.

6. Switch SOP 2 Pin OFF & SOP 1 Pin OFF press reset button on WiFiMote Board to run the flashed program.

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy