WiMOD - im880b. Application Note AN017 / Version 1.1. Firmware Update for im880b. Document ID: 4100/40140/0103. Category:

Similar documents
WiMOD - ic880a. Application Note AN014 / Version 1.3. USB modifications for direct SPI operation. Document ID: 4000/40140/0079

WiMOD LR Starter Kit. Quick Start Guide. IMST GmbH Carl-Friedrich-Gauss-Str. 2-4 D KAMP-LINTFORT

Wireless M-Bus Analyzer

Wireless M-Bus Studio

im871a Wireless M-Bus

Wireless M-Bus Host Controller Interface DLL

WiMOD Shield for Arduino (WSA01)

F2MC MB90385 series Evaluation Board Documentation. Revision Date Comment V New document

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module

USB dongle for the Bluetooth class 2 SPBT3.0DP2 module. Description

im222a-znp (ZigBee Network Processor)

BLE232: Manual Copyright 2014 taskit GmbH

BIG8051. Development system. User manual

EVALKITSTKNX. Miniature transceiver STKNX evaluation and development kit. Features

Hardware Manual RM CANview Gateway

CPU369-Module Documentation. Fujitsu Microelectronics Europe GmbH Am Siebenstein Dreieich-Buchschlag, Germany

Serial Port Plug - F2M01SXA Brief Datasheet. Features. Applications. General Description. Provides transparent RS-232 serial cable replacement.

This manual provides information for the final user application developer on how to use SPC57S-Discovery microcontroller evaluation board.

PremierWave 2050 Enterprise Wi-Fi IoT Module Evaluation Kit User Guide

UM QN908x Quick Start. Document information. QN908x, Quick Start, Development Kit, QN9080 DK, QN9080 Development Kit

STEVAL-PCC010V1. ST802RT1A Ethernet PHY demonstration board with STM32F107 controller add-on board. Features. Description

Easy Kit Board Manual

STM3220G-SK/KEI. Keil starter kit for STM32F2 series microcontrollers (STM32F207IG MCU) Features. Description

AN10955 Full-duplex software UART for LPC111x and LPC13xx

STM32-SK/RAIS,STR91X-SK/RAI,STR7-SK/RAIS STM32-D/RAIS,STR9-D/RAIS,STR7-D/RAIS

System-on-Chip Battery Board User s Guide

STM32-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

ET-UARTSWD Users Guide

Product Datasheet: DWM1001-DEV DWM1001 Module Development Board. Key Features and Benefits

Intel Galileo gen 2 Board

STM3210B-SK/KEIL STR91X-SK/KEI, STR7-SK/KEIL

Hardware Manual RM CANview

User Guide. Date Apr BlueEva+C11/G2. Stollmann. E + V GmbH. User Guide

USER GUIDE. Atmel QT6 Xplained Pro. Preface

XE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

EVB9S08DZ60. Demonstration Board for Freescale MC9S08DZ60. User s Manual

EVALUATION BOARD MANUAL

IT900 STK4 (Starter Kit)

NUCLEO-L496ZG. STM32 Nucleo-144 board. Features. Description

MBN52832DK Rev A User Guide

WAVETEK BLE-WT51822AA/AB. Revision History. Bluetooth low energy Module WT51822AA (256k) /AB (128k) (Bluetooth Low Energy BT4.0) PRODUCT SPECIFICATION

BlueEva+S42M Evaluation Kit User Guide. 1VV Rev

Product Overview: DWM1001-DEV DWM1001 Module Development Board. Key Features and Benefits

XC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,

Ethernet1 Xplained Pro

USB dongle for the Bluetooth class 1 SPBT3.0DP1 module. Description

UM2255 User manual. SPC58NG-DISP user manual. Introduction

Figure 26 CC Debugger Interface

6LoWPAN Development Platform Saker Manual

USER GUIDE. ATWINC1500 Xplained Pro. Preface

HYDRA-X23/X23S. Power Application Controllers. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

Figure 1. CP2108 USB-to-Quad UART Bridge Controller Evaluation Board

E IO-Link Transceiver Evaluation Kit PCB 2 (with external transistor)

RN0046 Release note. 1 Introduction. SimpleMAC library for STM32W108xx kits. About this release note

STEVAL-SPBT4ATV3. USB dongle for the Bluetooth class 1 SPBT2632C1A.AT2 module. Features. Description

TO OUR VALUED CUSTOMERS

xpico 110 Wired Device Server Module Evaluation Kit User Guide

AVR-P development board Users Manual

QS Series Master Development System User's Guide

ZWIR4532 Evaluation Kit User Manual. Description. Features. Kit Contents

UM0401 User manual. User manual for eight bit port expander STMPE801 demonstration board. Introduction

Hardware Manual RM Display 1001

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on the STUSB1602

Preliminary. PACKAGE - 28-pin MLP (5mm X 5mm) Example Circuit Diagram CP V. 48MHz Oscillator. USB Function Controller 512B EEPROM

USER GUIDE. Atmel QT1 Xplained Pro. Preface

xpico 200 Series Evaluation Kit User Guide

BV511 Hardware Guide ByVac ByVac Revision 1.0

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

BlueEva+S50/Central Evaluation Kit User Guide. 1VV Rev

Hardware Manual RM Display 2501 S01..S04

Converting Firmware Projects to CoIde and IAR Embedded Workbench for ARM

STM8-SK/RAIS STM8-D/RAIS ST7-SK/RAIS ST7-D/RAIS

AN3354 Application note

KT-LINK. User Manual. KRISTECH ver A

USB Type-C and Power Delivery Nucleo pack with NUCLEO-F072RB expansion board based on STUSB1602. Description

WSM-BLE241 DK Rev C User Guide

HYDRA-X10. Power Application Controllers TM. PAC HYDRA-X User s Guide. Copyright 2014 Active-Semi, Inc.

U4DIL. AVR USB Module. Rev. 1.1 Documentation Rev. 19. Reusch Elektronik Reusch Elektronik, Dipl.-Ing. (FH) Rainer Reusch

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

Hardware Manual RM Display 2401

EVBQE128. Evaluation Board for Freescale Flexis QE128. User s Manual

EDK MHz EDK 350U 902 MHz EDK 400J 928 MHz. EnOcean Developer Kits USER MANUAL. Observe precautions! Electrostatic sensitive devices!

XE164 UConnect Manual, V.1.1, February XE164 UConnect. Board REV. 2007/40. Microcontrollers. Never stop thinking.

LPC-P1227 development board USER S MANUAL Revision B, July 2013 Designed by OLIMEX Ltd, 2011

UM0792 User manual. Demonstration firmware for the DMX-512 communication protocol transmitter based on the STM32F103Zx.

Introduction. Rev.1.2

LPC-P1227 development board USER S MANUAL Initial release, March 2012 Designed by OLIMEX Ltd, 2011

AN2667 Application note

F²MC-8L FAMILY MB89201 SERIES FLASH PROGRAMMING 8-BIT MICROCONTROLLER APPLICATION NOTE. Fujitsu Microelectronics Europe Application Note

AN3980 Application note

LPC2468 Industrial Reference Design Platform System Development Kit Version 1.2. August 2008

P-NUCLEO-USB001. STM32 Nucleo pack for USB Type-C and Power Delivery. Features. Description

Dual H-Bridge shield. Dual H-Bridge shield - board user manual. Shield for DC motor control with IFX9202. About this document.

ewon Flexy 2 Serial Ports Ext. Card FLA 3301

Silicon Laboratories' EM35x Mini Module Companion Kit

PAC5523EVK1. Power Application Controllers. PAC5523EVK1 User s Guide. Copyright 2017 Active-Semi, Inc.

AVR-P20 development board Users Manual

NUCLEO-L433RC-P NUCLEO-L452RE-P

Transcription:

WiMOD - im880b Application Note AN017 / Version 1.1 Firmware Update for im880b Document ID: 4100/40140/0103 Category: IMST GmbH Carl-Friedrich-Gauss-Str. 2-4 D-47475 Kamp-Lintfort

Overview Document Information File name im880b_an017_firmwareupdate.docx Created 2016-02-29 Total pages 15 Revision History Version Description 1.0 Preliminary version. 1.1 Updated chapter about ix880 Update Tool Aim of this Document Aim of this document is to give a short description on how to update the firmware of the module im880b. Confidentiality Note This document has to be treated confidentially. Its content must not be published, duplicated or passed to third parties without our express permission. im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 2 of 15

Overview Table of Contents 1 OVERVIEW 4 2 HARDWARE INFORMATION 4 2.1 Schematic of the im880b 4 2.2 WiMOD Demo Board 5 2.3 Programming Interface 7 3 DEVELOPING SOFTWARE FOR THE IM880B 8 3.1 Useful Tools 8 3.1.1 IAR Embedded Workbench 8 3.1.2 ST-Link/v2 8 3.1.3 J-Link Debug Probe 8 4 FIRMWARE UPDATE BY BOOTLOADER 9 4.1 Studio Support 9 4.2 ix880 Update Tool 9 5 APPENDIX 13 5.1 List of Abbreviations 13 5.2 List of Figures 13 5.3 List of Tables 13 6 REGULATORY COMPLIANCE INFORMATION 14 7 IMPORTANT NOTICE 15 7.1 Disclaimer 15 7.2 Contact Information 15 im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 3 of 15

Overview 1 Overview Purpose of this application note is to describe how to update the firmware of the module. 2 Hardware Information 2.1 Schematic of the im880b The following figure shows the logical routing of the im880b. It shows the pinout (left side) and all necessary information regarding software development. Figure 2-1: Logical routing of the im880b Main components of the im880b are the STMicroelectronics microcontroller STM32L151Cx device generation A and the Semtech SX1272 transceiver. The microcontroller can be reprogrammed by using the integrated programming and debug interface described in chapter 2.3. The radio module is equipped with two external crystals. A 16MHz crystal is connected to µc pins 5 and 6 (OSC_IN /OSC_OUT) and a 32.768 khz crystal is connected to µc pins 3 and 4 (OSC32_IN / OSC32_OUT). im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 4 of 15

Hardware Information 2.2 WiMOD Demo Board The WiMOD im880b provides several functional units like buttons, LEDs, a potentiometer, a buzzer and a temperature sensor. The module can easily be accessed via the on board UART to USB converter. To develop software for the im880b it is helpful to use the ST-Link/v2 debugger. The connection is described in chapter 2.3 of this document. Figure 2-2 gives an overview of the WiMOD Demo Board and its peripherals. Pin 1 on X1 (RM Connector 1) Pin 1 on X2 (RM Connector 2) LED D6 (Power status) LED D5 (USB status) Push button B4 (RESET) Pin 1 on X3 (Programming Connector) Jumper JP1 Sliding switch S1 (Power-Select) Pin 1 on X4 (Programming Connector) Pin 1 on X6 (I/O Connector 2) Pin 1 on X7 (I/O Connector 3) Pin 1 on X5 (I/O Connector 1) Battery Connector Pin 1 on X10 (Aref) DIP switch Push button B1, B2 & B3 Buzzer Temperature sensor Potentiometer LEDs D1, D2, D3 & D4 Figure 2-2: WiMOD Demo Board When using the Demo Board with the im880b, the module has to be soldered on its specific adapter board AB_01 and plugged into X1 and X2. Now all necessary module pins are available on X4 (programming interface), X5, X6, and X7 of the Demo Board. im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 5 of 15

Hardware Information Button 3 1 Dip Switch 1 3 Ext. Aref 5 Button 1 7 Button 2 9 Poti 11 Buzzer 13 Dip Switch 2 15 LED 1 17 LED 1 19 Sensor_SCL 3 Sensor_SDA 5 /CTS_USB 7 /DSR_USB 9 /RI_USB 11 RxD_USB 13 /RTS_USB 15 /DTR_USB 17 TxD_USB 19 GND 1 LED 2 3 LED 3 5 LED 4 7 GND 9 2 4 6 8 10 GND X2.5 X2.6 X2.7 GND Thermostat Output 1 2 4 6 8 10 12 14 16 18 20 2 4 6 8 10 12 14 16 18 20 X1.19 X1.18 X1.17 X1.16 X1.15 X1.14 X1.12 X2.2 X2.3 X2.4 X2.8 X2.9 X2.11 X2.12 X2.13 X2.14 X2.15 X2.16 X2.17 X2.18 X5 X7 X6 Figure 2-3: Graphical Pinout of the I/O connectors Pin-Nr. Connected to Pin-Nr. Connected to im880b Pad Nr. X5.1 Button 3 X5.2 14 X5.3 DIP Switch 1 X5.4 15 X5.5 Ext. ARef X5.6 10 X5.7 Button 1 X5.8 13 X5.9 Button 2 X5.10 12 X5.11 Potentiometer X5.12 9 X5.13 Buzzer X5.14 8 X5.15 DIP Switch 2 X5.16 29 X5.17 LED 1 X5.18 29 X5.19 LED 1 X5.20 26 X6.1 GND X6.2 GND X6.3 LED 2 X6.4 25 X6.5 LED 3 X6.6 24 X6.7 LED 4 X6.8 20 X6.9 GND X6.10 GND X7.1 Thermostat Output X7.2 28 X7.3 Temperature sensor (Sensor_SCL) X7.4 21 X7.5 Temperature sensor (Sensor_SDA) X7.6 23 X7.7 /CTS of the USB Controller X7.8 - X7.9 /DSR of the USB-Controller X7.10 - X7.11 /RI of the USB-Controller X7.12 - X7.13 RxD of the USB-Controller X7.14 19 X7.15 /RTS of the USB-Controller X7.16 - X7.17 /DTR of the USB-Controller X7.18 - X7.19 TxD of the USB-Controller X7.20 18 Table 2-1: Wiring of X5, X6 and X7 to the radio module For more information please refer to the WiMOD Demo Board User Guide. im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 6 of 15

Hardware Information 2.3 Programming Interface The STM32L151Cx-A offers of a JTAG test interface (JTCK, JTMS, JTDI, and JTDO) which can be used for programming the On-chip flash and for accessing the On-chip Debug system. Table 2-2 lists the necessary pads of the im880b which have to be connected to the programming device. im880b Demo Board Description Pin # Pin row X4 Pad 5 X4.1 JTDI - X4.2 GND Pad 4 X4.3 JTDO - X4.4 VCC Reference voltage for the programming device; must not be used to supply the demo board and the radio module Pad 2 X4.5 JTCK Pad 7 X4.6 /RESET (necessary for using the On-chip debug system) - X4.7 - X4.8 Pad 3 X4.9 JTMS - X4.10 GND Table 2-2: Programming and debug interface of the im880b With the WiMOD Starter Kit, the JTAG interface is reachable on pin row X4 of the WiMOD Demo Board. The development tool/programming device ST-Link/v2 STMicroelectronics must be connected to X4 using the wiring according to Figure 2-4: Figure 2-4: Pinout of X4 on the WiMOD Demo Board im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 7 of 15

Developing Software for the im880b Figure 2-5: ST Link, Programming Adapter and SK-iM880B Demo Board. 3 Developing Software for the im880b 3.1 Useful Tools 3.1.1 IAR Embedded Workbench IAR Embedded Workbench for ARM is an integrated development environment (IDE) with high optimizing C/C++ Compiler for ARM microcontrollers. Link: http://www.iar.com/en/products/iar-embedded-workbench/arm/, IAR Systems 3.1.2 ST-Link/v2 The ST-LINK/V2 is a low-cost in-circuit debugger and programmer for the STM8 and STM32 microcontroller families. It can be used together ST-Link Utility to flash the modules microcontroller. It is also possible to be used with IAR Embedded Workbench for ARM for debugging. Link: http://www.st.com/stlinkv2, STMicroelectronics 3.1.3 J-Link Debug Probe Furthermore many of the J-Link Debug Probes made by Segger can be used to program and debug the im880b. Link: http://www.segger.com/jlink-debug-probes.html, SEGGER Microcontroller GmbH & Co.KG im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 8 of 15

Firmware Update by Bootloader 4 Firmware Update by Bootloader The im880b comes with an integrated bootloader to flash the device without using a programming adapter. With this bootloader HEX-Files can be loaded into the radio modules microcontroller via the UART interface. We recommend arranging an external access to the UART lines in your product design. The bootloader uses the UART pins RxD and TxD and the bootloader pin (module pad 26) of the radio module to enter the bootloading mode. 4.1 Studio Support Bootloading functionality is included within the LoRaWAN_EndNode_Studio and the LR_Studio under the File Menu. Please follow the instructions given by the tool. 4.2 ix880 Update Tool Important note: The ix880 Update tool is deprecated. It only supports the im880a/iu880a devices. The im880b module is NOT supported. Please use the tools described in chapter 4.1. With the ix880 Update Tool the im880a and the iu880a can be updated with the integrated bootloader in an easy way. Download the ix880 Update Tool from http://www.wireless-solutions.de and extract the ZIP archive to your local drive Connect the im880b device via USB Cable to your PC Select the right COM Port im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 9 of 15

Firmware Update by Bootloader Figure 4-1: ix880 Update Tool For im880a on WiMOD Demoboard a bootloading cable needs to be mounted to enter the bootloader mode according the following description: Connect the im880a bootloader pin to Vcc and power cycle the radio module (see Figure 4-2). im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 10 of 15

Firmware Update by Bootloader Reset Button Figure 4-2: Establishing Bootloader Mode On WiMOD Demo Board the im880a bootloader pin1 is routed to connector X5.20. Connect X5.20 with X9.1 (Vcc) and press the reset button (B4) to power cycle the radio module. To update the iu880a USB Stick device the bootloader mode is entered automatically if the check on Update iu880a (see Figure 4-3) is set. Make sure that no other WiMOD USB devices are attached to your PC during update process. Figure 4-3: Check Update iu880a 1 If using im880a without WiMOD Demo Board, connect module pad 26 with Vcc to enter bootloader mode. im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 11 of 15

Firmware Update by Bootloader Press Start Update to start the bootloading process After download has been completed, remove bootloader cable and press the reset button (B4) on WiMOD Demo board. im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 12 of 15

Appendix 5 Appendix 5.1 List of Abbreviations JTAG Joint Test Action Group UART Universal Asynchronous Receiver Transmitter USB VCP Universal Serial Bus Virtual Com Port 5.2 List of Figures Figure 2-1: Logical routing of the im880b... 4 Figure 2-2: WiMOD Demo Board... 5 Figure 2-3: Graphical Pinout of the I/O connectors... 6 Figure 2-4: Pinout of X4 on the WiMOD Demo Board... 7 Figure 2-5: ST Link, Programming Adapter and SK-iM880B Demo Board.... 8 Figure 4-1: ix880 Update Tool...10 Figure 4-2: Establishing Bootloader Mode...11 Figure 4-3: Check Update iu880b...11 5.3 List of Tables Table 2-1: Wiring of X5, X6 and X7 to the radio module... 6 Table 2-2: Programming and debug interface of the im880b... 7 im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 13 of 15

Regulatory Compliance Information 6 Regulatory Compliance Information The use of radio frequencies is limited by national regulations. The radio module has been designed to comply with the European Union s R&TTE (Radio & Telecommunications Terminal Equipment) directive 1999/5/EC and can be used free of charge within the European Union. Nevertheless, restrictions in terms of maximum allowed RF power or duty cycle may apply. The radio module has been designed to be embedded into other products (referred as final products ). According to the R&TTE directive, the declaration of compliance with essential requirements of the R&TTE directive is within the responsibility of the manufacturer of the final product. A declaration of conformity for the radio module is available from IMST GmbH on request. The applicable regulation requirements are subject to change. IMST GmbH does not take any responsibility for the correctness and accuracy of the aforementioned information. National laws and regulations, as well as their interpretation can vary with the country. In case of uncertainty, it is recommended to contact either IMST s accredited Test Center or to consult the local authorities of the relevant countries. im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 14 of 15

Important Notice 7 Important Notice 7.1 Disclaimer IMST GmbH points out that all information in this document is given on an as is basis. No guarantee, neither explicit nor implicit is given for the correctness at the time of publication. IMST GmbH reserves all rights to make corrections, modifications, enhancements, and other changes to its products and services at any time and to discontinue any product or service without prior notice. It is recommended for customers to refer to the latest relevant information before placing orders and to verify that such information is current and complete. All products are sold and delivered subject to General Terms and Conditions of IMST GmbH, supplied at the time of order acknowledgment. IMST GmbH assumes no liability for the use of its products and does not grant any licenses for its patent rights or for any other of its intellectual property rights or third-party rights. It is the customer s duty to bear responsibility for compliance of systems or units in which products from IMST GmbH are integrated with applicable legal regulations. Customers should provide adequate design and operating safeguards to minimize the risks associated with customer products and applications. The products are not approved for use in life supporting systems or other systems whose malfunction could result in personal injury to the user. Customers using the products within such applications do so at their own risk. Any reproduction of information in datasheets of IMST GmbH is permissible only if reproduction is without alteration and is accompanied by all given associated warranties, conditions, limitations, and notices. Any resale of IMST GmbH products or services with statements different from or beyond the parameters stated by IMST GmbH for that product/solution or service is not allowed and voids all express and any implied warranties. The limitations on liability in favor of IMST GmbH shall also affect its employees, executive personnel and bodies in the same way. IMST GmbH is not responsible or liable for any such wrong statements. Copyright 2013, IMST GmbH 7.2 Contact Information IMST GmbH Carl-Friedrich-Gauss-Str. 2-4 47475 Kamp-Lintfort Germany T +49 2842 981 0 F +49 2842 981 299 E sales@imst.de I www.wireless-solutions.de im880b_an017_firmwareupdate.docx, Wireless Solutions, V1.1 page 15 of 15