MCU/WISE-1570 SDK

From ESS-WIKI
Revision as of 10:10, 27 October 2017 by Will.chen (talk | contribs) (Created page with "= Introduction = <div style="margin-left:0.75cm;margin-right:0cm;">This document is description about WISE-1570 software development kit (SDK). It includes source tree of SDK,...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Introduction

This document is description about WISE-1570 software development kit (SDK). It includes source tree of SDK, development environment, flash programming…etc.

WISE-1570 Software Development Kit (SDK)

Setup Development Environment

Preparing for Hardware

The user needs to prepare for hardware as following:
  • For mote, WISE-1570, WISE-1500 and WISE-ED20 or WISE-ED22.
  • PC running LINUX operating systems such as Ubuntu 16.04.1.

Please refer to the following steps for setup a WISE series of boards before using WISE-1540 SDK.

Step01: Please prepare boards as below.
WISE1520 SDK HW 04-6.png

WISE-1570
The user must to choose the CN1 on WISE-1570 as below is connected to WISE-ED20 or WISE-ED22 through FPC.

WISE-1500

WISE-ED20

SW2 on WISE-ED20

  • Please check pin1 and pin2 to “ON” as default.
  • Switch pin1 to “ON”: flash programming, “OFF”: boot from flash.

CN2 on WISE-1500

  • Booting into the mode of network connection when both 3.3V and GPIO0 are opened.
  • Booting into the mode of console of API when both 3.3V and GPIO0 are shorted.

SW3 on WISE-1500

  • Please check pin1 and pin2 to “OFF” as default.
  • Switch pin2 to decide whether running “backup to default” while device booting. “ON”: enabled, “OFF”: disabled.

One reset button on WISE-1500 and the other on WISE-ED20

Micro USB connector

  • Power supplies for UART3 debug port.

Com port

  • No supported.


Step02: Connect the WISE-ED20 to PC using micro-USB cable.


WISE1520 SDK HW 05.png


The device will be visible in the Device Manager as below after FTDI driver installed. The user can find the FTDI driver in source tree.



ARM mbed

The ARM mbed is IoT device platform and it has a lot of resources for IoT development. We supported ARM mbed OS on WISE-1540 to make user easily to get started and obtain great benefit from ARM mbed.

mbed CLI

The mbed CLI is command-line tool. The user needs to setup CLI for WISE-1540 SDK. Please refer to below link for information about how to setup CLI.

mbed CLI configuration

  • GCC_ARM_PATH
Set GCC_ARM_PATH to the binary directory of your GCC Arm installation
$ mbed config -G GCC_ARM_PATH "/home/erick/gcc-arm-none-eabi-4_9-2015q3/bin"
[mbed] /home/erick/gcc-arm-none-eabi-4_9-2015q3/bin now set as global GCC_ARM_PATH


Flash Programming

For flash programming, the user can do it through WISE-ED22 or WISE-ED20 with different programming tool. Please refer to the following steps for flash programming.

Programming through WISE-ED22

Please refer to WISE-ED22 for flash programming.