chipcon 1111 flash fixes, arm7 jtag fixes and improvements
[goodfet] / firmware / include / apps.h
1 /*! \file apps.h
2   \author Travis Goodspeed
3   \brief Application definitions.
4 */
5
6 //Essential and highly standardized stuff in 0x00 range.
7 #define MONITOR 0x00
8 #define SPI 0x01
9 #define I2CAPP 0x02
10
11 //All JTAG targets in 0x10 range.
12 #define JTAG 0x10
13 #define JTAG430 0x11
14 #define EJTAG 0x12
15 #define JTAGARM7TDMI 0x13 //Uncomment this as soon as client patched.
16
17 //Manufacturer-specific protocols go in 0x30 and 0x40.
18 #define CHIPCON 0x30
19 #define SIF 0x31
20 #define AVR 0x32
21 #define PIC 0x34
22
23 //Radio peripherals are in the 0x50 range.
24 #define NRF   0x50
25 #define CCSPI 0x51
26
27 //Keep 0x60 empty for now.
28
29 //Weird stuff in 0x70 range.
30 #define OCT 0x70
31 #define GLITCH 0x71
32 #define PLUGIN 0x72
33 #define SMARTCARD 0x73
34
35 #define RESET 0x80      // not a real app -- causes firmware to reset
36
37 #define DEBUGAPP 0xFF