Statistics
| Branch: | Revision:

root / arduino-1.0 / hardware / arduino / bootloaders / optiboot / stk500.h @ 58d82c77

History | View | Annotate | Download (1.6 KB)

1
/* STK500 constants list, from AVRDUDE */
2
#define STK_OK              0x10
3
#define STK_FAILED          0x11  // Not used
4
#define STK_UNKNOWN         0x12  // Not used
5
#define STK_NODEVICE        0x13  // Not used
6
#define STK_INSYNC          0x14  // ' '
7
#define STK_NOSYNC          0x15  // Not used
8
#define ADC_CHANNEL_ERROR   0x16  // Not used
9
#define ADC_MEASURE_OK      0x17  // Not used
10
#define PWM_CHANNEL_ERROR   0x18  // Not used
11
#define PWM_ADJUST_OK       0x19  // Not used
12
#define CRC_EOP             0x20  // 'SPACE'
13
#define STK_GET_SYNC        0x30  // '0'
14
#define STK_GET_SIGN_ON     0x31  // '1'
15
#define STK_SET_PARAMETER   0x40  // '@'
16
#define STK_GET_PARAMETER   0x41  // 'A'
17
#define STK_SET_DEVICE      0x42  // 'B'
18
#define STK_SET_DEVICE_EXT  0x45  // 'E'
19
#define STK_ENTER_PROGMODE  0x50  // 'P'
20
#define STK_LEAVE_PROGMODE  0x51  // 'Q'
21
#define STK_CHIP_ERASE      0x52  // 'R'
22
#define STK_CHECK_AUTOINC   0x53  // 'S'
23
#define STK_LOAD_ADDRESS    0x55  // 'U'
24
#define STK_UNIVERSAL       0x56  // 'V'
25
#define STK_PROG_FLASH      0x60  // '`'
26
#define STK_PROG_DATA       0x61  // 'a'
27
#define STK_PROG_FUSE       0x62  // 'b'
28
#define STK_PROG_LOCK       0x63  // 'c'
29
#define STK_PROG_PAGE       0x64  // 'd'
30
#define STK_PROG_FUSE_EXT   0x65  // 'e'
31
#define STK_READ_FLASH      0x70  // 'p'
32
#define STK_READ_DATA       0x71  // 'q'
33
#define STK_READ_FUSE       0x72  // 'r'
34
#define STK_READ_LOCK       0x73  // 's'
35
#define STK_READ_PAGE       0x74  // 't'
36
#define STK_READ_SIGN       0x75  // 'u'
37
#define STK_READ_OSCCAL     0x76  // 'v'
38
#define STK_READ_FUSE_EXT   0x77  // 'w'
39
#define STK_READ_OSCCAL_EXT 0x78  // 'x'