Supports EMW3162 and EMW3165
Join us on a forum dedicated to the EMW3165.
- Download WICED_SDK_3.3.1.7z.zip from Broadcom. It requires registration on their site with what Broadcom calls a "corporate" e-mail address, so you can't use GMail, Outlook.com or other such e-mail addresses.
- Place the file in this directory and run
./extract-and-patch-WICED
. This will decompress and patch WICED. - Enter the WICED-SDK-3.3.1 directory and run something like
./make EMW<module no>-LwIP-FreeRTOS-<app-dir>.<app-name> download run JTAG=<jtag-adapter>
to compile and flash.
Step by step:
- Change into the SDK directory with
cd WICED-SDK-3.3.1
- Test flashing an application to the module.
For EMW3165, using stlink-v2 for flashing, using the application apsta from the snip directory run:
./make EMW3165-FreeRTOS-LwIP-snip.apsta download run JTAG=stlink-v2
For EMW3165, using jlink, but otherwise as above:
./make EMW3165-FreeRTOS-LwIP-snip.apsta download run JTAG=jlink
For EMW3162, using the green development board w/FT2232H chip for flashing, but otherwise as above:
./make EMW3162-FreeRTOS-LwIP-snip.apsta download run
You may need to hold down reset while starting the flashing process while using st-link-v2.
- If the step above is successful, you should be able to see output via UART and see a wifi access point called
WICED Soft AP
with the passwordabcd1234
. - You can now start playing around. I recommend looking into apps/snip/apsta to play around. WICED comes with loads of sample application, so, look around, hack around and make stuff happen.
- Join us on Gitter for a chat if you experience any issues getting up and running.
Make sure that the JTAG pins are not initialized to alternative functions unless you are ready to find an alternative to be able to flash the module again. Nb. There is a built in bootloader in the STM32 family of MCUs, that allows flashing over, among other things, UART. Refer to datasheets to find out how that works (or ask on the gitter channel).
Some documentation, schematics, libraries and datasheets, among other related things, can be found in the docs_and_libraries directory, in this repository. There is also a subforum on emw3165.com dedicated to documentation.
You can get all the supported modules at Seeedstudio
- EMW3165 - Cortex-M4 based WiFi SoC Module
- EMWE - 3165 - A Development Board
- EMW3162 WiFi Module
- EMW3162 WiFi Module (External IPEX antenna)
- EMB-WICED-S EMW3162 Development Board for WICED (aka. green board) (Recommended due to the built-in WICED compatible JTAG)
- EMB-380-S2 Development Board (aka. black board) (Requires external JTAG adapter like Segger J-Link (or equivalent) or ST-Link V2)
- ST-Link V2 for STM8 STM32 interface programmer
- Breadboard friendly breakout board for EMW3165
Both EMW3162 development boards come with headers to solder on to an EMW3162. If you plan on using more than one EMW3162 with a development board, you need to source 2mm headers. The most common type of header are 2.54mm and those don't fit. SeeedStudio did not carry those headers when I last ordered a dev board. You will also require a couple of strips of regular headers to solder onto the development board as breakouts for the EMW3162 pins. The EMW3165 has a 1mm pin pitch and is soldered directly to the development board. The breakout pins on the development board are 2mm, for some reason and are not very convenient, as regular dupont connectors can't be side by side easily.