Skip navigation
Home > All Places > WICED Studio Wi-Fi/Combo > WICED Studio Wi-Fi/Combo Forums > Blog > 2014 > May
2014
GregG_16

Discussion Format Template

Posted by GregG_16 May 22, 2014

To better serve you and allow multiple resources to work on your case we have a suggested Template to follow with all Bug reports, questions, Issues, etc.

 

Please feel free to add any and all details, cut, paste, edit old posts so you don't have to re-enter everything every time.

As a friendly reminder, we may point you to this blog to remind you from time to time.

We certainly don't want to discourage input, but this will help us support you faster, and allow better collaboration between all parties.

Also please do not combine multiple issues into one discussion, and if one issue spawns a secondary issue, please start a new discussion.

Don't be shy, we can edit and delete anything we need to.

 

Summary Issue or question:

    Feel free to elaborate on the issue, steps to reproduce, environment, workarounds already tried, etc.


Example code to recreate the bug


SDK version


HW Platform (if it is a peripheral or MCU issue)


Development environment (usually agnostic, but needed if you have an installer or toolchain issue)


Log/console output (if needed)


Sniffer trace (if needed) as an attachment.


help.JPG

Thanks to SeyhanA_31 for putting this snip together.

It is a good use of the scan application, the push button SW, and the GPIOs

 

This "snip" will launch the "scan" snip, scan for WiFi networks and display the details on the Console.

The red LED will remain illuminated while the scan is running. 

The scan will repeat until the button press and the LED will go out.

 

Here's how to use it...

 

Extract the attached "push2scan.zip" directory, to a directory of your choice.

p2s1.JPG

Copy the directory to your WICED SDKs .../Apps/snip directory.  You will see the other snips there as well.

p2s2.JPG

When you launch the Eclipse SDK (or Refresh/F5) next you will see your new push2scan "snip" populated.

push2scan apps new.JPG

Copy and Paste the "scan" make target and rename it "snip.push2scan-BCM943362WCD4 download run"

p2s4.JPG

Keep in mind it has to match exactly the name of the directory "push2scan"...

Your "Make Target" should look similar to this

p2s5.JPG

 

Double-click the target and let it complete until "Target running"  is displayed in the "Console" tab

p2s6.JPG

Now have a look at your Console window.  In this example we are using the WICEDSerial Windows executable provided here:

WICEDSerial - Console tool to communicate to your WICED Board

 

You will see the following output on the console:

p2s8.JPG

Notice the red LED is illuminated.  This indicates the "scan" is running.

p2s9.JPG

Push SW1 (lower left corner in this photo) to "stop" and "start" the scanning and toggle the LED on/off.

 

Thank you.SeyhanA_31

Copy the WicedSDK source where you like. For this example the WicedSDK is copied into the C:\MyWicedSDKs2.4.1 directory.

 

1. Create an eclipse workspace at C:\MyWicedSDKs2.4.1.

Select "File" -> "Switch Workspace" -> "Other..."

 

2. Select the directory where the WicedSDK is located.

 

3.Create a new “C Project” by selecting “File” -> “New” -> “C Project”.

Project type: select “Empty Project” under “Makefile project”.

Project Name: enter MyWicedSDK then select “Finish”.

4. Select MyWicedSDK on “Project Explorer” tab then select “Project” -> “Properties”.

5. Select “C/C++ Build” then deselect “Use default build command” and update “Build command” to “${workspace_loc:/MyWicedSDK}/make.exe” for Windows.

Then select “OK”.

 

6. Select MyWicedSDK on “Project Explorer” tab then select “Project” -> “Make Target” -> “Create…”

 

For “Target name” type “clean” then select “OK”.

 

In the "Make Target" tab, the folder icon should be selected (if it is not by default) to show the “Clean” target command under “Make Target” tab.

 

7. Double click on icon to run “make clean” command for MyWicedSDK project.

 

8. To verify everything is working, let's use step 6 from above to create a sample scan application target:

For “Target name:” instead of "clean" enter “snip.scan-BCM943362WCD4 download run”.

Connect the appropriate hardware BCM943362WCD4 to the host PC.

Double click on “snip.scan-BCM943362WCD4 download run” to build download and run the scan test application.

For versions: 2.4.0, 2.4.1 and 3.1.2

 

To create or edit the debug configuration click on the down arrow next to the green bug icon and select “Debug Configurations…”.

 

If none exist, create a new debug configuration by selecting “GDB Hardware Debugging” then selecting “New launch configuration” icon. If the debug configuration already exists, select the debug configuration you would like to update:

 

Select the “Main” tab and set the selections as below:

You may update the default name as you like.  In this example the name “WICED debug” is used.

 

Select the “Main” tab and select a project to debug if more than one project is present.

 

Select the “Debugger” tab and set “GDB Command” to “<Wiced Project Dir>\Tools\ARM_GNU\bin\Win32\arm-none-eabi-gdb.exe” then set the rest as below:

 

Select the “Startup” tab and set the selections as below:

 

 

Select the “Source” tab and set the selections as below:

 

Select the “Common” tab and set the selections as below:

This was taken from a previous discussion started by jasonrc with input from userc_2168 and userc_2095  thank you for the input...


Having trouble capturing packets to debug your application?  Here are some  tools to use: 


We recommend using a USB wireless sniffer from one of the following vendors.

 

 

 

AirPCAP Nx -- works with Wireshark

 

Good, well-priced, easy-to-use network network analyser

 

http://www.riverbed.com/us/products/cascade/wireshark_enhancements/airpcap.php

 

http://www.wireshark.org   [Win32 v1.4.14 is stable and works well]

 

All versions downloadable here: http://wiresharkdownloads.riverbed.com/wireshark/win32/all-versions/

 

 

Omnipeek

 

Full featured network analyser

 

http://www.wildpackets.com/products/network_analysis_and_monitoring/omnipeek_network_analyzer

 

 

AirMagnet

 

Full featured network analyser

 

http://www.flukenetworks.com/enterprise-network/wlan-security-and-analysis

 

 

Microsoft Network Monitor 3

 

A free tool which uses the Wi-Fi card in the laptop/PC. 

 

http://support.microsoft.com/kb/933741



For doing analysis of the RF/WiFi environment, the following tools are useful:

 

 

WiSpy - PC dongle to do 2.4GHz and 5GHz spectrum capture.  Can show 802.11 and non-802.11 interference.

 

http://www.metageek.net/products/wi-spy/

 

 

inSSIDer - Free scanning tool to show other 802.11 networks within range.

 

http://www.metageek.net/products/inssider/

 

Basic network scans are also available using the wireless utility in your PC or Mac.


Also for RF/WiFi environments if you have an iPad/iPhone/iPod Touch

 

 

WiPry - iPhone/iPad/iPod Touch dongle for 2.4GHz analysis

 

http://www.oscium.com/products/wipry-combo-spectrum-analyzer-and-dynamic-power-meter

 

 

The power meter function is quite handy if you want to make duty cycle measurements or measure actual TX times.


Here is another great tutorial for MACOS users...

http://wlanpros2.project.ihelphosting.com/wp-content/uploads/2013/06/Wireless-Diagnostic-Utility-in-Mac-OS-10.pdf



Need to send wl commands?  Check out this important guide.

WICED™ Development System, Manufacturing Test User Guide

Restricted Operation

---------------------------------------------------------

The mfg test firmware image allows modes of operation that can violate radio regulations. The mfg test firmware must not be used for any purpose other than testing during design and manufacturing.

Filter Blog

By date:
By tag: