EasyManua.ls Logo

SMH Technologies FlashRunner Cube Series - Command Syntax; OK Answer; ERR Answer; BUSY Answer

SMH Technologies FlashRunner Cube Series
68 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Commands
3
28
Command Syntax
A FR CUBE command begins with the SOF character (#), followed by the
command name, followed by zero or more command switches, and ends
with the return character (\n).
This is an example of a FR CUBE valid command:
#status -o ping{\n}
OK Answer
An OK answer is composed of zero or more characters, followed by
the > character, followed by the return character (\n).
This is an example of a FR CUBE OK answer:
pong>{\n}
ERR Answer
An ERR answer is composed of zero or more characters (usually the
hexadecimal error code), followed by the ! character, followed by the return
character (\n).
This is an example of a FR CUBE ERR answer:
h40000103!{\n}
BUSY Answer
A BUSY answer is sent by the programmer to the PC if a command take
some time to execute. A BUSY answer is sent at most every 3 seconds.
If no OK, ERR or BUSY answer is sent within 3 seconds from the last
command sent to the programmer, a communication error has probably
occurred.
A BUSY answer is composed of zero or more characters, followed by
the * character, followed by the return character (\n).
This is an example of a FR CUBE BUSY answer:
*{\n}
A valid answer always ends with two characters: >{\n}, !{\n} or
*{\n}, depending on whether an OK, ERR or BUSY frame is sent
to the host. Additional return characters (\n) may be present in
the answer, but they don’t signal the end of the answer.
http://smh-tech.com.cn sales@smh-tech.com.cn +86-15250087885