Once the communication interface is identified, the monitor runs in an infinite loop, waiting for different commands, as shown in the following table.
Command | Action | Arguments | Example |
---|---|---|---|
N | Set Normal mode | No argument | N# |
T | Set Terminal mode | No argument | T# |
O | Write a byte | Address, Value# | O200001,CA# |
o | Read a byte | Address,# | o200001,# |
H | Write a half word | Address, Value# | H200002,CAFE# |
h | Read a half word | Address,# | h200002,# |
W | Write a word | Address, Value# | W200000,CAFEDECA# |
w | Read a word | Address,# | w200000,# |
S | Send a file | Address,# | S200000,# |
R | Receive a file | Address, NbOfBytes# | R200000,1234# |
G | Go | Address# | G200200# |
V | Display version | No argument | V# |