3
27
FlashRunner Cube User’s Manual
3. Commands
Overview
FR CUBE is a slave unit and is always awaiting for a new command
incoming from the master (PC).
When the programmer receives a SOF (Start Of Frame) character (#),
indicating the start of a new command, it loads all incoming characters
in a buffer until the reception of the return character (\n, ASCII code h0A).
Maximum command length is 256 characters.
After reception of the return character, the programmer interprets and
executes the received command; depending on the execution of the
received command the protocol will answers to the master in three different
ways.
1. If the command is correctly executed, the programmer answers
with an OK frame.
2. If the command execution generates errors, the programmer
answers with an ERR frame.
3. If the command takes long to execute, the programmer
periodically answers with a BUSY frame, until command
execution is over and an OK or ERR frame is answered.
All commands and answers are case-insensitive.
http://smh-tech.com.cn sales@smh-tech.com.cn +86-15250087885