Close
0%
0%

EMW3162

Sharing all my experiences with this 10$ WiFi chip with 120mhz. Compiled with GNU GCC

Similar projects worth following

First the EMW3162, if you didn't heard of it here is some info about it:
The EMW3162 is an WiFi chip by mxchip, combined with an STM32F205RG on a small board.

  • 120 mhz
  • 1M flash
  • 128k sram
  • seperate wifi chip, with private arm cpu 802.11a/b/g/n
  • ultra-low power blablabla
  • UART/SPI/I2S/I2C/ADC/DAC/PWM/TIMERS/GPIO
  • JTAG flash interface
  • 10 $ !!!!


http://www.seeedstudio.com/depot/EMW3162-WiFi-Module-p-2122.html


Please visit:
https://github.com/MXCHIP-EMW/WICED-for-EMW

  • Splitted Makefile

    Willem Wouters03/21/2015 at 19:13 0 comments
  • Some History

    Willem Wouters03/19/2015 at 18:24 0 comments

    A couple of months back i bought a EMW3162 and an Buspirate.

    Downloaded all the stuff from microchip, and found out that you need a KEIL compiler. I dont have one :(, tried to download it via shady ways no luck again ;(

    Then I thought I could compile the binary blobs delivered from microchip with GCC, ofcourse no luck.

    I even tweaked some of the sources inside GCC to make it compatible with the wchar size. Filled in the undefined references which should be linked via KEIL. But still no luck :( and many hours of waste.

    As you can see in the pictures, my setup wasnt really stable..... So I decided to buy an EMB-380 development board, and JLINK programmer, and an extra EMW3162. But still I had no working software....

    Somewhere in the comment sections of seedstudio someone suggest the WICED SDK and I should remap some transmit PINS, after comparing the MICO sources with WICED SDK I found which pins to remap.

    Recompiled the WICED_SDK and reflashed everything with the J-LINK, and boom the EMW3162 was working as AP, serving ip addresses and a small webserver.

    I did flashed it a couple of times via the buspirate, but this was very hard. The missing NJRST is a big problem. Just buy a JLINK via china for +/- 15$

    Then I started to split up the original build process to separate libraries. So I can compile my projects against the libraries created via the WICED build.

View all 2 project logs

View all instructions

Enjoy this project?

Share

Discussions

Emil Fridriksson wrote 08/19/2015 at 12:10 point

The instructions here point to a dead link. The project has moved to https://github.com/MXCHIP-EMW/WICED-for-EMW

  Are you sure? yes | no

Kevin Jordan wrote 07/13/2015 at 21:29 point

I just received the development kit and a couple modules.  I put a module on the board and I'm trying to debug why it's not working.  When is the LED on the development board supposed to light up?  So far I'm not getting any LED blinking and when I try to program over the J-Link interface using OpenOCD, it says that the VREF is too low, check target power.  I've got it plugged in through the USB port.  Is there anything else I need to do to it?

 I've order the WICED version of the development board off Amazon to see if that's the issue so I don't have to wait for shipping from China.

  Are you sure? yes | no

Kevin Jordan wrote 07/14/2015 at 14:07 point

Looks like I may have received a defective one as it appears there's a short somewhere in it.

  Are you sure? yes | no

Kevin Jordan wrote 07/15/2015 at 13:29 point

Well, silly me (and silly them).  There's a power switch in the upper left corner of it.  They don't have it labeled well (it just says SW5 under it) or pointing up and nice and visible like the other switches.  Hopefully that helps anyone else who gets one and wonders why it isn't working.

  Are you sure? yes | no

Jon Wolfe wrote 04/09/2015 at 15:34 point

Hi Willem et al,

First off, thanks for all your work. You're way ahead of me on getting this thing to work. I'm trying to stick with a straight WICED setup, but your port has helped me at least get it building.

I was disappointed when I realized the EMW3162 had those blasted 2.00mm pitch headers. (Ordinarily, I love SI units, 2.54mm is still SI, right? ;) ) 

Anyways, I threw together an adapter PCB for using the device on Breadboards or with standard headers. I posted about it on my blog

http://www.bytecruft.com/2015/04/prototyping-with-emw3162-iot-devices.html

You can get the adapter blank PCB here:

https://oshpark.com/shared_projects/PtnAlH2K

Since I run a small Maker business, if I have the resources to spare, I might look into doing a run of Kits for the adapter with PCB+needed headers.

  Are you sure? yes | no

Deep-Thought wrote 03/25/2015 at 10:10 point

I will keep a eye on this.

The ESP8266 dissapoints in a few areas. Once this runs with GCC I will give it a good try.

Few things that make ESP8266 quite annoying for me right now is Non-Opensource, No IPv6, genrally limited IP stack and pretty much no documentation on their weird hybrid WLAN modes.

  Are you sure? yes | no

Willem Wouters wrote 03/25/2015 at 18:06 point

It runs with GCC, the original WICED sdk has support for windows. The spinoff that exports the libraries I didnt tried it with yet (dont have windows)

  Are you sure? yes | no

Willem Wouters wrote 03/24/2015 at 14:52 point

I found references to SSL and TLS in code, but I didnt try it yet.

  Are you sure? yes | no

ianlee74 wrote 03/24/2015 at 14:34 point

Any chance this is going to support SSL?

  Are you sure? yes | no

Similar Projects

Does this project spark your interest?

Become a member to follow this project and never miss any updates