jtagarm: added jtag_trans_many and supporting firmware and client functions/protocol...
[goodfet] / firmware / include / monitor.h
1 /*! \file monitor.h
2   \author Travis Goodspeed
3   \brief Debug monitor commands.
4 */
5
6 #ifndef MONITOR_H
7 #define MONITOR_H
8
9 #include "app.h"
10
11 // Monitor application number
12 #define MONITOR 0x00
13
14 // Monitor Commands
15 #define MONITOR_CHANGE_BAUD 0x80
16 #define MONITOR_ECHO 0x81
17 #define MONITOR_LIST_APPS 0x82
18 #define MONITOR_RAM_PATTERN 0x90
19 #define MONITOR_RAM_DEPTH 0x91
20
21 #define MONITOR_DIR 0xA0
22 #define MONITOR_OUT 0xA1
23 #define MONITOR_IN  0xA2
24
25 #define MONITOR_SILENT 0xB0
26 #define MONITOR_CONNECTED 0xB1
27
28 #define MONITOR_READBUF 0xC0
29 #define MONITOR_WRITEBUF 0xC1
30 #define MONITOR_SIZEBUF 0xC2
31
32 #define MONITOR_LEDTEST 0xD0
33
34 extern app_t const monitor_app;
35
36 #endif // MONITOR_H
37