Skip to content

Broadcom WICED patches for MXCHIP EMW wireless ARM platform. Not affiliated with MXCHIP or Broadcom

License

Notifications You must be signed in to change notification settings

leppie/WICED-for-EMW

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WICED for MXCHIP EMW wireless ARM modules

Supports EMW3162 and EMW3165

Join the chat at https://gitter.im/MXCHIP-EMW/WICED-for-EMW 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 password abcd1234.
  • 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

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.

Sample EMW3162 setup

About

Broadcom WICED patches for MXCHIP EMW wireless ARM platform. Not affiliated with MXCHIP or Broadcom

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 67.2%
  • Makefile 17.1%
  • Tcl 7.4%
  • C++ 5.0%
  • Shell 3.3%