Page 1
Flasher ATE User Guide Document: UM08035 Manual Version: 1.04 Revision: d Date: November 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
Manual versions This manual describes the Flasher ATE device. For further information on topics or routines not yet specified, please contact us. Print date: November 12, 2018 Manual Revision Date Description version updated power supply chapter, corrected #auto patch command, added commands #auto nopatch, #fwversion, 1.04...
UART to TCP transceiver ................26 Log files ......................27 Newline encoding ..................28 Setting up a project for the Flasher ATE ..............29 Setting up Flasher ATE for remote-controlled mode .......... 30 Setting up Flasher ATE for handshake mode ............ 32 Universal Flash Loader mode .................
Flasher ATE is designed for programming flash targets in stand-alone mode or remote controlled via a PC. Flasher ATE connects to a PC using the USB / Ethernet / RS232 interface, running Windows 7, Windows 8 or Windows 10. In stand-alone mode, Flasher ATE can be driven by telnet interface, or via the RS232 interface (handshake control or ASCII interface).
Page 12
CHAPTER 1 Flasher ATE overview Module 5V via Flasher ATE Bus (VCC5V) 100 mA (no target power supply) 5V via Flasher ATE Bus (VCC5V) 220 mA (target power supply with 100mA) Note Many USB power supplies have a high drop on the supply voltage if they operate at their power limit.
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 •...
The Flasher ATE The Flasher ATE The Flasher ATE has been designed to be used in conjunction with automated test equip- ment (ATE). It is modular and scalable from 1 to 10 individual programming modules. Flasher ATE User Guide (UM08035)
Power supply 2.1.1.1 Mainboard and module power supply The Flasher ATE mainboard and the modules are powered either by a dedicated power connector (VMAIN) or by USB. The power source may not be switched while the Flasher ATE is running.
2.1.1.2 Target power supply For target power supply, the Flasher ATE offers two options. Additionally, a power discharge option is available. The target is electrically isolated from the mainboard’s power supply. The first option is to use the VTGT connector. It is possible to provide any voltage between 3 and 15V, however the target interface is limited to 1.2V - 5V signal voltage.
You may configure your Flasher ATE to use your preferred IP setting. This is done by se- lecting the Flasher ATE in the list, opening the context menu with a right click on the list entry, and choosing Configure from the context menu. Enter your required IP settings in the dialog box that opens up, e.g.
Therefore two physical interfaces can be used: ethernet or RS232. In this setup, the Flasher ATE provides detailed status information which can be used to verify the success of the programming sequence, opti- mize the production setup, and identify errors.
ATE internal logic and the signal states during the programming sequence. Note The Flasher ATE will not provide any detail error codes during this mode. We recom- mend to use the remote controlled mode for mass production. In order to use Flasher in “handshake mode”, it has to be configured first, as described in Setting up Flasher for handshake mode on page 32.
CHAPTER 2 LED status indicators LED status indicators The Flasher ATE uses different LEDs, see the following tables. 2.4.1 Mainboard LED indicators Status of mainboard LEDs Meaning GREEN The mainboard is waiting for USB enumeration. As high frequency blinking soon as USB has been enumerated, the green LED (~ 10Hz) stops flashing and is switched to constant green.
CHAPTER 2 Flasher ATE storage Flasher ATE storage The Flasher ATE stores the configuration and programming data on its internal memory. This can be accessed with an FTP-client. Each module has capacity of approximately 126MB for data and configuration files.
CHAPTER 2 UART to TCP transceiver UART to TCP transceiver The Flasher ATE includes an UART to TCP transceiver. Each module is accessible via a connection to a module-specific TCP port. Module TCP port While the transceiver is switched off, status messages from the module are sent out to the terminal.
CHAPTER 2 Log files Log files The Flasher ATE writes log files. Each flash module writes the success or error into the log file. The log files are stored in the module folder of the corresponding flash module. They can be downloaded using the FTP service.
CHAPTER 2 Newline encoding Newline encoding In general, for all patch files, init files etc. Flasher ATE supports both newline encodings: • Windows: \r\n • Unix/Mac: \n All parser functionality etc. are written to be independent from the host operating system.
Setting up Flasher ATE for remote-controlled mode In order to set up the Flasher ATE for the remote-controlled mode it needs to be configured once using the J-Flash software. For more information about J-Flash, please refer to the J-Flash User Guide.
Page 31
ATE, both files need to saved to disk by File -> Save Flasher Config File and File -> Save Flasher Data File. Next, upload the configuration file and the data file with an FTP client into the Flasher ATE module folder(s). If the J-Flash tool also generates a .pex file this also needs to be loaded into the module folder(s).
Setting up Flasher ATE for handshake mode Setting up Flasher ATE for handshake mode In order to set up the Flasher ATE for the handshake mode it needs to be configured once using the J-Flash software. For more information about J-Flash, please refer to the J-Flash User Guide.
Page 34
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.
3.3.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.
CHAPTER 3 Universal Flash Loader mode 3.3.3 Connection for Device with no special Adapter 3.3.3.1 Connecting a I2C Device Flasher ATE pins need to be connected as follows: Flasher Interface Flasher Signal Name I2C Device Signal Name Pin 1 VTRef...
Serial number programming Serial number programming The Flasher ATE supports programming of serial numbers. In order to use the serial number programming feature, the J-Flash project to be used as well as some files on the Flasher ATE (depending on the configuration) need to be configured first.
The Flasher ATE can generate serial numbers. Therefore the project can be configured to use teh serial number feature (see on page 43). The Flasher ATE will use the first serial number for the first programmed device. Then the increment is added to the serial number and this is used for the next programming sequence.
4.1.5 Sample setup Below, a small example is given on how to setup Flasher ATE for serial number program- ming. In the following example, 4-byte serial numbers starting at 1234567 (0x12D687) shall be programmed at address 0x08001000.
Page 47
CHAPTER 4 Serial number programming Downloading configuration, data and serial number to the Flasher ATE. After setting up the rest of the configuration (Target interface etc.) and selecting an ap- propriate data file, the configuration, data, and serial number file needs to be downloaded into Flasher ATE via FTP client.
Limiting the number of programming cycles Limiting the number of programming cycles The Flasher ATE provides a mechanism to limit the number of programming cycles that can be performed in stand-alone mode with the configuration that is stored on the Flasher ATE.
Before starting programming process in stand-alone mode, the Flasher ATE will look for a file named Patches.txt being present on the Flasher ATE module. This file includes the patches. If this file is present, the number in Serial.txt describes the line number of the Patches.txt that will be used for the current cycle (line...
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.
Web server features Web server features The Flasher ATE comes with a built-in web server, which provides a web interface for infor- mation and network configuration. For the network, the IP address settings can be changed and a nick name can be assigned to the device.
CHAPTER 8 Overview Overview There are three ways to remote control the Flasher ATE operation: • Via Handshake lines: 3 lines on the serial interface are used: 1 line is an input and can be used to start operation, 2 lines are outputs and serve as busy and status signals.
Handshake control Handshake control The Flasher ATE can be remote-controlled by automated testers without the need of a connection to a PC. Therefore the Flasher ATE is equipped with additional hardware control functions, which are connected to the SUBD9 male connector, normally used as RS232 interface to PC.
ASCII command interface 8.3.1 Introduction Once set up using J-Flash, the Flasher ATE can be driven by any application or just a simple terminal using ASCII commands. Every known command is acknowledged by the Flasher ATE and then executed. After com- mand execution, the Flasher ATE sends an ASCII reply message.
8.3.6 Commands and replies The table below gives an overview about the commands which are supported by the current version of the Flasher ATE firmware. Click on the names for a detailed description: Commands to the Flasher ATE #BAUDRATE<Baudrate> #AUTO <Module1>[,<Module2>] #AUTO NOPATCH <Module1>[,<Module2>]...
#ERRxxx #ERRxxx message may be followed by an additional error text. During execution of the #AUTO command, Flasher ATE automatically sends “status” mes- sages via the terminal connection to reflect the state of execution. Example sequence: Reply on the target...
8.3.6.1.4 Command "#BAUDRATE" This command can be sent in order to change the baud rate of the Flasher ATE ’s RS232 interface used for communication. <Baudrate> is expected in decimal format. The Flasher ATE supports baud rates form 1.200 to 115.200 bit/s.
This command can be sent to abort a running program. It may take a while until the current program is actually canceled. Command structure: #Cancel [module1][, module2][, module3] Results of the Flasher ATE: Result Meaning successfully canceled the operation #ERR007:CANCELED.
Page 67
CHAPTER 8 ASCII command interface Command "#ERASE" This command can be sent to erase all selected target flash sectors. Command structure: #ERASE [module1][,module2][,module3] Results of the Flasher ATE: Result Meaning successfully done error message with text #ERRxxx: TEXT Example sequence:...
Page 71
This command can be used instead of #AUTO to program a target without erasing the target before programming and without performing a final verification. Command structure: #PROGRAM [module1][,module2][,module3] Flasher ATE will reply the following sequence of messages: Example sequence: Reply on the target Command send to...
Page 75
ASCII command interface #SELECT The #SELECT command is used to select a specific configuration and data file pair which should be used by the Flasher ATE to program the target. Command structure: #select [module1][,module2][,module3] “[Project Name]” The select command expects the following parameters:...
Page 78
This command can be sent to release the Flasher ATE’s target interface. All signals from the Flasher ATE to target will be set into high-Z mode, reset of target will be released. It may be used to start target application program.
Page 79
CHAPTER 8 ASCII command interface #STATUS This command can be sent any time, even during other command execution. Flasher ATE responds with its current state. All defined state messages are described under Replies from Flasher ATE on page 84. Command structure:...
Page 82
ASCII command interface #SELMODULE 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.
8.3.6.2 Replies from Flasher ATE The reply messages from Flasher ATE follow the same data format as commands. Any reply message starts with ASCII start delimiter #, ends with simple carriage return (ASCII code 13) and is sent in uppercase. In contrast to commands, replies can be followed by a de- scriptive message, which gives more detailed information about the reply.
Page 85
ASCII command interface #RESULT:<Module>:<data> 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.
Output of the target board. Typically connected to TCK of target CPU. This pin is not used by Flasher ATE. This pin is not used by Flasher ATE when operating in SWD mode. If the device may 11 Not used also be accessed via JTAG, this pin may be connected to RTCK, otherwise leave open.
Output supply cally left open on target hardware. Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are GND pins connected to GND in Flasher ATE. They should also be connected to GND in the target system. 9.1.3 Target power supply Pin 19 of the connector can be used to supply power to the target hardware.
9.3.1 JTAG Isolator The JTAG Isolator can be connected between Flasher ATE and JTAG adapter, to provide electrical isolation. This is essential when the development tools are not connected to the same ground as the application. For more information about the JTAG Isolator, please refer to J-Link JTAG Isolator User Manual (UM08010) which can be downloaded from our website.
Pins 4, 6, 8, 10, 12, 14, 16, 18, 20 are connected to GND. 9.3.2 J-Link Needle Adapter To connect to the Flasher ATE via programming interface the J-Link Needle Adapter is rec- ommended. Why to choose the J-Link Needle Adapter: 1.
All pins marked NC are not connected to Flasher ATE. Any signal can be applied here; Flasher ATE will simply ignore such a signal. • Pins 2, 12, 14 are GND pins connected to GND in Flasher ATE. They should also be connected to GND in the target system. 9.3.3.1 Target power supply Pin 8 of the 14-pin connector can be used to supply power to the target hardware.
All pins marked NC are not connected to Flasher ATE. Any signal can be applied here; Flasher ATE will simply ignore such a signal. • Pins 2, 12, 6, 12 are GND pins connected to GND in Flasher ATE. They should also be connected to GND in the target system. Flasher ATE User Guide (UM08035)
Page 104
CHAPTER 13 Reference Title Comments This document describes J-Link and J- J-Link / J-Trace User [J-Link] Trace. It is publicly available from SEGGER Guide (https://www.segger.com). This document describes J-Flash. It is [J-Flash] J-Flash User Guide publicly available from SEGGER (https:// www.segger.com).
Need help?
Do you have a question about the Flasher ATE and is the answer not in the manual?
Questions and answers