Hide thumbs Also See for Flasher ATE:
Table of Contents

Advertisement

Quick Links

Flasher User Guide
Document: UM08022
Software Version: 6.32
Revision: 2
Date: June 12, 2018
A product of SEGGER Microcontroller GmbH
www.segger.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Flasher ATE and is the answer not in the manual?

Questions and answers

Summary of Contents for Segger Flasher ATE

  • Page 1 Flasher User Guide Document: UM08022 Software Version: 6.32 Revision: 2 Date: June 12, 2018 A product of SEGGER Microcontroller GmbH www.segger.com...
  • Page 2 While the information herein is assumed to be accurate, SEGGER Microcontroller GmbH (SEG- GER) assumes no responsibility for any errors or omissions. SEGGER makes and you receive no warranties or conditions, express, implied, statutory or in any communication with you. SEGGER specifically disclaims any implied warranty of merchantability or fitness for a particular purpose.
  • Page 3 * Added STM8 support to universal flash loader. Chapter “Working with Flasher” 6.30 180222 * Section “Custom labels” added. Chapter “Working with Flasher” * Section “Flasher ATE” added. 6.20 171130 Added chapter “TCP Services” Chapter “Working with Flasher” 6.20 171121 * Section “Flasher Portable PLUS”...
  • Page 4 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 5: About This Document

    Sample Comments in program examples. Sample comment Reference to chapters, sections, tables and figures or other doc- Reference uments. GUIElement Buttons, dialog boxes, menu names, menu commands. Emphasis Very important sections. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 6 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 7: Table Of Contents

    Table of contents Introduction ........................10 Flasher overview ..................11 1.1.1 Features of the Flasher ATE ..............11 1.1.2 Features of Flasher ARM/PPC/RX/PRO ..........11 1.1.3 Features of Flasher Portable/Flasher Portable PLUS ........ 12 1.1.4 Working environment .................12 Specifications ....................14 1.2.1 Specifications for Flasher ATE ............. 14 1.2.2...
  • Page 8 4.3.6 Commands and replies ..............91 Performance ......................100 Performance of MCUs with internal flash memory ........... 101 5.1.1 Flasher ARM ................... 101 5.1.2 Flasher RX ..................101 5.1.3 Flasher PPC ..................101 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 9 How does flash programming via Flasher work? ........117 8.1.2 Data download to RAM ..............117 8.1.3 Available options for flash programming ..........117 8.1.4 How does the universal flash programming work? ........117 Glossary ........................118 Literature and references ..................122 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 10: Introduction

    Chapter 1 Introduction This chapter gives a short overview about the different models of the Flasher family and their features. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 11: Flasher Overview

    Flasher PPC: JTAG is supported. Flasher comes with additional 14-pin PPC adapter. • Flasher PRO: JTAG and SWD are supported. 1.1.1 Features of the Flasher ATE • Supports up to 10 individual channels • Stand-alone JTAG/SWD programmer (Once set up, Flasher can be controlled without the use of PC program) •...
  • Page 12: Features Of Flasher Portable/Flasher Portable Plus

    Ethernet and RS232 as host interface are not available for Flasher Portable Note *As a legitimate owner of a SEGGER Flasher, you can always download the latest software free of charge. Though not planned and not likely, we reserve the right to change this policy.
  • Page 13 The latest version of the J-Flash software, which is part of the J-Link software and docu- mentation package, can always be downloaded from our website: https://www.segger.com/jlink-software.html For more information about using J-Flash please refer to UM08003_JFlashARM.pdf (J-Flash user guide) which is also available for download on our website.
  • Page 14: Specifications

    CHAPTER 1 Specifications Specifications 1.2.1 Specifications for Flasher ATE General Microsoft Windows 2000 Microsoft Windows XP Microsoft Windows XP x64 Microsoft Windows 2003 Microsoft Windows 2003 x64 Microsoft Windows Vista Supported OS Microsoft Windows Vista x64 Microsoft Windows 7 Microsoft Windows 7 x64...
  • Page 15 Data output fall time (Tfdo) Tfdo ≤ 10ns Clock rise time (Trc) Trc ≤ 10ns Clock fall time (Tfc) Tfc ≤ 10ns 1.2.1.1 Supported CPU cores The Flasher ATE supports the following CPU cores: ARM Cortex • Cortex-M0 • Cortex-M0+ • Cortex-M1 •...
  • Page 16 JTAG • • FINE • 1.2.1.3 Flasher ATE download speed The following table lists the Flasher ATE performance values for writing to memory (RAM) via the JTAG interface: Hardware ARM7 memory download Flasher ARM 720 Kbytes/s (12MHz JTAG) Note The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc.
  • Page 17: Specifications For Flasher Arm

    VOL ≤ 20% of VIF of 10 kOhm HIGH level output voltage (VOH) with a VOH ≥ 80% of VIF load of 10 kOhm JTAG Interface, Timing Max. JTAG speed up to 12MHz Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 18 JTAG interface: Hardware ARM7 memory download Flasher ARM 720 Kbytes/s (12MHz JTAG) Note The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 19: Specifications For Flasher Rx

    LOW level output voltage (VOL) with a load VOL ≤ 20% of VIF of 10 kOhm HIGH level output voltage (VOH) with a VOH ≥ 80% of VIF load of 10 kOhm Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 20 JTAG interface: Hardware Flasher RX600 series memory download Flasher RX 720 Kbytes/s (12MHz JTAG) Note The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 21: Specifications For Flasher Ppc

    VOL ≤ 20% of VIF of 10 kOhm HIGH level output voltage (VOH) with a VOH ≥ 80% of VIF load of 10 kOhm JTAG Interface, Timing Max. JTAG speed up to 12MHz Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 22 JTAG interface: Hardware Memory download Flasher PPC 530 Kbytes/s (8 MHz JTAG) Note The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 23: Specifications For Flasher Pro

    HIGH level output voltage (VOH) with a VOH ≥ 80% of VIF load of 10 kOhm JTAG Interface, Timing Max. JTAG speed up to 12MHz Data input rise time (Trdi) Trdi ≤ 20ns Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 24 • RX111 • RX210 • RX220 • RX21A • RX610 • RX621 • RX62G • RX62N • RX62T • RX630 • RX631 • RX63N • RX63T Freescale Power PC • e200z0 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 25 JTAG interface: Hardware ARM7 memory download Flasher PRO 720 Kbytes/s (12MHz JTAG) Note The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 26: Specifications For Flasher Portable Plus

    LOW level output voltage (VOL) with a load VOL ≤ 10% of VIF of 10 kOhm HIGH level output voltage (VOH) with a VOH ≥ 90% of VIF load of 10 kOhm For 3.6 ≤ VIF ≤ 5V Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 27 ARM1136J-S • ARM1156T2-S • ARM1156T2F-S • ARM1176JZ-S • ARM1176JZF • ARM1176JZF-S Renesas RX • RX111 • RX210 • RX220 • RX21A • RX610 • RX621 • RX62G • RX62N • RX62T Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 28 (RAM) via the JTAG interface: Hardware ARM7 memory download Flasher PRO 720 Kbytes/s (12MHz JTAG) Note The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 29: Specifications For Flasher Portable

    VOL ≤ 20% of VIF of 10 kOhm HIGH level output voltage (VOH) with a VOH ≥ 80% of VIF load of 10 kOhm JTAG Interface, Timing Max. JTAG speed up to 12MHz Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 30 • RX111 • RX210 • RX220 • RX21A • RX610 • RX621 • RX62G • RX62N • RX62T • RX630 • RX631 • RX63N • RX63T Freescale Power PC • e200z0 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 31 (RAM) via the JTAG interface: Hardware ARM7 memory download Flasher PRO 720 Kbytes/s (12MHz JTAG) Note The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 32: Working With Flasher

    Chapter 2 Working with Flasher This chapter describes functionality and how to use Flasher. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 33: Flasher Portable Plus

    Flasher Portable PLUS. For a detailed description of the functions, take a look at the table below: Button Description Start programming process with the currently selected im- Program age. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 34 1 second to make sure Power on/off software can boot and take control of power circuit, so the Flasher Portable PLUS keeps powered, after releasing the button. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 35: Flasher Portable

    Furthermore, there are three buttons which allow the user to control Flasher Portable. For a detailed description of the functions, take a look at the two tables below: Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 36 Power on/off should be hold for at least 1 second to make sure software can boot and take control of power circuit, so the Flasher Portable keeps powered, after releasing the button Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 37: Flasher Ate

    Flasher ATE Flasher ATE The Flasher ATE is the version of SEGGERs Flasher family, which has been designed to be used in conjunction with automated test equipment (ATE). It is modular and scalable from 1 to 10 individual programming modules.
  • Page 38: Power Supply

    USB. The power source may not be switched, while the mainboard is running. 2.3.1.2 Target power supply For target power supply, the Flasher ATE offers two options and additionally a power dis- charge option is available. The target in general is electrically isolated from the mainboard’s power supply.
  • Page 39 CHAPTER 2 Flasher ATE The transceiver cannot be enabled, while the module is programming and vice versa. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 40: File System

    The Flasher supports 8.3 filenames only (8 characters filename, 3 characters file extension). Using longer filenames may result in incorrect operation. Integrated functions, like the FTP server or the terminal server, will refuse writing files with long filenames. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 41: Setting Up The Ip Interface

    User Guide, chapter Setup, section Setting up the IP interface. For more information about how to use Flasher via Ethernet or prepare Flasher via Ethernet for stand-alone mode, please refer to Operating modes on page 42. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 42: Operating Modes

    CHAPTER 2 Operating modes Operating modes All Flashers except the Flasher ATE are able to boot in 3 different modes: • J-Link mode • Stand-alone mode • MSD (Mass storage device) mode Note The Flasher ATE only supports the stand-alone mode.
  • Page 43: Stand-Alone Mode

    Progress and result of an operation is indicated by Flasher’s LEDs. The behavior is different for J-Link and stand-alone mode. For a definition of the different modes, please refer to Operating modes on page 42. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 44 GREEN constant, RED constant: Operation failed GREEN: constant Goes back to state #0 automatically, but in case of RED: off or constant operation failed, RED remains on until state #1 is entered the next time. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 45 CHAPTER 2 Operating modes The Flasher ATE uses different LEDs, see the following table: Status of mainboard LEDs Meaning USB GREEN The mainboard is waiting for USB enumeration. As high frequency blinking soon as USB has been enumerated, the green LED (On/Off time: 50ms =>...
  • Page 46: Msd Mode

    It is also possible to copy the FLASHER.CFG and the FLASHER.DAT files from a configured Flasher to another one. To copy these files boot Flasher in “MSD mode”. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 47: Setting Up Flasher For Stand-Alone Mode

    After the appropriate project has been opened / created, the data file which shall be pro- grammed needs to be loaded, by selecting File -> Open. After this J-Flash should look like in the screenshot below. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 48 File -> Download to programmer is selected, an emulator selection dialog pops up which shows all Flasher which have been found on the network. The user then can simply select the Flash he wants to download the configuration to. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 49 CHAPTER 2 Setting up Flasher for stand-alone mode In order to download the configuration and program data to the Flasher, simply select File -> Download config & data file to Flasher. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 50: Preparing For Stand-Alone Operation Manually

    For some devices, special connect, reset etc. sequences are necessary which are stored in so-called *.PEX files on the Flasher. When using the “Download config & data file to Flasher”, J-Flash takes care of correct use and download of these files to Flasher. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 51 Example: MyConf0 is a project for a device that requires a *.PEX file for connect. MyConf1 is a project for a device that requires no *.PEX file at all. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 52: Universal Flash Loader Mode

    CPU core. The Universal Flash Loader is available for the Flasher PRO and for the Flasher Portable. For some of the supported devices, SEGGER offers specific adapters. 2.8.1 Preparing manually The Universal Flash Loader uses an initialization file (*.UNI), a device specific flash pro-...
  • Page 53 Defines if the device should be secured or protected against read-out after verifying. [DEVICE] Algo File name of the flash programming algorithm. This file is provided by SEGGER and will typically support a series of devices. Data File name of the data file to program. The flasher supports the Flasher DTA, the Intel HEX, the Motorola S-Record and the binary file format.
  • Page 54 The data file must be organized in ascending address order. Gaps can be included. But descending addresses will result in programming errors. You can sort the data files by loading them into the J-Flash tool and saving it as a new file. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 55 Bit 0 Fixed to 1 Note Any bit set to 0 cannot be set to 1 again. ShieldStart Flash shield window start block number ShieldEnd Flash shield window end block number Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 56 The read out protection can be set finally by enabling the step “Secure”. This function only changes the ROP option byte to the appropriate value. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 57 Pin 1 VCC_OUT Pin 3 TEST Pin 4 Pin 5 Pin 6 Pin 7 Pin 8 Pin 9 Pin 10 Pin 12 Pin 13 Pin 14 Pin 15 RST/NMI Pin 16 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 58 CHAPTER 2 Universal Flash Loader mode Flasher Interface Signal Pin 18 Pin 20 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 59: Preparing Using The Pc Utility

    2.8.2 Preparing using the PC utility In order to set up Flasher for the Universal Flash Loader mode, a PC utility called SEGGER Universal Flash Loader Configurator is available for download. The Universal Flash Loader Configurator comes with a large list of devices and flash pro- gramming algorithms.
  • Page 60: Multiple File Support

    Using this method, all configuration files and data files which are used in the production only have to be stored on Flasher Portable via MSD mode. From there on, switching between the files can be done by simply using the selection button of Flasher Portable. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 61: Example

    Connect the Flasher in MSD mode to the PC • Copy DEFAULT.CFG, BOOT.DAT, APP.DAT and FLASHER.INI on the Flasher FLASHER.INI content: [FILES] DataFile = "BOOT.DAT" ConfigFile = "DEFAULT.CFG" DataFile1 = "APP.DAT" ConfigFile1 = "DEFAULT.CFG" Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 62: Custom Labels

    [FILES] DisplayName = "FW smartwatch" DataFile = "IMAGE0.dat" ConfigFile = "IMAGE0.cfg" DisplayName1 = "FW smart meter" DataFile1 = "IMAGE1.dat" ConfigFile1 = "IMAGE1.cfg" The images will now be shown as follows: Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 63: Considerations

    • The maximum length of a custom label is 32 characters. If this length is exceeded, the label is ignored and Flasher switches back to default mode for the affected configuration. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 64: Programming Multiple Targets

    Programming multiple targets can also be done via J-Flash using the command line inter- face. For this each target must be handled with its own project file. Example JFlash.exe -openproj"Device0.jflash" -open"Device0.hex" -auto -exit JFlash.exe -openproj"Device1.jflash" -open"Device1.hex" -auto -exit JFlash.exe -openproj"Device2.jflash" -open"Device2.hex" -auto -exit Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 65: Batch Programming In Stand-Alone Mode

    DataFile = "Flasher0.dat" ConfigFile = "Flasher0.cfg" DataFile1 = "Flasher1.dat" ConfigFile1 = "Flasher1.cfg" DataFile2 = "Flasher2.dat" ConfigFile2 = "Flasher2.cfg" [BATCH1] DataFile = "TEST.dat" ConfigFile = "Test.cfg" [BATCH2] DataFile = "VALIDATE.dat" ConfigFile = "Flasher0.cfg" Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 66 Flasher Portable via MSD mode. From there on, switching between the batches can be done by simply using the selection button of Flasher Portable. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 67: Examples

    DataFile = "F4DATA0.dat" ConfigFile = "STM32F4.cfg" [BATCH2] DataFile = "F4DATA1.dat" ConfigFile = "STM32F4.cfg" [BATCH3] DataFile = "F1DATA.dat" ConfigFile = "STM32F1.cfg" DataFile1 = "F4DATA0.dat" ConfigFile1 = "STM32F4.cfg" DataFile2 = "F4DATA1.dat" ConfigFile2 = "STM32F4.cfg" Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 68: Serial Number Programming

    This is done by enabling the Program serial number option as shown in the screenshot and table below: Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 69: Serial Number File

    • One serial number per line • Each byte of the serial number is described by two hexadecimal digits. Example A 8-byte serial number should be programmed at address 0x08000000. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 70: Programming Process

    The serial number in SERIAL.TXT will also be incremented in case if serial number programming is disabled, to make sure that for the Flasher logfile there is a reference which programming cycle passed and which not. As long as serial number program- Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 71: Downloading Serial Number Files To Flasher

    Defining serial number address, length and start value In the J-Flash project the following needs to be defined: • is 0x08001000 Address • is 1234567 Next SN • is 1 Increment • is 4 (bytes) Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 72 File -> Download config & data file to Flasher and File-> Download serial number file to Flasher option. After downloading the serial number to Flasher, J-Flash also created the <JFlashProject- Name>_Serial.txt. Now Flasher is prepared to program the 8-byte serial number. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 73: Patch File Support

    Alternatively, you can start a programming cycle with patch data that is only valid for this one cycle (no need for a Patches.txt file): Send the #AUTO PATCH <NumPatches>,<Addr>,<NumBytes>:<Data> command via Flasher ASCII interface. The parameters have the same function as described in the table above. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 74: Limiting The Number Of Programming Cycles

    • 1621xxxxx (Flasher ARM V2) • 1630xxxxx (Flasher ARM V3) • 4210xxxxx (Flasher PPC V1) • 4110xxxxx (Flasher RX V1) All other models / hardware versions support limiting of programming cycles. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 75: Authorized Flashing

    Start Flasher in MSD mode (For more info, please refer to: MSD mode on page 46) • Create a folder “_SECURE” • Move all files that shall be moved to the secure area, into this folder Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 76: Considerations To Be Taken When Using The Secure Area

    • 1621xxxxx (Flasher ARM V2) • 1630xxxxx (Flasher ARM V3) • 4210xxxxx (Flasher PPC V1) • 4110xxxxx (Flasher RX V1) All other models / hardware versions support authorized flashing. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 77: Target Interfaces

    For more information about the target interfaces itself, please refer to: • UM08001, chapter “Working with J-Link and J-Trace”, section “JTAG interface” • UM08001, chapter “Working with J-Link and J-Trace”, section “SWD interface” Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 78: Supported Microcontrollers

    Flasher supports download into the internal flash of a large number of microcontrollers. The number of supported devices is steadily growing, so you can always find the latest list of supported devices on our website: http://www.segger.com/supported-devices.html Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 79: Support Of External Flashes

    2.19.3 Flasher PPC Programming of external parallel NOR flash is currently not supported by Flasher PPC. This limitation will be lifted in the near future. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 80: Supported Cores

    • Cortex-M3 • Cortex-M4 2.20.2 Flasher RX Flasher RX supports and has been tested with the following cores. If you experience prob- lems with a particular core, do not hesitate to contact Segger. • RX610 • RX621 • RX62N •...
  • Page 81: Newline Encoding

    In general, for all patch files, init files etc. Flasher supports both newline encodings: • Windows: \r\n • Unix/Mac: \n All parser functionality etc. are written to be independent from the host operating system. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 82: Programming Multiple Targets In Parallel

    To program multiple targets in parallel, a Flasher ATE or multiple Flashers will be needed (each connecting to one CPU). The Flasher ATE can be used to program up to 10 targets in parallel by using a single control unit.
  • Page 83: Tcp Services

    Chapter 3 TCP Services This chapter describes the integrated TCP services. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 84: Ftp Server

    2 simultaneous connections and works with all common FTP clients. For the Flasher ATE, the FTP server is the only way to access files on the modules. Here the root directory is a virtual directory and cannot be written to. It contains a subdirectory for each module.
  • Page 85: Web Server

    IP address settings can be changed and a nick name can be assigned to the device. Additionally, the web interface provides information about the status of the integrated op- erating system, the IP stack and the target hardware. The Flasher ATE’s web interface fur- thermore allows monitoring of the individual modules.
  • Page 86: Remote Control

    Chapter 4 Remote control This chapter describes how to control Flasher via the 9-pin serial interface connector or via the integrated Telnet interface. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 87: Overview

    Terminal communication via RS232. • Terminal communication via Telnet. Note All ways to control Flasher operation are working only if Flasher is in standalone mode. In J-Link / MSD mode they have no effect. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 88: Handshake Control

    ON to reflect OK state. Note As the Flasher ATE is a modular system, using the handshake remote control START always triggers the “Auto” function of every connected module. The BUSY line is sig- naled as long as any module is still busy and the OK line only reports “OK” in case of every module has successfully completed the operation.
  • Page 89 CHAPTER 4 Handshake control ASCII command interface, described in the next chapter, for the Flasher ATE as it gives better remote control capabilities. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 90: Ascii Command Interface

    Reply messages must be considered in each case. In general, a new command must not be sent before a reply for the last one has been received. For the Flasher ATE, all commands triggering a flash programming function (#AUTO, #CANCEL, #ERASE, #PROGRAM, #VERIFY) may be used for other modules, before a reply for the current operation has been received.
  • Page 91: Commands And Replies

    Replies from the Flasher #ACK #NACK #OK:<NumBytes>:<Data> #OK:<Size> #STATUS: #RESULT:<Module>: #DONE #ERRxxx For these commands, the module number has to be given as the first parameter when using a Flasher ATE. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 92 <Baudrate> is expected in decimal format. If this command succeeds, Flasher responds with: #ACK Otherwise it will respond with one of the following error messages: #ERR255: Invalid parameters Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 93 If this command succeeds, Flasher responds with: #ACK Find below a sample sequence which shows how to use the #SELECT command: #SELECT ATSAM7_1 // ATSAM7_1.CFG and ATSAM7_1.DAT is selected #ACK #AUTO // Start auto programming #ACK #STATUS:INITIALIZING Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 94 This command can used to verify the target flash content against the data stored in Flasher. #SELMODULE <Module1>[,<Module2>] This command is used to select one or more modules on a Flasher ATE system. The module numbers are separated by a comma. If all modules shall be selected, the keyword “all” can be used (#SELMODULE ALL) instead of a list with all module numbers.
  • Page 95 File I/O commands The ASCII interface of the Flasher, except the Flasher ATE, also supports file I/O operations. For the Flasher ATE, the integrated FTP server has to be used in order to perform file I/ O operations on the modules.
  • Page 96 98. Note In order to use the #FREAD command. A file has to be opened before, via the #FOPEN command. Otherwise Flasher will respond with the following sequence: #ACK Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 97 A typical sequence using the #MKDIR command does look like as follows: #MKDIR folder #ACK Note If the directory can not be created because of a bad <Dirname> argument, Flasher will respond with: #ACK Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 98 Unlocking flash sectors. #STATUS:UNLOCKING Flasher is erasing the flash of the target #STATUS:ERASING device. Flasher is programming the flash of the #STATUS:PROGRAMMING target device. Flasher verifies the programmed flash con- #STATUS:VERIFYING tents. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 99 ASCII command interface #RESULT:<Module>: The Flasher ATE reports the result of an operation on a specific module. If the operation has been completed successfully, it will report the outcome with a single message of this type followed by the last result of the operation.
  • Page 100: Performance

    Chapter 5 Performance The following chapter lists programming performance of common flash devices andmicro- controllers. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 101: Performance Of Mcus With Internal Flash Memory

    The following table lists program and erase performance values of Flasher PPC. Erase Program Verify Total Microcontroller Size [kByte] time [sec] time [sec] time [sec] time [sec] ST SPC560B50 4.747 4.159 1.929 10.917 Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 102: Hardware

    Chapter 6 Hardware This chapter gives an overview about Flasher specific hardware details, such as the pinouts and available adapters. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 103: Flasher Arm 20-Pin Jtag/Swd Connector

    13 TDO Input TDO of target CPU. Target CPU reset signal. Typically connected to the RESET 15 RESET pin of the target CPU, which is typically called “nRST”, “nRESET” or “RESET”. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 104: Pinout Swd

    11 Not used cessed via JTAG, this pin may be connected to RTCK, other- wise leave open. Serial Wire Output trace port. (Optional, not required for 13 SWO Output SWD communication.) Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 105: Target Power Supply

    Switch target power on power on Switch target power off power off Set target power supply default to “on” power on perm Set target power supply default to “off” power off perm Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 106: Flasher Rx 14-Pin Connector

    Flasher RX will simply ignore such a signal. • Pins 2, 12, 14 are GND pins connected to GND in Flasher RX. They should also be connected to GND in the target system. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 107: Target Power Supply

    Switch target power on power on Switch target power off power off Set target power supply default to “on” power on perm Set target power supply default to “off” power off perm Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 108: Flasher Ppc 14-Pin Connector

    Flasher PPC will simply ignore such a signal. • Pins 2, 12, 6, 12 are GND pins connected to GND in Flasher PPC. They should also be connected to GND in the target system. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 109: Target Board Design

    (For example, at the reset vector address, to allow the code to be single-stepped as soon as it comes out of reset). This can be particularly useful when first trying to bring up a board with a new ASIC. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 110: Adapters

    “nRESET” or “RESET”. 17 N/C This pin is not connected on the target side of the isolator. 19 N/C This pin is not connected on the target side of the isolator. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 111: J-Link Needle Adapter

    Moreover, the two “legs” on each side of the connector guarantee a stable and secure contact between pins and the PCB. The J-Link Needle Adapter can be connected to J-Link via the 20-pin 0.1’’ JTAG to a 10- pin needle connector. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 112: How To Determine The Hardware Version

    (if Flasher is in J-Link mode). As part of the initial message, the hardware version is displayed. For more information about how to ensure that Flasher is in J-Link mode, please refer to J-Link mode on page 42. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 113: Support And Faqs

    Flasher. There are several steps you can take before con- tacting support. Performing these steps can solve many problems and often eliminates the need for assistance. This chapter also contains a collection of frequently asked questions (FAQs) with answers. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 114: Contacting Support

    Flasher has to be in MSD mode. For more information about how to boot Flasher in MSD mode, please refer to MSD mode on page 46. Flasher is sold directly by SEGGER. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 115: Frequently Asked Questions

    Q: What is the maximum download speed? A: The maximum download speed is currently about 720 Kbytes/second when downloading into RAM. The actual speed depends on various factors, such as JTAG, clock speed, host CPU core etc. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 116: Background Information

    Chapter 8 Background information This chapter provides background information about flash programming in general. It also provides information about how to replace the firmware of Flasher manually. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 117: Flash Programming

    J-Flash is a stand-alone Windows application, which can read / write data files and program the flash in almost any ARM system. For more information about J-Flash please refer to the J-Flash User Guide, which can be downloaded from our website http://www.segger.com. 8.1.4...
  • Page 118: Glossary

    Chapter 9 Glossary This chapter describes important terms used throughout this manual. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 119 A memory is coherent if the value read by a data read or instruction fetch is the value that was most recently written to that location. Obtaining memory coherency is difficult when Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 120 J-Link Interface Unit to the first TAP controller. The electronic signal output from a TAP controller to the data sink (downstream). Usually, this is seen connecting the last TAP controller to the J-Link Interface Unit. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 121 LSI and VLSI logic often used TTL with HIGH logic level approaching +5V and LOW approaching 0V. Word A 32-bit unit of information. Contents are taken as being an unsigned integer unless oth- erwise stated. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 122: Literature And References

    Chapter 10 Literature and references This chapter lists documents, which we think may be useful to gain a deeper under- standing of technical details. Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 123 J-Trace. It is publicly avail- [J-Link] J-Link / J-Trace User Guide able from SEGGER (www.seg- ger.com). This document describes J-Flash. [J-Flash] J-Flash User Guide It is publicly available from SEG- GER (www.segger.com). Flasher User Guide (UM08022) © 2004-2018 SEGGER Microcontroller GmbH...
  • Page 124 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Segger Microcontroller Flasher ARM Flasher RX 5.16.01 5.16.02...

Table of Contents