work with emb-wiced-s development board started with mxchip emw3…  · web viewgetting started...

4
Getting Started with MXCHIP EMW3162 for WICED 1. Work with EMB-WICED-S Development Board Currently it’s tested under WICED SDK 2.4.0. The board has a built-in FTDI JTAG, so there is no need for external JTAG connector. 1.1. Copy WICED MXCHIP3162 Patch 1.1.1. WICED SDK 2.4.0 Unzip the Wiced-SDK-2.4.0-MXCHIP3162-patch.zip. Copy the directory to your local WICED installation. The patch adds a MXCHIP3162 platform to WICED SDK. 1.1.2. WICED SDK 3.1.1 Unzip the WICED-SDK-3.1.1-MXCHIP3162-PATCH.zip. You will have a MXCHIP directory. Copy the MXCHIP directory to YOUR-WICED-INSTALLATION/WICED-SDK- 3.1.1/WICED-SDK/platforms directory. Note: Someone reported certain build problem on WICED 3.1.2 (not due to MXCHIP3162 patch). If that happens, please stick with WICED 3.1.1.

Upload: others

Post on 11-Oct-2019

7 views

Category:

Documents


0 download

TRANSCRIPT

Getting Started with MXCHIP EMW3162 for WICED

1. Work with EMB-WICED-S Development BoardCurrently it’s tested under WICED SDK 2.4.0. The board has a built-in FTDI JTAG, so there is no need for external JTAG connector.

1.1. Copy WICED MXCHIP3162 Patch

1.1.1. WICED SDK 2.4.0

Unzip the Wiced-SDK-2.4.0-MXCHIP3162-patch.zip. Copy the directory to your local WICED installation. The patch adds a MXCHIP3162 platform to WICED SDK.

1.1.2. WICED SDK 3.1.1Unzip the WICED-SDK-3.1.1-MXCHIP3162-PATCH.zip. You will have a MXCHIP directory. Copy the MXCHIP directory to YOUR-WICED-INSTALLATION/WICED-SDK-3.1.1/WICED-SDK/platforms directory.

Note: Someone reported certain build problem on WICED 3.1.2 (not due to MXCHIP3162 patch). If that happens, please stick with WICED 3.1.1.

1.2. Connect CableThe white mini-USB cable serves as power, USB serial port, and USB JTAG port. Connect the cable to the board and your computer.

1.3. Install DriverThe BCM9WCD1EVAL1 drivers are in the WICED installation the “Drivers” directory.

After connecting the USB cable to the board and your computer, turn on the power. Your computer will start to search drivers and install drivers. You can stop the installation and point the driver location to the BCM9WCD1EVAL1_Driver directory.Or after the auto-installation fails, open Control Panel->System->Device Manager. You’ll find some BCM943362WCD3 devices installed incorrectly.

Right click each device and select Update Driver Software, browse to the BCM9WCD1EVAL1_Driver directory and install driver. Repeat the same thing for all the driver-not-installed devices until you see a USB JTAG device and a COM port.

You should now be able to see a WICED USB Serial Port and a WICED USB JTAG Port.

1.4. Set SwitchesYou need to set all the switches to H.

1.5. Set Serial TerminalOpen your favorite terminal application. Set the baud rate 115200, parity None, flow control None.

1.6. Running WICEDHere’s the basic command to run an example in WICED.Cd into the WICED installation directory:

make snip.scan-MXCHIP3162-FreeRTOS-LwIP download run

It’s recommended to run snip.scan snip.https_client snip.apsta demo.appliance

2. Module Look

The 12-digit word is the MAC address of the module.

EMW3162-P is labeled T77H552 and the antenna connector is in the red circled position.

EMW3162-E is labeled T77H554 and the antenna connector is in the yellow circled positon.