AN2143 Application note

Similar documents
AN2667 Application note

STEVAL-CCM002V1. TFT-LCD panel demonstration board based on the STM32 as LCD controller. Features. Description

AN4113 Application note

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

AN2676 Application note

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

AN2672 Application note

AN626 Application note

AN3965 Application note

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

STM32-MP3NL/DEC. STM32 audio engine MP3 decoder library. Description. Features

AN3996 Application Note

UM1572 User manual. STEVAL-IPE020V1: ST energy meter application based on the Android platform. Introduction

AN2470 Application note TS4871 low voltage audio power amplifier Evaluation board user guidelines Features Description

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

AN3354 Application note

AN2855 Application note

AN2557 Application note

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

EV-VNQ5E050AK VNQ5E050AK evaluation board

AN3279 Application Note

AN3154 Application note

ST19WR08 Dual Contactless Smartcard MCU With RF UART, IART & 8 Kbytes EEPROM Features Contactless specific features

UM0693 User manual. 1 Introduction. STM8L101-EVAL demonstration firmware

OSPlus USB Extension. OSPlus USB 2.0 extension. Description. Features. Application. TCP/IP stack NexGenOS NexGenIP VFS. FAT Ext2 LVM Device layer

AN2261 APPLICATION NOTE

AN2430 Application note

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

UM1488 User manual. STPMC1 evaluation software. Introduction

STTS V memory module temperature sensor. Features

Getting started with DfuSe USB device firmware upgrade STMicroelectronics extension

AN2673 Application note

AN2240 Application note

AN2474 Application note

STA bit single chip baseband controller for GPS and telematic applications. Features

SOT23-6L ESDALCL6-2SC6

EVAL6235PD. L6235 three-phase brushless DC motor driver demonstration board. Features. Description

AN2825 Application Note

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

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

STEVAL-IHM028V1. 2 kw 3-phase motor control demonstration board featuring the IGBT intelligent power module STGIPS20K60. Features.

STLC2500D. Bluetooth V2.1 "Lisbon" + EDR. Features. Description

EMIF01-SMIC01F2 IPAD. Single line EMI filter including ESD protection. Main application. Description. Benefits. Pin configuration (Bump side view)

ST33F1M. Smartcard MCU with 32-bit ARM SecurCore SC300 CPU and 1.25 Mbytes high-density Flash memory. Features. Hardware features.

AN2737 Application note Basic in-application programming example using the STM8 I 2 C and SPI peripherals Introduction

AN4321 Application note

Obsolete Product(s) - Obsolete Product(s)

AN3250 Application note

Main components 1 A, high efficiency adjustable single inductor dual mode buckboost DC-DC converter

STM8 I 2 C optimized examples

AN2594 Application note

AN2592 Application note

AN2361 Application note

STICE CF/Stice_Connect AD/Stice_Connect AS/Stice_Connect

AN3980 Application note

STMicroelectronics. STxP70-4 assembler. User manual Rev A. October

Main components USB charging controller with integrated power switch


EMIF02-SPK02F2. 2-line IPAD, EMI filter and ESD protection. Features. Application. Description. Complies with the following standards

AN2734 Application note S-Touch design procedure Introduction

UM1084 User manual. CR95HF development software user guide. Introduction. Reference documents

EMIF02-MIC01F2 2-line IPAD, EMI filter including ESD protection Features Application Description Complies with the standards:

TN0189 Technical note

Description SPC564A-DISP. March 2014 DocID Rev 3 1/5

AN2202 Application note

STM32 embedded target for MATLAB and Simulink release 3.1. Summary for STM32 embedded target for MATLAB and Simulink release 3.1:

AN3975 Application note

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

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

ST19NP18-TPM-I2C Trusted Platform Module (TPM) with I²C Interface Features

AN2408 Application note

ST21NFCB. Near field communication controller. Features. RF communications. Hardware features. Communication interfaces. Electrical characteristics

SMP75. Trisil for telecom equipment protection. Features. Description. Applications. Benefits

AN4464 Application note

AN4440 Application note

AN3362 Application note

ST10F271B/E, ST10F272B/E Errata sheet

LD A very low drop adjustable positive voltage regulator. Description. Features

AN2781 Application note

AN2792 Application note

AN3001 Application note

AN4274 Application note

AN3988 Application note

AN3155 Application note

L6460. SPI configurable stepper and DC multi motor driver. Features. Description

ST33F1M, ST33F1M0, ST33F896, ST33F768, ST33F640, ST33F512

AN2061 APPLICATION NOTE

AN2768 Application note LIS331DL 3-axis digital MEMS accelerometer: translates finger taps into actions Introduction

TN0132 Technical note

AN3099 Application note

UM1719 User manual. The STPM3x evaluation software. Introduction

AN3174 Application note

How to interpret the LPS331AP pressure and temperature readings. Main components mbar absolute barometer with digital output

EMIF03-SIM06F3. 3-line IPAD, EMI filter including ESD protection. Description. Features. Application. Complies with the following standards:

STM8L-PRIMER STM32-PRIMER STMPRIMER

Description of STM8 LIN software package (STSW-STM8A-LIN) release 4.1. Table 1. Release information. STM8 LIN package

AN3140 Application note

AN3188 Application note

AN3991 Application note

AN3265 Application note

Transcription:

AN2143 Application note Programming the ST10F27X embedded Flash using the ST10FLASHER tool Introduction This document summarizes the different steps needed to program the internal Flash memory of the ST10F27x using the ST10Flasher tool. The required steps to load a binary file (Intel Binary or Motorola S-Record files) on the ST10F27x embedded flash will be described. A HEX file will be provided within an archived file as an example. June 2006 Rev 1 1/8 http:/www.st.com 8

ST10Flasher settings AN2143 1 ST10Flasher settings This section describes the steps required for programming the ST10F27x embedded Flash using the ST10Flasher. To use this document, the ST10Flasher must be already installed on the development host. For more details on ST10Flasher installation, refer to the readme.txt file included in the ST10Flasher tool package. 1.1 Starting ST10Flasher ST10Flasher runs on a PC connected to the ST10F27x target microcontroller via an RS232 interface. Enter the standard bootstrap mode by forcing P0L.4 to 0 and P0L.5 to 1 Reset the ST10 Select Start -> Programs -> ST10-Flasher-2.4 ST10Flasher starts and the following window appears: 2/8

AN2143 ST10Flasher settings 1.2 Communication set up If the bootstrap loader is OFF or the ST10 is not reset and you start ST10Flasher tool, you will be unable to program the ST10F27x internal flash and error messages will appear in the status window : In this case: Enter the bootstrap loader mode Reset the ST10 When loading the monitor, by clicking Reload Monitor icon, the tool performs an autodevice detection. The device is then displayed in the interface indicating that you are connected to e.g ST10F276. If the status window shows other error messages, check that the file "startup.ini" in the selected application directory corresponds to the application parameters, especially for the parameters COMPORTet BAUDRATE. Their default delivery settings are: COMPORT = COM1 BAUDRATE = 9600,N,8,1 3/8

ST10Flasher settings AN2143 1.3 Erasing the ST10F27x embedded flash Click the ERASE FLASH button command. A window will be displayed. Mark the flash memory areas to erase. Click Erase to start the erase operation. Status message of the erase operation is written in the status window. 1.4 Program operation Before programming the flash, you must make sure the device is blank. You can use the BlankCheck button and manually erase the non-blank blocks, if any exist. You can also activate the Auto Erase option to erase automatically before each device programming. Click File to program and select the Hex file *.hex (or *.S19) to program into the on-chip flash memory. 4/8

AN2143 ST10Flasher settings Clicking OK or double clicking the selected file automatically loads the HEX file (or S19 file). The name of the current loaded file is displayed. The status window returns the result of the loading operation. Click on the Program & Verify button to trigger the programming operation. Now the loaded hex file is transferred to the ST10 and programmed into the embedded flash memory. 5/8

ST10Flasher settings AN2143 1.5 Running the program After successful programming, in order to run the program, some hardware considerations should be taken into account: the bootstrap loader should be switched OFF the Single Chip mode ON by applying a high level to /EA pin. then, reset the controller. If you use the application.hex example delivered with this application note, you can use hyperterminal to verfiy the application is working well. For this purpose, start a terminal program on your PC with the line parameters 9600Baud, no parity, 8 bit data and 1 stop bit. If every thing is working properly, a small text will appear on your PC screen as shown in the following Figure: 6/8

AN2143 Revision history 2 Revision history Table 1. Document revision history Date Revision Changes 30-Jun-2006 1 Initial release. 7/8

Revision history AN2143 Please Read Carefully: Information in this document is provided solely in connection with ST products. STMicroelectronics NV and its subsidiaries ( ST ) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described herein at any time, without notice. All ST products are sold pursuant to ST s terms and conditions of sale. Purchasers are solely responsible for the choice, selection and use of the ST products and services described herein, and ST assumes no liability whatsoever relating to the choice, selection or use of the ST products and services described herein. No license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. If any part of this document refers to any third party products or services it shall not be deemed a license grant by ST for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoever of such third party products or services or any intellectual property contained therein. UNLESS OTHERWISE SET FORTH IN ST S TERMS AND CONDITIONS OF SALE ST DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY WITH RESPECT TO THE USE AND/OR SALE OF ST PRODUCTS INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE (AND THEIR EQUIVALENTS UNDER THE LAWS OF ANY JURISDICTION), OR INFRINGEMENT OF ANY PATENT, COPYRIGHT OR OTHER INTELLECTUAL PROPERTY RIGHT. UNLESS EXPRESSLY APPROVED IN WRITING BY AN AUTHORIZE REPRESENTATIVE OF ST, ST PRODUCTS ARE NOT DESIGNED, AUTHORIZED OR WARRANTED FOR USE IN MILITARY, AIR CRAFT, SPACE, LIFE SAVING, OR LIFE SUSTAINING APPLICATIONS, NOR IN PRODUCTS OR SYSTEMS, WHERE FAILURE OR MALFUNCTION MAY RESULT IN PERSONAL INJURY, DEATH, OR SEVERE PROPERTY OR ENVIRONMENTAL DAMAGE. Resale of ST products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by ST for the ST product or service described herein and shall not create or extend in any manner whatsoever, any liability of ST. ST and the ST logo are trademarks or registered trademarks of ST in various countries. Information in this document supersedes and replaces all information previously supplied. The ST logo is a registered trademark of STMicroelectronics. All other names are the property of their respective owners. 2006 STMicroelectronics - All rights reserved STMicroelectronics group of companies Australia - Belgium - Brazil - Canada - China - Czech Republic - Finland - France - Germany - Hong Kong - India - Israel - Italy - Japan - Malaysia - Malta - Morocco - Singapore - Spain - Sweden - Switzerland - United Kingdom - United States of America www.st.com 8/8