ASCII command interface to Flasher V2.00
Segger Microcontroller GmbH & CoKG
Reply messages from Flasher
The reply messages from Flasher follow the same data format as commands.
Any reply message starts with ASCII start delimiter #.
Any reply message ends with simple carriage return (ASCCI code 13).
The following reply messages from Flasher are defined:
#ACK
Flasher replies with #ACK message on reception of any defined command before the command itself
is executed.
#NACK
Flasher replies with #NACK, if an undefined command was received.
#OK
Flasher replies with #OK, if a command other then #CRC, #STATUS or #RESULT was executed and
ended with no error.
#CRC:xxxx
Flasher replies with #CRC: after calculating the CRC of its internal data memory. The CRC xxxx is
sent back as four digit HEX number.
If Flasher does not contain valid data, Flasher replies with #CRC:---- .
#STATUS:
Flasher replies with its current state.
The following status messages are currently defined:
Message
#STATUS:READY
#STATUS:INITIALIZING
#STATUS:CLEARING
#STATUS:WRITING
#STATUS:READING
#STATUS:VERIFYING
#STATUS:BLANK CHECK
#STATUS:IDLE
#STATUS:START CMD
#STATUS:ERASE-VERIFY
#STATUS:VERIFY FLASHER CRC
#STATUS:CLEAR ALL
#STATUS:CONNECTING
Description
Flasher is ready to receive a new command.
Flasher performs self check and internal init.
Flasher is clearing target CPU.
Flasher is writing (programming) target CPU.
Flasher reads target CPU.
Flasher verifies target CPU.
Flasher performs blank check of target CPU.
Flasher is currently idle, but current command is
not completed yet.
Flasher starts execution of a received command.
Flasher performs an Erase Verify operation. Re-
quired for some CPUs only.
After programming and verifying target, Flasher
verifies its internal data memory by recalculating
and verifying the CRC over all data.
Flasher executes “Clear Readout Protection” on
ST7 CPUs.
Flasher initializes connection to target CPU.
#ERRxxx
If any command other then #CRC , #STATUS or #RESULT was terminated with an error, Flasher can-
cels the command and replies with an error message instead of #OK message.
The three digit error number xxx is the same error code number which would normally be sent back to
Flasher PC program. The error code numbers are described in the Flasher user manual.
Some error codes may be followed by colon and an additional error text.
For example:
#ERR007:CANCELED .
? 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