ASCII command interface to Flasher V2.00
Introduction
Since firmware version 1.84, Flasher 4, Flasher 4R1, Flasher 5 and Flasher ST7 support a simple
ASCII command interface via RS232.
This document describes the ASCII command interface of Flasher firmware version 2.00
Once set up using Flasher PC program, Flasher can be driven by any application or just a simple ter-
minal using ASCII commands.
Every known command is acknowledged by Flasher and then executed.
After command execution, Flasher sends an ASCII reply message.
If an unknown command is received, Flasher responds with #NACK
General command and reply message format
Any ASCII command has to start with the start delimiter #.
Any ASCII command has to end with simple carriage return (ASCII code 13)
Commands can be sent upper or lower case.
Reply messages from Flasher are sent back using the same format. All characters are upper case in
reply messages.
Communication port settings
Flasher is driven via RS232 serial port with the following interface settings:
8 data bits,
ODD parity
1 stop bit
at 115200 baud.
Commands to Flasher
The following commands are supported by current version of Flasher firmware:
#AUTO
The Auto command behaves exactly as the start button or external remote control input.
?
?
?
?
Flasher starts clearing target, if “automatic clear before program“ option was set.
Flasher programs target CPU
Flasher verifies target CPU
Flasher verifies its internal CRC to validate the programming operation.
Finally, Flasher responds with
?
?
#OK if no error occurred
#ERRxxx if any error occurred during operation. xxx represents the errorcode, normally replied to
Flasher PC program. The #ERRxxx message may be followed by an additional error text.
During execution of the AUTO command, Flasher automatically sends “status” messages via RS232
to reflect the state of execution. Typically during execution of #AUTO command, Flasher will reply the
following sequence of messages:
#ACK
#STATUS:START CMD
#STATUS:CONNECTING
#STATUS:CLEARING
#STATUS:WRITING
#STATUS:VERIFYING
#STATUS:VERIFY FLASHER CRC
#STATUS:READY
#OK
? 2004 - 2012 Segger Microcontroller GmbH & CoKG
相关PDF资料
5.09.01 FLASHER STM 8 PROGRAMMING TOOL FOR STM8
5-103948-7 2X8 MTE SHRD PIN SR LTCH .100
5-103953-4 4X5 MTE PIN SR RIBBED .100CL
5-103955-4 4X5 MTE PIN SR RIBBED .100CL
5-103968-2 8X3 MTE RCPT SR RIBBED .1010CL
5-103970-3 5X4 MTE RCPT SR RIBBED .100CL
5-103973-9 2X10 MTE RCPT SR RIBBED .100CL
5-103975-8 2X9 MTE RCPT SR PLAIN .100CL
相关代理商/技术参数
5.05.01 制造商:SEGGER 功能描述:FLASH PROG M16C M32C R8C M38000 & ST
5.05.10 FLASHER 5 PRO 制造商:Seggar Embedded Software Solutions 功能描述:TOOL PROGRAMMING RENESAS MCU 制造商:SEGGER 功能描述:PROGRAMMER, M16C/32C, M79, R32C, R8C MCU, Silicon Family Name:M16C, M32C, R32C, R8C, Core Architecture:M16C, M32C, R32C, R8C, Core Sub-Architecture:M16C, M32C, R32C, R8C, IC Product Type:Programmer
5.05.510.359/1303 制造商:Rafi 功能描述:Bulk
5.05.510.421/0000 制造商:C&K Components 功能描述:RAFIX 16 PUSHBUTTON, FLUSH LENS, SQUARE COLLAR 制造商:RAFI 功能描述:CONNECTOR MULTIPOLE
5.05.510.470/1002 制造商:RAFI 功能描述:LENS ACTUATOR TRANSPARENT CLEAR 制造商:RAFI 功能描述:LENS, ACTUATOR, TRANSPARENT, CLEAR 制造商:RAFI 功能描述:LENS, ACTUATOR, TRANSPARENT, CLEAR; For Use With:8mm Series illuminated Pushbutton Switches; Lens Colour:Clear; Lens Diameter:8mm; Colour:transparent clear; External Diameter:8mm ;RoHS Compliant: Yes
5.05.510.470/1303 制造商:Rafi 功能描述:Bulk 制造商:RAFI 功能描述:LENS TRANSPARENT RED
5.05.510.470/1402 制造商:RAFI 功能描述:LENS TRANSPARENT YELLOW
5.05.510.470/1502 制造商:RAFI 功能描述:LENS TRANSPARENT GREEN 制造商:RAFI 功能描述:LENS, TRANSPARENT GREEN 制造商:RAFI 功能描述:LENS, TRANSPARENT GREEN; For Use With:8mm Series illuminated Pushbutton Switches; Lens Colour:Green; Lens Diameter:8mm; Colour:Transparent Green; External Diameter:8mm ;RoHS Compliant: Yes