1. Overview
FN-MONITOR V1.8 is the service terminal for FN-2400 controllers. It operates on the controller's virtual data address space and simulation state. Access requires an authenticated service session.
2. Conventions
- Addresses and values are hexadecimal (e.g. 0x0034, $34 or 34).
- Address range: 0000–FFFF. Value range: 00–FF.
- Commands are case-insensitive.
3. Command Reference
| Command | Syntax | Description |
|---|---|---|
| HELP | HELP | List available commands |
| INFO | INFO | Display controller information |
| STATUS | STATUS | Display device and simulation status |
| REGS | REGS | Display processor registers, SP and SREG |
| PEEK | PEEK <addr> [n] | Read n bytes (default 1) |
| POKE | POKE <addr> <val> | Write one byte |
| DUMP | DUMP <addr> [len] | Hex + ASCII dump of a region |
| SNAPSHOT | SNAPSHOT [name] | Save a named snapshot; no name lists snapshots |
| DIFF | DIFF <a> <b> | Compare two named snapshots |
| WATCH | WATCH [addr] | Watch an address; no addr lists watches |
| UNWATCH | UNWATCH <addr> | Stop watching an address |
| RESET | RESET | Restart the controller |
| FACTORY | FACTORY | Restore initial device state |
| CLS | CLS | Clear the terminal |
| EXIT | EXIT | Leave the service session |
4. Examples
> PEEK 0x0030 0030: 98 (dec 152 bin 10011000 FN-TEMP8 -24) > DUMP 0x0030 16 0030 98 D8 ... > POKE 0x0030 00 OK 0030: 98 -> 00 > SNAPSHOT baseline SNAPSHOT 'baseline' SAVED (65536 bytes). > DIFF baseline current DIFF baseline -> current: 3 byte(s) differ
The examples above use generic sensor addresses. They are illustrative and are not unit-specific.
5. Error Handling
Malformed commands, out-of-range addresses and invalid values return a descriptive message prefixed with '?'. Commands are rate limited; sustained high command rates return a rate-limit notice.