2 \author Travis Goodspeed
3 \brief Debug monitor commands.
14 //! Overwrite all of RAM with 0xBEEF, then reboot.
15 void monitor_ram_pattern();
16 //! Return the number of contiguous bytes 0xBEEF, to measure RAM usage.
17 unsigned int monitor_ram_depth();
20 #define MONITOR_CHANGE_BAUD 0x80
21 #define MONITOR_ECHO 0x81
22 #define MONITOR_RAM_PATTERN 0x90
23 #define MONITOR_RAM_DEPTH 0x91
25 #define MONITOR_DIR 0xA0
26 #define MONITOR_OUT 0xA1
27 #define MONITOR_IN 0xA2
29 #define MONITOR_SILENT 0xB0
30 #define MONITOR_CONNECTED 0xB1
32 #define MONITOR_READBUF 0xC0
33 #define MONITOR_WRITEBUF 0xC1
34 #define MONITOR_SIZEBUF 0xC2