Index: format/app_usb.format
===================================================================
--- /branch/USB/dongle/format/app_usb.format	(revision 2052)
+++ /branch/USB/dongle/format/app_usb.format	(working copy)
@@ -104,6 +104,7 @@
 0x10 USB_EP1_KB
 0x20 USB_EP2_MS
 0x21 USB_EP2_MULTIKEY
+0x22 USB_EP2_SYSTEMKEY
 0x01 MAC_BOOT_MODE
 0x02 R_KEY
 0x03 LR_KEY
Index: format/utility.format
===================================================================
--- /branch/USB/dongle/format/utility.format	(revision 2052)
+++ /branch/USB/dongle/format/utility.format	(working copy)
@@ -151,6 +151,9 @@
 200 mem_hidreportdesc_kb_temp
 200 mem_hidreportdesc_m_temp
 100 mem_hidreportdesc_kb_new_temp
+16 mem_usb_kb_system
+3 mem_usb_kb_system_sta_data
+3 mem_usb_kb_system_last_data
 )
 
 
Index: output/eeprom.dat
===================================================================
--- /branch/USB/dongle/output/eeprom.dat	(revision 2052)
+++ /branch/USB/dongle/output/eeprom.dat	(working copy)
@@ -2,40 +2,44 @@
 02
 aa
 55
-72
-10
+5e
+11
 c2
 84
 00
-09
+0a
 c0
 42
 83
-60
+9b
 c0
 44
 83
-3b
+76
 c0
 00
 03
-5b
+96
 c0
 47
 00
-0a
+0b
 c0
 62
 00
-54
+73
 c0
 7b
 80
-11
+12
 c0
 7c
 00
-2c
+4b
+c0
+7e
+00
+2a
 20
 20
 2a
@@ -83,11 +87,11 @@
 20
 40
 00
-16
+17
 20
 40
 00
-20
+21
 20
 20
 48
@@ -107,7 +111,7 @@
 c0
 2d
 00
-1d
+1e
 68
 02
 11
@@ -139,7 +143,7 @@
 c0
 2d
 00
-29
+48
 58
 00
 11
@@ -163,11 +167,131 @@
 70
 0b
 b3
-a9
+a3
 20
 60
 00
 00
+68
+00
+8d
+38
+20
+7a
+00
+00
+68
+00
+8d
+37
+24
+3a
+4b
+ac
+68
+00
+8d
+45
+20
+3a
+4b
+86
+68
+00
+8d
+36
+c0
+01
+cb
+bf
+c0
+81
+4b
+86
+68
+00
+8d
+3a
+24
+3a
+4b
+86
+20
+40
+4b
+6f
+20
+20
+00
+37
+68
+00
+8d
+38
+c4
+01
+00
+00
+68
+00
+8d
+37
+c3
+81
+00
+00
+68
+00
+8d
+38
+79
+3f
+fe
+02
+60
+00
+8d
+38
+68
+00
+8d
+52
+20
+7a
+00
+00
+c0
+10
+4b
+89
+c0
+10
+cb
+a4
+c0
+11
+00
+44
+20
+20
+2a
+8c
+70
+0d
+52
+00
+df
+20
+00
+02
+d8
+c0
+13
+bc
+20
+20
+4b
+5e
 58
 00
 13
@@ -231,7 +355,7 @@
 c0
 00
 00
-3a
+59
 20
 20
 49
@@ -255,7 +379,7 @@
 c0
 00
 80
-40
+5f
 20
 20
 49
@@ -267,7 +391,7 @@
 c0
 04
 80
-43
+62
 20
 20
 49
@@ -281,14 +405,6 @@
 4b
 03
 68
-00
-8d
-43
-24
-5a
-00
-50
-68
 01
 0c
 70
@@ -307,7 +423,15 @@
 24
 5a
 00
-4d
+6c
+68
+00
+8d
+43
+24
+5a
+00
+6f
 20
 20
 4a
@@ -367,15 +491,15 @@
 20
 40
 00
-69
+88
 20
 40
 01
-25
+44
 20
 40
 00
-62
+81
 68
 00
 c8
@@ -383,15 +507,15 @@
 c0
 00
 01
-79
+98
 c0
 00
 80
-73
+92
 c0
 07
 80
-6f
+8e
 20
 60
 00
@@ -403,7 +527,7 @@
 20
 40
 00
-65
+84
 20
 20
 65
@@ -451,39 +575,39 @@
 20
 40
 00
-78
+97
 20
 40
 00
-7c
+9b
 20
 40
 01
-43
+62
 20
 20
 00
-70
+8f
 20
 40
 00
-78
+97
 20
 40
 00
-7c
+9b
 20
 40
 00
-c7
+e6
 20
 40
 01
-43
+62
 20
 20
 00
-74
+93
 70
 48
 b8
@@ -511,19 +635,19 @@
 20
 40
 00
-82
+a1
 20
 40
 00
-90
+af
 20
 40
 02
-97
+b5
 20
 20
 00
-af
+ce
 68
 00
 c8
@@ -571,15 +695,15 @@
 20
 40
 03
-75
+b0
 20
 40
 03
-95
+d0
 20
 20
-00
-e3
+01
+02
 68
 00
 c8
@@ -587,7 +711,7 @@
 c0
 00
 80
-a9
+c8
 68
 00
 c8
@@ -595,7 +719,7 @@
 c0
 00
 80
-a3
+c2
 68
 0a
 48
@@ -655,7 +779,7 @@
 20
 20
 03
-95
+d0
 70
 48
 b9
@@ -663,7 +787,7 @@
 20
 20
 03
-95
+d0
 1c
 42
 7e
@@ -687,7 +811,7 @@
 20
 40
 03
-70
+ab
 60
 08
 c8
@@ -703,19 +827,19 @@
 20
 20
 03
-95
+d0
 20
 40
 00
-b2
+d1
 20
 40
 00
-b9
+d8
 20
 20
 00
-c0
+df
 68
 00
 c8
@@ -811,11 +935,11 @@
 20
 40
 00
-cb
+ea
 20
 20
 00
-d7
+f6
 68
 00
 c8
@@ -863,15 +987,15 @@
 20
 20
 03
-75
+b0
 20
 40
 01
-d1
+f0
 24
 37
-80
-e3
+81
+02
 70
 49
 7a
@@ -898,20 +1022,20 @@
 7f
 c0
 55
-00
-e6
+01
+05
 c0
 2a
-80
-f3
+81
+12
 c0
 11
 01
-03
+22
 c0
 7f
 81
-1b
+3a
 d8
 a0
 47
@@ -930,12 +1054,12 @@
 80
 c0
 00
-80
-ea
+81
+09
 c0
 01
-00
-f0
+01
+0f
 20
 60
 00
@@ -974,36 +1098,36 @@
 02
 20
 20
-00
-ec
+01
+0b
 68
 00
 c8
 80
 c0
 00
-80
-f7
+81
+16
 c0
 01
-00
-fd
+01
+1c
 20
 60
 00
 00
 20
-40
-00
-eb
+40
+01
+0a
 68
 00
 c8
 a5
 c0
 00
-80
-fb
+81
+1a
 20
 60
 00
@@ -1018,8 +1142,8 @@
 00
 20
 40
-00
-f1
+01
+10
 68
 00
 c8
@@ -1027,7 +1151,7 @@
 c0
 00
 81
-01
+20
 20
 60
 00
@@ -1047,11 +1171,11 @@
 c0
 00
 81
-07
+26
 c0
 01
 01
-10
+2f
 20
 60
 00
@@ -1063,7 +1187,7 @@
 c0
 01
 01
-0a
+29
 20
 60
 00
@@ -1090,8 +1214,8 @@
 a5
 20
 20
-00
-e3
+01
+02
 68
 00
 c8
@@ -1099,7 +1223,7 @@
 c0
 80
 01
-13
+32
 20
 60
 00
@@ -1119,7 +1243,7 @@
 20
 40
 01
-0d
+2c
 70
 11
 c7
@@ -1127,7 +1251,7 @@
 20
 40
 00
-65
+84
 20
 40
 65
@@ -1143,11 +1267,11 @@
 c0
 00
 81
-1f
+3e
 c0
 01
 01
-22
+41
 20
 60
 00
@@ -1259,7 +1383,7 @@
 24
 21
 01
-3b
+5a
 58
 00
 49
@@ -1347,11 +1471,11 @@
 c0
 50
 01
-60
+7f
 c0
 50
 81
-56
+75
 c0
 53
 30
@@ -1359,15 +1483,15 @@
 c0
 53
 81
-65
+84
 c0
 54
 81
-6b
+8a
 c0
 58
 01
-6d
+8c
 20
 20
 30
@@ -1379,11 +1503,11 @@
 c0
 00
 81
-5b
+7a
 c0
 42
 01
-5e
+7d
 c0
 53
 b0
@@ -1407,11 +1531,11 @@
 20
 40
 00
-79
+98
 20
 20
 01
-5b
+7a
 68
 00
 8c
@@ -1419,7 +1543,7 @@
 c0
 40
 81
-63
+82
 20
 20
 30
@@ -1427,7 +1551,7 @@
 20
 40
 01
-bf
+de
 20
 20
 30
@@ -1439,7 +1563,7 @@
 c0
 00
 01
-69
+88
 c0
 00
 b0
@@ -1483,11 +1607,11 @@
 c0
 01
 81
-77
+96
 20
 40
 01
-2a
+49
 68
 00
 c9
@@ -1495,7 +1619,7 @@
 c0
 01
 81
-77
+96
 70
 0c
 f7
@@ -1515,31 +1639,31 @@
 20
 40
 01
-9d
+bc
 20
 40
 01
-a3
+c2
 20
 40
 01
-80
+9f
 20
 40
 01
-84
+a3
 20
 40
 01
-d5
+f4
 20
 40
 01
-43
+62
 20
 20
 01
-7a
+99
 68
 00
 c8
@@ -1551,11 +1675,11 @@
 20
 40
 00
-7e
+9d
 20
 20
 01
-c4
+e3
 68
 00
 c8
@@ -1567,11 +1691,11 @@
 20
 40
 00
-cb
+ea
 20
 40
 00
-d7
+f6
 68
 00
 c8
@@ -1587,15 +1711,15 @@
 20
 40
 00
-78
+97
 20
 40
 01
-c2
+e1
 20
 20
 01
-a0
+bf
 20
 40
 7f
@@ -1691,7 +1815,7 @@
 20
 40
 01
-8e
+ad
 24
 74
 00
@@ -1699,11 +1823,11 @@
 20
 40
 01
-b8
+d7
 20
 40
 01
-b0
+cf
 68
 00
 c8
@@ -1723,11 +1847,11 @@
 c0
 00
 01
-b5
+d4
 c0
 00
 81
-bd
+dc
 20
 60
 00
@@ -1759,11 +1883,11 @@
 24
 3a
 01
-bf
+de
 20
 20
 00
-78
+97
 68
 00
 c9
@@ -1791,7 +1915,7 @@
 24
 3a
 00
-78
+97
 70
 48
 a4
@@ -1862,16 +1986,16 @@
 00
 20
 20
-00
-e3
+01
+02
 20
 40
-00
-e3
+01
+02
 20
 40
 03
-af
+ea
 24
 77
 80
@@ -1879,7 +2003,7 @@
 20
 20
 02
-70
+8f
 68
 00
 c8
@@ -1890,28 +2014,28 @@
 00
 20
 40
-01
-fa
+02
+19
 20
 40
 02
-0e
+2d
 20
 40
 01
-d1
+f0
 24
 37
-80
-e3
+81
+02
 20
 40
 02
-0a
+29
 20
 42
 82
-9a
+b8
 70
 48
 a4
@@ -1938,24 +2062,24 @@
 02
 24
 42
-81
-f1
+82
+10
 20
 40
-00
-e3
+01
+02
 20
 40
 01
-c2
+e1
 20
 40
 02
-0a
+29
 20
 22
-81
-f3
+82
+12
 68
 02
 48
@@ -1970,8 +2094,8 @@
 00
 20
 22
-81
-f6
+82
+15
 68
 02
 48
@@ -1986,8 +2110,8 @@
 00
 20
 22
-81
-f8
+82
+17
 20
 60
 00
@@ -2018,16 +2142,16 @@
 e2
 20
 20
-01
-f4
+02
+13
 68
 00
 c8
 e5
 20
 20
-01
-f4
+02
+13
 68
 00
 c8
@@ -2067,7 +2191,7 @@
 20
 40
 02
-0a
+29
 24
 62
 80
@@ -2127,27 +2251,27 @@
 c0
 00
 02
-31
+50
 c0
 00
 82
-4b
+6a
 c0
 01
 02
-17
+36
 c0
 01
 82
-4b
+6a
 20
 60
 00
 00
 20
 40
-00
-eb
+01
+0a
 68
 02
 48
@@ -2155,11 +2279,11 @@
 20
 3a
 02
-0e
+2d
 20
 40
 03
-75
+b0
 68
 00
 c8
@@ -2167,7 +2291,7 @@
 20
 5a
 02
-2c
+4b
 68
 00
 c8
@@ -2187,7 +2311,7 @@
 20
 40
 03
-69
+a4
 60
 08
 c8
@@ -2195,7 +2319,7 @@
 20
 40
 03
-70
+ab
 60
 08
 c8
@@ -2215,7 +2339,7 @@
 20
 40
 03
-99
+d4
 60
 08
 c8
@@ -2239,7 +2363,7 @@
 20
 40
 03
-9d
+d8
 60
 00
 c8
@@ -2250,8 +2374,8 @@
 00
 20
 40
-00
-f1
+01
+10
 68
 02
 48
@@ -2259,11 +2383,11 @@
 20
 3a
 02
-0e
+2d
 20
 40
 03
-75
+b0
 68
 00
 c8
@@ -2271,7 +2395,7 @@
 20
 5a
 02
-46
+65
 68
 00
 c8
@@ -2291,7 +2415,7 @@
 20
 40
 03
-69
+a4
 60
 08
 c8
@@ -2299,7 +2423,7 @@
 20
 40
 03
-70
+ab
 60
 08
 c8
@@ -2319,7 +2443,7 @@
 20
 40
 03
-99
+d4
 60
 08
 c8
@@ -2343,7 +2467,7 @@
 20
 40
 03
-9d
+d8
 60
 00
 c8
@@ -2354,8 +2478,8 @@
 00
 20
 40
-00
-eb
+01
+0a
 68
 02
 48
@@ -2363,7 +2487,7 @@
 20
 40
 03
-75
+b0
 68
 00
 c8
@@ -2371,7 +2495,7 @@
 20
 5a
 02
-5f
+7e
 68
 00
 c8
@@ -2391,7 +2515,7 @@
 20
 40
 03
-69
+a4
 60
 08
 c8
@@ -2399,7 +2523,7 @@
 20
 40
 03
-70
+ab
 60
 08
 c8
@@ -2419,7 +2543,7 @@
 20
 40
 03
-99
+d4
 60
 08
 c8
@@ -2511,7 +2635,7 @@
 20
 40
 02
-63
+82
 68
 00
 c7
@@ -2523,23 +2647,23 @@
 20
 20
 82
-79
+98
 20
 40
 02
-7a
+99
 20
 40
 03
-83
+be
 20
 40
-03
-f9
+04
+34
 20
 20
-03
-f1
+04
+2c
 70
 48
 36
@@ -2555,15 +2679,15 @@
 c0
 00
 82
-81
+a0
 c0
 01
 02
-86
+a5
 c0
 01
 82
-90
+af
 20
 60
 00
@@ -2591,7 +2715,7 @@
 20
 40
 01
-3d
+5c
 24
 74
 00
@@ -2629,10 +2753,6 @@
 00
 00
 70
-48
-b8
-00
-70
 0d
 43
 00
@@ -2659,31 +2779,31 @@
 20
 40
 01
-d1
+f0
 24
 37
-80
-e3
+81
+02
 20
 20
 02
-9a
+b8
 20
 40
 02
-ab
+c9
 24
 34
-00
-e3
+01
+02
 68
 00
 c8
 34
 20
 3a
-00
-e3
+01
+02
 1f
 e0
 fe
@@ -2715,7 +2835,7 @@
 20
 5a
 01
-c2
+e1
 68
 00
 c8
@@ -2723,19 +2843,19 @@
 c0
 00
 82
-b9
+d7
 c0
 01
 02
-d8
+f6
 c0
 7f
 83
-11
+4c
 20
 20
-00
-e3
+01
+02
 20
 40
 7f
@@ -2795,7 +2915,7 @@
 20
 40
 00
-a5
+c4
 68
 00
 c8
@@ -2819,7 +2939,7 @@
 c0
 00
 83
-19
+54
 68
 00
 c8
@@ -2847,7 +2967,7 @@
 c0
 67
 83
-1d
+58
 58
 00
 00
@@ -2871,7 +2991,7 @@
 24
 5a
 02
-d0
+ee
 68
 00
 c8
@@ -2879,7 +2999,7 @@
 20
 5a
 02
-d4
+f2
 20
 20
 31
@@ -2927,7 +3047,7 @@
 20
 20
 83
-1b
+56
 68
 00
 c8
@@ -2935,39 +3055,55 @@
 c0
 00
 02
-df
+fe
 c0
 01
-82
-f8
+03
+35
+c0
+01
+83
+1c
 20
 20
+01
+02
+68
+00
+c8
+82
+20
+5a
+03
+0f
+70
+48
+82
 00
-e3
 d8
 a0
 0d
 64
 20
 40
-02
-ed
+03
+11
 68
 04
 0d
 64
 24
 5a
-02
-f0
+03
+14
 68
 04
 0d
 64
 20
 5a
-02
-f4
+03
+18
 68
 04
 0d
@@ -2998,8 +3134,16 @@
 c5
 20
 20
+01
+02
+70
+48
+b8
+00
+20
+60
+00
 00
-e3
 d8
 c0
 48
@@ -3051,7 +3195,7 @@
 20
 40
 03
-06
+2a
 68
 01
 0d
@@ -3059,7 +3203,7 @@
 24
 5a
 03
-09
+2d
 68
 01
 0d
@@ -3067,7 +3211,7 @@
 20
 5a
 03
-0d
+31
 68
 01
 8d
@@ -3098,8 +3242,8 @@
 d0
 20
 20
-00
-e3
+01
+02
 d8
 c0
 48
@@ -3144,6 +3288,98 @@
 20
 7f
 08
+d8
+a0
+13
+bc
+20
+40
+03
+3f
+68
+01
+13
+bc
+60
+01
+13
+cc
+68
+09
+13
+cf
+98
+46
+7c
+00
+24
+42
+83
+4a
+68
+01
+13
+cc
+60
+01
+13
+cf
+20
+20
+01
+02
+d8
+c0
+48
+80
+df
+20
+00
+02
+20
+20
+7f
+01
+70
+48
+d4
+01
+58
+00
+01
+80
+d8
+e0
+00
+0c
+20
+20
+7f
+08
+70
+48
+d4
+00
+58
+00
+00
+00
+d8
+e0
+00
+0c
+20
+20
+7f
+08
+70
+0d
+52
+22
+20
+20
+31
+b9
 68
 00
 c8
@@ -3151,11 +3387,11 @@
 c0
 00
 83
-15
+50
 c0
 01
 03
-17
+52
 20
 60
 00
@@ -3167,7 +3403,7 @@
 20
 20
 01
-20
+3f
 68
 02
 48
@@ -3175,7 +3411,7 @@
 20
 20
 01
-23
+42
 68
 02
 48
@@ -3183,7 +3419,7 @@
 20
 20
 01
-20
+3f
 68
 02
 48
@@ -3191,7 +3427,7 @@
 20
 20
 01
-23
+42
 68
 01
 48
@@ -3207,7 +3443,7 @@
 20
 22
 83
-22
+5d
 20
 60
 00
@@ -3219,7 +3455,7 @@
 c0
 61
 03
-2f
+6a
 68
 00
 c9
@@ -3235,7 +3471,7 @@
 20
 40
 01
-34
+53
 68
 00
 c9
@@ -3255,11 +3491,11 @@
 c0
 60
 81
-75
+94
 c0
 61
 03
-2f
+6a
 20
 60
 00
@@ -3279,7 +3515,7 @@
 20
 40
 01
-25
+44
 68
 00
 c8
@@ -3287,11 +3523,11 @@
 c0
 2a
 83
-37
+72
 c0
 55
 03
-39
+74
 20
 60
 00
@@ -3379,11 +3615,11 @@
 c0
 02
 03
-54
+8f
 20
 20
 03
-4d
+88
 70
 89
 4b
@@ -3487,7 +3723,7 @@
 20
 40
 03
-69
+a4
 60
 08
 c8
@@ -3571,7 +3807,7 @@
 c2
 00
 03
-79
+b4
 1a
 22
 7e
@@ -3679,7 +3915,7 @@
 20
 40
 03
-99
+d4
 60
 08
 c8
@@ -3691,7 +3927,7 @@
 20
 40
 03
-9d
+d8
 18
 40
 84
@@ -3815,7 +4051,7 @@
 20
 40
 03
-a6
+e1
 78
 57
 fc
@@ -3850,8 +4086,8 @@
 00
 24
 2c
-03
-f4
+04
+2f
 78
 46
 fc
@@ -3890,8 +4126,8 @@
 00
 24
 22
-83
-f1
+84
+2c
 09
 80
 00
@@ -3914,8 +4150,8 @@
 02
 20
 22
-83
-d6
+84
+11
 68
 00
 c7
@@ -3930,8 +4166,8 @@
 00
 24
 20
-83
-f1
+84
+2c
 09
 80
 00
@@ -3954,8 +4190,8 @@
 1f
 20
 22
-83
-e0
+84
+1b
 09
 80
 00
@@ -3970,8 +4206,8 @@
 00
 c2
 00
-03
-dc
+04
+17
 09
 80
 00
@@ -4006,8 +4242,8 @@
 bb
 20
 23
-03
-f1
+04
+2c
 78
 37
 fc
@@ -4055,11 +4291,11 @@
 20
 40
 03
-62
+9d
 20
 20
-03
-f1
+04
+2c
 20
 40
 29
@@ -4087,11 +4323,11 @@
 20
 40
 03
-a6
+e1
 20
 40
-03
-f6
+04
+31
 79
 20
 2a
@@ -4171,7 +4407,7 @@
 c2
 00
 04
-0f
+4a
 68
 00
 c8
@@ -4211,9 +4447,9 @@
 20
 60
 00
-00
-e4
-b1
+00
+67
+36
 aa
 55
 01
@@ -4243,7 +4479,7 @@
 1e
 40
 80
-01
+11
 aa
 55
 0d
@@ -4454,11 +4690,11 @@
 c0
 aa
 55
-aa
+a4
 00
 90
 12
-a9
+a3
 05
 01
 09
@@ -4547,23 +4783,17 @@
 19
 81
 29
-83
+88
 15
 00
 25
 01
 95
-03
+08
 75
 01
 81
 06
-95
-01
-75
-05
-81
-01
 c0
 05
 0c
@@ -4788,238 +5018,8 @@
 42
 00
 84
-61
-09
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+6b
+25
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-26
-6e
+e2
+cf
Index: output/memmap.format
===================================================================
--- /branch/USB/dongle/output/memmap.format	(revision 2052)
+++ /branch/USB/dongle/output/memmap.format	(working copy)
@@ -604,6 +604,9 @@
 0x11c8 mem_hidreportdesc_kb_temp
 0x1290 mem_hidreportdesc_m_temp
 0x1358 mem_hidreportdesc_kb_new_temp
+0x13bc mem_usb_kb_system
+0x13cc mem_usb_kb_system_sta_data
+0x13cf mem_usb_kb_system_last_data
 0x4000 mem_patch00
 0x4001 mem_patch01
 0x4002 mem_patch02
Index: output/program.lis
===================================================================
--- /branch/USB/dongle/output/program.lis	(revision 2052)
+++ /branch/USB/dongle/output/program.lis	(working copy)
@@ -1,1399 +1,1476 @@
 include "bt_format "
 org 0x0000
-0000 c2840009 bbit1 8 ,pf_patch_ext 
-0001 c0428360 beq patch10_5 ,p_shutdown_radio 
-0002 c044833b beq patch11_1 ,p_set_freq_tx 
-0003 c000035b beq patch00_0 ,p_soft_reset 
-0004 c047000a beq patch11_6 ,p_save_rssi 
-0005 c0620054 beq patch18_4 ,p_app_init 
-0006 c07b8011 beq patch1e_7 ,p_usb_init 
-0007 c07c002c beq patch1f_0 ,p_usb_status1 
-0008 20202a8e branch loop 
+0000 c284000a bbit1 8 ,pf_patch_ext 
+0001 c042839b beq patch10_5 ,p_shutdown_radio 
+0002 c0448376 beq patch11_1 ,p_set_freq_tx 
+0003 c0000396 beq patch00_0 ,p_soft_reset 
+0004 c047000b beq patch11_6 ,p_save_rssi 
+0005 c0620073 beq patch18_4 ,p_app_init 
+0006 c07b8012 beq patch1e_7 ,p_usb_init 
+0007 c07c004b beq patch1f_0 ,p_usb_status1 
+0008 c07e002a beq patch1f_4 ,p_usb_tx 
+0009 20202a8e branch loop 
 
 pf_patch_ext:
-0009 20202a8e branch loop 
+000a 20202a8e branch loop 
 
 p_save_rssi:
-000a 68110981 hfetch 2 ,rf_afc_d2a 
-000b 1ff1fe00 rshift4 pdata ,pdata 
-000c 1fe97e00 rshift3 pdata ,pdata 
-000d 1fe67e00 sub pdata ,0 ,pdata 
-000e 1fe17eff and_into 0xff ,pdata 
-000f 6000c8ee store 1 ,mem_rssi_hex 
-0010 202029c1 branch save_rssi + 6 
+000b 68110981 hfetch 2 ,rf_afc_d2a 
+000c 1ff1fe00 rshift4 pdata ,pdata 
+000d 1fe97e00 rshift3 pdata ,pdata 
+000e 1fe67e00 sub pdata ,0 ,pdata 
+000f 1fe17eff and_into 0xff ,pdata 
+0010 6000c8ee store 1 ,mem_rssi_hex 
+0011 202029c1 branch save_rssi + 6 
 
 p_usb_init:
-0011 708a0500 jam 0 ,core_usb_driver 
-0012 20404919 call usb_init_param 
-0013 20400016 call p_usb_new_vid_pid 
-0014 20400020 call p_usb_hid_icon 
-0015 202048ec branch usb_init + 2 
+0012 708a0500 jam 0 ,core_usb_driver 
+0013 20404919 call usb_init_param 
+0014 20400017 call p_usb_new_vid_pid 
+0015 20400021 call p_usb_hid_icon 
+0016 202048ec branch usb_init + 2 
 
 p_usb_new_vid_pid:
-0016 680091be fetch 1 ,mem_usb_new_vid_pid_value 
-0017 207a0000 rtn blank 
-0018 680091c7 fetch 1 ,mem_dongle_kb_bind_flag 
-0019 c02d001d beq dongle_kb_bind_success ,p_usb_new_vid_pid_for_suit 
+0017 680091be fetch 1 ,mem_usb_new_vid_pid_value 
+0018 207a0000 rtn blank 
+0019 680091c7 fetch 1 ,mem_dongle_kb_bind_flag 
+001a c02d001e beq dongle_kb_bind_success ,p_usb_new_vid_pid_for_suit 
 
 p_usb_new_vid_pid_for_mouse_only_auto_pair:
-001a 680211bf fetch 4 ,mem_usb_new_vid_pid_value + 1 
-001b 60020b71 store 4 ,mem_devicedesc + 9 
-001c 20600000 rtn 
+001b 680211bf fetch 4 ,mem_usb_new_vid_pid_value + 1 
+001c 60020b71 store 4 ,mem_devicedesc + 9 
+001d 20600000 rtn 
 
 p_usb_new_vid_pid_for_suit:
-001d 680211c3 fetch 4 ,mem_usb_new_vid_pid_value + 5 
-001e 60020b71 store 4 ,mem_devicedesc + 9 
-001f 20600000 rtn 
+001e 680211c3 fetch 4 ,mem_usb_new_vid_pid_value + 5 
+001f 60020b71 store 4 ,mem_devicedesc + 9 
+0020 20600000 rtn 
 
 p_usb_hid_icon:
-0020 680091c7 fetch 1 ,mem_dongle_kb_bind_flag 
-0021 c02d0029 beq dongle_kb_bind_success ,p_new_kb_hidreportdesc 
-0022 580011c8 setarg mem_hidreportdesc_kb_temp 
-0023 60010b7c store 2 ,mem_hidreportdesc_kb 
-0024 58001290 setarg mem_hidreportdesc_m_temp 
-0025 60010b7e store 2 ,mem_hidreportdesc_m 
-0026 700b9a1a jam 0x1a ,mem_confdesc + 26 
-0027 700bb3a9 jam 0xa9 ,mem_confdesc + 51 
-0028 20600000 rtn 
+0021 680091c7 fetch 1 ,mem_dongle_kb_bind_flag 
+0022 c02d0048 beq dongle_kb_bind_success ,p_new_kb_hidreportdesc 
+0023 580011c8 setarg mem_hidreportdesc_kb_temp 
+0024 60010b7c store 2 ,mem_hidreportdesc_kb 
+0025 58001290 setarg mem_hidreportdesc_m_temp 
+0026 60010b7e store 2 ,mem_hidreportdesc_m 
+0027 700b9a1a jam 0x1a ,mem_confdesc + 26 
+0028 700bb3a3 jam 0xa3 ,mem_confdesc + 51 
+0029 20600000 rtn 
+
+p_usb_tx:
+002a 68008d38 fetch 1 ,mem_usb_tx_enable 
+002b 207a0000 rtn blank 
+002c 68008d37 fetch 1 ,mem_usb_tx_wait 
+002d 243a4bac nbranch usb_inwake_state_tx_dispose ,blank 
+002e 68008d45 fetch 1 ,mem_usb_device_enumeration_endflag 
+002f 203a4b86 branch usb_tx_fifo_release ,blank 
+0030 68008d36 fetch 1 ,mem_usb_state 
+0031 c001cbbf beq usb_sleep ,usb_windows_wakeup 
+0032 c0814b86 bne usb_connected ,usb_tx_fifo_release 
+0033 68008d3a fetch 1 ,mem_usb_clear_remote_wakeup 
+0034 243a4b86 nbranch usb_tx_fifo_release ,blank 
+0035 20404b6f call usb_tx_data_ep1 
+0036 20200037 branch p_usb_tx_data_ep2 
+
+p_usb_tx_data_ep2:
+0037 68008d38 fetch 1 ,mem_usb_tx_enable 
+0038 c4010000 rtnbit0 2 
+0039 68008d37 fetch 1 ,mem_usb_tx_wait 
+003a c3810000 rtnbit1 2 
+003b 68008d38 fetch 1 ,mem_usb_tx_enable 
+003c 793ffe02 set0 2 ,pdata 
+003d 60008d38 store 1 ,mem_usb_tx_enable 
+003e 68008d52 fetch 1 ,mem_usb_ep2_data 
+003f 207a0000 rtn blank 
+0040 c0104b89 beq usb_ep2_ms ,usb_tx_ms_data 
+0041 c010cba4 beq usb_ep2_multikey ,usb_tx_kb_multikey_data 
+0042 c0110044 beq usb_ep2_systemkey ,p_usb_tx_kb_systemkey_data 
+0043 20202a8c branch assert 
+
+p_usb_tx_kb_systemkey_data:
+0044 700d5200 jam 0 ,mem_usb_ep2_data 
+0045 df200002 arg 2 ,loopcnt 
+0046 d8c013bc arg mem_usb_kb_system ,contr 
+0047 20204b5e branch usb_tx_ep2 
 
 p_new_kb_hidreportdesc:
-0029 58001358 setarg mem_hidreportdesc_kb_new_temp 
-002a 60010b7c store 2 ,mem_hidreportdesc_kb 
-002b 20600000 rtn 
+0048 58001358 setarg mem_hidreportdesc_kb_new_temp 
+0049 60010b7c store 2 ,mem_hidreportdesc_kb 
+004a 20600000 rtn 
 
 p_usb_status1:
-002c 708a2611 jam 0x11 ,core_usb_status 
-002d 68108a20 hfetch 1 ,core_usb_ep_len 
-002e 60008b24 store 1 ,mem_usb_read_len 
-002f 1fe27200 copy pdata ,loopcnt 
-0030 203a4943 branch usb_rx_no_data ,blank 
-0031 d8a00c6e arg mem_usb_setup ,contw 
-0032 20404946 call usb_rx_read 
-0033 68008b24 fetch 1 ,mem_usb_read_len 
-0034 1fe67c07 sub pdata ,7 ,null 
-0035 20610000 rtn positive 
-0036 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
-0037 1fe17e80 and_into 0x80 ,pdata 
-0038 c000003a beq out_device ,p_usb_out_device 
-0039 20204957 branch usb_class_type + 2 
+004b 708a2611 jam 0x11 ,core_usb_status 
+004c 68108a20 hfetch 1 ,core_usb_ep_len 
+004d 60008b24 store 1 ,mem_usb_read_len 
+004e 1fe27200 copy pdata ,loopcnt 
+004f 203a4943 branch usb_rx_no_data ,blank 
+0050 d8a00c6e arg mem_usb_setup ,contw 
+0051 20404946 call usb_rx_read 
+0052 68008b24 fetch 1 ,mem_usb_read_len 
+0053 1fe67c07 sub pdata ,7 ,null 
+0054 20610000 rtn positive 
+0055 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+0056 1fe17e80 and_into 0x80 ,pdata 
+0057 c0000059 beq out_device ,p_usb_out_device 
+0058 20204957 branch usb_class_type + 2 
 
 p_usb_out_device:
-003a 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
-003b 1ff1fe00 rshift4 pdata ,pdata 
-003c 1fe37e00 rshift pdata ,pdata 
-003d 1fe17e03 and_into 0x03 ,pdata 
-003e c0008040 beq class_req ,p_usb_out_class_req 
-003f 20204966 branch usb_out_device + 4 
+0059 68008c6e fetch 1 ,mem_usb_setup_bmrequesttype 
+005a 1ff1fe00 rshift4 pdata ,pdata 
+005b 1fe37e00 rshift pdata ,pdata 
+005c 1fe17e03 and_into 0x03 ,pdata 
+005d c000805f beq class_req ,p_usb_out_class_req 
+005e 20204966 branch usb_out_device + 4 
 
 p_usb_out_class_req:
-0040 68008c6f fetch 1 ,mem_usb_setup_brequest 
-0041 c0048043 beq set_report ,p_usb_set_report 
-0042 2020497f branch usb_out_class_req + 1 
+005f 68008c6f fetch 1 ,mem_usb_setup_brequest 
+0060 c0048062 beq set_report ,p_usb_set_report 
+0061 2020497f branch usb_out_class_req + 1 
 
 p_usb_set_report:
-0043 700d5001 jam 1 ,mem_usb0_get_set_report 
-0044 20404b03 call usb_set_report_resume_judge 
-0045 68008d43 fetch 1 ,mem_usb_tx_win_enable 
-0046 245a0050 ncall p_usb_get_output_data ,blank 
-0047 68010c70 fetch 2 ,mem_usb_setup_bvalue 
-0048 60010d4e store 2 ,mem_usb_setup_bvalue_temp 
-0049 20003a98 nop 15000 
-004a 68108a20 hfetch 1 ,core_usb_ep_len 
-004b 245a004d ncall p_usb_set_report_rxdata ,blank 
-004c 20204afd branch usb_set_report + 4 
+0062 700d5001 jam 1 ,mem_usb0_get_set_report 
+0063 20404b03 call usb_set_report_resume_judge 
+0064 68010c70 fetch 2 ,mem_usb_setup_bvalue 
+0065 60010d4e store 2 ,mem_usb_setup_bvalue_temp 
+0066 20003a98 nop 15000 
+0067 68108a20 hfetch 1 ,core_usb_ep_len 
+0068 245a006c ncall p_usb_set_report_rxdata ,blank 
+0069 68008d43 fetch 1 ,mem_usb_tx_win_enable 
+006a 245a006f ncall p_usb_get_output_data ,blank 
+006b 20204afd branch usb_set_report + 4 
 
 p_usb_set_report_rxdata:
-004d 1fe27200 copy pdata ,loopcnt 
-004e d8a00c76 arg mem_usb0_setup ,contw 
-004f 20204946 branch usb_rx_read 
+006c 1fe27200 copy pdata ,loopcnt 
+006d d8a00c76 arg mem_usb0_setup ,contw 
+006e 20204946 branch usb_rx_read 
 
 p_usb_get_output_data:
-0050 68008c76 fetch 1 ,mem_usb0_setup 
-0051 6000c978 store 1 ,mem_24g_led_status 
-0052 7048b803 jam kb_led_ackpayload ,mem_24g_ackpayload_enable 
-0053 20600000 rtn 
+006f 68008c76 fetch 1 ,mem_usb0_setup 
+0070 6000c978 store 1 ,mem_24g_led_status 
+0071 7048b803 jam kb_led_ackpayload ,mem_24g_ackpayload_enable 
+0072 20600000 rtn 
 
 p_app_init:
-0054 70497907 jam g24_bind_mode_delay ,mem_24g_bind_delay_count 
-0055 204074b9 call enable_authrom 
-0056 680240a0 fetch 4 ,mem_lap 
-0057 6002489f store 4 ,mem_24g_rx_addr 
-0058 6808c23a fetcht 1 ,mem_eeprom_wp_gpio 
-0059 2040680e call gpio_config_output 
-005a 20400069 call p_dongle_init 
-005b 20400125 call p_g24_queue_init 
-005c 20400062 call p_dongle_iic_init 
-005d 6800c8ba fetch 1 ,mem_24g_pair_mode 
-005e c0000179 beq 0x00 ,p_dongle_auto_bind 
-005f c0008073 beq 0x01 ,p_dongle_pc_bind 
-0060 c007806f beq 0x0f ,p_dongle_all_powerful 
-0061 20600000 rtn 
+0073 70497907 jam g24_bind_mode_delay ,mem_24g_bind_delay_count 
+0074 204074b9 call enable_authrom 
+0075 680240a0 fetch 4 ,mem_lap 
+0076 6002489f store 4 ,mem_24g_rx_addr 
+0077 6808c23a fetcht 1 ,mem_eeprom_wp_gpio 
+0078 2040680e call gpio_config_output 
+0079 20400088 call p_dongle_init 
+007a 20400144 call p_g24_queue_init 
+007b 20400081 call p_dongle_iic_init 
+007c 6800c8ba fetch 1 ,mem_24g_pair_mode 
+007d c0000198 beq 0x00 ,p_dongle_auto_bind 
+007e c0008092 beq 0x01 ,p_dongle_pc_bind 
+007f c007808e beq 0x0f ,p_dongle_all_powerful 
+0080 20600000 rtn 
 
 p_dongle_iic_init:
-0062 2040659c call iic_init_390k 
-0063 20400065 call p_dongle_set_kb_bind_eeprom 
-0064 202065df branch iicd_read_eep_data 
+0081 2040659c call iic_init_390k 
+0082 20400084 call p_dongle_set_kb_bind_eeprom 
+0083 202065df branch iicd_read_eep_data 
 
 p_dongle_set_kb_bind_eeprom:
-0065 da2011c7 arg mem_dongle_kb_bind_flag ,rega 
-0066 da400000 arg dongle_kb_bind_eeprom_offect ,regb 
-0067 d8400001 arg 1 ,temp 
-0068 20600000 rtn 
+0084 da2011c7 arg mem_dongle_kb_bind_flag ,rega 
+0085 da400000 arg dongle_kb_bind_eeprom_offect ,regb 
+0086 d8400001 arg 1 ,temp 
+0087 20600000 rtn 
 
 p_dongle_init:
-0069 6800c1de fetch 1 ,mem_tx_power 
-006a 6000c8ed store 1 ,mem_tx_power_temp 
-006b df200080 arg 0x80 ,loopcnt 
-006c d8a00d9e arg mem_rssi_noise_buffer ,contw 
-006d 20407ec6 call memset0 
-006e 202048ea branch usb_init 
+0088 6800c1de fetch 1 ,mem_tx_power 
+0089 6000c8ed store 1 ,mem_tx_power_temp 
+008a df200080 arg 0x80 ,loopcnt 
+008b d8a00d9e arg mem_rssi_noise_buffer ,contw 
+008c 20407ec6 call memset0 
+008d 202048ea branch usb_init 
 
 p_dongle_all_powerful:
-006f 20400078 call p_dongle_check_mode 
+008e 20400097 call p_dongle_check_mode 
 
 p_dongle_all_powerful_loop:
-0070 2040007c call p_g24_dongle_work_mode 
-0071 20400143 call p_dongle_usb_dispatch 
-0072 20200070 branch p_dongle_all_powerful_loop 
+008f 2040009b call p_g24_dongle_work_mode 
+0090 20400162 call p_dongle_usb_dispatch 
+0091 2020008f branch p_dongle_all_powerful_loop 
 
 p_dongle_pc_bind:
-0073 20400078 call p_dongle_check_mode 
+0092 20400097 call p_dongle_check_mode 
 
 p_dongle_pc_bind_loop:
-0074 2040007c call p_g24_dongle_work_mode 
-0075 204000c7 call p_g24_dongle_bind_mode 
-0076 20400143 call p_dongle_usb_dispatch 
-0077 20200074 branch p_dongle_pc_bind_loop 
+0093 2040009b call p_g24_dongle_work_mode 
+0094 204000e6 call p_g24_dongle_bind_mode 
+0095 20400162 call p_dongle_usb_dispatch 
+0096 20200093 branch p_dongle_pc_bind_loop 
 
 p_dongle_check_mode:
-0078 7048b800 jam 0 ,mem_24g_ackpayload_enable 
+0097 7048b800 jam 0 ,mem_24g_ackpayload_enable 
 
 p_dongle_work_mode_enable:
-0079 7048a400 jam dongle_work ,mem_dongle_work_mode 
-007a 7048a300 jam clear_init ,mem_dongle_mode_init 
-007b 20600000 rtn 
+0098 7048a400 jam dongle_work ,mem_dongle_work_mode 
+0099 7048a300 jam clear_init ,mem_dongle_mode_init 
+009a 20600000 rtn 
 
 p_g24_dongle_work_mode:
-007c 6800c8a4 fetch 1 ,mem_dongle_work_mode 
-007d c1800000 rtnne dongle_work 
+009b 6800c8a4 fetch 1 ,mem_dongle_work_mode 
+009c c1800000 rtnne dongle_work 
 
 p_g24_dongle_work_mode_start:
-007e 20400082 call p_g24_dongle_work_init 
-007f 20400090 call p_g24_ch_process 
-0080 20400297 call p_g24_receive_packet_start 
-0081 202000af branch p_g24_blank_data_process 
+009d 204000a1 call p_g24_dongle_work_init 
+009e 204000af call p_g24_ch_process 
+009f 204002b5 call p_g24_receive_packet_start 
+00a0 202000ce branch p_g24_blank_data_process 
 
 p_g24_dongle_work_init:
-0082 6800c8a3 fetch 1 ,mem_dongle_mode_init 
-0083 c3800000 rtnbit1 dongle_work 
-0084 79207e00 set1 dongle_work ,pdata 
-0085 6000c8a3 store 1 ,mem_dongle_mode_init 
-0086 6800c8ed fetch 1 ,mem_tx_power_temp 
-0087 6000c1de store 1 ,mem_tx_power 
-0088 7048b800 jam 0 ,mem_24g_ackpayload_enable 
-0089 700d3800 jam 0 ,mem_usb_tx_enable 
-008a 7048b001 jam 1 ,mem_24g_abort_packet 
-008b 70483500 jam 0 ,mem_24g_pid 
-008c 6802489f fetch 4 ,mem_24g_rx_addr 
-008d 20400375 call p_g24_update_addr_and_synccrc8 
-008e 20400395 call p_g24_ch 
-008f 202000e3 branch p_g24_rx_interrupt_clear 
+00a1 6800c8a3 fetch 1 ,mem_dongle_mode_init 
+00a2 c3800000 rtnbit1 dongle_work 
+00a3 79207e00 set1 dongle_work ,pdata 
+00a4 6000c8a3 store 1 ,mem_dongle_mode_init 
+00a5 6800c8ed fetch 1 ,mem_tx_power_temp 
+00a6 6000c1de store 1 ,mem_tx_power 
+00a7 7048b800 jam 0 ,mem_24g_ackpayload_enable 
+00a8 700d3800 jam 0 ,mem_usb_tx_enable 
+00a9 7048b001 jam 1 ,mem_24g_abort_packet 
+00aa 70483500 jam 0 ,mem_24g_pid 
+00ab 6802489f fetch 4 ,mem_24g_rx_addr 
+00ac 204003b0 call p_g24_update_addr_and_synccrc8 
+00ad 204003d0 call p_g24_ch 
+00ae 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_ch_process:
-0090 6800c8b0 fetch 1 ,mem_24g_abort_packet 
-0091 c00080a9 beq 1 ,p_g24_noise_rssi 
-0092 6800c8b9 fetch 1 ,mem_24g_hop_packet 
-0093 c00080a3 beq 1 ,p_g24_ch_receive_hop_pac 
-0094 680a48b2 fetcht 4 ,mem_24g_hop_btclk 
-0095 1c427e00 copy clkn_bt ,pdata 
-0096 98467c00 isub temp ,null 
-0097 24412d18 ncall g24_timer_timeout ,positive 
-0098 1fe22400 copy pdata ,regb 
-0099 680248b2 fetch 4 ,mem_24g_hop_btclk 
-009a 6808c8b6 fetcht 1 ,mem_24g_hop_interval 
-009b 98408400 iadd temp ,temp 
-009c 1a427e00 copy regb ,pdata 
-009d 98467c00 isub temp ,null 
-009e 24610000 nrtn positive 
-009f 793ffe1c set0 28 ,pdata 
-00a0 600248b2 store 4 ,mem_24g_hop_btclk 
-00a1 7048b001 jam 1 ,mem_24g_abort_packet 
-00a2 20200395 branch p_g24_ch 
+00af 6800c8b0 fetch 1 ,mem_24g_abort_packet 
+00b0 c00080c8 beq 1 ,p_g24_noise_rssi 
+00b1 6800c8b9 fetch 1 ,mem_24g_hop_packet 
+00b2 c00080c2 beq 1 ,p_g24_ch_receive_hop_pac 
+00b3 680a48b2 fetcht 4 ,mem_24g_hop_btclk 
+00b4 1c427e00 copy clkn_bt ,pdata 
+00b5 98467c00 isub temp ,null 
+00b6 24412d18 ncall g24_timer_timeout ,positive 
+00b7 1fe22400 copy pdata ,regb 
+00b8 680248b2 fetch 4 ,mem_24g_hop_btclk 
+00b9 6808c8b6 fetcht 1 ,mem_24g_hop_interval 
+00ba 98408400 iadd temp ,temp 
+00bb 1a427e00 copy regb ,pdata 
+00bc 98467c00 isub temp ,null 
+00bd 24610000 nrtn positive 
+00be 793ffe1c set0 28 ,pdata 
+00bf 600248b2 store 4 ,mem_24g_hop_btclk 
+00c0 7048b001 jam 1 ,mem_24g_abort_packet 
+00c1 202003d0 branch p_g24_ch 
 
 p_g24_ch_receive_hop_pac:
-00a3 7048b900 jam 0 ,mem_24g_hop_packet 
-00a4 20200395 branch p_g24_ch 
+00c2 7048b900 jam 0 ,mem_24g_hop_packet 
+00c3 202003d0 branch p_g24_ch 
 
 p_g24_ch_timer_reinit:
-00a5 1c427e00 copy clkn_bt ,pdata 
-00a6 600248b2 store 4 ,mem_24g_hop_btclk 
-00a7 7048b100 jam 0 ,mem_24g_rf_laststa 
-00a8 20600000 rtn 
+00c4 1c427e00 copy clkn_bt ,pdata 
+00c5 600248b2 store 4 ,mem_24g_hop_btclk 
+00c6 7048b100 jam 0 ,mem_24g_rf_laststa 
+00c7 20600000 rtn 
 
 p_g24_noise_rssi:
-00a9 da200d9e arg mem_rssi_noise_buffer ,rega 
-00aa 20400370 call p_rssi_average 
-00ab 6008c8ef storet 1 ,mem_rssi_noise_avg 
-00ac 18467c50 sub temp ,rssi_thresh_noise ,null 
-00ad 24610000 nrtn positive 
-00ae 20200395 branch p_g24_ch 
+00c8 da200d9e arg mem_rssi_noise_buffer ,rega 
+00c9 204003ab call p_rssi_average 
+00ca 6008c8ef storet 1 ,mem_rssi_noise_avg 
+00cb 18467c50 sub temp ,rssi_thresh_noise ,null 
+00cc 24610000 nrtn positive 
+00cd 202003d0 branch p_g24_ch 
 
 p_g24_blank_data_process:
-00af 204000b2 call p_g24_ms_blank_data 
-00b0 204000b9 call p_g24_kb_blank_data 
-00b1 202000c0 branch p_g24_kb_mul_blank_data 
+00ce 204000d1 call p_g24_ms_blank_data 
+00cf 204000d8 call p_g24_kb_blank_data 
+00d0 202000df branch p_g24_kb_mul_blank_data 
 
 p_g24_ms_blank_data:
-00b2 6800c8d5 fetch 1 ,mem_24g_ms_blank_data_enable 
-00b3 207a0000 rtn blank 
-00b4 d8e0000b arg timer_new_ms_blank ,queue 
-00b5 20407f16 call timer_check 
-00b6 247a0000 nrtn blank 
-00b7 7048d500 jam 0 ,mem_24g_ms_blank_data_enable 
-00b8 20202fa0 branch g24_ms_blank_data_2usb 
+00d1 6800c8d5 fetch 1 ,mem_24g_ms_blank_data_enable 
+00d2 207a0000 rtn blank 
+00d3 d8e0000b arg timer_new_ms_blank ,queue 
+00d4 20407f16 call timer_check 
+00d5 247a0000 nrtn blank 
+00d6 7048d500 jam 0 ,mem_24g_ms_blank_data_enable 
+00d7 20202fa0 branch g24_ms_blank_data_2usb 
 
 p_g24_kb_blank_data:
-00b9 6800c8d3 fetch 1 ,mem_24g_kb_blank_data_enable 
-00ba 207a0000 rtn blank 
-00bb d8e0000e arg timer_new_kb_blank ,queue 
-00bc 20407f16 call timer_check 
-00bd 247a0000 nrtn blank 
-00be 7048d300 jam 0 ,mem_24g_kb_blank_data_enable 
-00bf 20202fac branch g24_kb_blank_data_2usb 
+00d8 6800c8d3 fetch 1 ,mem_24g_kb_blank_data_enable 
+00d9 207a0000 rtn blank 
+00da d8e0000e arg timer_new_kb_blank ,queue 
+00db 20407f16 call timer_check 
+00dc 247a0000 nrtn blank 
+00dd 7048d300 jam 0 ,mem_24g_kb_blank_data_enable 
+00de 20202fac branch g24_kb_blank_data_2usb 
 
 p_g24_kb_mul_blank_data:
-00c0 6800c8d4 fetch 1 ,mem_24g_kb_mul_blank_data_enable 
-00c1 207a0000 rtn blank 
-00c2 d8e0000c arg timer_new_kb_mul_blank ,queue 
-00c3 20407f16 call timer_check 
-00c4 247a0000 nrtn blank 
-00c5 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
-00c6 20202fb8 branch g24_kb_mul_blank_data_2usb 
+00df 6800c8d4 fetch 1 ,mem_24g_kb_mul_blank_data_enable 
+00e0 207a0000 rtn blank 
+00e1 d8e0000c arg timer_new_kb_mul_blank ,queue 
+00e2 20407f16 call timer_check 
+00e3 247a0000 nrtn blank 
+00e4 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
+00e5 20202fb8 branch g24_kb_mul_blank_data_2usb 
 
 p_g24_dongle_bind_mode:
-00c7 6800c8a4 fetch 1 ,mem_dongle_work_mode 
-00c8 c1808000 rtnne dongle_bind 
-00c9 204000cb call p_g24_dongle_bind_init 
-00ca 202000d7 branch p_g24_dongle_bind_data_process 
+00e6 6800c8a4 fetch 1 ,mem_dongle_work_mode 
+00e7 c1808000 rtnne dongle_bind 
+00e8 204000ea call p_g24_dongle_bind_init 
+00e9 202000f6 branch p_g24_dongle_bind_data_process 
 
 p_g24_dongle_bind_init:
-00cb 6800c8a3 fetch 1 ,mem_dongle_mode_init 
-00cc c3808000 rtnbit1 dongle_bind 
-00cd 79207e01 set1 dongle_bind ,pdata 
-00ce 6000c8a3 store 1 ,mem_dongle_mode_init 
-00cf 58000000 setarg 0 
-00d0 6001c8a5 store 3 ,mem_dongle_ms_bind_step 
-00d1 7041de04 jam tx_power_f5db ,mem_tx_power 
-00d2 7048b801 jam 1 ,mem_24g_ackpayload_enable 
-00d3 70483500 jam 0 ,mem_24g_pid 
-00d4 7048404e jam g24_pair_ch ,mem_24g_ch 
-00d5 68024842 fetch 4 ,mem_24g_paring_addr 
-00d6 20200375 branch p_g24_update_addr_and_synccrc8 
+00ea 6800c8a3 fetch 1 ,mem_dongle_mode_init 
+00eb c3808000 rtnbit1 dongle_bind 
+00ec 79207e01 set1 dongle_bind ,pdata 
+00ed 6000c8a3 store 1 ,mem_dongle_mode_init 
+00ee 58000000 setarg 0 
+00ef 6001c8a5 store 3 ,mem_dongle_ms_bind_step 
+00f0 7041de04 jam tx_power_f5db ,mem_tx_power 
+00f1 7048b801 jam 1 ,mem_24g_ackpayload_enable 
+00f2 70483500 jam 0 ,mem_24g_pid 
+00f3 7048404e jam g24_pair_ch ,mem_24g_ch 
+00f4 68024842 fetch 4 ,mem_24g_paring_addr 
+00f5 202003b0 branch p_g24_update_addr_and_synccrc8 
 
 p_g24_dongle_bind_data_process:
-00d7 204001d1 call p_g24_receive_transmit_ack 
-00d8 243780e3 nbranch p_g24_rx_interrupt_clear ,user3 
-00d9 70497a05 jam g24_work_mode_delay ,mem_24g_work_delay_count 
-00da d8c047b0 arg mem_24g_rxbuf ,contr 
-00db d8a0487d arg mem_24g_rxdata_temp ,contw 
-00dc df200008 arg 8 ,loopcnt 
-00dd 20407f01 call memcpy 
-00de 6800c87f fetch 1 ,mem_24g_rxdata_temp + 2 
-00df c05500e6 beq datatype_bind ,p_g24_dongle_bind_first_step 
-00e0 c02a80f3 beq datatype_config ,p_g24_dongle_bind_second_step 
-00e1 c0110103 beq datatype_ok ,p_g24_dongle_bind_third_step 
-00e2 c07f811b beq 0xff ,p_g24_data_attemp_bind 
+00f6 204001f0 call p_g24_receive_transmit_ack 
+00f7 24378102 nbranch p_g24_rx_interrupt_clear ,user3 
+00f8 70497a05 jam g24_work_mode_delay ,mem_24g_work_delay_count 
+00f9 d8c047b0 arg mem_24g_rxbuf ,contr 
+00fa d8a0487d arg mem_24g_rxdata_temp ,contw 
+00fb df200008 arg 8 ,loopcnt 
+00fc 20407f01 call memcpy 
+00fd 6800c87f fetch 1 ,mem_24g_rxdata_temp + 2 
+00fe c0550105 beq datatype_bind ,p_g24_dongle_bind_first_step 
+00ff c02a8112 beq datatype_config ,p_g24_dongle_bind_second_step 
+0100 c0110122 beq datatype_ok ,p_g24_dongle_bind_third_step 
+0101 c07f813a beq 0xff ,p_g24_data_attemp_bind 
 
 p_g24_rx_interrupt_clear:
-00e3 d8a047b0 arg mem_24g_rxbuf ,contw 
-00e4 df200042 arg 66 ,loopcnt 
-00e5 20207ed4 branch clear_mem 
+0102 d8a047b0 arg mem_24g_rxbuf ,contw 
+0103 df200042 arg 66 ,loopcnt 
+0104 20207ed4 branch clear_mem 
 
 p_g24_dongle_bind_first_step:
-00e6 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-00e7 c00080ea beq bind_mouse ,p_g24_dongle_bind_first_step_mouse 
-00e8 c00100f0 beq bind_keyboard ,p_g24_dongle_bind_first_step_keyboard 
-00e9 20600000 rtn 
+0105 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+0106 c0008109 beq bind_mouse ,p_g24_dongle_bind_first_step_mouse 
+0107 c001010f beq bind_keyboard ,p_g24_dongle_bind_first_step_keyboard 
+0108 20600000 rtn 
 
 p_g24_dongle_bind_first_step_mouse:
-00ea 7048a501 jam 1 ,mem_dongle_ms_bind_step 
+0109 7048a501 jam 1 ,mem_dongle_ms_bind_step 
 
 p_g24_dongle_bind_ms_payload_cfg:
-00eb 7048a801 jam datatype_mouse ,mem_24g_bind_payload 
+010a 7048a801 jam datatype_mouse ,mem_24g_bind_payload 
 
 p_g24_dongle_bind_payload_cfg:
-00ec 7048a980 jam 0x80 ,mem_24g_bind_payload + 1 
-00ed 6803489f fetch 6 ,mem_24g_rx_addr 
-00ee 600348aa store 6 ,mem_24g_bind_payload + 2 
-00ef 20600000 rtn 
+010b 7048a980 jam 0x80 ,mem_24g_bind_payload + 1 
+010c 6803489f fetch 6 ,mem_24g_rx_addr 
+010d 600348aa store 6 ,mem_24g_bind_payload + 2 
+010e 20600000 rtn 
 
 p_g24_dongle_bind_first_step_keyboard:
-00f0 7048a601 jam 1 ,mem_dongle_kb_bind_step 
+010f 7048a601 jam 1 ,mem_dongle_kb_bind_step 
 
 p_g24_dongle_bind_kb_payload_cfg:
-00f1 7048a802 jam datatype_keyboard ,mem_24g_bind_payload 
-00f2 202000ec branch p_g24_dongle_bind_payload_cfg 
+0110 7048a802 jam datatype_keyboard ,mem_24g_bind_payload 
+0111 2020010b branch p_g24_dongle_bind_payload_cfg 
 
 p_g24_dongle_bind_second_step:
-00f3 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-00f4 c00080f7 beq bind_mouse ,p_g24_dongle_bind_second_step_mouse 
-00f5 c00100fd beq bind_keyboard ,p_g24_dongle_bind_second_step_keyboard 
-00f6 20600000 rtn 
+0112 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+0113 c0008116 beq bind_mouse ,p_g24_dongle_bind_second_step_mouse 
+0114 c001011c beq bind_keyboard ,p_g24_dongle_bind_second_step_keyboard 
+0115 20600000 rtn 
 
 p_g24_dongle_bind_second_step_mouse:
-00f7 204000eb call p_g24_dongle_bind_ms_payload_cfg 
-00f8 6800c8a5 fetch 1 ,mem_dongle_ms_bind_step 
-00f9 c00080fb beq 1 ,p_g24_dongle_ms_bind_step_set2 
-00fa 20600000 rtn 
+0116 2040010a call p_g24_dongle_bind_ms_payload_cfg 
+0117 6800c8a5 fetch 1 ,mem_dongle_ms_bind_step 
+0118 c000811a beq 1 ,p_g24_dongle_ms_bind_step_set2 
+0119 20600000 rtn 
 
 p_g24_dongle_ms_bind_step_set2:
-00fb 7048a502 jam 2 ,mem_dongle_ms_bind_step 
-00fc 20600000 rtn 
+011a 7048a502 jam 2 ,mem_dongle_ms_bind_step 
+011b 20600000 rtn 
 
 p_g24_dongle_bind_second_step_keyboard:
-00fd 204000f1 call p_g24_dongle_bind_kb_payload_cfg 
-00fe 6800c8a6 fetch 1 ,mem_dongle_kb_bind_step 
-00ff c0008101 beq 1 ,p_g24_dongle_kb_bind_step_set2 
-0100 20600000 rtn 
+011c 20400110 call p_g24_dongle_bind_kb_payload_cfg 
+011d 6800c8a6 fetch 1 ,mem_dongle_kb_bind_step 
+011e c0008120 beq 1 ,p_g24_dongle_kb_bind_step_set2 
+011f 20600000 rtn 
 
 p_g24_dongle_kb_bind_step_set2:
-0101 7048a602 jam 2 ,mem_dongle_kb_bind_step 
-0102 20600000 rtn 
+0120 7048a602 jam 2 ,mem_dongle_kb_bind_step 
+0121 20600000 rtn 
 
 p_g24_dongle_bind_third_step:
-0103 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-0104 c0008107 beq bind_mouse ,p_g24_dongle_bind_third_step_mouse 
-0105 c0010110 beq bind_keyboard ,p_g24_dongle_bind_third_step_keyboard 
-0106 20600000 rtn 
+0122 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+0123 c0008126 beq bind_mouse ,p_g24_dongle_bind_third_step_mouse 
+0124 c001012f beq bind_keyboard ,p_g24_dongle_bind_third_step_keyboard 
+0125 20600000 rtn 
 
 p_g24_dongle_bind_third_step_mouse:
-0107 6800c8a5 fetch 1 ,mem_dongle_ms_bind_step 
-0108 c001010a beq 2 ,p_g24_dongle_ms_bind_step_success 
-0109 20600000 rtn 
+0126 6800c8a5 fetch 1 ,mem_dongle_ms_bind_step 
+0127 c0010129 beq 2 ,p_g24_dongle_ms_bind_step_success 
+0128 20600000 rtn 
 
 p_g24_dongle_ms_bind_step_success:
-010a 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
-010b 1fe1fe01 or_into 0x01 ,pdata 
-010c 6000c8a7 store 1 ,mem_dongle_bind_device_status 
+0129 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
+012a 1fe1fe01 or_into 0x01 ,pdata 
+012b 6000c8a7 store 1 ,mem_dongle_bind_device_status 
 
 p_g24_dongle_bind_exit:
-010d 58000000 setarg 0 
-010e 600148a5 store 2 ,mem_dongle_ms_bind_step 
-010f 202000e3 branch p_g24_rx_interrupt_clear 
+012c 58000000 setarg 0 
+012d 600148a5 store 2 ,mem_dongle_ms_bind_step 
+012e 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_dongle_bind_third_step_keyboard:
-0110 6800c8a6 fetch 1 ,mem_dongle_kb_bind_step 
-0111 c0800113 bne 0 ,p_g24_dongle_kb_bind_step_success 
-0112 20600000 rtn 
+012f 6800c8a6 fetch 1 ,mem_dongle_kb_bind_step 
+0130 c0800132 bne 0 ,p_g24_dongle_kb_bind_step_success 
+0131 20600000 rtn 
 
 p_g24_dongle_kb_bind_step_success:
-0113 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
-0114 1fe1fe02 or_into 0x02 ,pdata 
-0115 6000c8a7 store 1 ,mem_dongle_bind_device_status 
-0116 2040010d call p_g24_dongle_bind_exit 
+0132 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
+0133 1fe1fe02 or_into 0x02 ,pdata 
+0134 6000c8a7 store 1 ,mem_dongle_bind_device_status 
+0135 2040012c call p_g24_dongle_bind_exit 
 
 p_g24_dongle_store_kb_bind_flag:
-0117 7011c75a jam dongle_kb_bind_success ,mem_dongle_kb_bind_flag 
-0118 20400065 call p_dongle_set_kb_bind_eeprom 
-0119 204065d1 call iicd_write_protect_eep_data 
-011a 2020659a branch soft_reset_chip 
+0136 7011c75a jam dongle_kb_bind_success ,mem_dongle_kb_bind_flag 
+0137 20400084 call p_dongle_set_kb_bind_eeprom 
+0138 204065d1 call iicd_write_protect_eep_data 
+0139 2020659a branch soft_reset_chip 
 
 p_g24_data_attemp_bind:
-011b 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-011c c000811f beq datatype_mouse ,p_g24_data_attemp_mouse_bind 
-011d c0010122 beq datatype_keyboard ,p_g24_data_attemp_kbd_bind 
-011e 20600000 rtn 
+013a 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+013b c000813e beq datatype_mouse ,p_g24_data_attemp_mouse_bind 
+013c c0010141 beq datatype_keyboard ,p_g24_data_attemp_kbd_bind 
+013d 20600000 rtn 
 
 p_g24_data_attemp_mouse_bind:
-011f 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
+013e 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
 
 p_g24_store_mouse_addr:
-0120 600248da store 4 ,mem_24g_ms_addr 
-0121 20600000 rtn 
+013f 600248da store 4 ,mem_24g_ms_addr 
+0140 20600000 rtn 
 
 p_g24_data_attemp_kbd_bind:
-0122 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
+0141 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
 
 p_g24_store_kbd_addr:
-0123 600248d6 store 4 ,mem_24g_kb_addr 
-0124 20600000 rtn 
+0142 600248d6 store 4 ,mem_24g_kb_addr 
+0143 20600000 rtn 
 
 p_g24_queue_init:
-0125 70490000 jam 0 ,mem_queue_ele_num 
-0126 58004905 setarg mem_queue_start 
-0127 60014901 store 2 ,mem_queue_read 
-0128 60014903 store 2 ,mem_queue_write 
-0129 20600000 rtn 
+0144 70490000 jam 0 ,mem_queue_ele_num 
+0145 58004905 setarg mem_queue_start 
+0146 60014901 store 2 ,mem_queue_read 
+0147 60014903 store 2 ,mem_queue_write 
+0148 20600000 rtn 
 
 p_g24_queue_put:
-012a df20001f arg 0x1f ,loopcnt 
-012b d8400cb6 arg mem_usb0_set_report_data ,temp 
-012c 68014903 fetch 2 ,mem_queue_write 
-012d 1fe20a00 copy pdata ,contw 
-012e 18420c00 copy temp ,contr 
-012f 20407f01 call memcpy 
-0130 6800c900 fetch 1 ,mem_queue_ele_num 
-0131 1fe0fe01 increase 1 ,pdata 
-0132 6000c900 store 1 ,mem_queue_ele_num 
-0133 58004903 setarg mem_queue_write 
+0149 df20001f arg 0x1f ,loopcnt 
+014a d8400cb6 arg mem_usb0_set_report_data ,temp 
+014b 68014903 fetch 2 ,mem_queue_write 
+014c 1fe20a00 copy pdata ,contw 
+014d 18420c00 copy temp ,contr 
+014e 20407f01 call memcpy 
+014f 6800c900 fetch 1 ,mem_queue_ele_num 
+0150 1fe0fe01 increase 1 ,pdata 
+0151 6000c900 store 1 ,mem_queue_ele_num 
+0152 58004903 setarg mem_queue_write 
 
 p_g24_queue_increase:
-0134 1fe22200 copy pdata ,rega 
-0135 d8404965 arg mem_queue_end ,temp 
-0136 ea210000 ifetch 2 ,rega 
-0137 1fe0fe20 increase queue_ele_length ,pdata 
-0138 98467c00 isub temp ,null 
-0139 2421013b nbranch p_g24_queue_put_end ,positive 
-013a 58004905 setarg mem_queue_start 
+0153 1fe22200 copy pdata ,rega 
+0154 d8404965 arg mem_queue_end ,temp 
+0155 ea210000 ifetch 2 ,rega 
+0156 1fe0fe20 increase queue_ele_length ,pdata 
+0157 98467c00 isub temp ,null 
+0158 2421015a nbranch p_g24_queue_put_end ,positive 
+0159 58004905 setarg mem_queue_start 
 
 p_g24_queue_put_end:
-013b e2210000 istore 2 ,rega 
-013c 20600000 rtn 
+015a e2210000 istore 2 ,rega 
+015b 20600000 rtn 
 
 p_g24_queue_read_point:
-013d 78547c00 disable user 
-013e 6800c900 fetch 1 ,mem_queue_ele_num 
-013f 207a0000 rtn blank 
-0140 78347c00 enable user 
-0141 68014901 fetch 2 ,mem_queue_read 
-0142 20600000 rtn 
+015c 78547c00 disable user 
+015d 6800c900 fetch 1 ,mem_queue_ele_num 
+015e 207a0000 rtn blank 
+015f 78347c00 enable user 
+0160 68014901 fetch 2 ,mem_queue_read 
+0161 20600000 rtn 
 
 p_dongle_usb_dispatch:
-0143 708004ff jam 0xff ,core_write_watchdog 
-0144 204048d3 call usb_isr 
-0145 68008d50 fetch 1 ,mem_usb0_get_set_report 
-0146 207a0000 rtn blank 
-0147 700d5000 jam 0 ,mem_usb0_get_set_report 
-0148 68010d4e fetch 2 ,mem_usb_setup_bvalue_temp 
-0149 d84002ba arg pc_set_report ,temp 
-014a 98467c00 isub temp ,null 
-014b 24628000 nrtn zero 
-014c 68008cb6 fetch 1 ,mem_usb0_set_report_data 
-014d c1dd0000 rtnne pc_report_id 
-014e 68008cb7 fetch 1 ,mem_usb0_set_report_data + 1 
-014f c0500160 beq command_mode ,p_dongle_dispose_cmd_mode 
-0150 c0508156 beq command_bind ,p_dongle_dispose_cmd_bind 
-0151 c0533041 beq command_current_project ,dongle_dispose_cmd_current_project 
-0152 c0538165 beq command_current_mode ,p_dongle_dispose_cmd_current_mode 
-0153 c054816b beq command_current_fw_version ,p_dongle_dispose_cmd_current_fw_version 
-0154 c058016d beq command_user_defined ,p_dongle_dispose_cmd_user_defined 
-0155 2020302a branch usb0_data_ready_report_set0 
+0162 708004ff jam 0xff ,core_write_watchdog 
+0163 204048d3 call usb_isr 
+0164 68008d50 fetch 1 ,mem_usb0_get_set_report 
+0165 207a0000 rtn blank 
+0166 700d5000 jam 0 ,mem_usb0_get_set_report 
+0167 68010d4e fetch 2 ,mem_usb_setup_bvalue_temp 
+0168 d84002ba arg pc_set_report ,temp 
+0169 98467c00 isub temp ,null 
+016a 24628000 nrtn zero 
+016b 68008cb6 fetch 1 ,mem_usb0_set_report_data 
+016c c1dd0000 rtnne pc_report_id 
+016d 68008cb7 fetch 1 ,mem_usb0_set_report_data + 1 
+016e c050017f beq command_mode ,p_dongle_dispose_cmd_mode 
+016f c0508175 beq command_bind ,p_dongle_dispose_cmd_bind 
+0170 c0533041 beq command_current_project ,dongle_dispose_cmd_current_project 
+0171 c0538184 beq command_current_mode ,p_dongle_dispose_cmd_current_mode 
+0172 c054818a beq command_current_fw_version ,p_dongle_dispose_cmd_current_fw_version 
+0173 c058018c beq command_user_defined ,p_dongle_dispose_cmd_user_defined 
+0174 2020302a branch usb0_data_ready_report_set0 
 
 p_dongle_dispose_cmd_bind:
-0156 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
-0157 c000815b beq com_bind_get ,p_dongle_dispose_cmd_get_bind 
-0158 c042015e beq com_bind_exit ,p_dongle_dispose_cmd_exit_bind 
-0159 c053b039 beq com_read_mode ,dongle_dispose_cmd_read_mode 
-015a 2020302a branch usb0_data_ready_report_set0 
+0175 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
+0176 c000817a beq com_bind_get ,p_dongle_dispose_cmd_get_bind 
+0177 c042017d beq com_bind_exit ,p_dongle_dispose_cmd_exit_bind 
+0178 c053b039 beq com_read_mode ,dongle_dispose_cmd_read_mode 
+0179 2020302a branch usb0_data_ready_report_set0 
 
 p_dongle_dispose_cmd_get_bind:
-015b 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
-015c 60008cf7 store 1 ,mem_usb0_get_report_data + 1 
-015d 2020303f branch usb0_data_ready_report_set1 
+017a 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
+017b 60008cf7 store 1 ,mem_usb0_get_report_data + 1 
+017c 2020303f branch usb0_data_ready_report_set1 
 
 p_dongle_dispose_cmd_exit_bind:
-015e 20400079 call p_dongle_work_mode_enable 
-015f 2020015b branch p_dongle_dispose_cmd_get_bind 
+017d 20400098 call p_dongle_work_mode_enable 
+017e 2020017a branch p_dongle_dispose_cmd_get_bind 
 
 p_dongle_dispose_cmd_mode:
-0160 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
-0161 c0408163 beq com_mode_bind ,p_dongle_enter_bind_mode 
-0162 2020302a branch usb0_data_ready_report_set0 
+017f 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
+0180 c0408182 beq com_mode_bind ,p_dongle_enter_bind_mode 
+0181 2020302a branch usb0_data_ready_report_set0 
 
 p_dongle_enter_bind_mode:
-0163 204001bf call p_g24_bind_mode_enable 
-0164 2020303f branch usb0_data_ready_report_set1 
+0182 204001de call p_g24_bind_mode_enable 
+0183 2020303f branch usb0_data_ready_report_set1 
 
 p_dongle_dispose_cmd_current_mode:
-0165 6800c8a4 fetch 1 ,mem_dongle_work_mode 
-0166 c0000169 beq dongle_work ,p_dongle_dispose_in_work_mode 
-0167 c000b039 beq dongle_bind ,dongle_dispose_in_bind_mode 
-0168 20600000 rtn 
+0184 6800c8a4 fetch 1 ,mem_dongle_work_mode 
+0185 c0000188 beq dongle_work ,p_dongle_dispose_in_work_mode 
+0186 c000b039 beq dongle_bind ,dongle_dispose_in_bind_mode 
+0187 20600000 rtn 
 
 p_dongle_dispose_in_work_mode:
-0169 700cf7a0 jam command_mode ,mem_usb0_get_report_data + 1 
-016a 2020303f branch usb0_data_ready_report_set1 
+0188 700cf7a0 jam command_mode ,mem_usb0_get_report_data + 1 
+0189 2020303f branch usb0_data_ready_report_set1 
 
 p_dongle_dispose_cmd_current_fw_version:
-016b 700cfa07 jam fw_version3 ,mem_usb0_get_report_data + 4 
-016c 20203049 branch dongle_dispose_cmd_current_fw_version 
+018a 700cfa07 jam fw_version3 ,mem_usb0_get_report_data + 4 
+018b 20203049 branch dongle_dispose_cmd_current_fw_version 
 
 p_dongle_dispose_cmd_user_defined:
-016d 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
-016e c07fe59a beq 0xff ,soft_reset_chip 
+018c 68008cb8 fetch 1 ,mem_usb0_set_report_data + 2 
+018d c07fe59a beq 0xff ,soft_reset_chip 
 
 p_dongle_dispose_cmd_ota:
-016f 7048b802 jam 2 ,mem_24g_ackpayload_enable 
-0170 6800c900 fetch 1 ,mem_queue_ele_num 
-0171 c0018177 beq queue_ele_count ,p_user_defined_queue_buff_full 
-0172 2040012a call p_g24_queue_put 
-0173 6800c900 fetch 1 ,mem_queue_ele_num 
-0174 c0018177 beq queue_ele_count ,p_user_defined_queue_buff_full 
+018e 7048b802 jam 2 ,mem_24g_ackpayload_enable 
+018f 6800c900 fetch 1 ,mem_queue_ele_num 
+0190 c0018196 beq queue_ele_count ,p_user_defined_queue_buff_full 
+0191 20400149 call p_g24_queue_put 
+0192 6800c900 fetch 1 ,mem_queue_ele_num 
+0193 c0018196 beq queue_ele_count ,p_user_defined_queue_buff_full 
 
 p_user_defined_queue_buff_free:
-0175 700cf700 jam 0 ,mem_usb0_get_report_data + 1 
-0176 2020303f branch usb0_data_ready_report_set1 
+0194 700cf700 jam 0 ,mem_usb0_get_report_data + 1 
+0195 2020303f branch usb0_data_ready_report_set1 
 
 p_user_defined_queue_buff_full:
-0177 700cf701 jam 1 ,mem_usb0_get_report_data + 1 
-0178 2020303f branch usb0_data_ready_report_set1 
+0196 700cf701 jam 1 ,mem_usb0_get_report_data + 1 
+0197 2020303f branch usb0_data_ready_report_set1 
 
 p_dongle_auto_bind:
-0179 2040019d call p_g24_mode_switch_init 
+0198 204001bc call p_g24_mode_switch_init 
 
 p_dongle_auto_bind_loop:
-017a 204001a3 call p_g24_mode_switch 
-017b 20400180 call p_g24_dongle_work_mode_auto 
-017c 20400184 call p_g24_dongle_bind_mode_auto 
-017d 204001d5 call p_g24_dongle_search_mode_auto 
-017e 20400143 call p_dongle_usb_dispatch 
-017f 2020017a branch p_dongle_auto_bind_loop 
+0199 204001c2 call p_g24_mode_switch 
+019a 2040019f call p_g24_dongle_work_mode_auto 
+019b 204001a3 call p_g24_dongle_bind_mode_auto 
+019c 204001f4 call p_g24_dongle_search_mode_auto 
+019d 20400162 call p_dongle_usb_dispatch 
+019e 20200199 branch p_dongle_auto_bind_loop 
 
 p_g24_dongle_work_mode_auto:
-0180 6800c8a4 fetch 1 ,mem_dongle_work_mode 
-0181 c1800000 rtnne dongle_work 
-0182 2040007e call p_g24_dongle_work_mode_start 
-0183 202001c4 branch p_g24_rx_nodata_process 
+019f 6800c8a4 fetch 1 ,mem_dongle_work_mode 
+01a0 c1800000 rtnne dongle_work 
+01a1 2040009d call p_g24_dongle_work_mode_start 
+01a2 202001e3 branch p_g24_rx_nodata_process 
 
 p_g24_dongle_bind_mode_auto:
-0184 6800c8a4 fetch 1 ,mem_dongle_work_mode 
-0185 c1808000 rtnne dongle_bind 
-0186 204000cb call p_g24_dongle_bind_init 
-0187 204000d7 call p_g24_dongle_bind_data_process 
-0188 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
-0189 207a0000 rtn blank 
-018a 7048b700 jam 0 ,mem_24g_mode_switch 
-018b 20400078 call p_dongle_check_mode 
-018c 204001c2 call p_g24_enable_nodata_timer 
-018d 202001a0 branch p_g24_timer_init 
+01a3 6800c8a4 fetch 1 ,mem_dongle_work_mode 
+01a4 c1808000 rtnne dongle_bind 
+01a5 204000ea call p_g24_dongle_bind_init 
+01a6 204000f6 call p_g24_dongle_bind_data_process 
+01a7 6800c8a7 fetch 1 ,mem_dongle_bind_device_status 
+01a8 207a0000 rtn blank 
+01a9 7048b700 jam 0 ,mem_24g_mode_switch 
+01aa 20400097 call p_dongle_check_mode 
+01ab 204001e1 call p_g24_enable_nodata_timer 
+01ac 202001bf branch p_g24_timer_init 
 
 p_g24_timer_check:
-018e 20407fe9 call disable_user 
-018f 680a4857 fetcht 4 ,mem_24g_tx_btclk 
-0190 1c427e00 copy clkn_bt ,pdata 
-0191 98467c00 isub temp ,null 
-0192 24412d18 ncall g24_timer_timeout ,positive 
-0193 1fe22400 copy pdata ,regb 
-0194 68024857 fetch 4 ,mem_24g_tx_btclk 
-0195 6808c85b fetcht 1 ,mem_24g_interval 
-0196 98408400 iadd temp ,temp 
-0197 1a427e00 copy regb ,pdata 
-0198 98467c00 isub temp ,null 
-0199 24610000 nrtn positive 
-019a 793ffe1c set0 28 ,pdata 
-019b 60024857 store 4 ,mem_24g_tx_btclk 
-019c 20207fe7 branch enable_user 
+01ad 20407fe9 call disable_user 
+01ae 680a4857 fetcht 4 ,mem_24g_tx_btclk 
+01af 1c427e00 copy clkn_bt ,pdata 
+01b0 98467c00 isub temp ,null 
+01b1 24412d18 ncall g24_timer_timeout ,positive 
+01b2 1fe22400 copy pdata ,regb 
+01b3 68024857 fetch 4 ,mem_24g_tx_btclk 
+01b4 6808c85b fetcht 1 ,mem_24g_interval 
+01b5 98408400 iadd temp ,temp 
+01b6 1a427e00 copy regb ,pdata 
+01b7 98467c00 isub temp ,null 
+01b8 24610000 nrtn positive 
+01b9 793ffe1c set0 28 ,pdata 
+01ba 60024857 store 4 ,mem_24g_tx_btclk 
+01bb 20207fe7 branch enable_user 
 
 p_g24_mode_switch_init:
-019d 7048b701 jam 1 ,mem_24g_mode_switch 
-019e 7048bc00 jam 0 ,mem_24g_time_slice 
-019f 70485bff jam 0xff ,mem_24g_interval 
+01bc 7048b701 jam 1 ,mem_24g_mode_switch 
+01bd 7048bc00 jam 0 ,mem_24g_time_slice 
+01be 70485bff jam 0xff ,mem_24g_interval 
 
 p_g24_timer_init:
-01a0 58000000 setarg 0 
-01a1 60024857 store 4 ,mem_24g_tx_btclk 
-01a2 20600000 rtn 
+01bf 58000000 setarg 0 
+01c0 60024857 store 4 ,mem_24g_tx_btclk 
+01c1 20600000 rtn 
 
 p_g24_mode_switch:
-01a3 6800c8b7 fetch 1 ,mem_24g_mode_switch 
-01a4 207a0000 rtn blank 
-01a5 2040018e call p_g24_timer_check 
-01a6 24740000 nrtn user 
-01a7 204001b8 call p_g24_bind_mode_delay 
-01a8 204001b0 call p_g24_work_mode_delay 
-01a9 6800c8bc fetch 1 ,mem_24g_time_slice 
-01aa 1fe0fe01 increase 1 ,pdata 
-01ab 1fe17e01 and_into 1 ,pdata 
-01ac 6000c8bc store 1 ,mem_24g_time_slice 
-01ad c00001b5 beq 0 ,p_g24_mode_switch_work 
-01ae c00081bd beq 1 ,p_g24_mode_switch_bind 
-01af 20600000 rtn 
+01c2 6800c8b7 fetch 1 ,mem_24g_mode_switch 
+01c3 207a0000 rtn blank 
+01c4 204001ad call p_g24_timer_check 
+01c5 24740000 nrtn user 
+01c6 204001d7 call p_g24_bind_mode_delay 
+01c7 204001cf call p_g24_work_mode_delay 
+01c8 6800c8bc fetch 1 ,mem_24g_time_slice 
+01c9 1fe0fe01 increase 1 ,pdata 
+01ca 1fe17e01 and_into 1 ,pdata 
+01cb 6000c8bc store 1 ,mem_24g_time_slice 
+01cc c00001d4 beq 0 ,p_g24_mode_switch_work 
+01cd c00081dc beq 1 ,p_g24_mode_switch_bind 
+01ce 20600000 rtn 
 
 p_g24_work_mode_delay:
-01b0 6800c97a fetch 1 ,mem_24g_work_delay_count 
-01b1 207a0000 rtn blank 
-01b2 1fe0ffff increase -1 ,pdata 
-01b3 6000c97a store 1 ,mem_24g_work_delay_count 
-01b4 20600000 rtn 
+01cf 6800c97a fetch 1 ,mem_24g_work_delay_count 
+01d0 207a0000 rtn blank 
+01d1 1fe0ffff increase -1 ,pdata 
+01d2 6000c97a store 1 ,mem_24g_work_delay_count 
+01d3 20600000 rtn 
 
 p_g24_mode_switch_work:
-01b5 6800c97a fetch 1 ,mem_24g_work_delay_count 
-01b6 243a01bf nbranch p_g24_bind_mode_enable ,blank 
-01b7 20200078 branch p_dongle_check_mode 
+01d4 6800c97a fetch 1 ,mem_24g_work_delay_count 
+01d5 243a01de nbranch p_g24_bind_mode_enable ,blank 
+01d6 20200097 branch p_dongle_check_mode 
 
 p_g24_bind_mode_delay:
-01b8 6800c979 fetch 1 ,mem_24g_bind_delay_count 
-01b9 207a0000 rtn blank 
-01ba 1fe0ffff increase -1 ,pdata 
-01bb 6000c979 store 1 ,mem_24g_bind_delay_count 
-01bc 20600000 rtn 
+01d7 6800c979 fetch 1 ,mem_24g_bind_delay_count 
+01d8 207a0000 rtn blank 
+01d9 1fe0ffff increase -1 ,pdata 
+01da 6000c979 store 1 ,mem_24g_bind_delay_count 
+01db 20600000 rtn 
 
 p_g24_mode_switch_bind:
-01bd 6800c979 fetch 1 ,mem_24g_bind_delay_count 
-01be 243a0078 nbranch p_dongle_check_mode ,blank 
+01dc 6800c979 fetch 1 ,mem_24g_bind_delay_count 
+01dd 243a0097 nbranch p_dongle_check_mode ,blank 
 
 p_g24_bind_mode_enable:
-01bf 7048a401 jam dongle_bind ,mem_dongle_work_mode 
-01c0 7048a300 jam clear_init ,mem_dongle_mode_init 
-01c1 20600000 rtn 
+01de 7048a401 jam dongle_bind ,mem_dongle_work_mode 
+01df 7048a300 jam clear_init ,mem_dongle_mode_init 
+01e0 20600000 rtn 
 
 p_g24_enable_nodata_timer:
-01c2 7048bb01 jam 1 ,mem_24g_nodata_timer_enable 
-01c3 20203095 branch g24_enable_nodata_timer_init 
+01e1 7048bb01 jam 1 ,mem_24g_nodata_timer_enable 
+01e2 20203095 branch g24_enable_nodata_timer_init 
 
 p_g24_rx_nodata_process:
-01c4 6800c8b8 fetch 1 ,mem_24g_ackpayload_enable 
-01c5 c1010000 rtneq 2 
-01c6 6800c8bb fetch 1 ,mem_24g_nodata_timer_enable 
-01c7 207a0000 rtn blank 
-01c8 d8e00008 arg timer_nodata ,queue 
-01c9 20407f16 call timer_check 
-01ca 247a0000 nrtn blank 
-01cb 7048bb00 jam 0 ,mem_24g_nodata_timer_enable 
-01cc 70497900 jam 0 ,mem_24g_bind_delay_count 
-01cd 70497a00 jam 0 ,mem_24g_work_delay_count 
-01ce 7048a407 jam dongle_search ,mem_dongle_work_mode 
-01cf 7048a300 jam clear_init ,mem_dongle_mode_init 
-01d0 202000e3 branch p_g24_rx_interrupt_clear 
+01e3 6800c8b8 fetch 1 ,mem_24g_ackpayload_enable 
+01e4 c1010000 rtneq 2 
+01e5 6800c8bb fetch 1 ,mem_24g_nodata_timer_enable 
+01e6 207a0000 rtn blank 
+01e7 d8e00008 arg timer_nodata ,queue 
+01e8 20407f16 call timer_check 
+01e9 247a0000 nrtn blank 
+01ea 7048bb00 jam 0 ,mem_24g_nodata_timer_enable 
+01eb 70497900 jam 0 ,mem_24g_bind_delay_count 
+01ec 70497a00 jam 0 ,mem_24g_work_delay_count 
+01ed 7048a407 jam dongle_search ,mem_dongle_work_mode 
+01ee 7048a300 jam clear_init ,mem_dongle_mode_init 
+01ef 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_receive_transmit_ack:
-01d1 204000e3 call p_g24_rx_interrupt_clear 
-01d2 204003af call p_g24_receive_packet 
-01d3 24778000 nrtn user3 
-01d4 20200270 branch p_g24_transmit_ack 
+01f0 20400102 call p_g24_rx_interrupt_clear 
+01f1 204003ea call p_g24_receive_packet 
+01f2 24778000 nrtn user3 
+01f3 2020028f branch p_g24_transmit_ack 
 
 p_g24_dongle_search_mode_auto:
-01d5 6800c8a4 fetch 1 ,mem_dongle_work_mode 
-01d6 c1838000 rtnne dongle_search 
-01d7 204001fa call p_g24_dongle_search_mode_init 
-01d8 2040020e call p_g24_rx_auto_addr_ch_search 
-01d9 204001d1 call p_g24_receive_transmit_ack 
-01da 243780e3 nbranch p_g24_rx_interrupt_clear ,user3 
-01db 2040020a call p_g24_rx_addr_check 
-01dc 2042829a call p_g24_receive_packet_parse ,zero 
-01dd 7048a400 jam dongle_work ,mem_dongle_work_mode 
-01de 6800c8a3 fetch 1 ,mem_dongle_mode_init 
-01df 79207e00 set1 dongle_work ,pdata 
-01e0 6000c8a3 store 1 ,mem_dongle_mode_init 
-01e1 6800c8b8 fetch 1 ,mem_24g_ackpayload_enable 
-01e2 1fe67c02 sub pdata ,2 ,null 
-01e3 244281f1 ncall p_g24_ackpayload_disable ,zero 
-01e4 204000e3 call p_g24_rx_interrupt_clear 
-01e5 204001c2 call p_g24_enable_nodata_timer 
-01e6 2040020a call p_g24_rx_addr_check 
-01e7 202281f3 branch p_g24_dg_ch_num_reinit ,zero 
-01e8 6802485e fetch 4 ,mem_24g_addr 
-01e9 680a48d6 fetcht 4 ,mem_24g_kb_addr 
-01ea 98467c00 isub temp ,null 
-01eb 202281f6 branch p_g24_kb_ch_num_reinit ,zero 
-01ec 6802485e fetch 4 ,mem_24g_addr 
-01ed 680a48da fetcht 4 ,mem_24g_ms_addr 
-01ee 98467c00 isub temp ,null 
-01ef 202281f8 branch p_g24_ms_ch_num_reinit ,zero 
-01f0 20600000 rtn 
+01f4 6800c8a4 fetch 1 ,mem_dongle_work_mode 
+01f5 c1838000 rtnne dongle_search 
+01f6 20400219 call p_g24_dongle_search_mode_init 
+01f7 2040022d call p_g24_rx_auto_addr_ch_search 
+01f8 204001f0 call p_g24_receive_transmit_ack 
+01f9 24378102 nbranch p_g24_rx_interrupt_clear ,user3 
+01fa 20400229 call p_g24_rx_addr_check 
+01fb 204282b8 call p_g24_receive_packet_parse ,zero 
+01fc 7048a400 jam dongle_work ,mem_dongle_work_mode 
+01fd 6800c8a3 fetch 1 ,mem_dongle_mode_init 
+01fe 79207e00 set1 dongle_work ,pdata 
+01ff 6000c8a3 store 1 ,mem_dongle_mode_init 
+0200 6800c8b8 fetch 1 ,mem_24g_ackpayload_enable 
+0201 1fe67c02 sub pdata ,2 ,null 
+0202 24428210 ncall p_g24_ackpayload_disable ,zero 
+0203 20400102 call p_g24_rx_interrupt_clear 
+0204 204001e1 call p_g24_enable_nodata_timer 
+0205 20400229 call p_g24_rx_addr_check 
+0206 20228212 branch p_g24_dg_ch_num_reinit ,zero 
+0207 6802485e fetch 4 ,mem_24g_addr 
+0208 680a48d6 fetcht 4 ,mem_24g_kb_addr 
+0209 98467c00 isub temp ,null 
+020a 20228215 branch p_g24_kb_ch_num_reinit ,zero 
+020b 6802485e fetch 4 ,mem_24g_addr 
+020c 680a48da fetcht 4 ,mem_24g_ms_addr 
+020d 98467c00 isub temp ,null 
+020e 20228217 branch p_g24_ms_ch_num_reinit ,zero 
+020f 20600000 rtn 
 
 p_g24_ackpayload_disable:
-01f1 7048b800 jam 0 ,mem_24g_ackpayload_enable 
-01f2 20600000 rtn 
+0210 7048b800 jam 0 ,mem_24g_ackpayload_enable 
+0211 20600000 rtn 
 
 p_g24_dg_ch_num_reinit:
-01f3 6800c8df fetch 1 ,mem_24g_dg_ch_number 
+0212 6800c8df fetch 1 ,mem_24g_dg_ch_number 
 
 p_g24_current_ch_num_reinit:
-01f4 6000c841 store 1 ,mem_24g_current_ch_number 
-01f5 20600000 rtn 
+0213 6000c841 store 1 ,mem_24g_current_ch_number 
+0214 20600000 rtn 
 
 p_g24_kb_ch_num_reinit:
-01f6 6800c8e2 fetch 1 ,mem_24g_kb_ch_number 
-01f7 202001f4 branch p_g24_current_ch_num_reinit 
+0215 6800c8e2 fetch 1 ,mem_24g_kb_ch_number 
+0216 20200213 branch p_g24_current_ch_num_reinit 
 
 p_g24_ms_ch_num_reinit:
-01f8 6800c8e5 fetch 1 ,mem_24g_ms_ch_number 
-01f9 202001f4 branch p_g24_current_ch_num_reinit 
+0217 6800c8e5 fetch 1 ,mem_24g_ms_ch_number 
+0218 20200213 branch p_g24_current_ch_num_reinit 
 
 p_g24_dongle_search_mode_init:
-01fa 6800c8a3 fetch 1 ,mem_dongle_mode_init 
-01fb c3838000 rtnbit1 dongle_search 
-01fc 79207e07 set1 dongle_search ,pdata 
-01fd 6000c8a3 store 1 ,mem_dongle_mode_init 
-01fe 7048bc00 jam 0 ,mem_24g_time_slice 
-01ff 7048b801 jam 1 ,mem_24g_ackpayload_enable 
-0200 58000000 setarg 0 
-0201 6001c8f5 store 3 ,mem_rssi_noise_dg_index 
-0202 6003c8e0 store 7 ,mem_24g_dg_config_ch_once 
-0203 2040020a call p_g24_rx_addr_check 
-0204 24628000 nrtn zero 
-0205 6800c841 fetch 1 ,mem_24g_current_ch_number 
-0206 6000c8df store 1 ,mem_24g_dg_ch_number 
-0207 6800c840 fetch 1 ,mem_24g_ch 
-0208 6000c8de store 1 ,mem_24g_dg_last_ch 
-0209 20600000 rtn 
+0219 6800c8a3 fetch 1 ,mem_dongle_mode_init 
+021a c3838000 rtnbit1 dongle_search 
+021b 79207e07 set1 dongle_search ,pdata 
+021c 6000c8a3 store 1 ,mem_dongle_mode_init 
+021d 7048bc00 jam 0 ,mem_24g_time_slice 
+021e 7048b801 jam 1 ,mem_24g_ackpayload_enable 
+021f 58000000 setarg 0 
+0220 6001c8f5 store 3 ,mem_rssi_noise_dg_index 
+0221 6003c8e0 store 7 ,mem_24g_dg_config_ch_once 
+0222 20400229 call p_g24_rx_addr_check 
+0223 24628000 nrtn zero 
+0224 6800c841 fetch 1 ,mem_24g_current_ch_number 
+0225 6000c8df store 1 ,mem_24g_dg_ch_number 
+0226 6800c840 fetch 1 ,mem_24g_ch 
+0227 6000c8de store 1 ,mem_24g_dg_last_ch 
+0228 20600000 rtn 
 
 p_g24_rx_addr_check:
-020a 6802485e fetch 4 ,mem_24g_addr 
-020b 680a489f fetcht 4 ,mem_24g_rx_addr 
-020c 98467c00 isub temp ,null 
-020d 20600000 rtn 
+0229 6802485e fetch 4 ,mem_24g_addr 
+022a 680a489f fetcht 4 ,mem_24g_rx_addr 
+022b 98467c00 isub temp ,null 
+022c 20600000 rtn 
 
 p_g24_rx_auto_addr_ch_search:
-020e 6800c8bc fetch 1 ,mem_24g_time_slice 
-020f 1fe0fe01 increase 1 ,pdata 
-0210 1fe17e03 and_into 3 ,pdata 
-0211 6000c8bc store 1 ,mem_24g_time_slice 
-0212 c0000231 beq 0 ,p_g24_rx_auto_bind_config_kb 
-0213 c000824b beq 1 ,p_g24_rx_auto_bind_config_dongle 
-0214 c0010217 beq 2 ,p_g24_rx_auto_bind_config_mouse 
-0215 c001824b beq 3 ,p_g24_rx_auto_bind_config_dongle 
-0216 20600000 rtn 
+022d 6800c8bc fetch 1 ,mem_24g_time_slice 
+022e 1fe0fe01 increase 1 ,pdata 
+022f 1fe17e03 and_into 3 ,pdata 
+0230 6000c8bc store 1 ,mem_24g_time_slice 
+0231 c0000250 beq 0 ,p_g24_rx_auto_bind_config_kb 
+0232 c000826a beq 1 ,p_g24_rx_auto_bind_config_dongle 
+0233 c0010236 beq 2 ,p_g24_rx_auto_bind_config_mouse 
+0234 c001826a beq 3 ,p_g24_rx_auto_bind_config_dongle 
+0235 20600000 rtn 
 
 p_g24_rx_auto_bind_config_mouse:
-0217 204000eb call p_g24_dongle_bind_ms_payload_cfg 
-0218 680248da fetch 4 ,mem_24g_ms_addr 
-0219 203a020e branch p_g24_rx_auto_addr_ch_search ,blank 
-021a 20400375 call p_g24_update_addr_and_synccrc8 
-021b 6800c8e6 fetch 1 ,mem_24g_ms_config_ch_once 
-021c 205a022c call p_g24_ms_config_ch_once ,blank 
-021d 6800c8e4 fetch 1 ,mem_24g_ms_last_ch 
-021e 6000c840 store 1 ,mem_24g_ch 
-021f 6808c8f7 fetcht 1 ,mem_rssi_noise_ms_index 
-0220 da200f9e arg mem_rssi_noise_ms_buffer ,rega 
-0221 20400369 call p_rssi_store 
-0222 6008c8f7 storet 1 ,mem_rssi_noise_ms_index 
-0223 20400370 call p_rssi_average 
-0224 6008c8f4 storet 1 ,mem_rssi_noise_ms_avg 
-0225 18467c50 sub temp ,rssi_thresh_noise ,null 
-0226 24610000 nrtn positive 
-0227 6808c8e5 fetcht 1 ,mem_24g_ms_ch_number 
-0228 20400399 call p_g24_ch_map_size 
-0229 6008c8e5 storet 1 ,mem_24g_ms_ch_number 
-022a 6000c8e4 store 1 ,mem_24g_ms_last_ch 
-022b 20600000 rtn 
+0236 2040010a call p_g24_dongle_bind_ms_payload_cfg 
+0237 680248da fetch 4 ,mem_24g_ms_addr 
+0238 203a022d branch p_g24_rx_auto_addr_ch_search ,blank 
+0239 204003b0 call p_g24_update_addr_and_synccrc8 
+023a 6800c8e6 fetch 1 ,mem_24g_ms_config_ch_once 
+023b 205a024b call p_g24_ms_config_ch_once ,blank 
+023c 6800c8e4 fetch 1 ,mem_24g_ms_last_ch 
+023d 6000c840 store 1 ,mem_24g_ch 
+023e 6808c8f7 fetcht 1 ,mem_rssi_noise_ms_index 
+023f da200f9e arg mem_rssi_noise_ms_buffer ,rega 
+0240 204003a4 call p_rssi_store 
+0241 6008c8f7 storet 1 ,mem_rssi_noise_ms_index 
+0242 204003ab call p_rssi_average 
+0243 6008c8f4 storet 1 ,mem_rssi_noise_ms_avg 
+0244 18467c50 sub temp ,rssi_thresh_noise ,null 
+0245 24610000 nrtn positive 
+0246 6808c8e5 fetcht 1 ,mem_24g_ms_ch_number 
+0247 204003d4 call p_g24_ch_map_size 
+0248 6008c8e5 storet 1 ,mem_24g_ms_ch_number 
+0249 6000c8e4 store 1 ,mem_24g_ms_last_ch 
+024a 20600000 rtn 
 
 p_g24_ms_config_ch_once:
-022c 7048e601 jam 1 ,mem_24g_ms_config_ch_once 
-022d d8400000 arg 0 ,temp 
-022e 2040039d call p_g24_ch_calc 
-022f 6000c8e4 store 1 ,mem_24g_ms_last_ch 
-0230 20600000 rtn 
+024b 7048e601 jam 1 ,mem_24g_ms_config_ch_once 
+024c d8400000 arg 0 ,temp 
+024d 204003d8 call p_g24_ch_calc 
+024e 6000c8e4 store 1 ,mem_24g_ms_last_ch 
+024f 20600000 rtn 
 
 p_g24_rx_auto_bind_config_kb:
-0231 204000f1 call p_g24_dongle_bind_kb_payload_cfg 
-0232 680248d6 fetch 4 ,mem_24g_kb_addr 
-0233 203a020e branch p_g24_rx_auto_addr_ch_search ,blank 
-0234 20400375 call p_g24_update_addr_and_synccrc8 
-0235 6800c8e3 fetch 1 ,mem_24g_kb_config_ch_once 
-0236 205a0246 call p_g24_kb_config_ch_once ,blank 
-0237 6800c8e1 fetch 1 ,mem_24g_kb_last_ch 
-0238 6000c840 store 1 ,mem_24g_ch 
-0239 6808c8f6 fetcht 1 ,mem_rssi_noise_kb_index 
-023a da20109e arg mem_rssi_noise_kb_buffer ,rega 
-023b 20400369 call p_rssi_store 
-023c 6008c8f6 storet 1 ,mem_rssi_noise_kb_index 
-023d 20400370 call p_rssi_average 
-023e 6008c8f3 storet 1 ,mem_rssi_noise_kb_avg 
-023f 18467c50 sub temp ,rssi_thresh_noise ,null 
-0240 24610000 nrtn positive 
-0241 6808c8e2 fetcht 1 ,mem_24g_kb_ch_number 
-0242 20400399 call p_g24_ch_map_size 
-0243 6008c8e2 storet 1 ,mem_24g_kb_ch_number 
-0244 6000c8e1 store 1 ,mem_24g_kb_last_ch 
-0245 20600000 rtn 
+0250 20400110 call p_g24_dongle_bind_kb_payload_cfg 
+0251 680248d6 fetch 4 ,mem_24g_kb_addr 
+0252 203a022d branch p_g24_rx_auto_addr_ch_search ,blank 
+0253 204003b0 call p_g24_update_addr_and_synccrc8 
+0254 6800c8e3 fetch 1 ,mem_24g_kb_config_ch_once 
+0255 205a0265 call p_g24_kb_config_ch_once ,blank 
+0256 6800c8e1 fetch 1 ,mem_24g_kb_last_ch 
+0257 6000c840 store 1 ,mem_24g_ch 
+0258 6808c8f6 fetcht 1 ,mem_rssi_noise_kb_index 
+0259 da20109e arg mem_rssi_noise_kb_buffer ,rega 
+025a 204003a4 call p_rssi_store 
+025b 6008c8f6 storet 1 ,mem_rssi_noise_kb_index 
+025c 204003ab call p_rssi_average 
+025d 6008c8f3 storet 1 ,mem_rssi_noise_kb_avg 
+025e 18467c50 sub temp ,rssi_thresh_noise ,null 
+025f 24610000 nrtn positive 
+0260 6808c8e2 fetcht 1 ,mem_24g_kb_ch_number 
+0261 204003d4 call p_g24_ch_map_size 
+0262 6008c8e2 storet 1 ,mem_24g_kb_ch_number 
+0263 6000c8e1 store 1 ,mem_24g_kb_last_ch 
+0264 20600000 rtn 
 
 p_g24_kb_config_ch_once:
-0246 7048e301 jam 1 ,mem_24g_kb_config_ch_once 
-0247 d8400000 arg 0 ,temp 
-0248 2040039d call p_g24_ch_calc 
-0249 6000c8e1 store 1 ,mem_24g_kb_last_ch 
-024a 20600000 rtn 
+0265 7048e301 jam 1 ,mem_24g_kb_config_ch_once 
+0266 d8400000 arg 0 ,temp 
+0267 204003d8 call p_g24_ch_calc 
+0268 6000c8e1 store 1 ,mem_24g_kb_last_ch 
+0269 20600000 rtn 
 
 p_g24_rx_auto_bind_config_dongle:
-024b 204000eb call p_g24_dongle_bind_ms_payload_cfg 
-024c 6802489f fetch 4 ,mem_24g_rx_addr 
-024d 20400375 call p_g24_update_addr_and_synccrc8 
-024e 6800c8e0 fetch 1 ,mem_24g_dg_config_ch_once 
-024f 205a025f call p_g24_dg_config_ch_once ,blank 
-0250 6800c8de fetch 1 ,mem_24g_dg_last_ch 
-0251 6000c840 store 1 ,mem_24g_ch 
-0252 6808c8f5 fetcht 1 ,mem_rssi_noise_dg_index 
-0253 da200e9e arg mem_rssi_noise_dg_buffer ,rega 
-0254 20400369 call p_rssi_store 
-0255 6008c8f5 storet 1 ,mem_rssi_noise_dg_index 
-0256 20400370 call p_rssi_average 
-0257 6008c8f2 storet 1 ,mem_rssi_noise_dg_avg 
-0258 18467c50 sub temp ,rssi_thresh_noise ,null 
-0259 24610000 nrtn positive 
-025a 6808c8df fetcht 1 ,mem_24g_dg_ch_number 
-025b 20400399 call p_g24_ch_map_size 
-025c 6008c8df storet 1 ,mem_24g_dg_ch_number 
-025d 6000c8de store 1 ,mem_24g_dg_last_ch 
-025e 20600000 rtn 
+026a 2040010a call p_g24_dongle_bind_ms_payload_cfg 
+026b 6802489f fetch 4 ,mem_24g_rx_addr 
+026c 204003b0 call p_g24_update_addr_and_synccrc8 
+026d 6800c8e0 fetch 1 ,mem_24g_dg_config_ch_once 
+026e 205a027e call p_g24_dg_config_ch_once ,blank 
+026f 6800c8de fetch 1 ,mem_24g_dg_last_ch 
+0270 6000c840 store 1 ,mem_24g_ch 
+0271 6808c8f5 fetcht 1 ,mem_rssi_noise_dg_index 
+0272 da200e9e arg mem_rssi_noise_dg_buffer ,rega 
+0273 204003a4 call p_rssi_store 
+0274 6008c8f5 storet 1 ,mem_rssi_noise_dg_index 
+0275 204003ab call p_rssi_average 
+0276 6008c8f2 storet 1 ,mem_rssi_noise_dg_avg 
+0277 18467c50 sub temp ,rssi_thresh_noise ,null 
+0278 24610000 nrtn positive 
+0279 6808c8df fetcht 1 ,mem_24g_dg_ch_number 
+027a 204003d4 call p_g24_ch_map_size 
+027b 6008c8df storet 1 ,mem_24g_dg_ch_number 
+027c 6000c8de store 1 ,mem_24g_dg_last_ch 
+027d 20600000 rtn 
 
 p_g24_dg_config_ch_once:
-025f 7048e001 jam 1 ,mem_24g_dg_config_ch_once 
-0260 6800c8de fetch 1 ,mem_24g_dg_last_ch 
-0261 6000c840 store 1 ,mem_24g_ch 
-0262 20600000 rtn 
+027e 7048e001 jam 1 ,mem_24g_dg_config_ch_once 
+027f 6800c8de fetch 1 ,mem_24g_dg_last_ch 
+0280 6000c840 store 1 ,mem_24g_ch 
+0281 20600000 rtn 
 
 p_g24_read_len_pid_crc:
-0263 6800c7b1 fetch 1 ,mem_24g_rxbuf + 1 
-0264 1fe97e00 rshift3 pdata ,pdata 
-0265 6000c834 store 1 ,mem_24g_rxdata_length 
-0266 1fe0fe01 increase 1 ,pdata 
-0267 d8c047b1 arg mem_24g_rxbuf + 1 ,contr 
-0268 98c08c00 iadd contr ,contr 
-0269 e8c18000 ifetch 3 ,contr 
-026a 6001c873 store 3 ,mem_24g_sta_crc 
-026b 6800c7b1 fetch 1 ,mem_24g_rxbuf + 1 
-026c 1fe37e00 rshift pdata ,pdata 
-026d 1fe17e03 and pdata ,0x03 ,pdata 
-026e 6000c879 store 1 ,mem_24g_sta_pid 
-026f 20600000 rtn 
+0282 6800c7b1 fetch 1 ,mem_24g_rxbuf + 1 
+0283 1fe97e00 rshift3 pdata ,pdata 
+0284 6000c834 store 1 ,mem_24g_rxdata_length 
+0285 1fe0fe01 increase 1 ,pdata 
+0286 d8c047b1 arg mem_24g_rxbuf + 1 ,contr 
+0287 98c08c00 iadd contr ,contr 
+0288 e8c18000 ifetch 3 ,contr 
+0289 6001c873 store 3 ,mem_24g_sta_crc 
+028a 6800c7b1 fetch 1 ,mem_24g_rxbuf + 1 
+028b 1fe37e00 rshift pdata ,pdata 
+028c 1fe17e03 and pdata ,0x03 ,pdata 
+028d 6000c879 store 1 ,mem_24g_sta_pid 
+028e 20600000 rtn 
 
 p_g24_transmit_ack:
-0270 6800c7b0 fetch 1 ,mem_24g_rxbuf 
-0271 6000c837 store 1 ,mem_24g_data_type 
-0272 20400263 call p_g24_read_len_pid_crc 
-0273 6800c7b1 fetch 1 ,mem_24g_rxbuf + 1 
-0274 2feffe00 isolate1 bit_ack_24g ,pdata 
-0275 20208279 branch p_g24tx_no_ack ,true 
+028f 6800c7b0 fetch 1 ,mem_24g_rxbuf 
+0290 6000c837 store 1 ,mem_24g_data_type 
+0291 20400282 call p_g24_read_len_pid_crc 
+0292 6800c7b1 fetch 1 ,mem_24g_rxbuf + 1 
+0293 2feffe00 isolate1 bit_ack_24g ,pdata 
+0294 20208298 branch p_g24tx_no_ack ,true 
 
 p_g24tx_with_ack:
-0276 2040027a call p_g24_ackpayload_prep 
-0277 20400383 call p_g24_transmit_prep 
-0278 204003f9 call p_g24_transmit 
+0295 20400299 call p_g24_ackpayload_prep 
+0296 204003be call p_g24_transmit_prep 
+0297 20400434 call p_g24_transmit 
 
 p_g24tx_no_ack:
-0279 202003f1 branch p_g24_end_of_packet 
+0298 2020042c branch p_g24_end_of_packet 
 
 p_g24_ackpayload_prep:
-027a 70483600 jam 0 ,mem_24g_datalen 
-027b 6800c8b8 fetch 1 ,mem_24g_ackpayload_enable 
-027c 207a0000 rtn blank 
-027d c0008281 beq bind_ackpayload ,p_g24_bind_ackpayload_prep 
-027e c0010286 beq user_ackpayload ,p_g24_user_ackpayload_prep 
-027f c0018290 beq kb_led_ackpayload ,p_g24_kb_led_ackpayload_prep 
-0280 20600000 rtn 
+0299 70483600 jam 0 ,mem_24g_datalen 
+029a 6800c8b8 fetch 1 ,mem_24g_ackpayload_enable 
+029b 207a0000 rtn blank 
+029c c00082a0 beq bind_ackpayload ,p_g24_bind_ackpayload_prep 
+029d c00102a5 beq user_ackpayload ,p_g24_user_ackpayload_prep 
+029e c00182af beq kb_led_ackpayload ,p_g24_kb_led_ackpayload_prep 
+029f 20600000 rtn 
 
 p_g24_bind_ackpayload_prep:
-0281 70483608 jam 0x08 ,mem_24g_datalen 
-0282 df200008 arg 0x08 ,loopcnt 
-0283 d8c048a8 arg mem_24g_bind_payload ,contr 
-0284 d8a047d2 arg mem_24g_txbuf ,contw 
-0285 20207f01 branch memcpy 
+02a0 70483608 jam 0x08 ,mem_24g_datalen 
+02a1 df200008 arg 0x08 ,loopcnt 
+02a2 d8c048a8 arg mem_24g_bind_payload ,contr 
+02a3 d8a047d2 arg mem_24g_txbuf ,contw 
+02a4 20207f01 branch memcpy 
 
 p_g24_user_ackpayload_prep:
-0286 2040013d call p_g24_queue_read_point 
-0287 24740000 nrtn user 
-0288 7048361f jam 0x1f ,mem_24g_datalen 
-0289 df20001f arg 0x1f ,loopcnt 
-028a 1fe20c00 copy pdata ,contr 
-028b d8a047d2 arg mem_24g_txbuf ,contw 
-028c 20407f01 call memcpy 
-028d 680147d5 fetch 2 ,mem_24g_txbuf + 3 
-028e 600148eb store 2 ,mem_24g_ota_sta_pid 
-028f 20600000 rtn 
+02a5 2040015c call p_g24_queue_read_point 
+02a6 24740000 nrtn user 
+02a7 7048361f jam 0x1f ,mem_24g_datalen 
+02a8 df20001f arg 0x1f ,loopcnt 
+02a9 1fe20c00 copy pdata ,contr 
+02aa d8a047d2 arg mem_24g_txbuf ,contw 
+02ab 20407f01 call memcpy 
+02ac 680147d5 fetch 2 ,mem_24g_txbuf + 3 
+02ad 600148eb store 2 ,mem_24g_ota_sta_pid 
+02ae 20600000 rtn 
 
 p_g24_kb_led_ackpayload_prep:
-0290 7048b800 jam 0 ,mem_24g_ackpayload_enable 
-0291 700d4300 jam 0 ,mem_usb_tx_win_enable 
-0292 70483601 jam 0x01 ,mem_24g_datalen 
-0293 df200001 arg 0x01 ,loopcnt 
-0294 d8c04978 arg mem_24g_led_status ,contr 
-0295 d8a047d2 arg mem_24g_txbuf ,contw 
-0296 20207f01 branch memcpy 
+02af 700d4300 jam 0 ,mem_usb_tx_win_enable 
+02b0 70483601 jam 0x01 ,mem_24g_datalen 
+02b1 df200001 arg 0x01 ,loopcnt 
+02b2 d8c04978 arg mem_24g_led_status ,contr 
+02b3 d8a047d2 arg mem_24g_txbuf ,contw 
+02b4 20207f01 branch memcpy 
 
 p_g24_receive_packet_start:
-0297 204001d1 call p_g24_receive_transmit_ack 
-0298 243780e3 nbranch p_g24_rx_interrupt_clear ,user3 
-0299 2020029a branch p_g24_receive_packet_parse 
+02b5 204001f0 call p_g24_receive_transmit_ack 
+02b6 24378102 nbranch p_g24_rx_interrupt_clear ,user3 
+02b7 202002b8 branch p_g24_receive_packet_parse 
 
 p_g24_receive_packet_parse:
-029a 204002ab call p_g24_receive_packet_parse_pid_crc 
-029b 243400e3 nbranch p_g24_rx_interrupt_clear ,user 
-029c 6800c834 fetch 1 ,mem_24g_rxdata_length 
-029d 203a00e3 branch p_g24_rx_interrupt_clear ,blank 
-029e 1fe0fe02 increase 2 ,pdata 
-029f 98007200 iforce loopcnt 
-02a0 d8c047b0 arg mem_24g_rxbuf ,contr 
-02a1 d8a0487d arg mem_24g_rxdata_temp ,contw 
-02a2 20407f01 call memcpy 
-02a3 7048b700 jam 0 ,mem_24g_mode_switch 
-02a4 6800c8ba fetch 1 ,mem_24g_pair_mode 
-02a5 205a01c2 call p_g24_enable_nodata_timer ,blank 
-02a6 6800c87f fetch 1 ,mem_24g_rxdata_temp + 2 
-02a7 c00082b9 beq 0x01 ,p_g24_data_type1 
-02a8 c00102d8 beq 0x02 ,p_g24_data_type2 
-02a9 c07f8311 beq 0xff ,p_g24_data_attemp 
-02aa 202000e3 branch p_g24_rx_interrupt_clear 
+02b8 204002c9 call p_g24_receive_packet_parse_pid_crc 
+02b9 24340102 nbranch p_g24_rx_interrupt_clear ,user 
+02ba 6800c834 fetch 1 ,mem_24g_rxdata_length 
+02bb 203a0102 branch p_g24_rx_interrupt_clear ,blank 
+02bc 1fe0fe02 increase 2 ,pdata 
+02bd 98007200 iforce loopcnt 
+02be d8c047b0 arg mem_24g_rxbuf ,contr 
+02bf d8a0487d arg mem_24g_rxdata_temp ,contw 
+02c0 20407f01 call memcpy 
+02c1 7048b700 jam 0 ,mem_24g_mode_switch 
+02c2 6800c8ba fetch 1 ,mem_24g_pair_mode 
+02c3 205a01e1 call p_g24_enable_nodata_timer ,blank 
+02c4 6800c87f fetch 1 ,mem_24g_rxdata_temp + 2 
+02c5 c00082d7 beq 0x01 ,p_g24_data_type1 
+02c6 c00102f6 beq 0x02 ,p_g24_data_type2 
+02c7 c07f834c beq 0xff ,p_g24_data_attemp 
+02c8 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_receive_packet_parse_pid_crc:
-02ab 20407fe9 call disable_user 
-02ac 6800c879 fetch 1 ,mem_24g_sta_pid 
-02ad 6808c87a fetcht 1 ,mem_24g_last_pid 
-02ae 98467c00 isub temp ,null 
-02af 2442ffe7 ncall enable_user ,zero 
-02b0 6800c879 fetch 1 ,mem_24g_sta_pid 
-02b1 6000c87a store 1 ,mem_24g_last_pid 
-02b2 6801c873 fetch 3 ,mem_24g_sta_crc 
-02b3 6809c876 fetcht 3 ,mem_24g_last_crc 
-02b4 98467c00 isub temp ,null 
-02b5 2442ffe7 ncall enable_user ,zero 
-02b6 6801c873 fetch 3 ,mem_24g_sta_crc 
-02b7 6001c876 store 3 ,mem_24g_last_crc 
-02b8 20600000 rtn 
+02c9 20407fe9 call disable_user 
+02ca 6800c879 fetch 1 ,mem_24g_sta_pid 
+02cb 6808c87a fetcht 1 ,mem_24g_last_pid 
+02cc 98467c00 isub temp ,null 
+02cd 2442ffe7 ncall enable_user ,zero 
+02ce 6800c879 fetch 1 ,mem_24g_sta_pid 
+02cf 6000c87a store 1 ,mem_24g_last_pid 
+02d0 6801c873 fetch 3 ,mem_24g_sta_crc 
+02d1 6809c876 fetcht 3 ,mem_24g_last_crc 
+02d2 98467c00 isub temp ,null 
+02d3 2442ffe7 ncall enable_user ,zero 
+02d4 6801c873 fetch 3 ,mem_24g_sta_crc 
+02d5 6001c876 store 3 ,mem_24g_last_crc 
+02d6 20600000 rtn 
 
 p_g24_data_type1:
-02b9 204000a5 call p_g24_ch_timer_reinit 
-02ba 6800c8b0 fetch 1 ,mem_24g_abort_packet 
-02bb 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
-02bc 284ffe03 isolate1 bit_abort ,temp 
-02bd 7920fe00 setflag true ,0 ,pdata 
-02be 6000c8b0 store 1 ,mem_24g_abort_packet 
-02bf c0008319 beq 1 ,p_g24_data_attemp_mouse_abort 
-02c0 6800c8b9 fetch 1 ,mem_24g_hop_packet 
-02c1 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
-02c2 284ffe04 isolate1 bit_hop ,temp 
-02c3 7920fe00 setflag true ,0 ,pdata 
-02c4 6000c8b9 store 1 ,mem_24g_hop_packet 
-02c5 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-02c6 c067831d beq cmd_ota ,p_g24_ota_process 
-02c7 58000001 setarg ms_report_id 
-02c8 60008d54 store 1 ,mem_usb_mouse_data 
-02c9 6803c880 fetch 7 ,mem_24g_rxdata_temp + 3 
-02ca e0a38000 istore 7 ,contw 
-02cb 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-02cc 245a02d0 ncall p_g24_ms_enable_blank_data_forcibly ,blank 
-02cd 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-02ce 205a02d4 call p_g24_ms_disable_blank_data_forcibly ,blank 
-02cf 202031b8 branch g24_data_type1_usbtx_enable 
+02d7 204000c4 call p_g24_ch_timer_reinit 
+02d8 6800c8b0 fetch 1 ,mem_24g_abort_packet 
+02d9 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
+02da 284ffe03 isolate1 bit_abort ,temp 
+02db 7920fe00 setflag true ,0 ,pdata 
+02dc 6000c8b0 store 1 ,mem_24g_abort_packet 
+02dd c0008354 beq 1 ,p_g24_data_attemp_mouse_abort 
+02de 6800c8b9 fetch 1 ,mem_24g_hop_packet 
+02df 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
+02e0 284ffe04 isolate1 bit_hop ,temp 
+02e1 7920fe00 setflag true ,0 ,pdata 
+02e2 6000c8b9 store 1 ,mem_24g_hop_packet 
+02e3 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+02e4 c0678358 beq cmd_ota ,p_g24_ota_process 
+02e5 58000001 setarg ms_report_id 
+02e6 60008d54 store 1 ,mem_usb_mouse_data 
+02e7 6803c880 fetch 7 ,mem_24g_rxdata_temp + 3 
+02e8 e0a38000 istore 7 ,contw 
+02e9 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+02ea 245a02ee ncall p_g24_ms_enable_blank_data_forcibly ,blank 
+02eb 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+02ec 205a02f2 call p_g24_ms_disable_blank_data_forcibly ,blank 
+02ed 202031b8 branch g24_data_type1_usbtx_enable 
 
 p_g24_ms_enable_blank_data_forcibly:
-02d0 7048d501 jam 1 ,mem_24g_ms_blank_data_enable 
-02d1 58000180 setarg timer_new_ms_blank_delay 
-02d2 d8e0000b arg timer_new_ms_blank ,queue 
-02d3 20207f08 branch timer_init 
+02ee 7048d501 jam 1 ,mem_24g_ms_blank_data_enable 
+02ef 58000180 setarg timer_new_ms_blank_delay 
+02f0 d8e0000b arg timer_new_ms_blank ,queue 
+02f1 20207f08 branch timer_init 
 
 p_g24_ms_disable_blank_data_forcibly:
-02d4 7048d500 jam 0 ,mem_24g_ms_blank_data_enable 
-02d5 58000000 setarg 0 
-02d6 d8e0000b arg timer_new_ms_blank ,queue 
-02d7 20207f08 branch timer_init 
+02f2 7048d500 jam 0 ,mem_24g_ms_blank_data_enable 
+02f3 58000000 setarg 0 
+02f4 d8e0000b arg timer_new_ms_blank ,queue 
+02f5 20207f08 branch timer_init 
 
 p_g24_data_type2:
-02d8 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
-02d9 284ffe03 isolate1 bit_abort ,temp 
-02da 2020831b branch p_g24_data_attemp_kbd_abort ,true 
-02db 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-02dc c00002df beq 0 ,p_g24_data_type2_data1 
-02dd c00182f8 beq 3 ,p_g24_data_type2_data2 
-02de 202000e3 branch p_g24_rx_interrupt_clear 
+02f6 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
+02f7 284ffe03 isolate1 bit_abort ,temp 
+02f8 20208356 branch p_g24_data_attemp_kbd_abort ,true 
+02f9 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+02fa c00002fe beq 0 ,p_g24_data_type2_data1 
+02fb c0010335 beq 2 ,p_g24_data_type2_data3 
+02fc c001831c beq 3 ,p_g24_data_type2_data2 
+02fd 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_data1:
-02df d8a00d64 arg mem_usb_kb_data ,contw 
-02e0 204002ed call p_g24_data_type2_copy_data1 
-02e1 68040d64 fetch 8 ,mem_usb_kb_data 
-02e2 245a02f0 ncall p_g24_kb_enable_blank_data_forcibly ,blank 
-02e3 68040d64 fetch 8 ,mem_usb_kb_data 
-02e4 205a02f4 call p_g24_kb_disable_blank_data_forcibly ,blank 
-02e5 68040d64 fetch 8 ,mem_usb_kb_data 
-02e6 600448bd store 8 ,mem_24g_kb_data_sta_data 
-02e7 680c48c5 fetcht 8 ,mem_24g_kb_data_last_data 
-02e8 98467c00 isub temp ,null 
-02e9 2442b1ed ncall g24_kb_data_into_ep1_fifo ,zero 
-02ea 680448bd fetch 8 ,mem_24g_kb_data_sta_data 
-02eb 600448c5 store 8 ,mem_24g_kb_data_last_data 
-02ec 202000e3 branch p_g24_rx_interrupt_clear 
+02fe 6800c882 fetch 1 ,mem_24g_rxdata_temp + 5 
+02ff 205a030f call p_g24_kb_led_clear_flag ,blank 
+0300 70488200 jam 0 ,mem_24g_rxdata_temp + 5 
+0301 d8a00d64 arg mem_usb_kb_data ,contw 
+0302 20400311 call p_g24_data_type2_copy_data1 
+0303 68040d64 fetch 8 ,mem_usb_kb_data 
+0304 245a0314 ncall p_g24_kb_enable_blank_data_forcibly ,blank 
+0305 68040d64 fetch 8 ,mem_usb_kb_data 
+0306 205a0318 call p_g24_kb_disable_blank_data_forcibly ,blank 
+0307 68040d64 fetch 8 ,mem_usb_kb_data 
+0308 600448bd store 8 ,mem_24g_kb_data_sta_data 
+0309 680c48c5 fetcht 8 ,mem_24g_kb_data_last_data 
+030a 98467c00 isub temp ,null 
+030b 2442b1ed ncall g24_kb_data_into_ep1_fifo ,zero 
+030c 680448bd fetch 8 ,mem_24g_kb_data_sta_data 
+030d 600448c5 store 8 ,mem_24g_kb_data_last_data 
+030e 20200102 branch p_g24_rx_interrupt_clear 
+
+p_g24_kb_led_clear_flag:
+030f 7048b800 jam 0 ,mem_24g_ackpayload_enable 
+0310 20600000 rtn 
 
 p_g24_data_type2_copy_data1:
-02ed d8c04881 arg mem_24g_rxdata_temp + 4 ,contr 
-02ee df200008 arg 8 ,loopcnt 
-02ef 20207f01 branch memcpy 
+0311 d8c04881 arg mem_24g_rxdata_temp + 4 ,contr 
+0312 df200008 arg 8 ,loopcnt 
+0313 20207f01 branch memcpy 
 
 p_g24_kb_enable_blank_data_forcibly:
-02f0 7048d301 jam 1 ,mem_24g_kb_blank_data_enable 
-02f1 58000180 setarg timer_new_kb_blank_delay 
-02f2 d8e0000e arg timer_new_kb_blank ,queue 
-02f3 20207f08 branch timer_init 
+0314 7048d301 jam 1 ,mem_24g_kb_blank_data_enable 
+0315 58000180 setarg timer_new_kb_blank_delay 
+0316 d8e0000e arg timer_new_kb_blank ,queue 
+0317 20207f08 branch timer_init 
 
 p_g24_kb_disable_blank_data_forcibly:
-02f4 7048d300 jam 0 ,mem_24g_kb_blank_data_enable 
-02f5 58000000 setarg 0 
-02f6 d8e0000e arg timer_new_kb_blank ,queue 
-02f7 20207f08 branch timer_init 
+0318 7048d300 jam 0 ,mem_24g_kb_blank_data_enable 
+0319 58000000 setarg 0 
+031a d8e0000e arg timer_new_kb_blank ,queue 
+031b 20207f08 branch timer_init 
 
 p_g24_data_type2_data2:
-02f8 d8a00d74 arg mem_usb_kb_multikey ,contw 
-02f9 20400306 call p_g24_data_type2_copy_data2 
-02fa 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
-02fb 245a0309 ncall p_g24_kb_mul_enable_blank_data_forcibly ,blank 
-02fc 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
-02fd 205a030d call p_g24_kb_mul_disable_blank_data_forcibly ,blank 
-02fe 68018d74 fetch 3 ,mem_usb_kb_multikey 
-02ff 6001c8cd store 3 ,mem_24g_kb_multikey_sta_data 
-0300 6809c8d0 fetcht 3 ,mem_24g_kb_multikey_last_data 
-0301 98467c00 isub temp ,null 
-0302 2442b207 ncall g24_kb_mul_data_into_ep2_fifo ,zero 
-0303 6801c8cd fetch 3 ,mem_24g_kb_multikey_sta_data 
-0304 6001c8d0 store 3 ,mem_24g_kb_multikey_last_data 
-0305 202000e3 branch p_g24_rx_interrupt_clear 
+031c d8a00d74 arg mem_usb_kb_multikey ,contw 
+031d 2040032a call p_g24_data_type2_copy_data2 
+031e 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
+031f 245a032d ncall p_g24_kb_mul_enable_blank_data_forcibly ,blank 
+0320 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
+0321 205a0331 call p_g24_kb_mul_disable_blank_data_forcibly ,blank 
+0322 68018d74 fetch 3 ,mem_usb_kb_multikey 
+0323 6001c8cd store 3 ,mem_24g_kb_multikey_sta_data 
+0324 6809c8d0 fetcht 3 ,mem_24g_kb_multikey_last_data 
+0325 98467c00 isub temp ,null 
+0326 2442b207 ncall g24_kb_mul_data_into_ep2_fifo ,zero 
+0327 6801c8cd fetch 3 ,mem_24g_kb_multikey_sta_data 
+0328 6001c8d0 store 3 ,mem_24g_kb_multikey_last_data 
+0329 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_copy_data2:
-0306 d8c04880 arg mem_24g_rxdata_temp + 3 ,contr 
-0307 df200003 arg 3 ,loopcnt 
-0308 20207f01 branch memcpy 
+032a d8c04880 arg mem_24g_rxdata_temp + 3 ,contr 
+032b df200003 arg 3 ,loopcnt 
+032c 20207f01 branch memcpy 
 
 p_g24_kb_mul_enable_blank_data_forcibly:
-0309 7048d401 jam 1 ,mem_24g_kb_mul_blank_data_enable 
-030a 58000180 setarg timer_new_kb_mul_blank_delay 
-030b d8e0000c arg timer_new_kb_mul_blank ,queue 
-030c 20207f08 branch timer_init 
+032d 7048d401 jam 1 ,mem_24g_kb_mul_blank_data_enable 
+032e 58000180 setarg timer_new_kb_mul_blank_delay 
+032f d8e0000c arg timer_new_kb_mul_blank ,queue 
+0330 20207f08 branch timer_init 
 
 p_g24_kb_mul_disable_blank_data_forcibly:
-030d 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
-030e 58000000 setarg 0 
-030f d8e0000c arg timer_new_kb_mul_blank ,queue 
-0310 20207f08 branch timer_init 
+0331 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
+0332 58000000 setarg 0 
+0333 d8e0000c arg timer_new_kb_mul_blank ,queue 
+0334 20207f08 branch timer_init 
+
+p_g24_data_type2_data3:
+0335 d8a013bc arg mem_usb_kb_system ,contw 
+0336 2040033f call p_g24_data_type2_copy_data3 
+0337 680113bc fetch 2 ,mem_usb_kb_system 
+0338 600113cc store 2 ,mem_usb_kb_system_sta_data 
+0339 680913cf fetcht 2 ,mem_usb_kb_system_last_data 
+033a 98467c00 isub temp ,null 
+033b 2442834a ncall p_g24_kb_sys_data_into_ep2_fifo ,zero 
+033c 680113cc fetch 2 ,mem_usb_kb_system_sta_data 
+033d 600113cf store 2 ,mem_usb_kb_system_last_data 
+033e 20200102 branch p_g24_rx_interrupt_clear 
+
+p_g24_data_type2_copy_data3:
+033f d8c04880 arg mem_24g_rxdata_temp + 3 ,contr 
+0340 df200002 arg 2 ,loopcnt 
+0341 20207f01 branch memcpy 
+
+p_g24_kb_sys_enable_blank_data_forcibly:
+0342 7048d401 jam 1 ,mem_24g_kb_mul_blank_data_enable 
+0343 58000180 setarg timer_new_kb_mul_blank_delay 
+0344 d8e0000c arg timer_new_kb_mul_blank ,queue 
+0345 20207f08 branch timer_init 
+
+p_g24_kb_sys_disable_blank_data_forcibly:
+0346 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
+0347 58000000 setarg 0 
+0348 d8e0000c arg timer_new_kb_mul_blank ,queue 
+0349 20207f08 branch timer_init 
+
+p_g24_kb_sys_data_into_ep2_fifo:
+034a 700d5222 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+034b 202031b9 branch g24_data_type1_usbtx_enable_ep2 
 
 p_g24_data_attemp:
-0311 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-0312 c0008315 beq datatype_mouse ,p_g24_data_attemp_mouse 
-0313 c0010317 beq datatype_keyboard ,p_g24_data_attemp_kbd 
-0314 20600000 rtn 
+034c 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+034d c0008350 beq datatype_mouse ,p_g24_data_attemp_mouse 
+034e c0010352 beq datatype_keyboard ,p_g24_data_attemp_kbd 
+034f 20600000 rtn 
 
 p_g24_data_attemp_mouse:
-0315 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
-0316 20200120 branch p_g24_store_mouse_addr 
+0350 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
+0351 2020013f branch p_g24_store_mouse_addr 
 
 p_g24_data_attemp_kbd:
-0317 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
-0318 20200123 branch p_g24_store_kbd_addr 
+0352 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
+0353 20200142 branch p_g24_store_kbd_addr 
 
 p_g24_data_attemp_mouse_abort:
-0319 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
-031a 20200120 branch p_g24_store_mouse_addr 
+0354 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
+0355 2020013f branch p_g24_store_mouse_addr 
 
 p_g24_data_attemp_kbd_abort:
-031b 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
-031c 20200123 branch p_g24_store_kbd_addr 
+0356 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
+0357 20200142 branch p_g24_store_kbd_addr 
 
 p_g24_ota_process:
-031d 68014882 fetch 2 ,mem_24g_rxdata_temp + 5 
-031e 680948eb fetcht 2 ,mem_24g_ota_sta_pid 
-031f 98467c00 isub temp ,null 
-0320 20228322 branch p_g24_ota_next_pac ,zero 
-0321 20600000 rtn 
+0358 68014882 fetch 2 ,mem_24g_rxdata_temp + 5 
+0359 680948eb fetcht 2 ,mem_24g_ota_sta_pid 
+035a 98467c00 isub temp ,null 
+035b 2022835d branch p_g24_ota_next_pac ,zero 
+035c 20600000 rtn 
 
 p_g24_ota_next_pac:
-0322 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
-0323 c061032f beq cmd_ota_exit ,p_g24_ota_exit_process 
-0324 6800c900 fetch 1 ,mem_queue_ele_num 
-0325 207a0000 rtn blank 
-0326 58004901 setarg mem_queue_read 
-0327 20400134 call p_g24_queue_increase 
-0328 6800c900 fetch 1 ,mem_queue_ele_num 
-0329 1fe0ffff increase -1 ,pdata 
-032a 6000c900 store 1 ,mem_queue_ele_num 
-032b 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
-032c c0608175 beq cmd_ota_data ,p_user_defined_queue_buff_free 
-032d c061032f beq cmd_ota_exit ,p_g24_ota_exit_process 
-032e 20600000 rtn 
+035d 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
+035e c061036a beq cmd_ota_exit ,p_g24_ota_exit_process 
+035f 6800c900 fetch 1 ,mem_queue_ele_num 
+0360 207a0000 rtn blank 
+0361 58004901 setarg mem_queue_read 
+0362 20400153 call p_g24_queue_increase 
+0363 6800c900 fetch 1 ,mem_queue_ele_num 
+0364 1fe0ffff increase -1 ,pdata 
+0365 6000c900 store 1 ,mem_queue_ele_num 
+0366 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
+0367 c0608194 beq cmd_ota_data ,p_user_defined_queue_buff_free 
+0368 c061036a beq cmd_ota_exit ,p_g24_ota_exit_process 
+0369 20600000 rtn 
 
 p_g24_ota_exit_process:
-032f 58000000 setarg 0 
-0330 600148eb store 2 ,mem_24g_ota_sta_pid 
-0331 6000c8b8 store 1 ,mem_24g_ackpayload_enable 
-0332 20400125 call p_g24_queue_init 
-0333 6800c884 fetch 1 ,mem_24g_rxdata_temp + 7 
-0334 c02a8337 beq ota_sta_success ,p_g24_ota_exit_success 
-0335 c0550339 beq ota_sta_fail ,p_g24_ota_exit_fail 
-0336 20600000 rtn 
+036a 58000000 setarg 0 
+036b 600148eb store 2 ,mem_24g_ota_sta_pid 
+036c 6000c8b8 store 1 ,mem_24g_ackpayload_enable 
+036d 20400144 call p_g24_queue_init 
+036e 6800c884 fetch 1 ,mem_24g_rxdata_temp + 7 
+036f c02a8372 beq ota_sta_success ,p_g24_ota_exit_success 
+0370 c0550374 beq ota_sta_fail ,p_g24_ota_exit_fail 
+0371 20600000 rtn 
 
 p_g24_ota_exit_success:
-0337 700cf702 jam 2 ,mem_usb0_get_report_data + 1 
-0338 2020303f branch usb0_data_ready_report_set1 
+0372 700cf702 jam 2 ,mem_usb0_get_report_data + 1 
+0373 2020303f branch usb0_data_ready_report_set1 
 
 p_g24_ota_exit_fail:
-0339 700cf703 jam 3 ,mem_usb0_get_report_data + 1 
-033a 2020303f branch usb0_data_ready_report_set1 
+0374 700cf703 jam 3 ,mem_usb0_get_report_data + 1 
+0375 2020303f branch usb0_data_ready_report_set1 
 
 p_set_freq_tx:
-033b 60088017 storet 1 ,mem_last_freq 
-033c 1840a200 add temp ,0 ,rega 
-033d 20402981 call rf_write_freq 
-033e 58000500 setarg param_pll_setup 
-033f 20402a8f call sleep 
+0376 60088017 storet 1 ,mem_last_freq 
+0377 1840a200 add temp ,0 ,rega 
+0378 20402981 call rf_write_freq 
+0379 58000500 setarg param_pll_setup 
+037a 20402a8f call sleep 
 
 p_rf_tx_enable:
-0340 70890601 jam 0x1 ,rfen_adc 
-0341 7089003c jam 0x3c ,rfen_rx 
-0342 708901e0 jam 0xe0 ,rfen_tx 
-0343 2000000a nop 10 
-0344 70890201 jam 0x01 ,rfen_mdm 
-0345 7089023d jam 0x3d ,rfen_mdm 
-0346 2000000a nop 10 
-0347 708903b7 jam 0xb7 ,rfen_sn 
-0348 2000000a nop 10 
-0349 7089027d jam 0x7d ,rfen_mdm 
-034a 6800c1de fetch 1 ,mem_tx_power 
-034b c0020354 beq tx_power_f5db ,p_set_tx_power_f5db 
-034c 2020034d branch p_set_tx_power_5db 
+037b 70890601 jam 0x1 ,rfen_adc 
+037c 7089003c jam 0x3c ,rfen_rx 
+037d 708901e0 jam 0xe0 ,rfen_tx 
+037e 2000000a nop 10 
+037f 70890201 jam 0x01 ,rfen_mdm 
+0380 7089023d jam 0x3d ,rfen_mdm 
+0381 2000000a nop 10 
+0382 708903b7 jam 0xb7 ,rfen_sn 
+0383 2000000a nop 10 
+0384 7089027d jam 0x7d ,rfen_mdm 
+0385 6800c1de fetch 1 ,mem_tx_power 
+0386 c002038f beq tx_power_f5db ,p_set_tx_power_f5db 
+0387 20200388 branch p_set_tx_power_5db 
 
 p_set_tx_power_5db:
-034d 70894bba jam 0xba ,0x894b 
-034e 708955d0 jam 0xd0 ,0x8955 
-034f 708956e0 jam 0xe0 ,0x8956 
-0350 70895788 jam 0x88 ,0x8957 
-0351 7089583c jam 0x3c ,0x8958 
-0352 70895910 jam 0x10 ,0x8959 
-0353 20202953 branch set_tx_power_5db 
+0388 70894bba jam 0xba ,0x894b 
+0389 708955d0 jam 0xd0 ,0x8955 
+038a 708956e0 jam 0xe0 ,0x8956 
+038b 70895788 jam 0x88 ,0x8957 
+038c 7089583c jam 0x3c ,0x8958 
+038d 70895910 jam 0x10 ,0x8959 
+038e 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0354 70894bba jam 0xba ,0x894b 
-0355 708955d0 jam 0xd0 ,0x8955 
-0356 708956c0 jam 0xc0 ,0x8956 
-0357 70895788 jam 0x88 ,0x8957 
-0358 7089586c jam 0x6c ,0x8958 
-0359 70895910 jam 0x10 ,0x8959 
-035a 2020295b branch set_tx_power_f5db 
+038f 70894bba jam 0xba ,0x894b 
+0390 708955d0 jam 0xd0 ,0x8955 
+0391 708956c0 jam 0xc0 ,0x8956 
+0392 70895788 jam 0x88 ,0x8957 
+0393 7089586c jam 0x6c ,0x8958 
+0394 70895910 jam 0x10 ,0x8959 
+0395 2020295b branch set_tx_power_f5db 
 
 p_soft_reset:
-035b 20800000 clear_stack 
-035c 68108043 hfetch 1 ,core_config 
-035d 79207e03 set1 watchdog_bit ,pdata 
-035e 60108043 hstore 1 ,core_config 
-035f 20202003 branch soft_reset + 2 
+0396 20800000 clear_stack 
+0397 68108043 hfetch 1 ,core_config 
+0398 79207e03 set1 watchdog_bit ,pdata 
+0399 60108043 hstore 1 ,core_config 
+039a 20202003 branch soft_reset + 2 
 
 p_shutdown_radio:
-0360 18002a08 force 8 ,radio_ctrl 
-0361 202028fa branch shutdown_radio + 1 
+039b 18002a08 force 8 ,radio_ctrl 
+039c 202028fa branch shutdown_radio + 1 
 
 p_rssi_noise:
-0362 204029bb call save_rssi 
-0363 207a0000 rtn blank 
-0364 6808c8f0 fetcht 1 ,mem_rssi_noise_index 
-0365 da200d9e arg mem_rssi_noise_buffer ,rega 
-0366 20400369 call p_rssi_store 
-0367 6008c8f0 storet 1 ,mem_rssi_noise_index 
-0368 20600000 rtn 
+039d 204029bb call save_rssi 
+039e 207a0000 rtn blank 
+039f 6808c8f0 fetcht 1 ,mem_rssi_noise_index 
+03a0 da200d9e arg mem_rssi_noise_buffer ,rega 
+03a1 204003a4 call p_rssi_store 
+03a2 6008c8f0 storet 1 ,mem_rssi_noise_index 
+03a3 20600000 rtn 
 
 p_rssi_store:
-0369 1a227e00 copy rega ,pdata 
-036a 98408a00 iadd temp ,contw 
-036b 68008018 fetch 1 ,mem_rssi 
-036c e0a08000 istore 1 ,contw 
-036d 18408401 increase 1 ,temp 
-036e 184104ff and_into rssi_buf_len_noise ,temp 
-036f 20600000 rtn 
+03a4 1a227e00 copy rega ,pdata 
+03a5 98408a00 iadd temp ,contw 
+03a6 68008018 fetch 1 ,mem_rssi 
+03a7 e0a08000 istore 1 ,contw 
+03a8 18408401 increase 1 ,temp 
+03a9 184104ff and_into rssi_buf_len_noise ,temp 
+03aa 20600000 rtn 
 
 p_rssi_average:
-0370 d8400000 arg 0 ,temp 
-0371 df200100 arg rssi_buf_len_noise + 1 ,loopcnt 
-0372 1a220c00 copy rega ,contr 
-0373 20202e64 branch rssi_average_loop 
-0374 20600000 rtn 
+03ab d8400000 arg 0 ,temp 
+03ac df200100 arg rssi_buf_len_noise + 1 ,loopcnt 
+03ad 1a220c00 copy rega ,contr 
+03ae 20202e64 branch rssi_average_loop 
+03af 20600000 rtn 
 
 p_g24_update_addr_and_synccrc8:
-0375 6002485e store 4 ,mem_24g_addr 
+03b0 6002485e store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-0376 da200000 arg 0 ,rega 
-0377 df200004 arg 4 ,loopcnt 
-0378 d8c0485e arg mem_24g_addr ,contr 
+03b1 da200000 arg 0 ,rega 
+03b2 df200004 arg 4 ,loopcnt 
+03b3 d8c0485e arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-0379 e8c08000 ifetch 1 ,contr 
-037a 9a20a200 iadd rega ,rega 
-037b c2000379 loop p_g24_syncword_crc8_loop 
-037c 1a227e00 copy rega ,pdata 
-037d 600148e7 store 2 ,mem_24g_syncword 
-037e 6800c8e7 fetch 1 ,mem_24g_syncword 
-037f 6808c8e8 fetcht 1 ,mem_24g_syncword + 1 
-0380 9840fe00 iadd temp ,pdata 
-0381 6000c8e9 store 1 ,mem_24g_syncword_crc8 
-0382 20600000 rtn 
+03b4 e8c08000 ifetch 1 ,contr 
+03b5 9a20a200 iadd rega ,rega 
+03b6 c20003b4 loop p_g24_syncword_crc8_loop 
+03b7 1a227e00 copy rega ,pdata 
+03b8 600148e7 store 2 ,mem_24g_syncword 
+03b9 6800c8e7 fetch 1 ,mem_24g_syncword 
+03ba 6808c8e8 fetcht 1 ,mem_24g_syncword + 1 
+03bb 9840fe00 iadd temp ,pdata 
+03bc 6000c8e9 store 1 ,mem_24g_syncword_crc8 
+03bd 20600000 rtn 
 
 p_g24_transmit_prep:
-0383 6800c836 fetch 1 ,mem_24g_datalen 
-0384 1fe0fe02 increase 2 ,pdata 
-0385 6000c838 store 1 ,mem_24g_txlen 
-0386 6800c837 fetch 1 ,mem_24g_data_type 
-0387 6000c7f2 store 1 ,mem_24g_txpayload 
-0388 6800c836 fetch 1 ,mem_24g_datalen 
-0389 1fe9fe00 lshift3 pdata ,pdata 
-038a 6808c835 fetcht 1 ,mem_24g_pid 
-038b 18410403 and temp ,0x03 ,temp 
-038c 18438400 lshift temp ,temp 
-038d 9841fe00 ior temp ,pdata 
-038e 6808c872 fetcht 1 ,mem_24g_no_ack 
-038f 9840fe00 iadd temp ,pdata 
-0390 e0a08000 istore 1 ,contw 
-0391 6800c836 fetch 1 ,mem_24g_datalen 
-0392 98007200 iforce loopcnt 
-0393 d8c047d2 arg mem_24g_txbuf ,contr 
-0394 20207f01 branch memcpy 
+03be 6800c836 fetch 1 ,mem_24g_datalen 
+03bf 1fe0fe02 increase 2 ,pdata 
+03c0 6000c838 store 1 ,mem_24g_txlen 
+03c1 6800c837 fetch 1 ,mem_24g_data_type 
+03c2 6000c7f2 store 1 ,mem_24g_txpayload 
+03c3 6800c836 fetch 1 ,mem_24g_datalen 
+03c4 1fe9fe00 lshift3 pdata ,pdata 
+03c5 6808c835 fetcht 1 ,mem_24g_pid 
+03c6 18410403 and temp ,0x03 ,temp 
+03c7 18438400 lshift temp ,temp 
+03c8 9841fe00 ior temp ,pdata 
+03c9 6808c872 fetcht 1 ,mem_24g_no_ack 
+03ca 9840fe00 iadd temp ,pdata 
+03cb e0a08000 istore 1 ,contw 
+03cc 6800c836 fetch 1 ,mem_24g_datalen 
+03cd 98007200 iforce loopcnt 
+03ce d8c047d2 arg mem_24g_txbuf ,contr 
+03cf 20207f01 branch memcpy 
 
 p_g24_ch:
-0395 6808c841 fetcht 1 ,mem_24g_current_ch_number 
-0396 20400399 call p_g24_ch_map_size 
-0397 6008c841 storet 1 ,mem_24g_current_ch_number 
-0398 20600000 rtn 
+03d0 6808c841 fetcht 1 ,mem_24g_current_ch_number 
+03d1 204003d4 call p_g24_ch_map_size 
+03d2 6008c841 storet 1 ,mem_24g_current_ch_number 
+03d3 20600000 rtn 
 
 p_g24_ch_map_size:
-0399 2040039d call p_g24_ch_calc 
-039a 18408401 increase 1 ,temp 
-039b 18410403 and_into 3 ,temp 
-039c 20600000 rtn 
+03d4 204003d8 call p_g24_ch_calc 
+03d5 18408401 increase 1 ,temp 
+03d6 18410403 and_into 3 ,temp 
+03d7 20600000 rtn 
 
 p_g24_ch_calc:
-039d 6800c85e fetch 1 ,mem_24g_addr 
-039e 1fe17e03 and_into 0x03 ,pdata 
-039f 1fefa204 mul32 pdata ,4 ,rega 
-03a0 58004847 setarg mem_24g_ch_map1 
-03a1 9a20fe00 iadd rega ,pdata 
-03a2 98408c00 iadd temp ,contr 
-03a3 e8c08000 ifetch 1 ,contr 
-03a4 6000c840 store 1 ,mem_24g_ch 
-03a5 20600000 rtn 
+03d8 6800c85e fetch 1 ,mem_24g_addr 
+03d9 1fe17e03 and_into 0x03 ,pdata 
+03da 1fefa204 mul32 pdata ,4 ,rega 
+03db 58004847 setarg mem_24g_ch_map1 
+03dc 9a20fe00 iadd rega ,pdata 
+03dd 98408c00 iadd temp ,contr 
+03de e8c08000 ifetch 1 ,contr 
+03df 6000c840 store 1 ,mem_24g_ch 
+03e0 20600000 rtn 
 
 p_g24_prep:
-03a6 7844fc00 disable enable_crc 
-03a7 7843fc00 disable enable_white 
-03a8 58555555 setarg 0x555555 
-03a9 98001e00 iforce crc24_init 
-03aa 6800c840 fetch 1 ,mem_24g_ch 
-03ab 1fed8400 reverse pdata ,temp 
-03ac 79200401 set1 1 ,temp 
-03ad 18431c00 rshift temp ,white_init 
-03ae 20600000 rtn 
+03e1 7844fc00 disable enable_crc 
+03e2 7843fc00 disable enable_white 
+03e3 58555555 setarg 0x555555 
+03e4 98001e00 iforce crc24_init 
+03e5 6800c840 fetch 1 ,mem_24g_ch 
+03e6 1fed8400 reverse pdata ,temp 
+03e7 79200401 set1 1 ,temp 
+03e8 18431c00 rshift temp ,white_init 
+03e9 20600000 rtn 
 
 p_g24_receive_packet:
-03af 204053c4 call le_enable 
-03b0 6802485e fetch 4 ,mem_24g_addr 
-03b1 98001200 iforce access 
-03b2 20402918 call set_sync_on 
-03b3 6808c840 fetcht 1 ,mem_24g_ch 
-03b4 2040291f call set_freq_rx 
-03b5 58000500 setarg param_pll_setup 
-03b6 20402a8f call sleep 
-03b7 20402924 call rf_rx_enable 
+03ea 204053c4 call le_enable 
+03eb 6802485e fetch 4 ,mem_24g_addr 
+03ec 98001200 iforce access 
+03ed 20402918 call set_sync_on 
+03ee 6808c840 fetcht 1 ,mem_24g_ch 
+03ef 2040291f call set_freq_rx 
+03f0 58000500 setarg param_pll_setup 
+03f1 20402a8f call sleep 
+03f2 20402924 call rf_rx_enable 
 
 p_g24_receive_rxon:
-03b8 204003a6 call p_g24_prep 
-03b9 7857fc00 disable user3 
-03ba 7826fc00 enable decode_fec0 
-03bb 7830fc00 enable is_rx 
-03bc 78507c00 disable is_tx 
-03bd 78287c00 enable swfine 
-03be 68014839 fetch 2 ,mem_24g_rx_window 
-03bf 98003600 iforce stop_watch 
-03c0 37c18400 correlate null ,timeout 
-03c1 242c03f4 nbranch p_g24_sync_timeout ,sync 
-03c2 7846fc00 disable decode_fec0 
-03c3 7825fc00 enable decode_fec1 
-03c4 7823fc00 enable enable_white 
-03c5 7824fc00 enable enable_crc 
-03c6 09800008 parse demod ,bucket ,8 
-03c7 19897e00 rshift3 pwindow ,pdata 
-03c8 6000c8ea store 1 ,mem_24g_get_syncword_crc8 
-03c9 6808c8e9 fetcht 1 ,mem_24g_syncword_crc8 
-03ca 98467c00 isub temp ,null 
-03cb 242283f1 nbranch p_g24_end_of_packet ,zero 
-03cc 09800008 parse demod ,bucket ,8 
-03cd 19897e00 rshift3 pwindow ,pdata 
-03ce 6000c7b0 store 1 ,mem_24g_rxbuf 
-03cf 6800c87c fetch 1 ,mem_24g_mode 
-03d0 1fe67c02 sub pdata ,rx_24g ,null 
-03d1 202283d6 branch p_g24_receive_skip ,zero 
-03d2 6800c7b0 fetch 1 ,mem_24g_rxbuf 
-03d3 6808c837 fetcht 1 ,mem_24g_data_type 
-03d4 a8400e00 icompare bits_data ,temp 
-03d5 242083f1 nbranch p_g24_end_of_packet ,true 
+03f3 204003e1 call p_g24_prep 
+03f4 7857fc00 disable user3 
+03f5 7826fc00 enable decode_fec0 
+03f6 7830fc00 enable is_rx 
+03f7 78507c00 disable is_tx 
+03f8 78287c00 enable swfine 
+03f9 68014839 fetch 2 ,mem_24g_rx_window 
+03fa 98003600 iforce stop_watch 
+03fb 37c18400 correlate null ,timeout 
+03fc 242c042f nbranch p_g24_sync_timeout ,sync 
+03fd 7846fc00 disable decode_fec0 
+03fe 7825fc00 enable decode_fec1 
+03ff 7823fc00 enable enable_white 
+0400 7824fc00 enable enable_crc 
+0401 09800008 parse demod ,bucket ,8 
+0402 19897e00 rshift3 pwindow ,pdata 
+0403 6000c8ea store 1 ,mem_24g_get_syncword_crc8 
+0404 6808c8e9 fetcht 1 ,mem_24g_syncword_crc8 
+0405 98467c00 isub temp ,null 
+0406 2422842c nbranch p_g24_end_of_packet ,zero 
+0407 09800008 parse demod ,bucket ,8 
+0408 19897e00 rshift3 pwindow ,pdata 
+0409 6000c7b0 store 1 ,mem_24g_rxbuf 
+040a 6800c87c fetch 1 ,mem_24g_mode 
+040b 1fe67c02 sub pdata ,rx_24g ,null 
+040c 20228411 branch p_g24_receive_skip ,zero 
+040d 6800c7b0 fetch 1 ,mem_24g_rxbuf 
+040e 6808c837 fetcht 1 ,mem_24g_data_type 
+040f a8400e00 icompare bits_data ,temp 
+0410 2420842c nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-03d6 09800008 parse demod ,bucket ,8 
-03d7 19897e00 rshift3 pwindow ,pdata 
-03d8 e0a08000 istore 1 ,contw 
-03d9 1fe97e00 rshift3 pdata ,pdata 
-03da 1fe1721f and pdata ,0x1f ,loopcnt 
-03db 202283e0 branch p_g24rx_nopayload ,zero 
+0411 09800008 parse demod ,bucket ,8 
+0412 19897e00 rshift3 pwindow ,pdata 
+0413 e0a08000 istore 1 ,contw 
+0414 1fe97e00 rshift3 pdata ,pdata 
+0415 1fe1721f and pdata ,0x1f ,loopcnt 
+0416 2022841b branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-03dc 09800008 parse demod ,bucket ,8 
-03dd 19897e00 rshift3 pwindow ,pdata 
-03de e0a08000 istore 1 ,contw 
-03df c20003dc loop p_g24rx_loop 
+0417 09800008 parse demod ,bucket ,8 
+0418 19897e00 rshift3 pwindow ,pdata 
+0419 e0a08000 istore 1 ,contw 
+041a c2000417 loop p_g24rx_loop 
 
 p_g24rx_nopayload:
-03e0 09800018 parse demod ,bucket ,24 
-03e1 78287c00 enable swfine 
-03e2 db600664 arg param_sifs ,stop_watch 
-03e3 1fef7e00 rshift32 pdata ,pdata 
-03e4 1ff17e00 rshift16 pdata ,pdata 
-03e5 e0a18000 istore 3 ,contw 
-03e6 7845fc00 disable decode_fec1 
-03e7 204029bb call save_rssi 
-03e8 202303f1 branch p_g24_end_of_packet ,crc_failed 
-03e9 7837fc00 enable user3 
-03ea 68008017 fetch 1 ,mem_last_freq 
-03eb 1fe0a200 add pdata ,0 ,rega 
-03ec 20402981 call rf_write_freq 
-03ed 7846fc00 disable decode_fec0 
-03ee 20402918 call set_sync_on 
-03ef 20600000 rtn 
-03f0 20600000 rtn 
+041b 09800018 parse demod ,bucket ,24 
+041c 78287c00 enable swfine 
+041d db600664 arg param_sifs ,stop_watch 
+041e 1fef7e00 rshift32 pdata ,pdata 
+041f 1ff17e00 rshift16 pdata ,pdata 
+0420 e0a18000 istore 3 ,contw 
+0421 7845fc00 disable decode_fec1 
+0422 204029bb call save_rssi 
+0423 2023042c branch p_g24_end_of_packet ,crc_failed 
+0424 7837fc00 enable user3 
+0425 68008017 fetch 1 ,mem_last_freq 
+0426 1fe0a200 add pdata ,0 ,rega 
+0427 20402981 call rf_write_freq 
+0428 7846fc00 disable decode_fec0 
+0429 20402918 call set_sync_on 
+042a 20600000 rtn 
+042b 20600000 rtn 
 
 p_g24_end_of_packet:
-03f1 784dfc00 disable encode_fec1 
-03f2 7845fc00 disable decode_fec1 
-03f3 2020264d branch end_of_packet 
+042c 784dfc00 disable encode_fec1 
+042d 7845fc00 disable decode_fec1 
+042e 2020264d branch end_of_packet 
 
 p_g24_sync_timeout:
-03f4 20400362 call p_rssi_noise 
-03f5 202003f1 branch p_g24_end_of_packet 
+042f 2040039d call p_rssi_noise 
+0430 2020042c branch p_g24_end_of_packet 
 
 p_g24_set_freq_tx:
-03f6 20402918 call set_sync_on 
-03f7 6808c840 fetcht 1 ,mem_24g_ch 
-03f8 20202933 branch set_freq_tx 
+0431 20402918 call set_sync_on 
+0432 6808c840 fetcht 1 ,mem_24g_ch 
+0433 20202933 branch set_freq_tx 
 
 p_g24_transmit:
-03f9 204053c4 call le_enable 
-03fa 6802485e fetch 4 ,mem_24g_addr 
-03fb 98001200 iforce access 
-03fc 204003a6 call p_g24_prep 
-03fd 204003f6 call p_g24_set_freq_tx 
-03fe 79202a00 set1 txgfsk ,radio_ctrl 
-03ff 782efc00 enable encode_fec0 
-0400 78307c00 enable is_tx 
-0401 7850fc00 disable is_rx 
-0402 19317e00 rshift16 access ,pdata 
-0403 1fecfe00 rshift8 pdata ,pdata 
-0404 1ff1fe00 rshift4 pdata ,pdata 
-0405 08008628 inject mod ,40 
-0406 784efc00 disable encode_fec0 
-0407 782dfc00 enable encode_fec1 
-0408 7823fc00 enable enable_white 
-0409 7824fc00 enable enable_crc 
-040a 6800c8e9 fetch 1 ,mem_24g_syncword_crc8 
-040b 08008608 inject mod ,8 
-040c 6800c838 fetch 1 ,mem_24g_txlen 
-040d 98007200 iforce loopcnt 
-040e d8c047f2 arg mem_24g_txpayload ,contr 
+0434 204053c4 call le_enable 
+0435 6802485e fetch 4 ,mem_24g_addr 
+0436 98001200 iforce access 
+0437 204003e1 call p_g24_prep 
+0438 20400431 call p_g24_set_freq_tx 
+0439 79202a00 set1 txgfsk ,radio_ctrl 
+043a 782efc00 enable encode_fec0 
+043b 78307c00 enable is_tx 
+043c 7850fc00 disable is_rx 
+043d 19317e00 rshift16 access ,pdata 
+043e 1fecfe00 rshift8 pdata ,pdata 
+043f 1ff1fe00 rshift4 pdata ,pdata 
+0440 08008628 inject mod ,40 
+0441 784efc00 disable encode_fec0 
+0442 782dfc00 enable encode_fec1 
+0443 7823fc00 enable enable_white 
+0444 7824fc00 enable enable_crc 
+0445 6800c8e9 fetch 1 ,mem_24g_syncword_crc8 
+0446 08008608 inject mod ,8 
+0447 6800c838 fetch 1 ,mem_24g_txlen 
+0448 98007200 iforce loopcnt 
+0449 d8c047f2 arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-040f e8c08000 ifetch 1 ,contr 
-0410 08008608 inject mod ,8 
-0411 c200040f loop p_g24tr_loop 
-0412 6800c8ee fetch 1 ,mem_rssi_hex 
-0413 08008608 inject mod ,8 
-0414 78247c00 enable enable_parity 
-0415 08008618 inject mod ,24 
-0416 78447c00 disable enable_parity 
-0417 37d38200 until null ,tx_clear 
-0418 20000064 nop 100 
-0419 784efc00 disable encode_fec0 
-041a 784dfc00 disable encode_fec1 
-041b 20600000 rtn 
+044a e8c08000 ifetch 1 ,contr 
+044b 08008608 inject mod ,8 
+044c c200044a loop p_g24tr_loop 
+044d 6800c8ee fetch 1 ,mem_rssi_hex 
+044e 08008608 inject mod ,8 
+044f 78247c00 enable enable_parity 
+0450 08008618 inject mod ,24 
+0451 78447c00 disable enable_parity 
+0452 37d38200 until null ,tx_clear 
+0453 20000064 nop 100 
+0454 784efc00 disable encode_fec0 
+0455 784dfc00 disable encode_fec1 
+0456 20600000 rtn 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/USB/dongle/program/patch.prog	(revision 2052)
+++ /branch/USB/dongle/program/patch.prog	(working copy)
@@ -11,6 +11,7 @@
 	beq patch18_4,p_app_init
 	beq patch1e_7,p_usb_init
 	beq patch1f_0,p_usb_status1
+	beq patch1f_4,p_usb_tx
 endif
 	branch loop
 pf_patch_ext:
@@ -58,9 +59,48 @@
 	store 2,mem_hidreportdesc_m
 	//confdesc
 	jam 0x1a,mem_confdesc+26//hid_descriptor--keyboard length
-	jam 0xa9,mem_confdesc+51//hid_descriptor--mouse length
+	jam 0xa3,mem_confdesc+51//hid_descriptor--mouse length
 	rtn
 
+
+p_usb_tx:
+	fetch 1,mem_usb_tx_enable
+	rtn blank
+	fetch 1,mem_usb_tx_wait
+	nbranch usb_inwake_state_tx_dispose,blank
+	fetch 1,mem_usb_device_enumeration_endflag
+	branch usb_tx_fifo_release,blank
+	fetch 1,mem_usb_state
+	beq USB_SLEEP,usb_windows_wakeup
+	bne USB_CONNECTED,usb_tx_fifo_release
+	fetch 1,mem_usb_clear_remote_wakeup
+	nbranch usb_tx_fifo_release,blank
+	call usb_tx_data_ep1
+	branch p_usb_tx_data_ep2
+
+
+p_usb_tx_data_ep2:
+	fetch 1,mem_usb_tx_enable
+	rtnbit0 2
+	fetch 1,mem_usb_tx_wait
+	rtnbit1 2
+	fetch 1,mem_usb_tx_enable
+	set0 2,pdata
+	store 1,mem_usb_tx_enable
+	fetch 1,mem_usb_ep2_data
+	rtn blank
+	beq USB_EP2_MS,usb_tx_ms_data
+	beq USB_EP2_MULTIKEY,usb_tx_kb_multikey_data
+	beq USB_EP2_SYSTEMKEY,p_usb_tx_kb_systemkey_data
+	branch assert
+
+p_usb_tx_kb_systemkey_data:
+	jam 0,mem_usb_ep2_data
+	arg 2,loopcnt
+	arg mem_usb_kb_system,contr
+	branch usb_tx_ep2
+
+
 p_new_kb_hidreportdesc:
 	setarg mem_hidreportdesc_kb_new_temp
 	store 2,mem_hidreportdesc_kb
@@ -95,13 +135,13 @@
 p_usb_set_report:
 	jam 1,mem_usb0_get_set_report
 	call usb_set_report_resume_judge
-	fetch 1,mem_usb_tx_win_enable
-	ncall p_usb_get_output_data,blank
 	fetch 2,mem_usb_setup_bValue
 	store 2,mem_usb_setup_bValue_temp
 	nop 15000	//delay 1ms
 	hfetch 1,core_usb_ep_len
 	ncall p_usb_set_report_rxdata,blank
+	fetch 1,mem_usb_tx_win_enable
+	ncall p_usb_get_output_data,blank
 	branch usb_set_report+4
 p_usb_set_report_rxdata:
 	copy pdata,loopcnt
@@ -879,7 +919,7 @@
 	rtn
 
 p_g24_kb_led_ackpayload_prep:
-	jam 0,mem_24g_ackpayload_enable
+	//jam 0,mem_24g_ackpayload_enable
 	jam 0,mem_usb_tx_win_enable
 	jam 0x01,mem_24g_datalen
 	arg 0x01,loopcnt
@@ -972,10 +1012,14 @@
 	branch p_g24_data_attemp_kbd_abort,true
 	fetch 1,mem_24g_rxdata_temp+3
 	beq 0,p_g24_data_type2_data1	//normal key
+	beq 2,p_g24_data_type2_data3 	//system key
 	beq 3,p_g24_data_type2_data2	//multikey
 	branch p_g24_rx_interrupt_clear
 
 p_g24_data_type2_data1:
+	fetch 1,mem_24g_rxdata_temp+5
+	call p_g24_kb_led_clear_flag,blank
+	jam 0,mem_24g_rxdata_temp+5
 	arg mem_usb_kb_data,contw
 	call p_g24_data_type2_copy_data1
 	fetch 8,mem_usb_kb_data
@@ -991,6 +1035,10 @@
 	store 8,mem_24g_kb_data_last_data
 	branch p_g24_rx_interrupt_clear
 
+p_g24_kb_led_clear_flag:
+	jam 0,mem_24g_ackpayload_enable
+	rtn
+
 p_g24_data_type2_copy_data1:
 	arg mem_24g_rxdata_temp+4,contr
 	arg 8,loopcnt
@@ -1042,6 +1090,40 @@
 	arg TIMER_NEW_KB_MUL_BLANK,queue
 	branch timer_init
 
+p_g24_data_type2_data3:
+	arg mem_usb_kb_system,contw
+	call p_g24_data_type2_copy_data3
+	fetch 2,mem_usb_kb_system
+	store 2,mem_usb_kb_system_sta_data
+	fetcht 2,mem_usb_kb_system_last_data
+	isub temp,null
+	ncall p_g24_kb_sys_data_into_ep2_fifo,zero
+	fetch 2,mem_usb_kb_system_sta_data
+	store 2,mem_usb_kb_system_last_data
+	branch p_g24_rx_interrupt_clear
+
+p_g24_data_type2_copy_data3:
+	arg mem_24g_rxdata_temp+3,contr
+	arg 2,loopcnt
+	branch memcpy
+
+
+p_g24_kb_sys_enable_blank_data_forcibly:
+	jam 1,mem_24g_kb_mul_blank_data_enable
+	setarg TIMER_NEW_KB_MUL_BLANK_DELAY
+	arg TIMER_NEW_KB_MUL_BLANK,queue
+	branch timer_init
+	
+p_g24_kb_sys_disable_blank_data_forcibly:
+	jam 0,mem_24g_kb_mul_blank_data_enable
+	setarg 0
+	arg TIMER_NEW_KB_MUL_BLANK,queue
+	branch timer_init
+
+p_g24_kb_sys_data_into_ep2_fifo:
+	jam USB_EP2_SYSTEMKEY,mem_usb_ep2_data
+	branch g24_data_type1_usbtx_enable_ep2
+
 	
 p_g24_data_attemp:
 	fetch 1,mem_24g_rxdata_temp+3
Index: sched/usb.dat
===================================================================
--- /branch/USB/dongle/sched/usb.dat	(revision 2052)
+++ /branch/USB/dongle/sched/usb.dat	(working copy)
@@ -3,7 +3,7 @@
 mem_patch11:42
 mem_patch18:10
 mem_patch1e:80
-mem_patch1f:01
+mem_patch1f:11
 
 mem_rf_init_data_new:
 # tx power
@@ -96,7 +96,7 @@
 
 mem_hidreportdesc_m_temp:
 #mouse hid
-a9				# total length
+a3				# total length
 #====================���====75====================================
 05 01	#USAGE_PAGE (Generic Desktop)
 09 02	#USAGE (Mouse)
@@ -143,15 +143,15 @@
 85 02	#Report ID (2)
 05 01	#Usage Page (Generic Desktop),
 19 81	#Usage Minimum (), 
-29 83	#Usage Maximum (),
+29 88	#Usage Maximum (),
 15 00	#Logical Minimum (0),
 25 01	#Logical Maximum (1),
-95 03	#Report Count (3),
+95 08	#Report Count (8),
 75 01	#Report Size (1),
 81 06	#Input (Data,Var,Rel)
-95 01	#Report Count (1),  
-75 05	#Report Size (5),	
-81 01	#Input (Const,Ary,Abs)
+#95 01	#Report Count (1),  
+#75 05	#Report Size (5),	
+#81 01	#Input (Const,Ary,Abs)
 c0		#END_COLLECTION
    
 #===============��ý�尴������=======25========================
