Skip navigation
Home > All Places > Software Forums > WICED Studio Wi-Fi/Combo > WICED Studio Wi-Fi/Combo Forums > Blog > 2015 > January

The attached application creates threads, waits for each thread to end and then deletes the threads.


Each thread prints thread specific information on the serial terminal.


To synchronize the printing on the serial terminal, semaphore is created and passed to the each thread, along with some other data, as a thread parameter.


Block of threads are created and waited on to be joined before they are deleted.


Setting up and running the application:


Unzip the attached zip file and copy the "create_delete_thread" directory to .../apps/snip/ directory, /apps/snip/create_delete_thread.


Add "snip.create_delete_thread-<YourPlatform> download run" to the Make Target

     For BCM943362WCD4 platform: "snip.create_delete_thread-BCM943362WCD4 download run"


Connect your target module to your development host computer.

Open WicedSerial or serial terminal to observe serial data sent from the target device.


Below is the output captured via WicedSerial:

WICED SDK could be connected to the STM32Fx-Discovery board (in this case STM32F4-Discovery board is used) with JTAG debugger.


Connect the JTAG debugger to the STM32F4-Discovery board using the following connections.

ScreenHunter_105 Jan. 02 22.49.jpg

To build an application and run it on the target STM32F4-Discovery board add the following to the Make Target built command:

     For Olimex:     JTAG=Olimex_ARM-USB-TINY-H

     For Segger:     JTAG=jlink


     <WicedApplication>-<YourPlatform> JTAG=Olimex_ARM-USB-TINY-H download run


For sample interface of interfacing SN8000 WiFi module to the STM32F4-Discovery board please check out this link SN8000 WiFi Module with STM Discovery Board.

Here is an example of interfacing the BCM43362 based SN8000 WiFi module (from Murata) with STM32F4-Discovery board (with STM32F407 MCU).


The schematic below illustrates the connections required to connect the SN8000 to the STM32F4-Discovery board. Since the SN8000 comes as a module to connect to a PCB, a carrier board is needed to connect the module to the STM32F4-Discovery board.

ScreenHunter_95 Jan. 02 16.15.jpg


If you have the SN8000 module mounted on a SDIO carrier board, which comes with the SN800 evaluation board, the following connection schema can be used to connect the module to the STM32F4-Discovery board.

ScreenHunter_97 Jan. 02 16.19.jpg


For terminal interface between the STM32F4-Discovery board and host PC the following serial (RS232) connection is needed.

To connect a JTAG debugger (Olimex_ARM-USB-TINY-H) to the STM32F4-Discovery board follow the below connection.

For more information please take a look at this link: Interfacing STM32Fx-Discovery with WICED using JTAG Debugger


After setting up the hardware connections WICED SDK-3.x should be updated to run WICED applications on STM32F4-Discovery board with SN8000 WiFi module. Unzip the attached file with the following expected updates.


The STM32F407 directory goes to .../WICED/platform/MCU/STM32F4xx/GCC directory of the WICED SDK.


The STDiscovery407_BCM43362 platform files goes to .../platforms directory of the WICED SDK.

ScreenHunter_104 Jan. 02 22.35.jpg


To build and run application using WICED SDK following Make Target could be used;

     <Application>-STDiscovery407_BCM43362 JTAG=Olimex_ARM-USB-TINY-H download run


To build and run a sample scan app use the following Make Target:

     snip.scan-STDiscovery407_BCM43362-debug JTAG=Olimex_ARM-USB-TINY-H download run

Filter Blog

By date:
By tag: