Getting Started Guide



Similar documents
UM1724 User manual. STM32 Nucleo boards. Introduction

STM-P103 development board user's manual

SKP16C62P Tutorial 1 Software Development Process using HEW. Renesas Technology America Inc.

Tutorial for MPLAB Starter Kit for PIC18F

ISP Engineering Kit Model 300

STM-103STK development board Users Manual

Lab Experiment 1: The LPC 2148 Education Board

USBSPYDER08 Discovery Kit for Freescale MC9RS08KA, MC9S08QD and MC9S08QG Microcontrollers User s Manual

UM0985 User manual. Developing your STM32VLDISCOVERY application using the IAR Embedded Workbench software. Introduction

ET-BASE AVR ATmega64/128

Figure 1. 8-Bit USB Debug Adapter

M68EVB908QL4 Development Board for Motorola MC68HC908QL4

Quick Start Guide. USB Packet Sniffer/Dongle for Kinetis MKW22D and MKW24D Wireless MCUs USB-KW24D512

Java Embedded Applications

In-System Programmer USER MANUAL RN-ISP-UM RN-WIFLYCR-UM

Quick Start Guide. TWR-MECH Mechatronics Board TOWER SYSTEM

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

HVP-KV31F120M Quick Start Guide

Quick Start Guide. MRB-KW01 Development Platform Radio Utility Application Demo MODULAR REFERENCE BOARD

UM1724 User manual. STM32 Nucleo-64 boards. Introduction

AVR Butterfly Training. Atmel Norway, AVR Applications Group

SAM G55 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE

SAM D21 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE

Installing the JTAG connector

UM1680 User manual. Getting started with STM32F429 Discovery software development tools. Introduction

_ v1.0. EVB-56x Evaluation & Development Kit for Motorola PowerPC MPC56x Microcontrollers USERS MANUAL. isystem, February /8.

USER GUIDE EDBG. Description

CB-OLP425 DEVELOPMENT KIT GETTING STARTED

Getting started with software and firmware environments for the STM32F0DISCOVERY kit

UM1969 User manual. Getting started with STM32F746G discovery software development tools. Introduction

MX PIC24F Educational Module User Manual

WinCON8000-R2/R8. Hardware User s Manual

USB to RS-422/485 Serial Adapter

Open1788 User Manual. Features

BE635 User Manual. Rev. V Bolymin, Inc. All Rights Reserved.

ET-STM32F103. User s Manual of Board Microcontroller version ET-STM32F103 (ARM Cortex-M3)

Bluetooth + USB 16 Servo Controller [RKI-1005 & RKI-1205]

SAM4L Xplained Pro. Preface. SMART ARM-based MCUs USER GUIDE

AN2586 Application note

Programming the On-Chip Flash on a phycore-xc161 phycore-xc167

3. Programming the STM32F4-Discovery

Installation Instructions for 9555 USB Driver

EMUL ARM. ARM Connections Nohau Corporation. All rights reserved worldwide.

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

RC2200DK Demonstration Kit User Manual

Embedded Display Module EDM6070

Guangzhou HC Information Technology Co., Ltd. Product Data Sheet

CodeWarrior Development Studio for Freescale S12(X) Microcontrollers Quick Start

MED-AFEs Design Reference Manual

Building an Embedded Processor System on a Xilinx Zync FPGA (Profiling): A Tutorial

STM32F4DISCOVERY. Discovery kit with STM32F407VG MCU. Features. Description

UM1075 User manual. ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32. Introduction

Nuvoton Nu-Link Debug Adapter User Manual

INTRODUCTION TO SERIAL ARM

M CORE 14-PIN ENHANCED BACKGROUND DEBUG INTERFACE (14EBDI) USER S MANUAL

EvB 5.1 v5 User s Guide

Board also Supports MicroBridge

GTS-4E Hardware User Manual. Version: V1.1.0 Date:

EasyPIC4 User s Manual

The following is a summary of the key features of the ARM Injector:

M80 EVB User Guide M80. Quectel Cellular Engine. EVB User Guide M80_EVB_UGD_V1.2 M80_EVB_UGD_V1.2-0-

GPS/GLONASS SiRFstarV Evaluation Kit EVA5100-A

Hello, and welcome to this presentation of the STM32L4 reset and clock controller.

WinLIN Setup and Operation:

UM1075 User manual. ST-LINK/V2 in-circuit debugger/programmer for STM8 and STM32. Introduction

SBC8600B Single Board Computer

Flight Controller. Mini Fun Fly

RN-WIFLY-EVAL-UM. WiFly Evaluation Kit Roving Networks. All rights reserved. RN-WIFLY-EVAL-UM Version 1.32r 10/9/2012 USER MANUAL

SAM D20 Xplained Pro. Preface. SMART ARM-based Microcontrollers USER GUIDE

Z8 Encore! XP F64xx Series Flash Microcontrollers. In-Circuit Emulator. User Manual UM

STM32 F-2 series High-performance Cortex-M3 MCUs

GSM Interfacing Board

Work with Arduino Hardware

W7200-EVB User s Guide

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

Introducing AVR Dragon

DKWF121 WF121-A B/G/N MODULE EVALUATION BOARD

32F072BDISCOVERY. Discovery kit for STM32F072xx microcontrollers. Features. Description

Config software for D2 systems USER S MANUAL

Figure 1. STM32F429 Discovery board: STM32F429I-DISCO

AN3354 Application note

TWR-KV31F120M Sample Code Guide for IAR Board configuration, software, and development tools Rev.0

Iridium Satellite Phonebook Tool Version H2PT0901 User Guide v3.2

ETRX3USB ETRX3USB-LRS ETRX3USB+8M ETRX3USB-LRS+8M PRODUCT MANUAL

USB-MIDI Setup Guide. Operating requirements

Capacitive Touch Lab. Renesas Capacitive Touch Lab R8C/36T-A Family

UM1727 User manual. Getting started with STM32 Nucleo board software development tools. Introduction

Advanced Data Capture and Control Systems

Introduction. Getting familiar with chipkit Pi

Instructions for Installing and Using the FOCUS DL-15 Data Transfer Software

How To Use Nuc123 (Nuc123) For A Week

Digital I/O: OUTPUT: Basic, Count, Count+, Smart+

BIT COMMANDER. Serial RS232 / RS485 to Ethernet Converter

WIZ-Embedded WebServer User s Manual (Ver. 1.0)

MasterBlaster Serial/USB Communications Cable User Guide

DevKit1207 Evaluation Kit

ARM. series SIGNUM SYSTEMS. JTAGjet-ARM Driver for IAR Embedded Workbench. Installation Instructions

ic-mq EVAL MQ1D EVALUATION BOARD DESCRIPTION

USER GUIDE. Atmel SAM4S Xplained Pro. Preface

MARTECH SPI Tools. MARTECH SPI Tools User Manual v1.0. User Manual

Transcription:

Getting Started Guide IAR KickStart Kit for STMicroelectronics STM32F103ZE This guide briefly describes how to get started using IAR Embedded Workbench with IAR J-Link OB (on board) debug interface to run an example application on the STM32F103ZE-SK target system. For more detailed information, see the IAR Embedded Workbench IDE User Guide, which also contains the C-SPY hardware debugger documentation. This document is reached from the Help menu in the IAR Embedded Workbench IDE. Features of the STM32F103ZE-SK evaluation board STM32F103ZE device Stepper motor 3-axis accelerometer Temperature sensor Buzzer SD/MMC card slot I2S routed to speaker codec DAC one channel routed to pin USB 2.0 full speed connector ADC (routed to potentiometer) I2C (routed to UEXT connector) SPI1 (routed to UEXT) 2 USART DB9 connectors CAN routed to a three-pin terminal block JTAG/SWD interface connector (standard 20-pin) ETM v3 Trace connector (as defined by ARM) J-Link OB (your J-Link for ARM is mounted on the evaluation board) Status LED Power supply LED Reset button External power connector, through J-Link and USB (jumper selectable) Potentiometer (AN-TR) Color LCD 4 User LEDs One user button to simulate external events One wake-up button Joystick Prototype area Jumper for measuring power consumption from the controller RoHS-compliant GS-STM32F103ZE-5 1

Install IAR Embedded Workbench for ARM 1 Insert the IAR KickStart Kit installation CD. The CD contains all the software you need to get your project up and running. The installation program starts automatically. 2 First choose which board you are working with, and then move on to the CHOOSE SOFTWARE page. 3 Select the IAR Embedded Workbench for ARM installation of your choice. We recommend the KickStart edition which has no time limit. Figure 1 - Install software 4 Follow the installation directions given on the installation CD. You will have to register your product to get your license number and key. These will be delivered to you via e-mail within a few minutes. After this you will be able to install the software. Note that it can take several minutes for the installation files to unpack. We recommend that you use the default directories on your installation. Setting up the evaluation board Before you start IAR Embedded Workbench, IAR J-Link OB (on board) for ARM (hereafter called IAR J-Link) must be installed. 1 Set the following jumpers Jumper(s) PWR_SEL JTAG_SEL Table 1 - Jumper settings Description Pin 3-4 closed - power from J-Link OB Open, J-Link OB is used 2 Connect your computer and the IAR J-Link through the USB connector USB-JLINK, located on the top left side beside the stepper motor. 3 The Power LED on the evaluation board should now be lit. 4 If this is the first time that you are using J-Link, Windows will start the Install wizard. Choose Install from a specific location. 5 When asked to locate the USB drivers, click the browse button and navigate to the \Program Files\IAR Systems\Embedded Workbench x.x Kickstart\arm\drivers\JLink\ directory. 6 Click Finish. IAR J-Link is now installed. GS-STM32F103ZE-5 2

Running example applications When you have installed and set up all the software and hardware, it is time to try out one of the example applications provided with the IAR Embedded Workbench KickStart edition for ARM. To take full advantage of the example application, you should have some working knowledge of IAR Embedded Workbench IDE. For a quick introduction, see the tutorials in the ARM IAR Embedded Workbench IDE User Guide, available as an online PDF from the IAR Embedded Workbench IDE Help menu. The example described here is Buzzer which will let you control the buzzer to make a sound by pressing the button. 1 From the Start menu, start the IAR Embedded Workbench IDE by choosing All Programs> IAR Systems> IAR Embedded Workbench for ARM x.xx Kickstart >IAR Embedded Workbench. You will get straight into the IAR Information Center for ARM. 2 Click EXAMPLE PROJECTS. Figure 2 - IAR Information Center for ARM 3 Select in order ST, STM32F10xx and finally your board IAR-STM32F103ZE-SK. 4 Select the Buzzer example. 5 Choose a destination folder to save a copy of this project for testing, so that the original project will not be updated for any changes you made during testing. 6 Read the Example description in the Editor window or the readme.txt file included in the project. GS-STM32F103ZE-5 3

7 Choose Project>Make or click the Make button on the toolbar. The project should compile with no errors (you can ignore the warnings). Figure 3 - The Make button 8 Choose Project>Download and Debug or click the Download and Debug button on the toolbar to downloaded your program to the development board. 9 The file main.c is now open in the editor window and the program is stopped at the start. Click Debug>Go or click the Go button on the toolbar to start the application. 10 The LCD is showing an IAR Systems logo. Press the TAMPER button; you will hear that the buzzer makes a sound. 11 To stop C-SPY, click the Break button on the debug bar. 12 To exit C-SPY, click the Stop Debugging button on the toolbar. In order to try other example projects included click Help>Information Center to bring up the IAR Information Center again. Remember to read the project descriptions in each project. Short comments of the example applications included In all example applications, there is an Example descriptions or a readme.txt that gives more detailed instructions. Given below are some extra hints. Mass Storage and USB Mouse: A separate USB cable is needed to connect your PC and USB-B port. Stepper Motor Demo: +5v external power might be needed (Pin 7 and 8 should be closed on PWR_SEL). Virtual COM: After you press the Go button, a separate USB cable is needed to connect your PC and USB-B port. You will also be asked to install the Virtual COM driver from \Program Files\IAR Systems\Embedded Workbench x.x Kickstart\arm\examples \ST\STM32F10x\IAR-STM32F103ZE-SK\VirtualCom\VirCOM_Driver_XP. After this you should be able to find IAR Virtual COM port under Device Manager>Ports (COM& LPT). Test Demo: The code size of this example exceeds the 32K limit. Please download and test on the 30-day evaluation edition (http://www.iar.com/downloads). GS-STM32F103ZE-5 4

Running IAR PowerPac BSP When IAR Embedded Workbench is installed, it will also automatically install an IAR PowerPac evaluation edition along with it. 1 From the IAR Embedded Workbench IDE, choose Project>Add Existing Project and navigate to your local copy of the BSP directory, select Start_STM32_HD.ewp and click Open. 2 Rebuild and run the application (repeat step 7-10 as above), the application will start two periodic tasks that blink the LEDs (make sure that the jumpers on STAT1_E and STAT2_E are closed). To try other example applications included in the Application/Excluded group. Use drag and drop to move the RTOS start application OS_Start_LEDBlink.c from the folder Application into the folder Application\Excluded. Then move the example application of choice from the folder Excluded into the folder Application, rebuild and run. Figure 4 - Try other examples by exchanging the active file GS-STM32F103ZE-5 5

Hints and troubleshooting Change debug interface between JTAG and SWD On the STM32 Cortex-M3 device, you can choose between two different debug interfaces the standard JTAG interface or the SWD (serial wire debug) interface. When you have started IAR Embedded Workbench for ARM, you can change the debug interface used through the project options: Figure 5 - Choose JTAG or SWD debugger interface GS-STM32F103ZE-5 6

Jumper descriptions JTAG_SEL RX1_BOOT/RX1 TX1_BOOT/TX1 3.3V_MCU_EN PWR_SEL STATX_E CTS2_E BOOT Figure 6 evaluation board jumpers GS-STM32F103ZE-5 7

Jumper PWR_SEL pin 1-2 PWR_SEL pin 3-4 PWR_SEL pin 5-6 PWR_SEL pin 7-8 B0_1/B0_0 Boot select 0 B1_1/B0_1 Boot select 1 STAT1_E STAT2_E STAT3_E STAT4_E CTS2_E 3.3V_MCU_EN JTAG_SEL RX1_BOOT/RX1 TX1_BOOT/TX1 Table 2 - Jumper settings Note: Square pads indicate pin 1. Description Power from USB +5VDC Power from USB J-Link-OB +5VDC (default) Power from the J-Link probe through the JTAG connector +5VDC Power from external source +5VDC B0 B1 Description 0 X Embedded flash (default) 1 0 System memory 1 1 Embedded SRAM Connect status LED1 (PF6) (default closed) Connect status LED1 (PF7) (default closed) Connect status LED1 (PF8) (default closed) Connect status LED1 (PF9) (default closed) Connect UART2 RS232 CTS signal (default open) Connect 3.3V supply to STM32F for current consumption measurement (default closed) Disconnect J-Link on board (default open) RX1_BOOT connects RS232_1 to PA10 RX1 connects RS232_1 to PB7 (default) TX1_BOOT connects RS232_1 to PA9 TX1 connects RS232_1 to PB 6 (default) GS-STM32F103ZE-5 8

Board layout PWR USB-B JTAG Stepper USB1 JLINK motor Trace 3V_BAT USB_C LED PWR LED RS232_1 JTAG LED USER button DATA_MOTHER Joystick J1 RS232_2 ADDR_MOTHER WK_UP button Buzzer Trimpot AN_TR Camera Audio out CAN UEXT LCD STAT LEDs Temperature Accelerometer Sensor Tamper button Reset button Figure 7 evaluation board connectors 1 The stepper motor needs 700 ma. Supply the board with external power when using it. GS-STM32F103ZE-5 9

Input/output The USER button is connected to the STM32F103ZE pin 93 (PG8). The WKUP button is connected to the STM32F103ZE pin 34 (PA0/WKUP/USART2_CTS/ ADC123_IN0/TIM5_CH1/TIM2_CH1_ETR/TIM8_ETR). The TAMPER button is connected to the STM32F103ZE pin 7 (PC13/TAMPER-RTC). The RESET button is connected to the STM32F103ZE pin 25 (NRST). The joystick J1 s right is connected to the STM32F103ZE pin 92 (PG7/FSMC_INT3). The joystick J1 s left is connected to the STM32F103ZE pin 127 (PG12/FSMC_NE4). The joystick J1 s down is connected to the STM32F103ZE pin 128 (PG13/FSMC_A24). The joystick J1 s up is connected to the STM32F103ZE pin 129 (PG14/FSMC_A25). The joystick J1 s center button is connected to the STM32F103ZE pin 132 (PG15). A power-on PWR LED shows that the board is powered on. The STAT 1 LED is connected to the STM32F103ZE pin 18 (PF6/ADC3_IN4/FSMC_N/ORD). The STAT 2 LED is connected to the STM32F103ZE pin 19 (PF7/ADC3_IN5/FSMC_N/REG). The STAT 3 LED is connected to the STM32F103ZE pin 20 (PF8/ADC3_IN6/FSMC_N/OWR). The STAT 4 LED is connected to the STM32F103ZE pin 21 (PF9/ADC3_IN7/FSMC_CD). The LED by the name LED indicates the JTAG status. The USB_C LED indicates that information is sent over USB. A trimpot AN_TR is connected to the STM32F103ZE pin 44 (PC4/ADC12_IN14). A color LCD display with a resolution of 132x132 pixels. GS-STM32F103ZE-5 10

Prototyping area The prototyping area permits adding of new components. Figure 8 - Pins connected to the prototyping area Clock circuit The oscillator Q1 at 8 MHz is connected to the STM32F103ZE OSC_IN pin and the OSC_OUT pin. The oscillator Q2 at 32.768 khz is connected to the STM32F103ZE PC14/OSC32_IN pin and the PC15/OSC32_OUT pin. GS-STM32F103ZE-5 11

External connectors description JTAG Pin # Signal name Pin # Signal name 1 +3.3V 2 +3.3V 3 TRST 4 GND 5 TDI 6 GND 7 TMS 8 GND 9 TCK 10 GND 11 RTCK 12 GND 13 TDO 14 GND 15 RST 16 GND 17 GND 18 GND 19 +5V_JLINK 20 GND TDI Input Test Data In. This is the serial data input for the shift register. TDO Output Test Data Out. This is the serial data output for the shift register. Data is shifted out of the device on the negative edge of the TCK signal. TMS Input Test Mode Select. The TMS pin selects the next state in the TAP state machine. TCK Input Test Clock. This allows shifting of the data in, on the TMS and TDI pins. It is a positive edge triggered clock with the TMS and TCK signals that define the internal state of the device. TRST Input Test Reset. This signal resets the JTAG controller. RTCK Output Return Clock. This is a synchronization signal which the JTAG connector uses to acknowledge that it is ready to receive/transmit. JTAG is used for programming and debugging the MCU. GS-STM32F103ZE-5 12

RS232_1 Pin # Signal name 1 NC 2 TIM1_CH2/TX1 or USART1_TX 3 TIM1_CH3/RX1 or USART1_RX 4 NC 5 GND 6 NC 7 NC 8 NC 9 NC RS232_2 Pin # Signal name 1 NC 2 USART2_TX 3 USART2_RX 4 NC 5 GND 6 NC 7 CTS 8 RTS 9 NC UEXT Pin # Signal name Pin # Signal name 1 VCC 2 GND 3 USART1_TX 4 USART1_RX 5 I2C2_SCL 6 I2C2_SDA 7 SPI1_MISO 8 SPI1_MOSI 9 SPI1_SCK 10 CS_UEXT GS-STM32F103ZE-5 13

SD/MMC card slot Pin # Signal name Pin # Signal name 1 SD_D3 2 SD_CMD 3 GND (VSS1) 4 VDD 5 SD_CLK 6 GND (VSS2) 7 SD_D0 8 SD_D1 9 SD_D2 10 WP_E 11 NC 12 NC 13 CP_E 14 3.3V 15 3.3V SD_D0-3 I/O Memory Card Interface Data 0-4. These are the data lines for the SD/MMC connector. They could be both input and output for the MCU depending on the data flow direction. SD_CMD Output Memory Card Interface Command. This is a command sent form the processor to the memory card and as such it is output from the processor. SD_CLK Output Memory Card Interface Clock. This signal is output from the MCU and synchronizes the data transfer between the memory card and the MCU. WP_E Input Write Protect. This signal is input for the MCU. CP_E Input Card Present. This signal is input for the MCU. CAN Pin # Signal name 1 CANH 2 CANL 3 GND GS-STM32F103ZE-5 14

Audio Out Pin # Signal name 1 LEFT 2 GBUF 3 RIGHT LEFT Output Left channel output. GBUF Output Virtual ground for audio output. RIGHT Output Right channel output. PWD Pin # Signal name 1 Power input 2 GND The power input should be +5 VDC, 500 ma (700 ma when the stepper motor is used). VBAT Pin # Signal name 1 + 2 - The RTC (real-time clock) and backup registers can be powered by VBAT. The voltage should be 1.8 to 3.6 V. GS-STM32F103ZE-5 15

Trace Pin # Signal Description Pin # Signal Description 1 VCC 3.3V 2 TMS 3 GND 4 TCK 5 GND 6 TDO 7 NC 8 TDI 9 GND 10 RST 11 GND 12 A23 13 GND 14 A19/TDO Depends on R156/R157 15 GND 16 A20/TRST Depends on R160/R161 17 GND 18 A21 19 GND 20 A22 GS-STM32F103ZE-5 16

ADDR_MOTHER Pin # Signal Description Pin # Signal Description 1 A0 2 VCC 3 A1 4 VCC 5 A2 6 VCC 7 A3 8 VCC 9 A4 10 VCC 11 A5 12 GND 13 A6 14 GND 15 A7 16 GND 17 A8 18 GND 19 A9 20 DOWN 21 A10 22 DISC 23 A11 24 NE3 25 A12 26 NE2 27 A13 28 NE1 29 A14 30 LEFT 31 A15 32 RIGHT 33 NC 34 A23 35 NC 36 A22 37 NC 38 A21 39 A19 40 A20 GS-STM32F103ZE-5 17

DATA_MOTHER Pin # Signal Description Pin # Signal Description 1 D0 2 VCC 3 D1 4 VCC 5 D2 6 VCC 7 D3 8 VCC 9 D4 10 VCC 11 D5 12 GND 13 D6 14 GND 15 D7 16 GND 17 D8 18 GND 19 D9 20 GND 21 D10 22 CP 23 D11 24 CNTRL 25 D12 26 CPLD_INT 27 D13 28 NC 29 D14 30 NC 31 D15 32 NC 33 /OE 34 STAT2 35 NC 36 STAT1 37 /BHE 38 UP 39 /BLE 40 TEMP_ALERT GS-STM32F103ZE-5 18

CAMERA Pin # Signal Description Pin # Signal Description 1 D0 2 GND 3 D1 4 GND 5 D2 6 GND 7 D3 8 GND 9 D4 10 GND 11 D5 12 GND 13 D6 14 GND 15 D7 16 GND 17 A0 18 GND 19 A1 20 GND 21 A2 22 GND 23 /OE 24 GND 25 /WE 26 GND 27 NE2 28 VCC 29 NC 30 VCC 31 CPLD_RST 32 VCC 33 CPLD_INT 34 VCC 35 I2C2_SCL 36 VCC 37 I2C2_SDA 38 VCC 39 MCO 40 VCC GS-STM32F103ZE-5 19

Troubleshooting If you are unable to find the cause of a problem, try resetting the evaluation board by using the reset button on the board. Then restart the C-SPY Debugger in the IAR Embedded Workbench IDE. You can also try disconnecting and reconnecting the power to the evaluation board, pressing the reset button and then restarting C-SPY. Disclaimer Information given in this document is intended as a help for the user. IAR Systems shall not be held liable for any losses or problems arising from using the information given in this document. IAR KickStart Kit content Welcome letter Installation CD STM32F103ZE-SK evaluation board USB A-B cable Trademarks etc. IAR Systems, IAR Embedded Workbench, C-SPY, visualstate, From Idea to Target, IAR KickStart Kit, IAR PowerPac, IAR YellowSuite, IAR Advanced Development Kit, IAR and the IAR Systems logotype are trademarks or registered trademarks owned by IAR Systems AB. J-Link is a trademark licensed to IAR Systems AB. All other trademarks or registered trademarks mentioned in this document are the properties of their respective owners. Copyright 2010 IAR Systems AB. Part number: GS-STM32F103ZE-5. Fifth edition: November 2010. GS-STM32F103ZE-5 20