Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob

Setup Eclipse Kepler for WICED SDK on Linux - Ubuntu 14.04 or 12.04

Setup Eclipse Kepler for WICED SDK on Linux - Ubuntu 14.04 or 12.04

250 replies posted 100 replies posted 50 replies posted

The following Eclipse Kepler setup for WICED SDK is tested using Ubuntu 12.04 LTS and Ubuntu 14.04 LTS.


1. Install Eclipse Kepler on Ubuntu

a. Download the appropriate eclipse package from www.eclipse.org/downloads/?osType=linux

b. Un-tar the package

tar -zvxf eclipse-standard-kepler-SR2-linux-gtk-x86_64.tar.gz

c. Copy eclipse directory to /opt

sudo cp -R eclipse /opt

d. Change ownership /opt/eclipse

sudo chown -R root:root /opt/eclipse

e. Create a link in /usr/bin

sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse

f. Create a desktop file to lunch eclipse

sudo vi /usr/share/applications/eclipse.desktop


sudo gedit /usr/share/applications/eclipse.desktop


Insert the following text into the eclipse.desktop file:

[Desktop Entry]











2. Install “C/C++ Development Tools” and “C/C++ GDB Hardware Debugging” to Eclipse.

a. Go to Eclipse software install by “Help” -> “Install New Software…”

b. On the “Work with:” type “CDT Kepler – http://download.eclipse.org/tools/cdt/releases/kepler”.

c. Select “C/C++ Development Tools” under “CDT Main Features”

d. Select “C/C++ GDB Hardware Debugging” under “CDT Optional Features”

e. Click “Next” to install above software.


3. Download desired version of WICED SDK from community.broadcom.com.

The 7zip is needed to extract WICED SDK and “Ubuntu Software Center” could be used to install it.

Extract WICED SDK to desired location using 7zip.

For this example the WICED-SDK- file is extracted into …/WicedSDKs/WICED-SDK-2.4.1.


4. Bring WICED SDK into Eclipse.

a. For this example, set the eclipse workspace to …/WicedSDKs


b. Switch to “C/C++” perspective if not already in it.

c. Create new project by “File” -> “New” -> "Project..." then select “Makefile Project with Existing Code” under "C/C++".


d. Enter new project name. New project name could be the same as location of the SDK.


e. Select “WICED-SDK-2.4.1” then “Project” -> “Properties” to open project properties.

Update the “Build command” on the “Builder Settings” tab to the following:



f. Select “Window” -> “Show View” -> “Make Target” to display “Make Target” tab.


g. Select “WICED-SDK-2.4.1” in the “Make Target” tab then select “Project” -> “Make Target” -> “Create” to create the following make targets.

- “clean”

- “snip.scan-BCM94390WCD2-debug HOST_OS=Linux_64 download run”

For 32-bit host use “HOST_OS=Linux_32”.



5. Setup WICED USB J-TAG connection

a. For Ubuntu 12.04 and 14.04:

Create the /etc/udev/rules.d/70-wiced-JTAG.rules file as follows:

     sudo gedit /etc/udev/rules.d/70-wiced-JTAG.rules


Set the content of the file as the following:

# udev rules file for WICED USB JTAG interface, to allow use by non super-users

SUBSYSTEM=="usb", ATTR{idVendor}=="0a5c", ATTR{idProduct}=="43fa", GROUP="hwlab", MODE="0666"


b. Set the serial port:

sudo modprobe ftdi_sio vendor=0x0a5c product=0x43fa


The above line could be inserted into the ~/.bashrc to load FTDI driver at startup.


6. Clean, build, download, and run the WICED sample application

a. Double click “clean” target build on the “Make Target” tab to clean.

b. Double click on

     “snip.scan-BCM94390WCD2-debug HOST_OS=Linux_64 download run” or

     “snip.scan-BCM94390WCD2-debug HOST_OS=Linux_32 download run”

     to build, download, and run scan sample application.