8 #define STK_FAILED 0x11
9 #define STK_UNKNOWN 0x12
10 #define STK_NODEVICE 0x13
11 #define STK_INSYNC 0x14
12 #define STK_NOSYNC 0x15
13 #define ADC_CHANNEL_ERROR 0x16
14 #define ADC_MEASURE_OK 0x17
15 #define PWM_CHANNEL_ERROR 0x18
16 #define PWM_ADJUST_OK 0x19
18 #define STK_GET_SYNC 0x30
19 #define STK_GET_SIGN_ON 0x31
20 #define STK_SET_PARAMETER 0x40
21 #define STK_GET_PARAMETER 0x41
22 #define STK_SET_DEVICE 0x42
23 #define STK_SET_DEVICE_EXT 0x45
24 #define STK_ENTER_PROGMODE 0x50
25 #define STK_LEAVE_PROGMODE 0x51
26 #define STK_CHIP_ERASE 0x52
27 #define STK_CHECK_AUTOINC 0x53
28 #define STK_LOAD_ADDRESS 0x55
29 #define STK_UNIVERSAL 0x56
30 #define STK_PROG_FLASH 0x60
31 #define STK_PROG_DATA 0x61
32 #define STK_PROG_FUSE 0x62
33 #define STK_PROG_LOCK 0x63
34 #define STK_PROG_PAGE 0x64
35 #define STK_PROG_FUSE_EXT 0x65
36 #define STK_READ_FLASH 0x70
37 #define STK_READ_DATA 0x71
38 #define STK_READ_FUSE 0x72
39 #define STK_READ_LOCK 0x73
40 #define STK_READ_PAGE 0x74
41 #define STK_READ_SIGN 0x75
42 #define STK_READ_OSCCAL 0x76
43 #define STK_READ_FUSE_EXT 0x77
44 #define STK_READ_OSCCAL_EXT 0x78
45 #define STK_SW_MAJOR 0x81
46 #define STK_SW_MINOR 0x82
49 #define AVR_OP_LOAD_EXT_ADDR 0x4d