Index: do.bat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/do.bat	(revision 2349)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/do.bat	(working copy)
@@ -86,7 +86,7 @@
 goto contin
 
 :SBmode
-%util_path%/geneep  -n -s
+%util_path%/geneep  -n -s -i
 goto contin
 
 :contin
Index: format/g24_protocol_stack/24g_reconn.format
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/format/g24_protocol_stack/24g_reconn.format	(revision 2349)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/format/g24_protocol_stack/24g_reconn.format	(working copy)
@@ -25,5 +25,6 @@
 2 FAST_CONN_AND_3_0_ADDR
 3 RECEIVER_AND_3_0_ADDR
 4 PAIR_AND_3_0_ADDR
+5 PAIR_AND_RECEIVER
 )
 
Index: output/eeprom.dat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(revision 2388)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(working copy)
@@ -2,172 +2,176 @@
 02
 aa
 55
-2e
-13
+4a
+14
 c2
 84
 00
-2a
+2b
 c0
 00
-02
-ce
+03
+0d
 c0
 01
 00
-39
+3c
 c0
 08
 00
-42
+45
 c0
 08
 80
-44
+47
 c0
 0a
 01
-85
+8c
 c0
 0a
 81
-0d
+26
 c0
 0c
 01
-2d
+4c
 c0
 0c
 81
-34
+53
 c0
 0d
 00
-52
+55
 c0
 12
 82
-50
+83
+c0
+13
+82
+17
 c0
 34
-02
-c9
+03
+08
 c0
 34
-82
-e3
+83
+22
 c0
 35
-02
-df
+03
+1e
 c0
 36
 02
-8d
+cc
 c0
 37
 03
-b1
+fe
 c0
 37
-83
-b7
+84
+04
 c0
 39
 84
-0d
+58
 c0
 3a
 02
-48
+77
 c0
 3d
 04
-8c
+d3
 c0
 3d
 84
-64
+ab
 c0
 3e
 04
-72
+b9
 c0
 3e
 84
-74
+bb
 c0
 3f
-83
-ee
+84
+3a
 c0
 40
 84
-4c
+93
 c0
 42
-02
-f6
+03
+35
 c0
 42
 83
-54
+93
 c0
 43
 02
-1b
+4c
 c0
 43
 83
-32
+71
 c0
 44
 03
-52
+91
 c0
 45
 03
-07
+46
 c0
 45
-82
-e5
+83
+24
 c0
 47
-03
-d8
+04
+22
 c0
 48
 04
-35
+80
 c0
 4a
 84
-04
+4f
 c0
 4b
 04
-1e
+69
 c0
 58
 80
-9d
+b6
 c0
 62
 82
-73
+a7
 c0
 6a
 82
-3a
+6b
 c0
 6b
 02
-33
+64
 c0
 6d
-01
-6e
+00
+7c
 20
 20
 23
@@ -175,55 +179,63 @@
 c0
 0a
 01
-a5
+ac
 c0
 0d
 01
-c4
+cb
+c0
+12
+01
+f0
 c0
 12
 81
-d4
+d3
 c0
 13
 01
-d9
+d8
 c0
 1c
 81
-eb
+ea
 c0
 1d
-01
-f5
+02
+26
 c0
 26
-01
-f1
+02
+22
 c0
 26
 81
-ef
+ee
 c0
 48
 02
-76
+aa
+c0
+49
+02
+c1
 c0
 4b
-03
-f9
+04
+45
 c0
 4d
 01
-1b
+34
 c0
 4e
 81
-22
+41
 c0
 4f
 82
-9a
+d9
 c1
 7f
 80
@@ -267,7 +279,7 @@
 20
 20
 00
-39
+3c
 70
 89
 00
@@ -375,7 +387,7 @@
 20
 40
 00
-e2
+fb
 20
 40
 70
@@ -407,7 +419,7 @@
 c0
 08
 00
-8d
+a6
 6f
 e0
 c4
@@ -451,7 +463,7 @@
 20
 40
 00
-7f
+98
 70
 80
 43
@@ -475,23 +487,111 @@
 20
 40
 01
-41
+5f
 20
 40
 01
-6c
+8a
 20
 40
 00
-7a
+93
 70
 41
 48
 0c
 20
+75
+80
+00
+70
+8a
+07
+77
+70
+8a
+08
+c9
+70
+8a
+0b
+01
+6f
+e0
+c4
+09
+67
+f0
+80
+cd
+20
+00
+0b
+b8
+20
+40
+00
+8c
+70
+8a
+08
+c1
+6a
+40
+c4
+19
+df
 20
+00
+08
+20
+40
 6f
-4e
+58
+6f
+e0
+c4
+19
+67
+e0
+c4
+33
+62
+40
+c4
+19
+20
+60
+00
+00
+70
+80
+cc
+03
+6f
+f0
+81
+29
+c3
+02
+80
+8d
+68
+59
+01
+64
+60
+49
+44
+0a
+70
+80
+cc
+00
+20
+60
+00
+00
 20
 75
 80
@@ -519,7 +619,7 @@
 c0
 0c
 00
-85
+9e
 6f
 e0
 c4
@@ -611,7 +711,7 @@
 20
 20
 00
-6d
+70
 20
 75
 80
@@ -639,11 +739,11 @@
 20
 40
 00
-98
+b1
 24
 55
 80
-a8
+c1
 24
 55
 d5
@@ -699,7 +799,7 @@
 20
 40
 00
-c8
+e1
 20
 40
 55
@@ -723,15 +823,15 @@
 c0
 18
 00
-bd
+d6
 c0
 18
 80
-bd
+d6
 c0
 2c
 00
-bd
+d6
 20
 40
 59
@@ -755,11 +855,11 @@
 c0
 04
 00
-be
+d7
 20
 20
 00
-b0
+c9
 20
 60
 00
@@ -787,19 +887,19 @@
 c0
 00
 00
-cc
+e5
 c0
 00
 80
-d3
+ec
 c0
 01
 00
-d8
+f1
 c0
 01
 80
-dd
+f6
 20
 60
 00
@@ -843,11 +943,11 @@
 20
 40
 00
-c8
+e1
 20
 20
 00
-ae
+c7
 70
 49
 58
@@ -867,7 +967,7 @@
 20
 20
 00
-d0
+e9
 70
 49
 58
@@ -887,7 +987,7 @@
 20
 20
 00
-d0
+e9
 70
 49
 58
@@ -907,11 +1007,11 @@
 20
 20
 00
-d0
+e9
 20
 35
-80
-f4
+81
+0d
 6f
 e2
 02
@@ -1147,11 +1247,15 @@
 20
 40
 01
-1f
+39
+20
+40
+01
+3c
 20
 20
-60
-fc
+36
+62
 6f
 e0
 c6
@@ -1164,6 +1268,26 @@
 20
 5e
 78
+d8
+e0
+00
+0c
+20
+40
+7c
+ef
+24
+7a
+00
+00
+20
+40
+04
+26
+20
+20
+61
+02
 68
 48
 c6
@@ -1179,7 +1303,7 @@
 24
 21
 01
-27
+46
 20
 20
 36
@@ -1203,7 +1327,7 @@
 20
 40
 02
-bf
+fe
 20
 20
 36
@@ -1247,11 +1371,11 @@
 c0
 4f
 01
-3d
+5c
 c0
 55
 01
-39
+58
 20
 20
 22
@@ -1280,14 +1404,10 @@
 25
 03
 00
-67
-f1
-8a
-60
 20
 20
-22
-1a
+01
+5a
 20
 75
 80
@@ -1339,7 +1459,7 @@
 20
 40
 01
-5e
+7c
 2a
 2f
 fe
@@ -1371,7 +1491,7 @@
 20
 40
 01
-5e
+7c
 d8
 a0
 8a
@@ -1399,7 +1519,7 @@
 20
 21
 01
-53
+71
 20
 20
 21
@@ -1468,98 +1588,6 @@
 20
 22
 72
-20
-75
-80
-00
-70
-8a
-07
-77
-70
-8a
-08
-c9
-70
-8a
-0b
-01
-6f
-e0
-c4
-09
-67
-f0
-80
-cd
-20
-00
-0b
-b8
-20
-40
-01
-7e
-70
-8a
-08
-c1
-6a
-40
-c4
-19
-df
-20
-00
-08
-20
-40
-6f
-58
-6f
-e0
-c4
-19
-67
-e0
-c4
-33
-62
-40
-c4
-19
-20
-60
-00
-00
-70
-80
-cc
-03
-6f
-f0
-81
-29
-c3
-02
-81
-7f
-68
-59
-01
-64
-60
-49
-44
-0a
-70
-80
-cc
-00
-20
-60
-00
-00
 70
 8a
 82
@@ -1579,7 +1607,7 @@
 c0
 08
 01
-9e
+a5
 58
 00
 57
@@ -1623,7 +1651,7 @@
 c0
 08
 01
-9b
+a2
 58
 00
 2b
@@ -1659,7 +1687,7 @@
 20
 20
 01
-97
+9e
 58
 00
 83
@@ -1671,7 +1699,7 @@
 20
 20
 01
-8c
+93
 6f
 e0
 cb
@@ -1691,7 +1719,7 @@
 20
 40
 01
-a7
+ae
 20
 20
 25
@@ -1727,7 +1755,7 @@
 24
 41
 01
-a1
+a8
 98
 46
 7e
@@ -1739,7 +1767,7 @@
 20
 21
 01
-b9
+c0
 6f
 e0
 cb
@@ -1751,7 +1779,7 @@
 24
 41
 01
-b7
+be
 70
 4b
 fb
@@ -1827,7 +1855,7 @@
 24
 36
 81
-cb
+d2
 6f
 e0
 cb
@@ -1840,42 +1868,10 @@
 e0
 cb
 f9
-6f
-e0
-81
-68
-c3
-81
-80
-00
-79
 20
-7e
-03
-67
-e0
-81
-68
-6f
-e1
-42
-f5
-67
-e1
-01
-96
-58
-00
-00
-00
-67
-e2
-43
-1d
 20
-60
-00
-00
+25
+9b
 20
 40
 28
@@ -1994,16 +1990,216 @@
 f6
 20
 40
-21
-52
-70
-89
-00
+25
+c2
+c5
+97
+81
+f6
+78
+3c
+fc
 00
-79
-3f
-80
-30
+20
+00
+00
+1e
+20
+40
+25
+c2
+19
+69
+96
+00
+78
+56
+fc
+00
+78
+26
+fc
+00
+78
+30
+fc
+00
+78
+50
+7c
+00
+19
+62
+36
+00
+37
+c1
+84
+00
+20
+37
+01
+ff
+1b
+42
+04
+00
+60
+4b
+00
+0f
+24
+2c
+26
+fa
+78
+28
+7c
+00
+6f
+e0
+c1
+67
+d8
+40
+4e
+20
+98
+40
+84
+00
+6f
+e0
+c1
+48
+98
+4f
+b6
+00
+20
+40
+68
+77
+20
+37
+26
+77
+20
+40
+02
+0d
+6f
+e0
+81
+68
+c3
+01
+a6
+77
+20
+55
+a4
+77
+20
+20
+26
+77
+68
+4b
+00
+0f
+1b
+42
+7e
+00
+20
+40
+7d
+12
+1f
+e2
+04
+00
+20
+40
+26
+ff
+1b
+42
+56
+00
+1d
+22
+7e
+00
+98
+40
+fe
+00
+1f
+e2
+52
+00
+20
+60
+00
+00
+c5
+84
+a4
+89
+68
+4a
+40
+ad
+df
+e0
+06
+00
+98
+46
+7c
+00
+20
+61
+00
+00
+18
+42
+22
+00
+68
+4b
+00
+0f
+1d
+62
+7e
+00
+20
+40
+7d
+10
+1a
+22
+04
+00
+20
+20
+24
+7d
+20
+40
+21
+52
+70
+89
+00
+00
+79
+3f
+80
+30
 20
 20
 2a
@@ -2014,8 +2210,8 @@
 06
 c0
 02
-01
-f8
+02
+29
 20
 20
 28
@@ -2030,12 +2226,12 @@
 97
 c0
 05
-01
-fd
+02
+2e
 c0
 09
 02
-0c
+3d
 20
 20
 2b
@@ -2063,7 +2259,7 @@
 c2
 81
 82
-07
+38
 6f
 e1
 43
@@ -2091,11 +2287,11 @@
 24
 22
 82
-03
+34
 24
 34
 02
-03
+34
 20
 20
 2d
@@ -2175,7 +2371,7 @@
 c0
 7f
 82
-26
+57
 6f
 e0
 c8
@@ -2251,7 +2447,7 @@
 20
 40
 04
-2a
+75
 20
 20
 5b
@@ -2299,7 +2495,7 @@
 20
 20
 82
-40
+71
 d9
 00
 00
@@ -2332,22 +2528,30 @@
 20
 23
 e2
-58
-00
-00
-80
-20
-20
-02
-44
 20
 40
-03
-ff
+04
+4b
 70
 4b
 1d
 00
+68
+48
+c6
+54
+20
+40
+6e
+f7
+68
+48
+c6
+54
+20
+40
+6e
+d3
 20
 40
 55
@@ -2387,11 +2591,11 @@
 20
 40
 02
-5b
+8f
 20
 40
 02
-56
+89
 20
 20
 24
@@ -2411,11 +2615,15 @@
 20
 3a
 02
-43
-20
+74
+58
+00
+00
+80
+20
 20
 02
-46
+75
 60
 04
 40
@@ -2483,7 +2691,7 @@
 20
 22
 82
-6e
+a2
 e7
 e0
 80
@@ -2503,7 +2711,7 @@
 c2
 00
 02
-68
+9c
 1a
 42
 04
@@ -2539,7 +2747,7 @@
 20
 3a
 02
-7e
+b2
 6f
 e1
 45
@@ -2583,7 +2791,7 @@
 20
 3a
 02
-93
+d2
 6f
 e2
 45
@@ -2599,7 +2807,7 @@
 20
 22
 82
-8a
+be
 20
 20
 35
@@ -2616,6 +2824,50 @@
 20
 35
 49
+6f
+e0
+c5
+e3
+20
+3a
+32
+22
+6f
+e1
+45
+e0
+1f
+e0
+fe
+01
+67
+e1
+45
+e0
+2f
+ef
+fe
+09
+6f
+e0
+c5
+e2
+c0
+02
+82
+ca
+20
+20
+35
+8d
+20
+20
+b5
+49
+20
+20
+32
+9c
 20
 40
 54
@@ -2655,7 +2907,7 @@
 20
 22
 82
-85
+b9
 6f
 e2
 45
@@ -2667,7 +2919,7 @@
 20
 20
 02
-85
+b9
 6f
 e0
 c4
@@ -2703,7 +2955,7 @@
 c5
 13
 02
-a4
+e3
 6f
 e0
 c6
@@ -2715,7 +2967,7 @@
 24
 21
 02
-be
+fd
 6f
 e0
 c6
@@ -2727,7 +2979,7 @@
 24
 21
 02
-ac
+eb
 6f
 e0
 c6
@@ -2735,7 +2987,7 @@
 c0
 00
 02
-bf
+fe
 20
 60
 00
@@ -2771,7 +3023,7 @@
 c5
 13
 02
-b5
+f4
 6f
 e0
 c6
@@ -2802,8 +3054,8 @@
 25
 c0
 01
-02
-c7
+03
+06
 c0
 00
 b7
@@ -2822,8 +3074,8 @@
 25
 c0
 01
-82
-c5
+83
+04
 1f
 e0
 fe
@@ -2838,8 +3090,8 @@
 0b
 c0
 01
-02
-c7
+03
+06
 70
 41
 41
@@ -2893,13 +3145,17 @@
 00
 00
 20
-40
-02
-d4
+55
+83
+13
 20
 20
 20
 03
+20
+40
+04
+4b
 68
 48
 c6
@@ -2927,11 +3183,7 @@
 20
 40
 02
-64
-20
-75
-80
-00
+98
 6f
 e0
 c6
@@ -2943,7 +3195,7 @@
 20
 20
 02
-43
+74
 6f
 e4
 47
@@ -2962,16 +3214,16 @@
 2c
 20
 40
-03
-d2
+04
+1f
 20
 40
 5d
 60
 20
 40
-02
-ef
+03
+2e
 6f
 e1
 46
@@ -2986,8 +3238,8 @@
 00
 20
 22
-82
-f4
+83
+33
 60
 49
 46
@@ -3030,16 +3282,16 @@
 00
 20
 40
-02
-f8
+03
+37
 20
 20
 5c
 90
 20
 40
-02
-f8
+03
+37
 20
 20
 5a
@@ -3054,12 +3306,12 @@
 00
 c0
 00
-82
-fd
+83
+3c
 c0
 01
 03
-02
+41
 20
 60
 00
@@ -3123,11 +3375,11 @@
 20
 40
 03
-0e
+4d
 20
 40
 03
-1c
+5b
 20
 20
 5c
@@ -3183,7 +3435,7 @@
 c2
 00
 03
-16
+55
 20
 60
 00
@@ -3227,11 +3479,11 @@
 c0
 00
 83
-28
+67
 c0
 01
 03
-2d
+6c
 20
 60
 00
@@ -3279,7 +3531,7 @@
 20
 40
 03
-48
+87
 20
 40
 61
@@ -3351,7 +3603,7 @@
 20
 40
 03
-4b
+8a
 20
 40
 56
@@ -3383,7 +3635,7 @@
 da
 40
 03
-4e
+8d
 20
 20
 42
@@ -3419,31 +3671,31 @@
 c0
 20
 03
-69
+a8
 c0
 0a
 83
-6e
+ad
 c0
 19
 03
-60
+9f
 c0
 1e
 03
-8c
+ca
 c0
 1c
 83
-9d
+da
 c0
 1d
 03
-a0
+df
 c0
 0a
 03
-5d
+9c
 20
 20
 5a
@@ -3467,7 +3719,7 @@
 c0
 00
 83
-64
+a3
 70
 48
 44
@@ -3475,7 +3727,7 @@
 20
 20
 03
-66
+a5
 20
 40
 5a
@@ -3551,7 +3803,7 @@
 c2
 8d
 83
-78
+b7
 d8
 40
 00
@@ -3577,10 +3829,6 @@
 29
 cb
 20
-20
-03
-7e
-20
 40
 5b
 7b
@@ -3591,7 +3839,7 @@
 c2
 83
 83
-83
+c1
 c2
 80
 42
@@ -3694,36 +3942,36 @@
 00
 20
 40
-60
-16
-20
-40
 03
-d5
+dc
 20
 20
 60
 42
 20
 40
-60
-16
-20
-40
 03
-d5
+dc
 20
 20
 60
 84
+6f
+e0
+ca
+07
+67
+e0
+c1
+41
+20
 20
-40
 60
 16
 20
 40
 03
-d5
+dc
 6f
 e0
 c8
@@ -3746,12 +3994,16 @@
 e2
 c0
 02
-03
-aa
+83
+f1
 c0
 00
-e0
-5f
+83
+e9
+c0
+01
+83
+f8
 20
 20
 60
@@ -3760,6 +4012,38 @@
 e4
 47
 13
+c2
+9f
+03
+ed
+c2
+98
+03
+ed
+20
+20
+60
+62
+6f
+e1
+45
+d6
+67
+e1
+45
+de
+70
+45
+e2
+05
+20
+20
+35
+34
+6f
+e4
+47
+13
 c3
 1f
 60
@@ -3788,18 +4072,42 @@
 e4
 47
 13
+c3
+1f
+60
+59
 c2
-9f
-03
-bf
-6f
+89
 e0
-c6
-66
-c0
-00
-03
-ca
+59
+c2
+8a
+60
+59
+c2
+89
+60
+59
+20
+20
+03
+ed
+6f
+e4
+47
+13
+c2
+9f
+04
+0c
+6f
+e0
+c6
+66
+c0
+00
+04
+17
 20
 40
 61
@@ -3846,8 +4154,8 @@
 ac
 20
 34
-03
-c6
+04
+13
 70
 46
 66
@@ -3883,7 +4191,7 @@
 20
 20
 03
-ae
+f5
 6f
 e4
 47
@@ -3910,8 +4218,8 @@
 13
 c2
 98
-03
-c1
+04
+0e
 20
 20
 60
@@ -3928,18 +4236,6 @@
 60
 00
 00
-6f
-e0
-ca
-07
-67
-e0
-c1
-41
-20
-60
-00
-00
 20
 40
 62
@@ -3950,13 +4246,21 @@
 aa
 20
 40
-03
-dc
+04
+28
 20
 20
 5e
 61
 6f
+e4
+47
+13
+c4
+14
+00
+00
+6f
 e0
 c6
 49
@@ -3978,8 +4282,8 @@
 49
 20
 40
-03
-e3
+04
+2f
 20
 20
 56
@@ -4006,8 +4310,8 @@
 54
 c0
 7f
-83
-ea
+84
+36
 20
 20
 56
@@ -4026,8 +4330,8 @@
 49
 20
 20
-03
-ee
+04
+3a
 1a
 62
 7e
@@ -4086,8 +4390,8 @@
 be
 20
 40
-03
-ff
+04
+4b
 6f
 e1
 c6
@@ -4104,10 +4408,6 @@
 e4
 00
 16
-58
-00
-00
-00
 67
 e2
 00
@@ -4158,8 +4458,8 @@
 92
 20
 40
-03
-ff
+04
+4b
 20
 40
 56
@@ -4215,7 +4515,7 @@
 20
 40
 02
-48
+77
 20
 20
 54
@@ -4243,7 +4543,7 @@
 24
 5a
 04
-33
+7e
 6f
 e4
 47
@@ -4251,7 +4551,7 @@
 c3
 0b
 04
-28
+73
 6f
 e0
 c9
@@ -4263,7 +4563,7 @@
 20
 40
 04
-2a
+75
 20
 20
 60
@@ -4306,12 +4606,12 @@
 73
 20
 40
-03
-ff
+04
+4b
 20
 20
 02
-64
+98
 6f
 e4
 47
@@ -4323,19 +4623,15 @@
 c3
 1f
 84
-45
-68
-48
-c6
-5a
+8d
 20
 40
-6e
-f7
+04
+8f
 20
 40
 04
-3f
+89
 68
 48
 c6
@@ -4358,14 +4654,6 @@
 5a
 20
 40
-55
-b1
-68
-48
-c6
-5a
-20
-40
 6e
 e6
 24
@@ -4376,18 +4664,14 @@
 20
 5e
 be
-68
-48
-c6
-5a
 20
 40
-6e
-f3
+04
+85
 20
 40
 5e
-b9
+bb
 68
 48
 c6
@@ -4411,7 +4695,7 @@
 c0
 18
 04
-59
+a0
 c0
 18
 d9
@@ -4419,7 +4703,7 @@
 c0
 2c
 04
-51
+98
 20
 20
 59
@@ -4435,11 +4719,11 @@
 c0
 2b
 84
-5d
+a4
 c0
 2c
 84
-56
+9d
 20
 20
 59
@@ -4467,7 +4751,7 @@
 c0
 60
 04
-60
+a7
 20
 20
 59
@@ -4515,7 +4799,7 @@
 c0
 06
 84
-69
+b0
 20
 20
 56
@@ -4559,7 +4843,7 @@
 20
 40
 04
-6e
+b5
 20
 40
 61
@@ -4575,7 +4859,7 @@
 c0
 06
 04
-78
+bf
 20
 20
 57
@@ -4615,7 +4899,7 @@
 c0
 05
 84
-82
+c9
 20
 20
 59
@@ -4631,7 +4915,7 @@
 c0
 7f
 84
-88
+cf
 68
 48
 c6
@@ -4675,7 +4959,7 @@
 20
 40
 04
-7d
+c4
 58
 00
 00
@@ -4699,7 +4983,7 @@
 20
 40
 04
-97
+de
 20
 20
 56
@@ -4731,7 +5015,7 @@
 20
 40
 04
-9f
+e6
 20
 20
 57
@@ -4767,7 +5051,7 @@
 20
 22
 84
-b1
+f8
 6f
 e0
 c6
@@ -4779,7 +5063,7 @@
 20
 22
 84
-b7
+fe
 68
 48
 c6
@@ -4794,16 +5078,16 @@
 00
 20
 22
-84
-c0
+85
+07
 20
 40
 57
 fb
 20
 40
-04
-c5
+05
+0c
 20
 20
 57
@@ -4830,8 +5114,8 @@
 ef
 20
 20
-04
-c1
+05
+08
 68
 48
 c6
@@ -4846,36 +5130,36 @@
 00
 20
 22
-84
-bd
+85
+04
 20
 40
-04
-c7
+05
+0e
 20
 20
 04
-af
+f6
 20
 40
-04
-c7
+05
+0e
 20
 40
-04
-c3
+05
+0a
 20
 20
 57
 e5
 20
 40
-04
-c3
+05
+0a
 20
 40
-04
-c9
+05
+10
 20
 20
 57
@@ -4912,8 +5196,8 @@
 20
 57
 ff
-18
-de
+dd
+7e
 aa
 55
 40
@@ -4924,7 +5208,7 @@
 00
 33
 07
-20
+a0
 00
 00
 00
@@ -4956,7 +5240,7 @@
 00
 10
 04
-60
+70
 00
 00
 06
@@ -4970,7 +5254,7 @@
 00
 00
 00
-41
+45
 a4
 00
 00
@@ -5898,553 +6182,269 @@
 d6
 48
 09
-5a
-ff
-27
-ab
-40
-be
-d1
-a0
-41
-a1
-12
-a7
-ff
-b6
-00
-b5
-c8
-a5
-af
-ff
-00
-09
-00
-ff
-ff
-aa
-55
-2e
-00
-fc
-48
-09
-5a
-0d
-10
-0e
-c5
-5b
-9a
-10
-38
-11
-42
-28
-28
-41
-23
-49
-39
-4a
-b0
-4b
-a0
-4c
-90
-4d
-70
-09
-00
-ff
-ff
-09
-5a
-06
-02
-09
-69
-0d
-48
-0e
-9f
-0f
-ba
-09
-00
-ff
-ff
-aa
-55
-01
-00
-07
-44
-01
-aa
-55
-01
-00
-09
-44
-0a
-aa
-55
-01
-00
-08
-44
-00
-aa
-55
-01
-00
-48
-41
-0c
-aa
-55
-06
-00
-c3
-40
-35
-3f
-64
-db
-7b
-3b
-aa
-55
-01
-00
-a7
-40
-20
-aa
-55
-03
-00
-c9
-40
-00
-08
-b4
-aa
-55
-01
-00
-99
-40
-18
-aa
-55
-01
-00
-1c
-41
-3e
-aa
-55
-0c
-00
-16
-00
-00
-00
-20
-00
-00
-00
-00
-00
-00
-00
-00
-00
-aa
-55
-05
-00
-5e
-41
-08
-0e
-05
-03
-00
-aa
-55
-01
-00
-68
-41
-20
-aa
-55
-02
-00
-9a
-40
-00
-0c
-aa
-55
-05
-00
-43
-41
-ff
-04
-00
-00
-08
-aa
-55
-01
-00
-1c
-02
-5a
-aa
-55
-01
-00
-38
-44
-a0
-aa
-55
-02
-00
-3b
-44
-bc
-02
-aa
-55
-02
-00
-39
-44
-90
-01
-aa
-55
-02
-00
-3d
-44
-03
-09
-aa
-55
-01
-00
-49
-41
-ff
-aa
-55
-02
-00
-9c
-40
-49
-41
-55
-aa
-aa
-55
-cd
-60
-10
-22
-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
-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
+5a
 ff
+27
+ab
+40
+be
+d1
+a0
+41
+a1
+12
+a7
 ff
+b6
+00
+b5
+c8
+a5
+af
 ff
+00
+09
+00
 ff
 ff
+aa
+55
+2e
+00
+fc
+48
+09
+5a
+0d
+10
+0e
+c5
+5b
+9a
+10
+38
+11
+42
+28
+28
+41
+23
+49
+39
+4a
+b0
+4b
+a0
+4c
+90
+4d
+70
+09
+00
 ff
 ff
+09
+5a
+06
+02
+09
+69
+0d
+48
+0e
+9f
+0f
+ba
+09
+00
 ff
 ff
+aa
+55
+01
+00
+07
+44
+01
+aa
+55
+01
+00
+09
+44
+0a
+aa
+55
+01
+00
+08
+44
+00
+aa
+55
+01
+00
+48
+41
+0c
+aa
+55
+06
+00
+c3
+40
+35
+3f
+64
+db
+7b
+3b
+aa
+55
+01
+00
+a7
+40
+20
+aa
+55
+03
+00
+c9
+40
+00
+08
+b4
+aa
+55
+01
+00
+99
+40
+18
+aa
+55
+01
+00
+1c
+41
+3e
+aa
+55
+0c
+00
+16
+00
+00
+00
+20
+00
+00
+00
+00
+00
+00
+00
+00
+00
+aa
+55
+05
+00
+5e
+41
+08
+0e
+05
+03
+00
+aa
+55
+01
+00
+68
+41
+20
+aa
+55
+02
+00
+9a
+40
+00
+0c
+aa
+55
+05
+00
+43
+41
 ff
+04
+00
+00
+08
+aa
+55
+01
+00
+1c
+02
+5a
+aa
+55
+01
+00
+38
+44
+a0
+aa
+55
+02
+00
+3b
+44
+bc
+02
+aa
+55
+02
+00
+39
+44
+90
+01
+aa
+55
+02
+00
+3d
+44
+03
+09
+aa
+55
+01
+00
+49
+41
 ff
+aa
+55
+02
+00
+9c
+40
+49
+41
+55
+aa
+aa
+55
+61
+61
+91
+99
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-3e
-40
+c0
+7b
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(revision 2388)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(working copy)
@@ -1,1624 +1,1725 @@
               include "bt_format "
               org 0x0000
-0000 c284002a bbit1 8 ,pf_patch_ext 
-0001 c00002ce beq patch00_0 ,p_soft_reset 
-0002 c0010039 beq patch00_2 ,p_main_loop 
-0003 c0080042 beq patch02_0 ,p_shutdown_radio 
-0004 c0088044 beq patch02_1 ,p_set_sync_on 
-0005 c00a0185 beq patch02_4 ,p_set_lemode 
-0006 c00a810d beq patch02_5 ,p_rf_rx_enable 
-0007 c00c012d beq patch03_0 ,p_txon 
-0008 c00c8134 beq patch03_1 ,p_set_tx_power 
-0009 c00d0052 beq patch03_2 ,p_initialize_radio_cont 
-000a c0128250 beq patch04_5 ,p_lpm_sleep 
-000b c03402c9 beq patch0d_0 ,p_mouse_cb_fuction 
-000c c03482e3 beq patch0d_1 ,p_mouse_load_device_info_check 
-000d c03502df beq patch0d_2 ,p_mouse_default_init 
-000e c036028d beq patch0d_4 ,p_mouse_param_init 
-000f c03703b1 beq patch0d_6 ,p_mouse_start_work 
-0010 c03783b7 beq patch0d_7 ,p_mouse_start_reconnect_device 
-0011 c039840d beq patch0e_3 ,p_mouse_setgpio_hibernate 
-0012 c03a0248 beq patch0e_4 ,p_mouse_lpm_before_common 
-0013 c03d048c beq patch0f_2 ,p_mouse_motion 
-0014 c03d8464 beq patch0f_3 ,p_mouse_dpi_process 
-0015 c03e0472 beq patch0f_4 ,p_mouse_setting_dpi 
-0016 c03e8474 beq patch0f_5 ,p_mouse_setting_sensor_type 
-0017 c03f83ee beq patch0f_7 ,p_mouse_3io6key_check 
-0018 c040844c beq patch10_1 ,p_mouse_init_sensor 
-0019 c04202f6 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-001a c0428354 beq patch10_5 ,p_mouse_priority_bb_event 
-001b c043021b beq patch10_6 ,p_mouse_le 
-001c c0438332 beq patch10_7 ,p_mouse_bb_event_timer 
-001d c0440352 beq patch11_0 ,p_mouse_start_discovery 
-001e c0450307 beq patch11_2 ,p_mouse_store_remote_bdaddr 
-001f c04582e5 beq patch11_3 ,p_mouse_app_initflag_check 
-0020 c04703d8 beq patch11_6 ,p_mouse_idle 
-0021 c0480435 beq patch12_0 ,p_mouse_check_select_device_by_switch 
-0022 c04a8404 beq patch12_5 ,p_mouse_24g_hibernate_set 
-0023 c04b041e beq patch12_6 ,p_mouse_24g_package_data 
-0024 c058809d beq patch16_1 ,p_app_init 
-0025 c0628273 beq patch18_5 ,p_otp_read_data 
-0026 c06a823a beq patch1a_5 ,p_gpio_set_wake_by_current_state 
-0027 c06b0233 beq patch1a_6 ,p_gpio_set_wake 
-0028 c06d016e beq patch1b_2 ,p_sadc_calibration 
-0029 2020235a branch assert 
+0000 c284002b bbit1 8 ,pf_patch_ext 
+0001 c000030d beq patch00_0 ,p_soft_reset 
+0002 c001003c beq patch00_2 ,p_main_loop 
+0003 c0080045 beq patch02_0 ,p_shutdown_radio 
+0004 c0088047 beq patch02_1 ,p_set_sync_on 
+0005 c00a018c beq patch02_4 ,p_set_lemode 
+0006 c00a8126 beq patch02_5 ,p_rf_rx_enable 
+0007 c00c014c beq patch03_0 ,p_txon 
+0008 c00c8153 beq patch03_1 ,p_set_tx_power 
+0009 c00d0055 beq patch03_2 ,p_initialize_radio_cont 
+000a c0128283 beq patch04_5 ,p_lpm_sleep 
+000b c0138217 beq patch04_7 ,p_lpm_adjust_clk 
+000c c0340308 beq patch0d_0 ,p_mouse_cb_fuction 
+000d c0348322 beq patch0d_1 ,p_mouse_load_device_info_check 
+000e c035031e beq patch0d_2 ,p_mouse_default_init 
+000f c03602cc beq patch0d_4 ,p_mouse_param_init 
+0010 c03703fe beq patch0d_6 ,p_mouse_start_work 
+0011 c0378404 beq patch0d_7 ,p_mouse_start_reconnect_device 
+0012 c0398458 beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0013 c03a0277 beq patch0e_4 ,p_mouse_lpm_before_common 
+0014 c03d04d3 beq patch0f_2 ,p_mouse_motion 
+0015 c03d84ab beq patch0f_3 ,p_mouse_dpi_process 
+0016 c03e04b9 beq patch0f_4 ,p_mouse_setting_dpi 
+0017 c03e84bb beq patch0f_5 ,p_mouse_setting_sensor_type 
+0018 c03f843a beq patch0f_7 ,p_mouse_3io6key_check 
+0019 c0408493 beq patch10_1 ,p_mouse_init_sensor 
+001a c0420335 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+001b c0428393 beq patch10_5 ,p_mouse_priority_bb_event 
+001c c043024c beq patch10_6 ,p_mouse_le 
+001d c0438371 beq patch10_7 ,p_mouse_bb_event_timer 
+001e c0440391 beq patch11_0 ,p_mouse_start_discovery 
+001f c0450346 beq patch11_2 ,p_mouse_store_remote_bdaddr 
+0020 c0458324 beq patch11_3 ,p_mouse_app_initflag_check 
+0021 c0470422 beq patch11_6 ,p_mouse_idle 
+0022 c0480480 beq patch12_0 ,p_mouse_check_select_device_by_switch 
+0023 c04a844f beq patch12_5 ,p_mouse_24g_hibernate_set 
+0024 c04b0469 beq patch12_6 ,p_mouse_24g_package_data 
+0025 c05880b6 beq patch16_1 ,p_app_init 
+0026 c06282a7 beq patch18_5 ,p_otp_read_data 
+0027 c06a826b beq patch1a_5 ,p_gpio_set_wake_by_current_state 
+0028 c06b0264 beq patch1a_6 ,p_gpio_set_wake 
+0029 c06d007c beq patch1b_2 ,p_sadc_calibration 
+002a 2020235a branch assert 
 
 pf_patch_ext:
-002a c00a01a5 beq patch22_4 ,p_le_slave_match 
-002b c00d01c4 beq patch23_2 ,p_le_got_first_packet_new 
-002c c01281d4 beq patch24_5 ,p_le_rx_dec 
-002d c01301d9 beq patch24_6 ,p_le_rx_nopayload 
-002e c01c81eb beq patch27_1 ,p_le_parse 
-002f c01d01f5 beq patch27_2 ,p_le_parse_l2cap 
-0030 c02601f1 beq patch29_4 ,p_le_adv_not_match 
-0031 c02681ef beq patch29_5 ,p_le_init_adv 
-0032 c0480276 beq patch32_0 ,p_g24_reconn_dispatch 
-0033 c04b03f9 beq patch32_6 ,p_g24_short_sleep 
-0034 c04d011b beq patch33_2 ,p_mouse_g24_retransmit 
-0035 c04e8122 beq patch33_5 ,p_g24_transmit_hop_process 
-0036 c04f829a beq patch33_7 ,p_power_ctrl_start 
-0037 c17f8000 rtneq patch3f_7 
-0038 2020235a branch assert 
+002b c00a01ac beq patch22_4 ,p_le_slave_match 
+002c c00d01cb beq patch23_2 ,p_le_got_first_packet_new 
+002d c01201f0 beq patch24_4 ,p_le_receive_rxon 
+002e c01281d3 beq patch24_5 ,p_le_rx_dec 
+002f c01301d8 beq patch24_6 ,p_le_rx_nopayload 
+0030 c01c81ea beq patch27_1 ,p_le_parse 
+0031 c01d0226 beq patch27_2 ,p_le_parse_l2cap 
+0032 c0260222 beq patch29_4 ,p_le_adv_not_match 
+0033 c02681ee beq patch29_5 ,p_le_init_adv 
+0034 c04802aa beq patch32_0 ,p_g24_reconn_dispatch 
+0035 c04902c1 beq patch32_2 ,p_g24_reconn_device_fail 
+0036 c04b0445 beq patch32_6 ,p_g24_short_sleep 
+0037 c04d0134 beq patch33_2 ,p_mouse_g24_retransmit 
+0038 c04e8141 beq patch33_5 ,p_g24_transmit_hop_process 
+0039 c04f82d9 beq patch33_7 ,p_power_ctrl_start 
+003a c17f8000 rtneq patch3f_7 
+003b 2020235a branch assert 
 
 p_main_loop:
-0039 20407552 call sp_calc_sequence_256 
-003a 20407448 call sp_calc_sequence_256_check 
-003b 20402a45 call le_advertising_dispatch 
-003c 2040202a call idle_dispatch 
-003d 204042ad call app_process_idle 
-003e 20402018 call connection_dispatch 
-003f 2040310f call g24_dispatch 
-0040 2040248c call lpm_dispatch 
-0041 20200039 branch p_main_loop 
+003c 20407552 call sp_calc_sequence_256 
+003d 20407448 call sp_calc_sequence_256_check 
+003e 20402a45 call le_advertising_dispatch 
+003f 2040202a call idle_dispatch 
+0040 204042ad call app_process_idle 
+0041 20402018 call connection_dispatch 
+0042 2040310f call g24_dispatch 
+0043 2040248c call lpm_dispatch 
+0044 2020003c branch p_main_loop 
 
 p_shutdown_radio:
-0042 70890000 jam 0 ,0x8900 
-0043 20202153 branch shutdown_radio + 1 
+0045 70890000 jam 0 ,0x8900 
+0046 20202153 branch shutdown_radio + 1 
 
 p_set_sync_on:
-0044 708a0f60 jam 0x60 ,0x8a0f 
-0045 708a10aa jam 0xaa ,0x8a10 
-0046 708a127a jam 0x7a ,0x8a12 
-0047 708a2500 jam 0x00 ,0x8a25 
-0048 708a2600 jam 0x00 ,0x8a26 
-0049 2000003c nop 60 
-004a 708a2020 jam 0x20 ,0x8a20 
-004b 708a23f5 jam 0xf5 ,0x8a23 
-004c 708a2412 jam 0x12 ,0x8a24 
-004d 708a2410 jam 0x10 ,0x8a24 
-004e 2000003c nop 60 
-004f 708a1260 jam 0x60 ,0x8a12 
-0050 708a23dd jam 0xdd ,0x8a23 
-0051 20600000 rtn 
+0047 708a0f60 jam 0x60 ,0x8a0f 
+0048 708a10aa jam 0xaa ,0x8a10 
+0049 708a127a jam 0x7a ,0x8a12 
+004a 708a2500 jam 0x00 ,0x8a25 
+004b 708a2600 jam 0x00 ,0x8a26 
+004c 2000003c nop 60 
+004d 708a2020 jam 0x20 ,0x8a20 
+004e 708a23f5 jam 0xf5 ,0x8a23 
+004f 708a2412 jam 0x12 ,0x8a24 
+0050 708a2410 jam 0x10 ,0x8a24 
+0051 2000003c nop 60 
+0052 708a1260 jam 0x60 ,0x8a12 
+0053 708a23dd jam 0xdd ,0x8a23 
+0054 20600000 rtn 
 
 p_initialize_radio_cont:
-0052 7001bb00 jam 0 ,mem_le_testtype 
-0053 7001bc00 jam 0 ,mem_cmd_le_create_conn 
-0054 37d98200 until null ,lpo_edge 
-0055 7089460d jam 0x0d ,0x8946 
-0056 70896f10 jam 0x10 ,0x896f 
-0057 708a13cd jam 0xcd ,0x8a13 
-0058 708a0610 jam 0x10 ,0x8a06 
-0059 708a844a jam 0x4a ,0x8a84 
-005a 708a8540 jam 0x40 ,0x8a85 
-005b 708a16fe jam 0xfe ,0x8a16 
-005c 204000e2 call p_set_otp_config 
-005d 204070d7 call wdt_set_disable 
-005e 37d98200 until null ,lpo_edge 
-005f 70813b5f jam 0x5f ,0x813b 
-0060 37d98200 until null ,lpo_edge 
-0061 70813c88 jam 0x88 ,0x813c 
-0062 37d98200 until null ,lpo_edge 
-0063 6fe0c099 fetch 1 ,mem_fcomp_div 
-0064 c008008d beq xtal_16m ,p_initialize_radio_16m 
-0065 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0066 1fe1fe04 or_into 0x04 ,pdata 
-0067 67f08a02 store 1 ,0x8a02 
-0068 70890f01 jam 0x01 ,0x890f 
-0069 708a8024 jam 0x24 ,0x8a80 
-006a 708a8162 jam 0x62 ,0x8a81 
-006b 58e61212 setarg 0xe61212 
-006c 67f18a73 store 3 ,0x8a73 
+0055 7001bb00 jam 0 ,mem_le_testtype 
+0056 7001bc00 jam 0 ,mem_cmd_le_create_conn 
+0057 37d98200 until null ,lpo_edge 
+0058 7089460d jam 0x0d ,0x8946 
+0059 70896f10 jam 0x10 ,0x896f 
+005a 708a13cd jam 0xcd ,0x8a13 
+005b 708a0610 jam 0x10 ,0x8a06 
+005c 708a844a jam 0x4a ,0x8a84 
+005d 708a8540 jam 0x40 ,0x8a85 
+005e 708a16fe jam 0xfe ,0x8a16 
+005f 204000fb call p_set_otp_config 
+0060 204070d7 call wdt_set_disable 
+0061 37d98200 until null ,lpo_edge 
+0062 70813b5f jam 0x5f ,0x813b 
+0063 37d98200 until null ,lpo_edge 
+0064 70813c88 jam 0x88 ,0x813c 
+0065 37d98200 until null ,lpo_edge 
+0066 6fe0c099 fetch 1 ,mem_fcomp_div 
+0067 c00800a6 beq xtal_16m ,p_initialize_radio_16m 
+0068 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0069 1fe1fe04 or_into 0x04 ,pdata 
+006a 67f08a02 store 1 ,0x8a02 
+006b 70890f01 jam 0x01 ,0x890f 
+006c 708a8024 jam 0x24 ,0x8a80 
+006d 708a8162 jam 0x62 ,0x8a81 
+006e 58e61212 setarg 0xe61212 
+006f 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-006d 708a8660 jam 0x60 ,0x8a86 
-006e 708a8b3b jam 0x3b ,0x8a8b 
-006f 2040007f call p_dpll_on 
-0070 70804300 jam 0 ,core_config 
-0071 70804205 jam clksel_dpll ,core_clksel 
-0072 58557474 setarg 0x557474 
-0073 67f18968 store 3 ,0x8968 
-0074 7089606e jam 0x6e ,0x8960 
-0075 20400141 call p_rx_dcoc 
-0076 2040016c call p_rfpll_aac_ghpc 
-0077 2040007a call p_set_xtal_cap 
-0078 7041480c jam system_clk_12m ,mem_system_clk 
-0079 20206f4e branch sadc_calibration 
+0070 708a8660 jam 0x60 ,0x8a86 
+0071 708a8b3b jam 0x3b ,0x8a8b 
+0072 20400098 call p_dpll_on 
+0073 70804300 jam 0 ,core_config 
+0074 70804205 jam clksel_dpll ,core_clksel 
+0075 58557474 setarg 0x557474 
+0076 67f18968 store 3 ,0x8968 
+0077 7089606e jam 0x6e ,0x8960 
+0078 2040015f call p_rx_dcoc 
+0079 2040018a call p_rfpll_aac_ghpc 
+007a 20400093 call p_set_xtal_cap 
+007b 7041480c jam system_clk_12m ,mem_system_clk 
+
+p_sadc_calibration:
+007c 20758000 rtn wake 
+007d 708a0777 jam 0x77 ,core_gpadc_ctrl 
+007e 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+007f 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+0080 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0081 67f080cd store 1 ,core_sadc_clkdiv 
+0082 20000bb8 nop 3000 
+0083 2040008c call p_sadc_read 
+0084 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0085 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0086 df200008 arg 8 ,loopcnt 
+0087 20406f58 call sadc_cal_read + 1 
+0088 6fe0c419 fetch 1 ,mem_spi_write_addr 
+0089 67e0c433 store 1 ,mem_adc_cal_c7 
+008a 6240c419 storer regb ,1 ,mem_spi_write_addr 
+008b 20600000 rtn 
+
+p_sadc_read:
+008c 7080cc03 jam 0x03 ,core_sadc_ctrl 
+
+p_sadc_read_wait:
+008d 6ff08129 fetch 1 ,core_perf_status 
+008e c302808d bbit0 saradc_done ,p_sadc_read_wait 
+008f 68590164 fetcht 2 ,core_sadc_data 
+0090 6049440a storet 2 ,mem_adc_current_value 
+0091 7080cc00 jam 0x00 ,core_sadc_ctrl 
+0092 20600000 rtn 
 
 p_set_xtal_cap:
-007a 20758000 rtn wake 
-007b 37d98200 until null ,lpo_edge 
-007c 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-007d 67f0813a store 1 ,core_xtal_cap 
-007e 202023e2 branch lpm_write_wait 
+0093 20758000 rtn wake 
+0094 37d98200 until null ,lpo_edge 
+0095 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+0096 67f0813a store 1 ,core_xtal_cap 
+0097 202023e2 branch lpm_write_wait 
 
 p_dpll_on:
-007f 6fe0c099 fetch 1 ,mem_fcomp_div 
-0080 c00c0085 beq xtal_24m ,p_dpll_on_24m 
-0081 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0082 1fe1fe06 or_into 0x06 ,pdata 
-0083 67f08a02 store 1 ,0x8a02 
-0084 708a05e0 jam 0xe0 ,0x8a05 
+0098 6fe0c099 fetch 1 ,mem_fcomp_div 
+0099 c00c009e beq xtal_24m ,p_dpll_on_24m 
+009a 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+009b 1fe1fe06 or_into 0x06 ,pdata 
+009c 67f08a02 store 1 ,0x8a02 
+009d 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-0085 708a00d8 jam 0xd8 ,0x8a00 
-0086 2000003c nop 60 
-0087 708a01a0 jam 0xa0 ,0x8a01 
-0088 708a00df jam 0xdf ,0x8a00 
-0089 708a01fa jam 0xfa ,0x8a01 
-008a 20000014 nop 20 
-008b 708a009f jam 0x9f ,0x8a00 
-008c 20600000 rtn 
+009e 708a00d8 jam 0xd8 ,0x8a00 
+009f 2000003c nop 60 
+00a0 708a01a0 jam 0xa0 ,0x8a01 
+00a1 708a00df jam 0xdf ,0x8a00 
+00a2 708a01fa jam 0xfa ,0x8a01 
+00a3 20000014 nop 20 
+00a4 708a009f jam 0x9f ,0x8a00 
+00a5 20600000 rtn 
 
 p_initialize_radio_16m:
-008d 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-008e 1fe1fe06 or_into 0x06 ,pdata 
-008f 67f08a02 store 1 ,0x8a02 
-0090 70890f00 jam 0x00 ,0x890f 
-0091 708a8023 jam 0x23 ,0x8a80 
-0092 708a81b0 jam 0xb0 ,0x8a81 
-0093 58e40909 setarg 0xe40909 
-0094 67f18a73 store 3 ,0x8a73 
-0095 708a762a jam 0x2a ,0x8a76 
-0096 70890204 jam 0x04 ,0x8902 
-0097 2020006d branch p_initialize_radio2 
+00a6 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00a7 1fe1fe06 or_into 0x06 ,pdata 
+00a8 67f08a02 store 1 ,0x8a02 
+00a9 70890f00 jam 0x00 ,0x890f 
+00aa 708a8023 jam 0x23 ,0x8a80 
+00ab 708a81b0 jam 0xb0 ,0x8a81 
+00ac 58e40909 setarg 0xe40909 
+00ad 67f18a73 store 3 ,0x8a73 
+00ae 708a762a jam 0x2a ,0x8a76 
+00af 70890204 jam 0x04 ,0x8902 
+00b0 20200070 branch p_initialize_radio2 
 
 p_mouse_setting_config:
-0098 20758000 rtn wake 
-0099 204035f0 call g24_transmit_init 
-009a 2040325b call g24_chmap_param_init 
-009b 204062aa call mouse_24g_send_time_long_wake 
-009c 20205415 branch mouse_setting_config + 5 
+00b1 20758000 rtn wake 
+00b2 204035f0 call g24_transmit_init 
+00b3 2040325b call g24_chmap_param_init 
+00b4 204062aa call mouse_24g_send_time_long_wake 
+00b5 20205415 branch mouse_setting_config + 5 
 
 p_app_init:
 
 p_mouse_init:
-009d 20407396 call enable_authrom 
-009e 20400098 call p_mouse_setting_config 
-009f 245580a8 ncall p_mouse_sensor_init_param_check ,wake 
-00a0 2455d589 ncall mouse_gpio_init ,wake 
-00a1 20405949 call mouse_init_sunt 
-00a2 20758000 rtn wake 
-00a3 20405747 call mouse_setting_sensor_type 
-00a4 20405f37 call mouse_drawing_optima_init 
-00a5 204053ec call mouse_cb_fuction 
-00a6 204059ed call mouse_sensor_powerdown 
-00a7 202053e8 branch mouse_init_wireless 
+00b6 20407396 call enable_authrom 
+00b7 204000b1 call p_mouse_setting_config 
+00b8 245580c1 ncall p_mouse_sensor_init_param_check ,wake 
+00b9 2455d589 ncall mouse_gpio_init ,wake 
+00ba 20405949 call mouse_init_sunt 
+00bb 20758000 rtn wake 
+00bc 20405747 call mouse_setting_sensor_type 
+00bd 20405f37 call mouse_drawing_optima_init 
+00be 204053ec call mouse_cb_fuction 
+00bf 204059ed call mouse_sensor_powerdown 
+00c0 202053e8 branch mouse_init_wireless 
 
 p_mouse_sensor_init_param_check:
-00a8 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
-00a9 58001415 setarg 0x1415 
-00aa 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00ab 5800130c setarg 0x130c 
-00ac 67e1464a store 2 ,mem_whee_a_data_gpio 
-00ad 204000c8 call p_sensor_reg_reset 
+00c1 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
+00c2 58001415 setarg 0x1415 
+00c3 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00c4 5800130c setarg 0x130c 
+00c5 67e1464a store 2 ,mem_whee_a_data_gpio 
+00c6 204000e1 call p_sensor_reg_reset 
 
 p_mouse_sensor_init_param_check_next:
-00ae 204055f6 call mouse_sensor_spi_init 
-00af 20002ee0 nop 12000 
+00c7 204055f6 call mouse_sensor_spi_init 
+00c8 20002ee0 nop 12000 
 
 p_mouse_read_sensor_id:
-00b0 58000000 setarg pan_reg_pid_l 
-00b1 204069e5 call twspi_read 
-00b2 67e0c859 store 1 ,mem_sensor_id1 
-00b3 c01800bd beq p32xx_id1 ,p_mouse_sensor_id_read_success 
-00b4 c01880bd beq p3065_id1 ,p_mouse_sensor_id_read_success 
-00b5 c02c00bd beq pka8g2_id1 ,p_mouse_sensor_id_read_success 
-00b6 20405955 call mouse_twspi_reset 
-00b7 20001bbc nop 7100 
-00b8 6fe0cb1e fetch 1 ,mem_sensor_read_count 
-00b9 1fe0fe01 increase 1 ,pdata 
-00ba 67e0cb1e store 1 ,mem_sensor_read_count 
-00bb c00400be beq 8 ,p_mouse_sensor_spi_init_param_change 
-00bc 202000b0 branch p_mouse_read_sensor_id 
+00c9 58000000 setarg pan_reg_pid_l 
+00ca 204069e5 call twspi_read 
+00cb 67e0c859 store 1 ,mem_sensor_id1 
+00cc c01800d6 beq p32xx_id1 ,p_mouse_sensor_id_read_success 
+00cd c01880d6 beq p3065_id1 ,p_mouse_sensor_id_read_success 
+00ce c02c00d6 beq pka8g2_id1 ,p_mouse_sensor_id_read_success 
+00cf 20405955 call mouse_twspi_reset 
+00d0 20001bbc nop 7100 
+00d1 6fe0cb1e fetch 1 ,mem_sensor_read_count 
+00d2 1fe0fe01 increase 1 ,pdata 
+00d3 67e0cb1e store 1 ,mem_sensor_read_count 
+00d4 c00400d7 beq 8 ,p_mouse_sensor_spi_init_param_change 
+00d5 202000c9 branch p_mouse_read_sensor_id 
 
 p_mouse_sensor_id_read_success:
-00bd 20600000 rtn 
+00d6 20600000 rtn 
 
 p_mouse_sensor_spi_init_param_change:
-00be 704b1e00 jam 0 ,mem_sensor_read_count 
-00bf 6fe0cb1f fetch 1 ,mem_sensor_param_change_count 
-00c0 1fe0fe01 increase 1 ,pdata 
-00c1 1fe17e03 and pdata ,0x03 ,pdata 
-00c2 67e0cb1f store 1 ,mem_sensor_param_change_count 
-00c3 c00000cc beq 0 ,p_mouse_sensor_angle_12clk 
-00c4 c00080d3 beq 1 ,p_mouse_sensor_angle_9clk 
-00c5 c00100d8 beq 2 ,p_mouse_sensor_angle_6clk 
-00c6 c00180dd beq 3 ,p_mouse_sensor_angle_3clk 
-00c7 20600000 rtn 
+00d7 704b1e00 jam 0 ,mem_sensor_read_count 
+00d8 6fe0cb1f fetch 1 ,mem_sensor_param_change_count 
+00d9 1fe0fe01 increase 1 ,pdata 
+00da 1fe17e03 and pdata ,0x03 ,pdata 
+00db 67e0cb1f store 1 ,mem_sensor_param_change_count 
+00dc c00000e5 beq 0 ,p_mouse_sensor_angle_12clk 
+00dd c00080ec beq 1 ,p_mouse_sensor_angle_9clk 
+00de c00100f1 beq 2 ,p_mouse_sensor_angle_6clk 
+00df c00180f6 beq 3 ,p_mouse_sensor_angle_3clk 
+00e0 20600000 rtn 
 
 p_sensor_reg_reset:
-00c8 70807c00 jam 0 ,0x807c 
-00c9 58000000 setarg 0 
-00ca 67f180d7 store 3 ,0x80d7 
-00cb 20600000 rtn 
+00e1 70807c00 jam 0 ,0x807c 
+00e2 58000000 setarg 0 
+00e3 67f180d7 store 3 ,0x80d7 
+00e4 20600000 rtn 
 
 p_mouse_sensor_angle_12clk:
-00cc 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
-00cd 58001415 setarg 0x1415 
-00ce 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00cf 5800130c setarg 0x130c 
+00e5 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
+00e6 58001415 setarg 0x1415 
+00e7 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00e8 5800130c setarg 0x130c 
 
 p_mouse_sensor_param_store:
-00d0 67e1464a store 2 ,mem_whee_a_data_gpio 
-00d1 204000c8 call p_sensor_reg_reset 
-00d2 202000ae branch p_mouse_sensor_init_param_check_next 
+00e9 67e1464a store 2 ,mem_whee_a_data_gpio 
+00ea 204000e1 call p_sensor_reg_reset 
+00eb 202000c7 branch p_mouse_sensor_init_param_check_next 
 
 p_mouse_sensor_angle_9clk:
-00d3 70495801 jam mouse_9clk_angle ,mem_config_sensor_angle 
-00d4 58001315 setarg 0x1315 
-00d5 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00d6 5800140c setarg 0x140c 
-00d7 202000d0 branch p_mouse_sensor_param_store 
+00ec 70495801 jam mouse_9clk_angle ,mem_config_sensor_angle 
+00ed 58001315 setarg 0x1315 
+00ee 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00ef 5800140c setarg 0x140c 
+00f0 202000e9 branch p_mouse_sensor_param_store 
 
 p_mouse_sensor_angle_6clk:
-00d8 70495800 jam mouse_6clk_angle ,mem_config_sensor_angle 
-00d9 58000c15 setarg 0x0c15 
-00da 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00db 58001314 setarg 0x1314 
-00dc 202000d0 branch p_mouse_sensor_param_store 
+00f1 70495800 jam mouse_6clk_angle ,mem_config_sensor_angle 
+00f2 58000c15 setarg 0x0c15 
+00f3 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00f4 58001314 setarg 0x1314 
+00f5 202000e9 branch p_mouse_sensor_param_store 
 
 p_mouse_sensor_angle_3clk:
-00dd 70495803 jam mouse_3clk_angle ,mem_config_sensor_angle 
-00de 58001314 setarg 0x1314 
-00df 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00e0 5800150c setarg 0x150c 
-00e1 202000d0 branch p_mouse_sensor_param_store 
+00f6 70495803 jam mouse_3clk_angle ,mem_config_sensor_angle 
+00f7 58001314 setarg 0x1314 
+00f8 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00f9 5800150c setarg 0x150c 
+00fa 202000e9 branch p_mouse_sensor_param_store 
 
 p_set_otp_config:
-00e2 203580f4 branch p_set_otp_config_wake ,wake 
-00e3 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00e4 207a0000 rtn blank 
-00e5 37d98200 until null ,lpo_edge 
-00e6 6ff08136 fetch 1 ,0x8136 
-00e7 1fe17ef0 and pdata ,0xf0 ,pdata 
-00e8 6848820d fetcht 1 ,mem_otp_core_ldo 
-00e9 9841fe00 ior temp ,pdata 
-00ea 1fe0fffd increase -3 ,pdata 
-00eb 67f08136 store 1 ,0x8136 
-00ec 37d98200 until null ,lpo_edge 
-00ed 6ff08138 fetch 1 ,0x8138 
-00ee 1fe17e07 and pdata ,0x7 ,pdata 
-00ef 6848820e fetcht 1 ,mem_otp_verf_bg 
-00f0 18498400 lshift3 temp ,temp 
-00f1 9841fe00 ior temp ,pdata 
-00f2 67f08138 store 1 ,0x8138 
-00f3 37d98200 until null ,lpo_edge 
+00fb 2035810d branch p_set_otp_config_wake ,wake 
+00fc 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00fd 207a0000 rtn blank 
+00fe 37d98200 until null ,lpo_edge 
+00ff 6ff08136 fetch 1 ,0x8136 
+0100 1fe17ef0 and pdata ,0xf0 ,pdata 
+0101 6848820d fetcht 1 ,mem_otp_core_ldo 
+0102 9841fe00 ior temp ,pdata 
+0103 1fe0fffd increase -3 ,pdata 
+0104 67f08136 store 1 ,0x8136 
+0105 37d98200 until null ,lpo_edge 
+0106 6ff08138 fetch 1 ,0x8138 
+0107 1fe17e07 and pdata ,0x7 ,pdata 
+0108 6848820e fetcht 1 ,mem_otp_verf_bg 
+0109 18498400 lshift3 temp ,temp 
+010a 9841fe00 ior temp ,pdata 
+010b 67f08138 store 1 ,0x8138 
+010c 37d98200 until null ,lpo_edge 
 
 p_set_otp_config_wake:
-00f4 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00f5 207a0000 rtn blank 
-00f6 67e1020f store 2 ,mem_otp_charge_pump 
+010d 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+010e 207a0000 rtn blank 
+010f 67e1020f store 2 ,mem_otp_charge_pump 
 
 p_set_otp_config2:
-00f7 6ff08acb fetch 1 ,0x8acb 
-00f8 1fe17ef0 and pdata ,0xf0 ,pdata 
-00f9 6848820f fetcht 1 ,mem_otp_charge_pump 
-00fa 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00fb 9841fe00 ior temp ,pdata 
-00fc 67f08acb store 1 ,0x8acb 
-00fd 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00fe 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00ff 2feffe03 isolate1 3 ,pdata 
-0100 6ff08a06 fetch 1 ,0x8a06 
-0101 7920fe07 setflag true ,7 ,pdata 
-0102 67f08a06 store 1 ,0x8a06 
-0103 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-0104 1fe10407 and pdata ,7 ,temp 
-0105 18520400 lshift4 temp ,temp 
-0106 18438400 lshift temp ,temp 
-0107 6048c438 storet 1 ,mem_ring_ibias_trim 
-0108 6ff08a02 fetch 1 ,0x8a02 
-0109 1fe17e1f and pdata ,0x1f ,pdata 
-010a 9841fe00 ior temp ,pdata 
-010b 67f08a02 store 1 ,0x8a02 
-010c 20600000 rtn 
+0110 6ff08acb fetch 1 ,0x8acb 
+0111 1fe17ef0 and pdata ,0xf0 ,pdata 
+0112 6848820f fetcht 1 ,mem_otp_charge_pump 
+0113 6048c15b storet 1 ,mem_otp_charge_pump_x 
+0114 9841fe00 ior temp ,pdata 
+0115 67f08acb store 1 ,0x8acb 
+0116 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+0117 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+0118 2feffe03 isolate1 3 ,pdata 
+0119 6ff08a06 fetch 1 ,0x8a06 
+011a 7920fe07 setflag true ,7 ,pdata 
+011b 67f08a06 store 1 ,0x8a06 
+011c 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+011d 1fe10407 and pdata ,7 ,temp 
+011e 18520400 lshift4 temp ,temp 
+011f 18438400 lshift temp ,temp 
+0120 6048c438 storet 1 ,mem_ring_ibias_trim 
+0121 6ff08a02 fetch 1 ,0x8a02 
+0122 1fe17e1f and pdata ,0x1f ,pdata 
+0123 9841fe00 ior temp ,pdata 
+0124 67f08a02 store 1 ,0x8a02 
+0125 20600000 rtn 
 
 p_rf_rx_enable:
-010d 2040686f call rf_debug_rx_gpio_high 
-010e 204021ba call rf_rx_agc_set 
-010f 18002a08 force 8 ,radio_ctrl 
-0110 18002a00 force 0 ,radio_ctrl 
-0111 580aaada setarg 0x0aaada 
-0112 67f18a0f store 3 ,0x8a0f 
-0113 708a2540 jam 0x40 ,0x8a25 
-0114 708a2610 jam 0x10 ,0x8a26 
-0115 2000003c nop 60 
-0116 708a01fb jam 0xfb ,0x8a01 
-0117 708a25ff jam 0xff ,0x8a25 
-0118 708a2630 jam 0x30 ,0x8a26 
-0119 708a16fe jam 0xfe ,0x8a16 
-011a 202021b4 branch rf_rx_enable + 14 
+0126 2040686f call rf_debug_rx_gpio_high 
+0127 204021ba call rf_rx_agc_set 
+0128 18002a08 force 8 ,radio_ctrl 
+0129 18002a00 force 0 ,radio_ctrl 
+012a 580aaada setarg 0x0aaada 
+012b 67f18a0f store 3 ,0x8a0f 
+012c 708a2540 jam 0x40 ,0x8a25 
+012d 708a2610 jam 0x10 ,0x8a26 
+012e 2000003c nop 60 
+012f 708a01fb jam 0xfb ,0x8a01 
+0130 708a25ff jam 0xff ,0x8a25 
+0131 708a2630 jam 0x30 ,0x8a26 
+0132 708a16fe jam 0xfe ,0x8a16 
+0133 202021b4 branch rf_rx_enable + 14 
 
 p_mouse_g24_retransmit:
-011b 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
-011c 247a0000 nrtn blank 
-011d 2040011f call p_mouse_retransmit_select_device_by_pb_button 
-011e 202060fc branch mouse_g24_retransmit + 3 
+0134 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
+0135 247a0000 nrtn blank 
+0136 20400139 call p_mouse_retransmit_select_device_by_pb_button 
+0137 2040013c call p_mouse_select_device_by_dpi_button_once 
+0138 20203662 branch g24_retransmit0 
 
 p_mouse_retransmit_select_device_by_pb_button:
-011f 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
-0120 c17f8000 rtneq gpio_disable 
-0121 20205e78 branch mouse_retransmit_select_device_by_pb_button 
+0139 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
+013a c17f8000 rtneq gpio_disable 
+013b 20205e78 branch mouse_retransmit_select_device_by_pb_button 
+
+p_mouse_select_device_by_dpi_button_once:
+013c d8e0000c arg 12 ,queue 
+013d 20407cef call timer_check 
+013e 247a0000 nrtn blank 
+013f 20400426 call p_mouse_dpi_check_retransmit 
+0140 20206102 branch mouse_g24_retransmit_event_set 
 
 p_g24_transmit_hop_process:
-0122 6848c601 fetcht 1 ,mem_24g_retry 
-0123 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
-0124 98467c00 isub temp ,null 
-0125 24210127 nbranch p_g24_tx_fast_hop ,positive 
-0126 20203681 branch g24_transmit_hop_process + 5 
+0141 6848c601 fetcht 1 ,mem_24g_retry 
+0142 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
+0143 98467c00 isub temp ,null 
+0144 24210146 nbranch p_g24_tx_fast_hop ,positive 
+0145 20203681 branch g24_transmit_hop_process + 5 
 
 p_g24_tx_fast_hop:
-0127 6fe2458f fetch 4 ,mem_24g_addr 
-0128 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-0129 98467c00 isub temp ,null 
-012a 2022b222 branch g24_ch ,zero 
-012b 204002bf call p_power_ctrl_txpower_incrs 
-012c 2020369b branch g24_tx_fast_hop + 1 
+0146 6fe2458f fetch 4 ,mem_24g_addr 
+0147 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+0148 98467c00 isub temp ,null 
+0149 2022b222 branch g24_ch ,zero 
+014a 204002fe call p_power_ctrl_txpower_incrs 
+014b 2020369b branch g24_tx_fast_hop + 1 
 
 p_txon:
-012d 580aaa7e setarg 0x0aaa7e 
-012e 67f18a0f store 3 ,0x8a0f 
-012f 2000003c nop 60 
-0130 708a2500 jam 0x00 ,0x8a25 
-0131 708a260d jam 0x0d ,0x8a26 
-0132 708a16f6 jam 0xf6 ,0x8a16 
-0133 20202203 branch txon + 7 
+014c 580aaa7e setarg 0x0aaa7e 
+014d 67f18a0f store 3 ,0x8a0f 
+014e 2000003c nop 60 
+014f 708a2500 jam 0x00 ,0x8a25 
+0150 708a260d jam 0x0d ,0x8a26 
+0151 708a16f6 jam 0xf6 ,0x8a16 
+0152 20202203 branch txon + 7 
 
 p_set_tx_power:
-0134 6fe0c141 fetch 1 ,mem_tx_power 
-0135 c0032225 beq tx_power_6db ,set_tx_power_7db 
-0136 c04f013d beq tx_power_f30db ,p_set_tx_power_f30db 
-0137 c0550139 beq tx_power_factory ,p_set_tx_power_factory 
-0138 2020220e branch set_tx_power + 2 
+0153 6fe0c141 fetch 1 ,mem_tx_power 
+0154 c0032225 beq tx_power_6db ,set_tx_power_7db 
+0155 c04f015c beq tx_power_f30db ,p_set_tx_power_f30db 
+0156 c0550158 beq tx_power_factory ,p_set_tx_power_factory 
+0157 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_factory:
-0139 708a1417 jam 0x17 ,0x8a14 
-013a 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
-013b 67f18a60 store 3 ,0x8a60 
-013c 2020221a branch set_tx_power_8a63_28 
+0158 708a1417 jam 0x17 ,0x8a14 
+0159 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
+
+p_mouse_tx_power_set:
+015a 67f18a60 store 3 ,0x8a60 
+015b 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f30db:
-013d 708a1417 jam 0x17 ,0x8a14 
-013e 58250300 setarg 0x250300 
-013f 67f18a60 store 3 ,0x8a60 
-0140 2020221a branch set_tx_power_8a63_28 
+015c 708a1417 jam 0x17 ,0x8a14 
+015d 58250300 setarg 0x250300 
+015e 2020015a branch p_mouse_tx_power_set 
 
 p_rx_dcoc:
-0141 20758000 rtn wake 
-0142 20402160 call set_sync_on 
-0143 d8400027 arg 39 ,temp 
-0144 2040216f call set_freq_rx 
-0145 204021a6 call rf_rx_enable 
-0146 708a257f jam 0x7f ,0x8a25 
-0147 708a301a jam 0x1a ,0x8a30 
-0148 708a3178 jam 0x78 ,0x8a31 
-0149 708a8fb2 jam 0xb2 ,0x8a8f 
-014a 708ac200 jam 0 ,0x8ac2 
-014b 708ac300 jam 0 ,0x8ac3 
-014c d8e00006 arg 6 ,queue 
-014d 2040015e call p_rx_dcoc_avg 
-014e 2a2ffe0d isolate1 13 ,rega 
-014f 2040211d call qset_start 
-0150 2a4ffe0d isolate1 13 ,regb 
-0151 2040211e call qset_p 
-0152 d8e00005 arg 5 ,queue 
+015f 20758000 rtn wake 
+0160 20402160 call set_sync_on 
+0161 d8400027 arg 39 ,temp 
+0162 2040216f call set_freq_rx 
+0163 204021a6 call rf_rx_enable 
+0164 708a257f jam 0x7f ,0x8a25 
+0165 708a301a jam 0x1a ,0x8a30 
+0166 708a3178 jam 0x78 ,0x8a31 
+0167 708a8fb2 jam 0xb2 ,0x8a8f 
+0168 708ac200 jam 0 ,0x8ac2 
+0169 708ac300 jam 0 ,0x8ac3 
+016a d8e00006 arg 6 ,queue 
+016b 2040017c call p_rx_dcoc_avg 
+016c 2a2ffe0d isolate1 13 ,rega 
+016d 2040211d call qset_start 
+016e 2a4ffe0d isolate1 13 ,regb 
+016f 2040211e call qset_p 
+0170 d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0153 2040211c call qset1_p 
-0154 2040211e call qset_p 
-0155 2040015e call p_rx_dcoc_avg 
-0156 d8a08ac2 arg 0x8ac2 ,contw 
-0157 1a31fe00 rshift4 rega ,pdata 
-0158 20402117 call qsetxor 
-0159 1a51fe00 rshift4 regb ,pdata 
-015a 20402117 call qsetxor 
-015b 18e08fff increase -1 ,queue 
-015c 20210153 branch p_rx_dcoc_loop2 ,positive 
-015d 2020214f branch rx_dcoc_loop2 + 10 
+0171 2040211c call qset1_p 
+0172 2040211e call qset_p 
+0173 2040017c call p_rx_dcoc_avg 
+0174 d8a08ac2 arg 0x8ac2 ,contw 
+0175 1a31fe00 rshift4 rega ,pdata 
+0176 20402117 call qsetxor 
+0177 1a51fe00 rshift4 regb ,pdata 
+0178 20402117 call qsetxor 
+0179 18e08fff increase -1 ,queue 
+017a 20210171 branch p_rx_dcoc_loop2 ,positive 
+017b 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-015e 2000003c nop 60 
-015f 58000f00 setarg mem_dcoc_buf 
-0160 67f10982 store 2 ,0x8982 
-0161 58000ff0 setarg mem_dcoc_buf_end 
-0162 67f10984 store 2 ,0x8984 
-0163 70898109 jam 0x9 ,0x8981 
-0164 70898103 jam 0x3 ,0x8981 
-0165 70898006 jam 0x6 ,0x8980 
-0166 2000003c nop 60 
-0167 da200000 arg 0 ,rega 
-0168 da400000 arg 0 ,regb 
-0169 df200010 arg 16 ,loopcnt 
-016a d8c00f00 arg mem_dcoc_buf ,contr 
-016b 2020212d branch rx_dcoc_loop 
+017c 2000003c nop 60 
+017d 58000f00 setarg mem_dcoc_buf 
+017e 67f10982 store 2 ,0x8982 
+017f 58000ff0 setarg mem_dcoc_buf_end 
+0180 67f10984 store 2 ,0x8984 
+0181 70898109 jam 0x9 ,0x8981 
+0182 70898103 jam 0x3 ,0x8981 
+0183 70898006 jam 0x6 ,0x8980 
+0184 2000003c nop 60 
+0185 da200000 arg 0 ,rega 
+0186 da400000 arg 0 ,regb 
+0187 df200010 arg 16 ,loopcnt 
+0188 d8c00f00 arg mem_dcoc_buf ,contr 
+0189 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-016c 20758000 rtn wake 
-016d 20202272 branch rfpll_aac_ghpc + 1 
-
-p_sadc_calibration:
-016e 20758000 rtn wake 
-016f 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0170 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0171 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0172 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0173 67f080cd store 1 ,core_sadc_clkdiv 
-0174 20000bb8 nop 3000 
-0175 2040017e call p_sadc_read 
-0176 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0177 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0178 df200008 arg 8 ,loopcnt 
-0179 20406f58 call sadc_cal_read + 1 
-017a 6fe0c419 fetch 1 ,mem_spi_write_addr 
-017b 67e0c433 store 1 ,mem_adc_cal_c7 
-017c 6240c419 storer regb ,1 ,mem_spi_write_addr 
-017d 20600000 rtn 
-
-p_sadc_read:
-017e 7080cc03 jam 0x03 ,core_sadc_ctrl 
-
-p_sadc_read_wait:
-017f 6ff08129 fetch 1 ,core_perf_status 
-0180 c302817f bbit0 saradc_done ,p_sadc_read_wait 
-0181 68590164 fetcht 2 ,core_sadc_data 
-0182 6049440a storet 2 ,mem_adc_current_value 
-0183 7080cc00 jam 0x00 ,core_sadc_ctrl 
-0184 20600000 rtn 
+018a 20758000 rtn wake 
+018b 20202272 branch rfpll_aac_ghpc + 1 
 
 p_set_lemode:
-0185 708a8211 jam 0x11 ,0x8a82 
-0186 708a8d12 jam 0x12 ,0x8a8d 
-0187 708a8e0a jam 0x0a ,0x8a8e 
-0188 6fe0c099 fetch 1 ,mem_fcomp_div 
-0189 c008019e beq xtal_16m ,p_set_lemode_2m_16m 
-018a 58005762 setarg 0x5762 
-018b 67f10907 store 2 ,0x8907 
+018c 708a8211 jam 0x11 ,0x8a82 
+018d 708a8d12 jam 0x12 ,0x8a8d 
+018e 708a8e0a jam 0x0a ,0x8a8e 
+018f 6fe0c099 fetch 1 ,mem_fcomp_div 
+0190 c00801a5 beq xtal_16m ,p_set_lemode_2m_16m 
+0191 58005762 setarg 0x5762 
+0192 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-018c 70890103 jam 3 ,0x8901 
-018d 70893003 jam 3 ,0x8930 
-018e c6168000 rtnmark1 mark_ble_2m 
-018f 70890101 jam 1 ,0x8901 
-0190 708a8207 jam 0x07 ,0x8a82 
-0191 708a8d44 jam 0x44 ,0x8a8d 
-0192 708a8e0a jam 0x0a ,0x8a8e 
-0193 6fe0c099 fetch 1 ,mem_fcomp_div 
-0194 c008019b beq xtal_16m ,p_set_lemode_1m_16m 
-0195 58002bb1 setarg 0x2bb1 
-0196 67f10907 store 2 ,0x8907 
+0193 70890103 jam 3 ,0x8901 
+0194 70893003 jam 3 ,0x8930 
+0195 c6168000 rtnmark1 mark_ble_2m 
+0196 70890101 jam 1 ,0x8901 
+0197 708a8207 jam 0x07 ,0x8a82 
+0198 708a8d44 jam 0x44 ,0x8a8d 
+0199 708a8e0a jam 0x0a ,0x8a8e 
+019a 6fe0c099 fetch 1 ,mem_fcomp_div 
+019b c00801a2 beq xtal_16m ,p_set_lemode_1m_16m 
+019c 58002bb1 setarg 0x2bb1 
+019d 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-0197 c6978000 rtnmark0 mark_ble_lr 
-0198 70893024 jam 0x24 ,0x8930 
-0199 70890105 jam 5 ,0x8901 
-019a 20600000 rtn 
+019e c6978000 rtnmark0 mark_ble_lr 
+019f 70893024 jam 0x24 ,0x8930 
+01a0 70890105 jam 5 ,0x8901 
+01a1 20600000 rtn 
 
 p_set_lemode_1m_16m:
-019b 58004189 setarg 0x4189 
-019c 67f10907 store 2 ,0x8907 
-019d 20200197 branch p_set_lemode_1m 
+01a2 58004189 setarg 0x4189 
+01a3 67f10907 store 2 ,0x8907 
+01a4 2020019e branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-019e 58008312 setarg 0x8312 
-019f 67f10907 store 2 ,0x8907 
-01a0 2020018c branch p_set_lemode_2m 
+01a5 58008312 setarg 0x8312 
+01a6 67f10907 store 2 ,0x8907 
+01a7 20200193 branch p_set_lemode_2m 
 
 p_le_check_retransmit_timesout:
-01a1 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01a2 da600100 arg 256 ,regc 
-01a3 9a60fe00 iadd regc ,pdata 
-01a4 20600000 rtn 
+01a8 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+01a9 da600100 arg 256 ,regc 
+01aa 9a60fe00 iadd regc ,pdata 
+01ab 20600000 rtn 
 
 p_le_slave_match:
-01a5 204001a7 call p_le_check_retransmit 
-01a6 20202563 branch le_slave_match + 1 
+01ac 204001ae call p_le_check_retransmit 
+01ad 20202563 branch le_slave_match + 1 
 
 p_le_check_retransmit:
-01a7 6fe0cbfa fetch 1 ,mem_le_conn_first_rcv 
-01a8 207a0000 rtn blank 
-01a9 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-01aa 247a0000 nrtn blank 
-01ab 6848cbfa fetcht 1 ,mem_le_conn_first_rcv 
-01ac 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01ad 98467c00 isub temp ,null 
-01ae 244101a1 ncall p_le_check_retransmit_timesout ,positive 
-01af 98467e00 isub temp ,pdata 
-01b0 1fe67c64 sub pdata ,100 ,null 
-01b1 202101b9 branch p_le_check_retransmit_count ,positive 
-01b2 6fe0cbfc fetch 1 ,mem_le_retransmit_cnt 
-01b3 1fe67c14 sub pdata ,20 ,null 
-01b4 244101b7 ncall p_app_ble_disconnect ,positive 
-01b5 704bfb01 jam 1 ,mem_le_check_retransmit_flag 
-01b6 20600000 rtn 
+01ae 6fe0cbfa fetch 1 ,mem_le_conn_first_rcv 
+01af 207a0000 rtn blank 
+01b0 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
+01b1 247a0000 nrtn blank 
+01b2 6848cbfa fetcht 1 ,mem_le_conn_first_rcv 
+01b3 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+01b4 98467c00 isub temp ,null 
+01b5 244101a8 ncall p_le_check_retransmit_timesout ,positive 
+01b6 98467e00 isub temp ,pdata 
+01b7 1fe67c64 sub pdata ,100 ,null 
+01b8 202101c0 branch p_le_check_retransmit_count ,positive 
+01b9 6fe0cbfc fetch 1 ,mem_le_retransmit_cnt 
+01ba 1fe67c14 sub pdata ,20 ,null 
+01bb 244101be ncall p_app_ble_disconnect ,positive 
+01bc 704bfb01 jam 1 ,mem_le_check_retransmit_flag 
+01bd 20600000 rtn 
 
 p_app_ble_disconnect:
-01b7 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
-01b8 2020431f branch app_ble_disconnect 
+01be 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
+01bf 2020431f branch app_ble_disconnect 
 
 p_le_check_retransmit_count:
-01b9 6848817f fetcht 1 ,mem_le_arq 
-01ba 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
-01bb 1fe37e00 rshift pdata ,pdata 
-01bc 9842fe00 ixor temp ,pdata 
-01bd 2feffe02 isolate1 nesn ,pdata 
-01be 58000000 setarg 0 
-01bf 6848cbfc fetcht 1 ,mem_le_retransmit_cnt 
-01c0 7920fe00 setflag true ,0 ,pdata 
-01c1 98408400 iadd temp ,temp 
-01c2 6048cbfc storet 1 ,mem_le_retransmit_cnt 
-01c3 20600000 rtn 
+01c0 6848817f fetcht 1 ,mem_le_arq 
+01c1 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
+01c2 1fe37e00 rshift pdata ,pdata 
+01c3 9842fe00 ixor temp ,pdata 
+01c4 2feffe02 isolate1 nesn ,pdata 
+01c5 58000000 setarg 0 
+01c6 6848cbfc fetcht 1 ,mem_le_retransmit_cnt 
+01c7 7920fe00 setflag true ,0 ,pdata 
+01c8 98408400 iadd temp ,temp 
+01c9 6048cbfc storet 1 ,mem_le_retransmit_cnt 
+01ca 20600000 rtn 
 
 p_le_got_first_packet_new:
-01c4 6fe08005 fetch 1 ,mem_le_conn_rcv 
-01c5 1fe0fe01 increase 1 ,pdata 
-01c6 67e08005 store 1 ,mem_le_conn_rcv 
-01c7 243681cb nbranch p_le_got_first_packet_new + 7 ,match 
-01c8 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01c9 1fe0fe01 increase 1 ,pdata 
-01ca 67e0cbf9 store 1 ,mem_le_conn_rcv_new 
-01cb 6fe08168 fetch 1 ,mem_le_state 
-01cc c3818000 rtnbit1 lestate_got_first_packet 
-01cd 79207e03 set1 lestate_got_first_packet ,pdata 
-01ce 67e08168 store 1 ,mem_le_state 
-01cf 6fe142f5 fetch 2 ,mem_le_init_superto 
-01d0 67e10196 store 2 ,mem_le_superto 
-01d1 58000000 setarg 0 
-01d2 67e2431d store 4 ,mem_le_transmit_window 
-01d3 20600000 rtn 
+01cb 6fe08005 fetch 1 ,mem_le_conn_rcv 
+01cc 1fe0fe01 increase 1 ,pdata 
+01cd 67e08005 store 1 ,mem_le_conn_rcv 
+01ce 243681d2 nbranch p_le_got_first_packet_new + 7 ,match 
+01cf 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+01d0 1fe0fe01 increase 1 ,pdata 
+01d1 67e0cbf9 store 1 ,mem_le_conn_rcv_new 
+01d2 2020259b branch le_got_first_packet + 4 
 
 p_le_rx_dec:
-01d4 2040281c call le_check_retransmit 
-01d5 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
-01d6 1a20a3fc increase -4 ,rega 
-01d7 242126fa nbranch le_crc_fail_consecutive ,positive 
-01d8 2020268e branch le_rx_dec + 6 
+01d3 2040281c call le_check_retransmit 
+01d4 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
+01d5 1a20a3fc increase -4 ,rega 
+01d6 242126fa nbranch le_crc_fail_consecutive ,positive 
+01d7 2020268e branch le_rx_dec + 6 
 
 p_le_rx_nopayload:
-01d9 09800018 parse demod ,bucket ,24 
-01da 1fef7e00 rshift32 pdata ,pdata 
-01db 1ff17e00 rshift16 pdata ,pdata 
-01dc e7e18005 istore 3 ,contw 
-01dd 78287c00 enable swfine 
-01de 2040270d call le_set_until_tx_timer 
-01df 202326f6 branch le_crc_fail ,crc_failed 
-01e0 c59926af bmark0 mark_ble_encryption ,le_rx_match 
-01e1 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
-01e2 203a26af branch le_rx_match ,blank 
-01e3 1fe0fffc increase -4 ,pdata 
-01e4 67e0804d store 1 ,mem_le_rxbuf_data_length 
-01e5 204072cb call wait_ccm_done 
-01e6 6ff08108 fetch 1 ,core_misc_status 
-01e7 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
-01e8 1800700c force regidx_result ,regext_index 
-01e9 65e20154 storer regext ,4 ,mem_le_peer_mic 
-01ea 202026af branch le_rx_match 
+01d8 09800018 parse demod ,bucket ,24 
+01d9 1fef7e00 rshift32 pdata ,pdata 
+01da 1ff17e00 rshift16 pdata ,pdata 
+01db e7e18005 istore 3 ,contw 
+01dc 78287c00 enable swfine 
+01dd 2040270d call le_set_until_tx_timer 
+01de 202326f6 branch le_crc_fail ,crc_failed 
+01df c59926af bmark0 mark_ble_encryption ,le_rx_match 
+01e0 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
+01e1 203a26af branch le_rx_match ,blank 
+01e2 1fe0fffc increase -4 ,pdata 
+01e3 67e0804d store 1 ,mem_le_rxbuf_data_length 
+01e4 204072cb call wait_ccm_done 
+01e5 6ff08108 fetch 1 ,core_misc_status 
+01e6 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
+01e7 1800700c force regidx_result ,regext_index 
+01e8 65e20154 storer regext ,4 ,mem_le_peer_mic 
+01e9 202026af branch le_rx_match 
 
 p_le_parse:
-01eb 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01ec c1000000 rtneq llid_reserved 
-01ed c001b04a beq llid_le_ll ,le_parse_ll 
-01ee 202028e1 branch le_parse_l2cap 
+01ea 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01eb c1000000 rtneq llid_reserved 
+01ec c001b04a beq llid_le_ll ,le_parse_ll 
+01ed 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01ef 793f8030 set0 mark_ble_crc_fail ,mark 
-01f0 20202af6 branch le_init_adv + 1 
+01ee 793f8030 set0 mark_ble_crc_fail ,mark 
+01ef 20202af6 branch le_init_adv + 1 
+
+p_le_receive_rxon:
+01f0 204025c2 call le_prep 
+01f1 c59781f6 bmark0 mark_ble_lr ,p_le_receive_nolr 
+01f2 783cfc00 pulse dewhiten_code_calc 
+01f3 2000001e nop 30 
+01f4 204025c2 call le_prep 
+01f5 19699600 lshift3 timeup ,timeup 
+
+p_le_receive_nolr:
+01f6 7856fc00 disable match 
+01f7 7826fc00 enable decode_fec0 
+01f8 7830fc00 enable is_rx 
+01f9 78507c00 disable is_tx 
+01fa 19623600 copy timeup ,stop_watch 
+01fb 37c18400 correlate null ,timeout 
+01fc 203701ff branch p_le_receive_on_attempt ,attempt 
+01fd 1b420400 copy clke ,temp 
+01fe 604b000f storet 6 ,mem_sync_clke 
+
+p_le_receive_on_attempt:
+01ff 242c26fa nbranch le_unsync_end ,sync 
+0200 78287c00 enable swfine 
+0201 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
+0202 d8404e20 arg param_20ms_init ,temp 
+0203 98408400 iadd temp ,temp 
+0204 6fe0c148 fetch 1 ,mem_system_clk 
+0205 984fb600 imul32 temp ,stop_watch 
+0206 20406877 call rf_debug_rx_sync_line 
+0207 20372677 branch le_receive_skip ,attempt 
+0208 2040020d call p_calc_clke_all_modem 
+0209 6fe08168 fetch 1 ,mem_le_state 
+020a c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
+020b 2055a477 call lpm_adjust_clk ,wake 
+020c 20202677 branch le_receive_skip 
+
+p_calc_clke_all_modem:
+020d 684b000f fetcht 6 ,mem_sync_clke 
+020e 1b427e00 copy clke ,pdata 
+020f 20407d12 call clk_diff 
+0210 1fe20400 copy pdata ,temp 
+0211 204026ff call calc_clke_all_modem 
+0212 1b425600 copy clke ,rege 
+0213 1d227e00 copy clke_rt ,pdata 
+0214 9840fe00 iadd temp ,pdata 
+0215 1fe25200 copy pdata ,clke_rt 
+0216 20600000 rtn 
+
+p_lpm_adjust_clk:
+0217 c584a489 bmark0 mark_context ,lpm_clear_counter 
+0218 684a40ad fetcht 4 ,mem_sleep_counter_all 
+0219 dfe00600 arg 0x600 ,pdata 
+021a 98467c00 isub temp ,null 
+021b 20610000 rtn positive 
+021c 18422200 copy temp ,rega 
+021d 684b000f fetcht 6 ,mem_sync_clke 
+021e 1d627e00 deposit rege 
+021f 20407d10 call clk_diff_rt 
+0220 1a220400 copy rega ,temp 
+0221 2020247d branch lpm_adjust_clk + 6 
 
 p_le_adv_not_match:
-01f1 20402152 call shutdown_radio 
-01f2 70890000 jam 0 ,0x8900 
-01f3 793f8030 set0 mark_ble_crc_fail ,mark 
-01f4 20202ae3 branch le_adv_not_match + 1 
+0222 20402152 call shutdown_radio 
+0223 70890000 jam 0 ,0x8900 
+0224 793f8030 set0 mark_ble_crc_fail ,mark 
+0225 20202ae3 branch le_adv_not_match + 1 
 
 p_le_parse_l2cap:
-01f5 efe10006 ifetch 2 ,contr 
-01f6 c00201f8 beq le_l2cap_cid_att ,p_le_parse_att 
-01f7 202028eb branch le_parse_l2cap_next + 2 
+0226 efe10006 ifetch 2 ,contr 
+0227 c0020229 beq le_l2cap_cid_att ,p_le_parse_att 
+0228 202028eb branch le_parse_l2cap_next + 2 
 
 p_le_parse_att:
-01f8 efe18006 ifetch 3 ,contr 
-01f9 67e1c397 store 3 ,mem_le_att_opcode 
-01fa c00501fd beq attop_read_request ,p_le_parse_att_read_request 
-01fb c009020c beq attop_write_request ,p_le_parse_att_write_request 
-01fc 20202b96 branch le_parse_att2 
+0229 efe18006 ifetch 3 ,contr 
+022a 67e1c397 store 3 ,mem_le_att_opcode 
+022b c005022e beq attop_read_request ,p_le_parse_att_read_request 
+022c c009023d beq attop_write_request ,p_le_parse_att_write_request 
+022d 20202b96 branch le_parse_att2 
 
 p_le_parse_att_read_request:
-01fd 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-01fe c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-01ff 20402dc7 call le_check_encrypt_state 
-0200 68494398 fetcht 2 ,mem_le_att_handle 
-0201 6fe0c321 fetch 1 ,mem_le_configuration 
-0202 c2818207 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+022e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+022f c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0230 20402dc7 call le_check_encrypt_state 
+0231 68494398 fetcht 2 ,mem_le_att_handle 
+0232 6fe0c321 fetch 1 ,mem_le_configuration 
+0233 c2818238 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0203 6fe14398 fetch 2 ,mem_le_att_handle 
-0204 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
-0205 68494398 fetcht 2 ,mem_le_att_handle 
-0206 20202d1d branch le_send_att_read_response 
+0234 6fe14398 fetch 2 ,mem_le_att_handle 
+0235 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
+0236 68494398 fetcht 2 ,mem_le_att_handle 
+0237 20202d1d branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0207 6fe14332 fetch 2 ,mem_le_pairing_handle 
-0208 98467c00 isub temp ,null 
-0209 24228203 nbranch p_le_send_att_read_response ,zero 
-020a 24340203 nbranch p_le_send_att_read_response ,user 
-020b 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+0238 6fe14332 fetch 2 ,mem_le_pairing_handle 
+0239 98467c00 isub temp ,null 
+023a 24228234 nbranch p_le_send_att_read_response ,zero 
+023b 24340234 nbranch p_le_send_att_read_response ,user 
+023c 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-020c 18c22200 copy contr ,rega 
-020d 6fe14335 fetch 2 ,mem_le_l2cap_size 
-020e 1fe0a5fd add pdata ,-3 ,regb 
-020f 20402929 call le_writeatt_cb 
-0210 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0211 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
-0212 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-0213 203a2dac branch le_send_att_write_response_check_auth ,blank 
-0214 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0215 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0216 5800001a setarg 0x001a 
-0217 68494398 fetcht 2 ,mem_le_att_handle 
-0218 98467c00 isub temp ,null 
-0219 2422adac nbranch le_send_att_write_response_check_auth ,zero 
-021a 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+023d 18c22200 copy contr ,rega 
+023e 6fe14335 fetch 2 ,mem_le_l2cap_size 
+023f 1fe0a5fd add pdata ,-3 ,regb 
+0240 20402929 call le_writeatt_cb 
+0241 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0242 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
+0243 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+0244 203a2dac branch le_send_att_write_response_check_auth ,blank 
+0245 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+0246 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0247 5800001a setarg 0x001a 
+0248 68494398 fetcht 2 ,mem_le_att_handle 
+0249 98467c00 isub temp ,null 
+024a 2422adac nbranch le_send_att_write_response_check_auth ,zero 
+024b 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_le:
-021b 20402a28 call le_fifo_check_nearly_full 
-021c 247a0000 nrtn blank 
-021d 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-021e c07f8226 beq 0xff ,p_mouse_le_next 
-021f 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0220 1fe17e03 and pdata ,0x03 ,pdata 
-0221 c1818000 rtnne 0x03 
-0222 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-0223 207a0000 rtn blank 
-0224 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-0225 247a0000 nrtn blank 
+024c 20402a28 call le_fifo_check_nearly_full 
+024d 247a0000 nrtn blank 
+024e 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+024f c07f8257 beq 0xff ,p_mouse_le_next 
+0250 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+0251 1fe17e03 and pdata ,0x03 ,pdata 
+0252 c1818000 rtnne 0x03 
+0253 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
+0254 207a0000 rtn blank 
+0255 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
+0256 247a0000 nrtn blank 
 
 p_mouse_le_next:
-0226 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
-0227 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
-0228 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0229 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
-022a c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
-022b c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-022c c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
-022d 20405601 call mouse_motion 
-022e 20405ab2 call mouse_check_125hz 
-022f 24740000 nrtn user 
-0230 20405abc call mouse_current_mult_update 
-0231 2040042a call p_mouse_data_xy_release 
-0232 20205b37 branch mouse_le_next + 12 
+0257 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0258 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
+0259 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+025a c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+025b c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+025c c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+025d c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+025e 20405601 call mouse_motion 
+025f 20405ab2 call mouse_check_125hz 
+0260 24740000 nrtn user 
+0261 20405abc call mouse_current_mult_update 
+0262 20400475 call p_mouse_data_xy_release 
+0263 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
-0233 18467cff sub temp ,ui_button_gpio_disable ,null 
-0234 20628000 rtn zero 
-0235 d9000004 arg 4 ,debug 
-0236 284ffe07 isolate1 gpio_active_bit ,temp 
-0237 2020eebd branch gpio_set_wake_high ,true 
-0238 d9000003 arg 3 ,debug 
-0239 20206ebd branch gpio_set_wake_high 
+0264 18467cff sub temp ,ui_button_gpio_disable ,null 
+0265 20628000 rtn zero 
+0266 d9000004 arg 4 ,debug 
+0267 284ffe07 isolate1 gpio_active_bit ,temp 
+0268 2020eebd branch gpio_set_wake_high ,true 
+0269 d9000003 arg 3 ,debug 
+026a 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_wake_by_current_state:
-023a 18467cff sub temp ,gpio_disable ,null 
-023b 20628000 rtn zero 
-023c 20406ee6 call gpio_get_bit 
-023d 20208240 branch p_gpio_set_qdec_mode ,true 
+026b 18467cff sub temp ,gpio_disable ,null 
+026c 20628000 rtn zero 
+026d 20406ee6 call gpio_get_bit 
+026e 20208271 branch p_gpio_set_qdec_mode ,true 
 
 p_gpio_set_low_wake:
-023e d9000003 arg 3 ,debug 
-023f 20206ebd branch gpio_set_wake_high 
+026f d9000003 arg 3 ,debug 
+0270 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_qdec_mode:
-0240 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
+0271 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
 
 p_mouse_qdec_lpm_cfg:
-0241 d9000006 arg 6 ,debug 
-0242 20206ebd branch gpio_set_wake_high 
+0272 d9000006 arg 6 ,debug 
+0273 20206ebd branch gpio_set_wake_high 
 
 p_mouse_puchk_disable:
-0243 58000010 setarg 0x10 
+0274 58000010 setarg 0x10 
 
 p_mouse_puchk_set:
-0244 67f08141 store 1 ,core_puwakeup 
-0245 202023e2 branch lpm_write_wait 
-
-p_mouse_puchk_enable:
-0246 58000080 setarg 0x80 
-0247 20200244 branch p_mouse_puchk_set 
+0275 67f08141 store 1 ,core_puwakeup 
+0276 202023e2 branch lpm_write_wait 
 
 p_mouse_lpm_before_common:
-0248 204003ff call p_clear_wake 
-0249 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
-024a 20405511 call mouse_lpm_before_common + 5 
-024b 204054f9 call mouse_gpio_pd_idle 
+0277 2040044b call p_clear_wake 
+0278 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
+0279 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+027a 20406ef7 call gpio_out_active 
+027b 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+027c 20406ed3 call gpio_clr_wake 
+027d 20405511 call mouse_lpm_before_common + 5 
+027e 204054f9 call mouse_gpio_pd_idle 
 
 p_mouse_wheel_set_impedance:
-024c 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-024d 20406f0f call gpio_set_high_impedance 
-024e 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-024f 20206f0f branch gpio_set_high_impedance 
+027f 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0280 20406f0f call gpio_set_high_impedance 
+0281 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0282 20206f0f branch gpio_set_high_impedance 
 
 p_lpm_sleep:
 
 p_lpm_sleep_skip_cb_function:
-0250 6fe240ad fetch 4 ,mem_sleep_counter_all 
-0251 9840fe00 iadd temp ,pdata 
-0252 67e240ad store 4 ,mem_sleep_counter_all 
-0253 2040025b call p_lpm_save_context 
-0254 20400256 call p_mouse_puchk_set_check 
-0255 20202425 branch lpm_sleep_skip_cb_function + 4 
+0283 6fe240ad fetch 4 ,mem_sleep_counter_all 
+0284 9840fe00 iadd temp ,pdata 
+0285 67e240ad store 4 ,mem_sleep_counter_all 
+0286 2040028f call p_lpm_save_context 
+0287 20400289 call p_mouse_puchk_set_check 
+0288 20202425 branch lpm_sleep_skip_cb_function + 4 
 
 p_mouse_puchk_set_check:
-0256 6fe0c602 fetch 1 ,mem_24g_abort_pac 
-0257 207a0000 rtn blank 
-0258 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
-0259 203a0243 branch p_mouse_puchk_disable ,blank 
-025a 20200246 branch p_mouse_puchk_enable 
+0289 6fe0c602 fetch 1 ,mem_24g_abort_pac 
+028a 207a0000 rtn blank 
+028b 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
+028c 203a0274 branch p_mouse_puchk_disable ,blank 
+
+p_mouse_puchk_enable:
+028d 58000080 setarg 0x80 
+028e 20200275 branch p_mouse_puchk_set 
 
 p_lpm_save_context:
-025b 600440e7 storer mark ,8 ,mem_saved_mark 
-025c d8c08070 arg core_gpio_conf ,contr 
-025d d8a040cc arg mem_saved_gpio ,contw 
-025e 20407c8f call memcpy16 
-025f d8c080d4 arg core_gpio_conf_hi ,contr 
-0260 20407c89 call memcpy8 
-0261 6ff08080 fetch 1 ,core_spid_ctrl 
-0262 67e0c0ef store 1 ,mem_saved_spidctrl 
-0263 18422400 copy temp ,regb 
+028f 600440e7 storer mark ,8 ,mem_saved_mark 
+0290 d8c08070 arg core_gpio_conf ,contr 
+0291 d8a040cc arg mem_saved_gpio ,contw 
+0292 20407c8f call memcpy16 
+0293 d8c080d4 arg core_gpio_conf_hi ,contr 
+0294 20407c89 call memcpy8 
+0295 6ff08080 fetch 1 ,core_spid_ctrl 
+0296 67e0c0ef store 1 ,mem_saved_spidctrl 
+0297 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-0264 df20000c arg 12 ,loopcnt 
-0265 da200016 arg mem_gpio_wakeup_cfg ,rega 
-0266 da60814d arg core_gpio_wakeup_cfg ,regc 
-0267 37d98200 until null ,lpo_edge 
+0298 df20000c arg 12 ,loopcnt 
+0299 da200016 arg mem_gpio_wakeup_cfg ,rega 
+029a da60814d arg core_gpio_wakeup_cfg ,regc 
+029b 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-0268 efe08011 ifetch 1 ,rega 
-0269 e8408013 ifetcht 1 ,regc 
-026a 98467c00 isub temp ,null 
-026b 2022826e branch p_lpm_write_gpio_loop_next ,zero 
-026c e7e08013 istore 1 ,regc 
-026d 37d98200 until null ,lpo_edge 
+029c efe08011 ifetch 1 ,rega 
+029d e8408013 ifetcht 1 ,regc 
+029e 98467c00 isub temp ,null 
+029f 202282a2 branch p_lpm_write_gpio_loop_next ,zero 
+02a0 e7e08013 istore 1 ,regc 
+02a1 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-026e 1a20a201 increase 1 ,rega 
-026f 1a60a601 increase 1 ,regc 
-0270 c2000268 loop p_lpm_write_gpio_loop 
-0271 1a420400 copy regb ,temp 
-0272 20600000 rtn 
+02a2 1a20a201 increase 1 ,rega 
+02a3 1a60a601 increase 1 ,regc 
+02a4 c200029c loop p_lpm_write_gpio_loop 
+02a5 1a420400 copy regb ,temp 
+02a6 20600000 rtn 
 
 p_otp_read_data:
-0273 20406b3a call enable_otp_read 
-0274 20406b75 call otp_read_data + 1 
-0275 20206b38 branch otp_disable_chgpump 
+02a7 20406b3a call enable_otp_read 
+02a8 20406b75 call otp_read_data + 1 
+02a9 20206b38 branch otp_disable_chgpump 
 
 p_g24_reconn_dispatch:
-0276 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-0277 d84001f8 arg 0x01f8 ,temp 
-0278 98417e00 iand temp ,pdata 
-0279 203a027e branch p_g24_reconn_dispatch_next ,blank 
-027a 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-027b 1fe0fe01 increase 1 ,pdata 
-027c 67e145e0 store 2 ,mem_24g_reconn_count 
-027d 20600000 rtn 
+02aa 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+02ab d84001f8 arg 0x01f8 ,temp 
+02ac 98417e00 iand temp ,pdata 
+02ad 203a02b2 branch p_g24_reconn_dispatch_next ,blank 
+02ae 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+02af 1fe0fe01 increase 1 ,pdata 
+02b0 67e145e0 store 2 ,mem_24g_reconn_count 
+02b1 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-027e 2040357f call g24_reconn_data_prep 
-027f 20403651 call g24_transmit_receive_ack 
-0280 242c3586 nbranch g24_reconn_device_fail ,sync 
-0281 2437b586 nbranch g24_reconn_device_fail ,user3 
-0282 2040366e call g24_ackpayload_parse 
-0283 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
-0284 203a0293 branch p_recv_addr_zero_skip ,blank 
+02b2 2040357f call g24_reconn_data_prep 
+02b3 20403651 call g24_transmit_receive_ack 
+02b4 242c3586 nbranch g24_reconn_device_fail ,sync 
+02b5 2437b586 nbranch g24_reconn_device_fail ,user3 
+02b6 2040366e call g24_ackpayload_parse 
+02b7 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
+02b8 203a02d2 branch p_recv_addr_zero_skip ,blank 
 
 p_g24_reconn_dispatch_next_2:
-0285 6fe245cc fetch 4 ,mem_24g_pair_addr 
-0286 684a458f fetcht 4 ,mem_24g_addr 
-0287 98467c00 isub temp ,null 
-0288 2022828a branch p_g24_reconn_mode_judge ,zero 
-0289 2020356e branch g24_reconn_dispatch_next + 9 
+02b9 6fe245cc fetch 4 ,mem_24g_pair_addr 
+02ba 684a458f fetcht 4 ,mem_24g_addr 
+02bb 98467c00 isub temp ,null 
+02bc 202282be branch p_g24_reconn_mode_judge ,zero 
+02bd 2020356e branch g24_reconn_dispatch_next + 9 
 
 p_g24_reconn_mode_judge:
-028a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-028b c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-028c 20203549 branch g24_reconn_receiver_addr 
+02be 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02bf c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+02c0 20203549 branch g24_reconn_receiver_addr 
+
+p_g24_reconn_device_fail:
+02c1 6fe0c5e3 fetch 1 ,mem_24g_fast_conn_enable 
+02c2 203a3222 branch g24_ch ,blank 
+02c3 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+02c4 1fe0fe01 increase 1 ,pdata 
+02c5 67e145e0 store 2 ,mem_24g_reconn_count 
+02c6 2feffe09 isolate1 9 ,pdata 
+02c7 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+02c8 c00282ca beq pair_and_receiver ,p_g24_reconn_pair_and_receiver 
+02c9 2020358d branch g24_reconn_device_fail + 7 
+
+p_g24_reconn_pair_and_receiver:
+02ca 2020b549 branch g24_reconn_receiver_addr ,true 
+02cb 2020329c branch g24_pair_init_param 
 
 p_mouse_param_init:
-028d 2040543b call mouse_param_common_init 
-028e 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
-028f 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
-0290 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
-0291 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
-0292 2020544c branch mouse_param_init + 2 
+02cc 2040543b call mouse_param_common_init 
+02cd 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
+02ce 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+02cf 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
+02d0 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+02d1 2020544c branch mouse_param_init + 2 
 
 p_recv_addr_zero_skip:
-0293 6fe245e4 fetch 4 ,mem_24g_fast_conn_addr 
-0294 684a458f fetcht 4 ,mem_24g_addr 
-0295 98467c00 isub temp ,null 
-0296 20228285 branch p_g24_reconn_dispatch_next_2 ,zero 
-0297 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
-0298 207a0000 rtn blank 
-0299 20200285 branch p_g24_reconn_dispatch_next_2 
+02d2 6fe245e4 fetch 4 ,mem_24g_fast_conn_addr 
+02d3 684a458f fetcht 4 ,mem_24g_addr 
+02d4 98467c00 isub temp ,null 
+02d5 202282b9 branch p_g24_reconn_dispatch_next_2 ,zero 
+02d6 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
+02d7 207a0000 rtn blank 
+02d8 202002b9 branch p_g24_reconn_dispatch_next_2 
 
 p_power_ctrl_start:
-029a 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
-029b 247a0000 nrtn blank 
-029c 6fe144e9 fetch 2 ,mem_ui_state_map 
-029d c3858000 rtnbit1 ui_state_ble_adv 
-029e 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-029f 204035b4 call rssi_average 
-02a0 6048c624 storet 1 ,mem_rssi_avg_received 
-02a1 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
-02a2 c51302a4 bmark1 mark_24g ,p_power_ctrl_start_next 
-02a3 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
+02d9 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
+02da 247a0000 nrtn blank 
+02db 6fe144e9 fetch 2 ,mem_ui_state_map 
+02dc c3858000 rtnbit1 ui_state_ble_adv 
+02dd 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+02de 204035b4 call rssi_average 
+02df 6048c624 storet 1 ,mem_rssi_avg_received 
+02e0 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
+02e1 c51302e3 bmark1 mark_24g ,p_power_ctrl_start_next 
+02e2 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
 
 p_power_ctrl_start_next:
-02a4 98467c00 isub temp ,null 
-02a5 242102be nbranch p_power_ctrl_txpower_incrs_force ,positive 
-02a6 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02a7 1fe67c02 sub pdata ,2 ,null 
-02a8 242102ac nbranch p_power_ctrl_txpower_decrs_check ,positive 
-02a9 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02aa c00002bf beq 0 ,p_power_ctrl_txpower_incrs 
-02ab 20600000 rtn 
+02e3 98467c00 isub temp ,null 
+02e4 242102fd nbranch p_power_ctrl_txpower_incrs_force ,positive 
+02e5 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02e6 1fe67c02 sub pdata ,2 ,null 
+02e7 242102eb nbranch p_power_ctrl_txpower_decrs_check ,positive 
+02e8 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02e9 c00002fe beq 0 ,p_power_ctrl_txpower_incrs 
+02ea 20600000 rtn 
 
 p_power_ctrl_txpower_decrs_check:
-02ac 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02ad 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
-02ae 98467c00 isub temp ,null 
-02af 24628000 nrtn zero 
-02b0 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+02eb 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02ec 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+02ed 98467c00 isub temp ,null 
+02ee 24628000 nrtn zero 
+02ef 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_decrs:
-02b1 6848c624 fetcht 1 ,mem_rssi_avg_received 
-02b2 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
-02b3 c51302b5 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
-02b4 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
+02f0 6848c624 fetcht 1 ,mem_rssi_avg_received 
+02f1 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
+02f2 c51302f4 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
+02f3 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
 
 p_power_ctrl_txpower_decrs_next:
-02b5 98467c00 isub temp ,null 
-02b6 24610000 nrtn positive 
-02b7 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-02b8 c0003715 beq 0 ,power_ctrl_decrs_level0 
-02b9 1fe0ffff increase -1 ,pdata 
-02ba 67e0c625 store 1 ,mem_power_ctrl_level 
-02bb c00102c7 beq 2 ,p_power_ctrl_decrs_level2 
-02bc c000b70b beq 1 ,power_ctrl_decrs_level1 
-02bd 20203715 branch power_ctrl_decrs_level0 
+02f4 98467c00 isub temp ,null 
+02f5 24610000 nrtn positive 
+02f6 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+02f7 c0003715 beq 0 ,power_ctrl_decrs_level0 
+02f8 1fe0ffff increase -1 ,pdata 
+02f9 67e0c625 store 1 ,mem_power_ctrl_level 
+02fa c0010306 beq 2 ,p_power_ctrl_decrs_level2 
+02fb c000b70b beq 1 ,power_ctrl_decrs_level1 
+02fc 20203715 branch power_ctrl_decrs_level0 
 
 p_power_ctrl_txpower_incrs_force:
-02be 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+02fd 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_incrs:
-02bf 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-02c0 c00182c5 beq 3 ,p_power_ctrl_incrs_level3 
-02c1 1fe0fe01 increase 1 ,pdata 
-02c2 67e0c625 store 1 ,mem_power_ctrl_level 
-02c3 c000b70b beq 1 ,power_ctrl_incrs_level1 
-02c4 c00102c7 beq 2 ,p_power_ctrl_incrs_level2 
+02fe 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+02ff c0018304 beq 3 ,p_power_ctrl_incrs_level3 
+0300 1fe0fe01 increase 1 ,pdata 
+0301 67e0c625 store 1 ,mem_power_ctrl_level 
+0302 c000b70b beq 1 ,power_ctrl_incrs_level1 
+0303 c0010306 beq 2 ,p_power_ctrl_incrs_level2 
 
 p_power_ctrl_incrs_level3:
-02c5 70414105 jam tx_power_5db ,mem_tx_power 
-02c6 20600000 rtn 
+0304 70414105 jam tx_power_5db ,mem_tx_power 
+0305 20600000 rtn 
 
 p_power_ctrl_decrs_level2:
 
 p_power_ctrl_incrs_level2:
-02c7 70414103 jam tx_power_3db ,mem_tx_power 
-02c8 20600000 rtn 
+0306 70414103 jam tx_power_3db ,mem_tx_power 
+0307 20600000 rtn 
 
 p_mouse_cb_fuction:
-02c9 58006235 setarg mouse_24g_short_sleep 
-02ca 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
-02cb 5800622b setarg mouse_24g_long_sleep 
-02cc 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
-02cd 202053f3 branch mouse_cb_fuction + 7 
+0308 58006235 setarg mouse_24g_short_sleep 
+0309 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
+030a 5800622b setarg mouse_24g_long_sleep 
+030b 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
+030c 202053f3 branch mouse_cb_fuction + 7 
 
 p_soft_reset:
-02ce 2435a002 nbranch soft_reset + 1 ,wake 
-02cf 37d98200 until null ,lpo_edge 
-02d0 37d98200 until null ,lpo_edge 
-02d1 20800000 clear_stack 
-02d2 204002d4 call p_mouse_wheel_init_set 
-02d3 20202003 branch soft_reset + 2 
+030d 2435a002 nbranch soft_reset + 1 ,wake 
+030e 37d98200 until null ,lpo_edge 
+030f 37d98200 until null ,lpo_edge 
+0310 20800000 clear_stack 
+0311 20558313 call p_mouse_wheel_init_set ,wake 
+0312 20202003 branch soft_reset + 2 
 
 p_mouse_wheel_init_set:
-02d4 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-02d5 20406f0f call gpio_set_high_impedance 
-02d6 20406ec6 call gpio_set_low_pullup 
-02d7 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-02d8 20406f0f call gpio_set_high_impedance 
-02d9 20406ec6 call gpio_set_low_pullup 
-02da 20400264 call p_lpm_write_gpio_wakeup 
+0313 2040044b call p_clear_wake 
+0314 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0315 20406f0f call gpio_set_high_impedance 
+0316 20406ec6 call gpio_set_low_pullup 
+0317 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0318 20406f0f call gpio_set_high_impedance 
+0319 20406ec6 call gpio_set_low_pullup 
+031a 20400298 call p_lpm_write_gpio_wakeup 
 
 p_mouse_puchk_disable_check:
-02db 20758000 rtn wake 
-02dc 6fe0c602 fetch 1 ,mem_24g_abort_pac 
-02dd 207a0000 rtn blank 
-02de 20200243 branch p_mouse_puchk_disable 
+031b 6fe0c602 fetch 1 ,mem_24g_abort_pac 
+031c 207a0000 rtn blank 
+031d 20200274 branch p_mouse_puchk_disable 
 
 p_mouse_default_init:
-02df 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02e0 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
-02e1 2040df08 call mouse_customer_key_enable ,true 
-02e2 2020542c branch mouse_default_parm_init 
+031e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+031f 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
+0320 2040df08 call mouse_customer_key_enable ,true 
+0321 2020542c branch mouse_default_parm_init 
 
 p_mouse_load_device_info_check:
-02e3 204003d2 call p_mouse_store_normal_tx_power 
-02e4 20405d60 call mouse_load_eeprom_info_check 
+0322 2040041f call p_mouse_store_normal_tx_power 
+0323 20405d60 call mouse_load_eeprom_info_check 
 
 p_mouse_app_initflag_check:
-02e5 204002ef call p_mouse_load_device_flag_check 
-02e6 6fe1468e fetch 2 ,mem_store_flag 
-02e7 d840aa55 arg eeprom_init_flag ,temp 
-02e8 98467c00 isub temp ,null 
-02e9 202282f4 branch p_mouse_load_device_info ,zero 
-02ea 6049468e storet 2 ,mem_store_flag 
-02eb 20405c9c call mouse_ble_init_address 
-02ec 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-02ed 67e0c666 store 1 ,mem_device_flag 
-02ee 20205c8c branch mouse_load_default_dpi 
+0324 2040032e call p_mouse_load_device_flag_check 
+0325 6fe1468e fetch 2 ,mem_store_flag 
+0326 d840aa55 arg eeprom_init_flag ,temp 
+0327 98467c00 isub temp ,null 
+0328 20228333 branch p_mouse_load_device_info ,zero 
+0329 6049468e storet 2 ,mem_store_flag 
+032a 20405c9c call mouse_ble_init_address 
+032b 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+032c 67e0c666 store 1 ,mem_device_flag 
+032d 20205c8c branch mouse_load_default_dpi 
 
 p_mouse_load_device_flag_check:
-02ef 6fe0c666 fetch 1 ,mem_device_flag 
-02f0 1fe67c03 sub pdata ,3 ,null 
-02f1 20610000 rtn positive 
-02f2 70466600 jam mode_24g_device ,mem_device_flag 
-02f3 20600000 rtn 
+032e 6fe0c666 fetch 1 ,mem_device_flag 
+032f 1fe67c03 sub pdata ,3 ,null 
+0330 20610000 rtn positive 
+0331 70466600 jam mode_24g_device ,mem_device_flag 
+0332 20600000 rtn 
 
 p_mouse_load_device_info:
-02f4 204002f8 call p_mouse_select_reconn_device 
-02f5 20205c90 branch mouse_load_device_info + 1 
+0333 20400337 call p_mouse_select_reconn_device 
+0334 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_buletooth_fast_conn_end:
-02f6 204002f8 call p_mouse_select_reconn_device 
-02f7 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+0335 20400337 call p_mouse_select_reconn_device 
+0336 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-02f8 6fe0c666 fetch 1 ,mem_device_flag 
-02f9 c1000000 rtneq mode_24g_device 
-02fa c00082fd beq mode_bt_device1 ,p_mouse_load_le_device1 
-02fb c0010302 beq mode_bt_device2 ,p_mouse_load_le_device2 
-02fc 20600000 rtn 
+0337 6fe0c666 fetch 1 ,mem_device_flag 
+0338 c1000000 rtneq mode_24g_device 
+0339 c000833c beq mode_bt_device1 ,p_mouse_load_le_device1 
+033a c0010341 beq mode_bt_device2 ,p_mouse_load_le_device2 
+033b 20600000 rtn 
 
 p_mouse_load_le_device1:
-02fd 6fe34668 fetch 6 ,mem_device1_addr 
-02fe 67e34116 store 6 ,mem_hci_plap 
-02ff 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0300 67e342db store 6 ,mem_le_lap 
-0301 20600000 rtn 
+033c 6fe34668 fetch 6 ,mem_device1_addr 
+033d 67e34116 store 6 ,mem_hci_plap 
+033e 6fe3466e fetch 6 ,mem_device1_locall_addr 
+033f 67e342db store 6 ,mem_le_lap 
+0340 20600000 rtn 
 
 p_mouse_load_le_device2:
-0302 6fe34675 fetch 6 ,mem_device2_addr 
-0303 67e34116 store 6 ,mem_hci_plap 
-0304 6fe3467b fetch 6 ,mem_device2_locall_addr 
-0305 67e342db store 6 ,mem_le_lap 
-0306 20600000 rtn 
+0341 6fe34675 fetch 6 ,mem_device2_addr 
+0342 67e34116 store 6 ,mem_hci_plap 
+0343 6fe3467b fetch 6 ,mem_device2_locall_addr 
+0344 67e342db store 6 ,mem_le_lap 
+0345 20600000 rtn 
 
 p_mouse_store_remote_bdaddr:
-0307 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0308 c4010000 rtnbit0 mouse_store_eeprom_flag 
-0309 d8e00002 arg mouse_store_eeprom_flag ,queue 
-030a 20405f04 call mouse_disable_function_flag 
-030b 2040030e call p_mouse_check_device_addr 
-030c 2040031c call p_mouse_before_store_reconn_info 
-030d 20205ca3 branch mouse_store_device_info_delay 
+0346 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0347 c4010000 rtnbit0 mouse_store_eeprom_flag 
+0348 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0349 20405f04 call mouse_disable_function_flag 
+034a 2040034d call p_mouse_check_device_addr 
+034b 2040035b call p_mouse_before_store_reconn_info 
+034c 20205ca3 branch mouse_store_device_info_delay 
 
 p_mouse_check_device_addr:
-030e 6fe08032 fetch 1 ,mem_record_bt_mode 
-030f c19a0000 rtnne rec_4_mode 
-0310 67e0c95a store 1 ,mem_device_addr_temp 
-0311 6fe30178 fetch 6 ,mem_le_plap 
-0312 67e3495b store 6 ,mem_device_addr_temp + 1 
-0313 6fe3c95a fetch 7 ,mem_device_addr_temp 
-0314 d8c04667 arg mem_device1_type ,contr 
-0315 df200003 arg 3 ,loopcnt 
+034d 6fe08032 fetch 1 ,mem_record_bt_mode 
+034e c19a0000 rtnne rec_4_mode 
+034f 67e0c95a store 1 ,mem_device_addr_temp 
+0350 6fe30178 fetch 6 ,mem_le_plap 
+0351 67e3495b store 6 ,mem_device_addr_temp + 1 
+0352 6fe3c95a fetch 7 ,mem_device_addr_temp 
+0353 d8c04667 arg mem_device1_type ,contr 
+0354 df200003 arg 3 ,loopcnt 
 
 p_mouse_check_device_addr_end:
-0316 e8438006 ifetcht 7 ,contr 
-0317 98467c00 isub temp ,null 
-0318 2022dc69 branch mouse_clean_addr ,zero 
-0319 18c08c07 increase 7 ,contr 
-031a c2000316 loop p_mouse_check_device_addr_end 
-031b 20600000 rtn 
+0355 e8438006 ifetcht 7 ,contr 
+0356 98467c00 isub temp ,null 
+0357 2022dc69 branch mouse_clean_addr ,zero 
+0358 18c08c07 increase 7 ,contr 
+0359 c2000355 loop p_mouse_check_device_addr_end 
+035a 20600000 rtn 
 
 p_mouse_before_store_reconn_info:
-031c da204667 arg mem_device1_type ,rega 
-031d 6fe0c666 fetch 1 ,mem_device_flag 
-031e 1fe0ffff increase -1 ,pdata 
-031f 1feffe0d mul32 pdata ,13 ,pdata 
-0320 9a20a200 iadd rega ,rega 
-0321 6fe08032 fetch 1 ,mem_record_bt_mode 
-0322 e7e08011 istore 1 ,rega 
-0323 c19a0000 rtnne rec_4_mode 
-0324 6fe0c666 fetch 1 ,mem_device_flag 
-0325 c0008328 beq mode_bt_device1 ,p_mouse_store_le_device1 
-0326 c001032d beq mode_bt_device2 ,p_mouse_store_le_device2 
-0327 20600000 rtn 
+035b da204667 arg mem_device1_type ,rega 
+035c 6fe0c666 fetch 1 ,mem_device_flag 
+035d 1fe0ffff increase -1 ,pdata 
+035e 1feffe0d mul32 pdata ,13 ,pdata 
+035f 9a20a200 iadd rega ,rega 
+0360 6fe08032 fetch 1 ,mem_record_bt_mode 
+0361 e7e08011 istore 1 ,rega 
+0362 c19a0000 rtnne rec_4_mode 
+0363 6fe0c666 fetch 1 ,mem_device_flag 
+0364 c0008367 beq mode_bt_device1 ,p_mouse_store_le_device1 
+0365 c001036c beq mode_bt_device2 ,p_mouse_store_le_device2 
+0366 20600000 rtn 
 
 p_mouse_store_le_device1:
-0328 6fe30178 fetch 6 ,mem_le_plap 
-0329 67e34668 store 6 ,mem_device1_addr 
-032a 6fe342db fetch 6 ,mem_le_lap 
-032b 67e3466e store 6 ,mem_device1_locall_addr 
-032c 20600000 rtn 
+0367 6fe30178 fetch 6 ,mem_le_plap 
+0368 67e34668 store 6 ,mem_device1_addr 
+0369 6fe342db fetch 6 ,mem_le_lap 
+036a 67e3466e store 6 ,mem_device1_locall_addr 
+036b 20600000 rtn 
 
 p_mouse_store_le_device2:
-032d 6fe30178 fetch 6 ,mem_le_plap 
-032e 67e34675 store 6 ,mem_device2_addr 
-032f 6fe342db fetch 6 ,mem_le_lap 
-0330 67e3467b store 6 ,mem_device2_locall_addr 
-0331 20600000 rtn 
+036c 6fe30178 fetch 6 ,mem_le_plap 
+036d 67e34675 store 6 ,mem_device2_addr 
+036e 6fe342db fetch 6 ,mem_le_lap 
+036f 67e3467b store 6 ,mem_device2_locall_addr 
+0370 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0332 20400348 call p_mouse_le_send_conn_param_update_timer 
-0333 2040614d call mouse_low_voltage_led_timer 
-0334 2040553d call mouse_adc_read 
-0335 20406110 call mouse_logo_led_on_timer 
-0336 204061b1 call mouse_led_multi_timer 
-0337 2040611e call mouse_dpi_led_blink_delay_timer 
-0338 2040328e call g24_pair_timeout_timer 
-0339 20403531 call g24_reconn_timeout_timer 
-033a 20405fdd call mouse_24g_long_sleep_param_update_timer 
-033b 2040572c call mouse_dpi_key_check_long_press 
-033c 20405b9b call mouse_bt_discovery_check 
-033d 20405bab call mouse_commbination_key_process 
-033e 20405bce call mouse_check_discovery_timeout_timer 
-033f 20405bd3 call mouse_check_direct_timeout_timer 
-0340 20405be1 call mouse_le_enable_att_list_timer 
-0341 20405bee call mouse_le_battery_updata_timer 
-0342 20405be4 call mouse_le_send_smp_security_request_timer 
-0343 20405bfb call mouse_check_reconnect_delay_long_sleep 
-0344 2040034b call p_mouse_current_mult_update_timer 
-0345 204056b6 call mouse_wheel_trigger_timer 
-0346 20405c0e call mouse_store_information_delay_timer 
-0347 20205c05 branch mouse_check_no_data_timeout_timer 
+0371 20400387 call p_mouse_le_send_conn_param_update_timer 
+0372 2040614d call mouse_low_voltage_led_timer 
+0373 2040553d call mouse_adc_read 
+0374 20406110 call mouse_logo_led_on_timer 
+0375 204061b1 call mouse_led_multi_timer 
+0376 2040611e call mouse_dpi_led_blink_delay_timer 
+0377 2040328e call g24_pair_timeout_timer 
+0378 20403531 call g24_reconn_timeout_timer 
+0379 20405fdd call mouse_24g_long_sleep_param_update_timer 
+037a 2040572c call mouse_dpi_key_check_long_press 
+037b 20405b9b call mouse_bt_discovery_check 
+037c 20405bab call mouse_commbination_key_process 
+037d 20405bce call mouse_check_discovery_timeout_timer 
+037e 20405bd3 call mouse_check_direct_timeout_timer 
+037f 20405be1 call mouse_le_enable_att_list_timer 
+0380 20405bee call mouse_le_battery_updata_timer 
+0381 20405be4 call mouse_le_send_smp_security_request_timer 
+0382 20405bfb call mouse_check_reconnect_delay_long_sleep 
+0383 2040038a call p_mouse_current_mult_update_timer 
+0384 204056b6 call mouse_wheel_trigger_timer 
+0385 20405c0e call mouse_store_information_delay_timer 
+0386 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-0348 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-0349 da405aef arg mouse_updata_le_param ,regb 
-034a 202042e0 branch timer_single_step 
+0387 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+0388 da405aef arg mouse_updata_le_param ,regb 
+0389 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-034b da60477e arg mem_mouse_current_mult_timer ,regc 
-034c da40034e arg p_mouse_current_mult_reinit ,regb 
-034d 202042e0 branch timer_single_step 
+038a da60477e arg mem_mouse_current_mult_timer ,regc 
+038b da40038d arg p_mouse_current_mult_reinit ,regb 
+038c 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-034e 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-034f 67e0c0c0 store 1 ,mem_lpm_mult 
-0350 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-0351 20600000 rtn 
+038d 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+038e 67e0c0c0 store 1 ,mem_lpm_mult 
+038f 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+0390 20600000 rtn 
 
 p_mouse_start_discovery:
-0352 204059ed call mouse_sensor_powerdown 
-0353 20205c1b branch mouse_start_discovery + 1 
+0391 204059ed call mouse_sensor_powerdown 
+0392 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-0354 1a627e00 copy regc ,pdata 
-0355 c0200369 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0356 c00a836e beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0357 c0190360 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0358 c01e038c beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0359 c01c839d beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-035a c01d03a0 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-035b c00a035d beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-035c 20205ac3 branch mouse_priority_bb_event + 2 
+0393 1a627e00 copy regc ,pdata 
+0394 c02003a8 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0395 c00a83ad beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0396 c019039f beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0397 c01e03ca beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0398 c01c83da beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0399 c01d03df beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+039a c00a039c beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+039b 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-035d 58000000 setarg 0 
-035e 67e24bfa store 4 ,mem_le_conn_first_rcv 
-035f 20205ad0 branch mouse_le_bb_event_connected 
+039c 58000000 setarg 0 
+039d 67e24bfa store 4 ,mem_le_conn_first_rcv 
+039e 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-0360 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-0361 c0008364 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0362 70484414 jam 20 ,mem_le_start_encrypt_timer 
-0363 20200366 branch p_mouse_le_ll_reconn_start_encryt_new 
+039f 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+03a0 c00083a3 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+03a1 70484414 jam 20 ,mem_le_start_encrypt_timer 
+03a2 202003a5 branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-0364 20405aef call mouse_updata_le_param 
-0365 70484405 jam 5 ,mem_le_start_encrypt_timer 
+03a3 20405aef call mouse_updata_le_param 
+03a4 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-0366 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-0367 67e0cbfa store 1 ,mem_le_conn_first_rcv 
-0368 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+03a5 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+03a6 67e0cbfa store 1 ,mem_le_conn_first_rcv 
+03a7 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0369 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-036a 247a0000 nrtn blank 
-036b 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-036c 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-036d 20600000 rtn 
+03a8 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+03a9 247a0000 nrtn blank 
+03aa 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+03ab 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+03ac 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-036e 58000000 setarg 0 
-036f 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-0370 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-0371 58000000 setarg 0 
-0372 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-0373 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-0374 d8400006 arg le_interval_7_5ms ,temp 
-0375 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0376 c28d8378 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-0377 d8400007 arg le_interval_8_75ms ,temp 
+03ad 58000000 setarg 0 
+03ae 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+03af 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+03b0 58000000 setarg 0 
+03b1 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+03b2 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+03b3 d8400006 arg le_interval_7_5ms ,temp 
+03b4 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03b5 c28d83b7 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+03b6 d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-0378 604942d3 storet 2 ,mem_le_interval_min 
-0379 604942d5 storet 2 ,mem_le_interval_min + 2 
-037a 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-037b 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-037c 204029cb call le_clr_config_more_data 
-037d 2020037e branch p_mouse_bb_disconnected 
+03b7 604942d3 storet 2 ,mem_le_interval_min 
+03b8 604942d5 storet 2 ,mem_le_interval_min + 2 
+03b9 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+03ba 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+03bb 204029cb call le_clr_config_more_data 
 
 p_mouse_bb_disconnected:
-037e 20405b7b call mouse_bb_discon_clear_stack 
-037f 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0380 c2838383 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-0381 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-0382 20205c1a branch mouse_start_discovery 
+03bc 20405b7b call mouse_bb_discon_clear_stack 
+03bd 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03be c28383c1 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+03bf c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03c0 20205c1a branch mouse_start_discovery 
 
 p_mouse4_0_event_bb_disconn:
-0383 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0384 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-0385 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0386 1fe17e03 and pdata ,0x03 ,pdata 
-0387 20405b21 call mouse_le_clean_connect_flag 
-0388 c081d4a9 bne 0x03 ,mouse_start_reconnect 
-0389 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-038a 243a54a9 nbranch mouse_start_reconnect ,blank 
-038b 202054cd branch mouse_app_enter_hibernate 
+03c1 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03c2 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03c3 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+03c4 1fe17e03 and pdata ,0x03 ,pdata 
+03c5 20405b21 call mouse_le_clean_connect_flag 
+03c6 c081d4a9 bne 0x03 ,mouse_start_reconnect 
+03c7 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
+03c8 243a54a9 nbranch mouse_start_reconnect ,blank 
+03c9 202054cd branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-038c 6fe2458f fetch 4 ,mem_24g_addr 
-038d 67e245e8 store 4 ,mem_24g_receiver_addr 
-038e 67e24691 store 4 ,mem_mouse_24g_addr 
-038f 2040355a call g24_ch_syncword_crc8_init 
-0390 20405c0b call mouse_no_data_timer_init 
-0391 2040618e call mouse_device_poweron_led_config 
-0392 20405a73 call mouse_init_sensor_reset 
-0393 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-0394 7045fc00 jam 0 ,mem_24g_conn_sm 
-0395 7045e200 jam 0 ,mem_24g_reconn_type 
-0396 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-0397 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-0398 98467c00 isub temp ,null 
-0399 20628000 rtn zero 
-039a 20406016 call mouse_soft_agc_disable 
-039b 204003d5 call p_mouse_fetch_normal_tx_power 
-039c 20206042 branch mouse_24g_first_store_reconn_info 
+03ca 6fe2458f fetch 4 ,mem_24g_addr 
+03cb 67e245e8 store 4 ,mem_24g_receiver_addr 
+03cc 67e24691 store 4 ,mem_mouse_24g_addr 
+03cd 2040355a call g24_ch_syncword_crc8_init 
+03ce 20405c0b call mouse_no_data_timer_init 
+03cf 2040618e call mouse_device_poweron_led_config 
+03d0 20405a73 call mouse_init_sensor_reset 
+03d1 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+03d2 7045fc00 jam 0 ,mem_24g_conn_sm 
+03d3 7045e200 jam 0 ,mem_24g_reconn_type 
+03d4 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+03d5 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+03d6 98467c00 isub temp ,null 
+03d7 20628000 rtn zero 
+03d8 204003dc call p_mouse_fetch_normal_tx_power 
+03d9 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-039d 20406016 call mouse_soft_agc_disable 
-039e 204003d5 call p_mouse_fetch_normal_tx_power 
-039f 20206084 branch mouse_24g_pairing_complete 
+03da 204003dc call p_mouse_fetch_normal_tx_power 
+03db 20206084 branch mouse_24g_pairing_complete 
+
+p_mouse_fetch_normal_tx_power:
+03dc 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+03dd 67e0c141 store 1 ,mem_tx_power 
+03de 20206016 branch mouse_soft_agc_disable 
 
 p_mouse_24g_attempt_fail:
-03a0 20406016 call mouse_soft_agc_disable 
-03a1 204003d5 call p_mouse_fetch_normal_tx_power 
-03a2 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-03a3 c1008000 rtneq dpi_button_state_down 
-03a4 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-03a5 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-03a6 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-03a7 c00203aa beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-03a8 c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
-03a9 20206055 branch mouse_24g_attempt_fail + 2 
+03df 204003dc call p_mouse_fetch_normal_tx_power 
+03e0 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+03e1 c1008000 rtneq dpi_button_state_down 
+03e2 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+03e3 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+03e4 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+03e5 c00283f1 beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
+03e6 c00083e9 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
+03e7 c00183f8 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+03e8 20206055 branch mouse_24g_attempt_fail + 2 
+
+p_mouse_24g_fast_conn_attempt_fail:
+03e9 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03ea c29f03ed bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+03eb c29803ed bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+03ec 20206062 branch mouse_24g_fast_conn_attempt_fail + 3 
+
+p_mouse_24g_start_auto_pair:
+03ed 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
+03ee 67e145de store 2 ,mem_24g_reconn_timeout 
+03ef 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
+03f0 20203534 branch g24_reconn_start 
 
 p_mouse_24g_auto_pair_attempt_fail:
-03aa 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03ab c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-03ac 6fe0c71b fetch 1 ,mem_device_number 
-03ad c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+03f1 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03f2 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+03f3 6fe0c71b fetch 1 ,mem_device_number 
+03f4 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-03ae 20406018 call mouse_24g_stop 
-03af 70466601 jam mode_bt_device1 ,mem_device_flag 
-03b0 20205491 branch mouse_le_fast_conn_judge 
+03f5 20406018 call mouse_24g_stop 
+03f6 70466601 jam mode_bt_device1 ,mem_device_flag 
+03f7 20205491 branch mouse_le_fast_conn_judge 
+
+p_mouse_reconn_dongle_attempt_fail:
+03f8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03f9 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+03fa c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+03fb c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
+03fc c2896059 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+03fd 202003ed branch p_mouse_24g_start_auto_pair 
 
 p_mouse_start_work:
-03b1 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03b2 c29f03bf bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
-03b3 6fe0c666 fetch 1 ,mem_device_flag 
-03b4 c00003ca beq mode_24g_device ,p_mouse_24g_start_mode 
-03b5 2040619f call mouse_device_le_reconn_led_config 
-03b6 20205491 branch mouse_le_fast_conn_judge 
+03fe 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03ff c29f040c bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
+0400 6fe0c666 fetch 1 ,mem_device_flag 
+0401 c0000417 beq mode_24g_device ,p_mouse_24g_start_mode 
+0402 2040619f call mouse_device_le_reconn_led_config 
+0403 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_start_reconnect_device:
-03b7 da204667 arg mem_device1_type ,rega 
-03b8 6fe0c666 fetch 1 ,mem_device_flag 
-03b9 1fe0ffff increase -1 ,pdata 
-03ba 1feffe0d mul32 pdata ,13 ,pdata 
-03bb 9a20a200 iadd rega ,rega 
-03bc efe08011 ifetch 1 ,rega 
-03bd 67e0c3f3 store 1 ,mem_xrecord_mode 
-03be 202054a9 branch mouse_start_reconnect 
+0404 da204667 arg mem_device1_type ,rega 
+0405 6fe0c666 fetch 1 ,mem_device_flag 
+0406 1fe0ffff increase -1 ,pdata 
+0407 1feffe0d mul32 pdata ,13 ,pdata 
+0408 9a20a200 iadd rega ,rega 
+0409 efe08011 ifetch 1 ,rega 
+040a 67e0c3f3 store 1 ,mem_xrecord_mode 
+040b 202054a9 branch mouse_start_reconnect 
 
 p_mouse_24g_first_start_auto_pair_mode:
-03bf 204054ac call mouse_wakeup_from_power_check 
-03c0 203403c6 branch p_mouse_24g_first_start_reconn ,user 
+040c 204054ac call mouse_wakeup_from_power_check 
+040d 20340413 branch p_mouse_24g_first_start_reconn ,user 
 
 p_mouse_24g_reconn_general_dongle:
-03c1 70466600 jam mode_24g_device ,mem_device_flag 
-03c2 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-03c3 67e145de store 2 ,mem_24g_reconn_timeout 
-03c4 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-03c5 20203534 branch g24_reconn_start 
+040e 70466600 jam mode_24g_device ,mem_device_flag 
+040f 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0410 67e145de store 2 ,mem_24g_reconn_timeout 
+0411 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+0412 20203534 branch g24_reconn_start 
 
 p_mouse_24g_first_start_reconn:
-03c6 6fe0c666 fetch 1 ,mem_device_flag 
-03c7 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
-03c8 20405aa8 call mouse_bluetooth_fast_conn_disable 
-03c9 202003ae branch p_mouse_24g_first_bluetooth_reconnect 
+0413 6fe0c666 fetch 1 ,mem_device_flag 
+0414 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+0415 20405aa8 call mouse_bluetooth_fast_conn_disable 
+0416 202003f5 branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-03ca 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03cb c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-03cc 20406195 call mouse_device_24g_pair_led_config 
-03cd 204054ac call mouse_wakeup_from_power_check 
-03ce 20346067 branch mouse_24g_reconn_dongle_start ,user 
-03cf 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03d0 c29803c1 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-03d1 20206023 branch mouse_24g_start_mode + 7 
+0417 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0418 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0419 20406195 call mouse_device_24g_pair_led_config 
+041a 204054ac call mouse_wakeup_from_power_check 
+041b 20346067 branch mouse_24g_reconn_dongle_start ,user 
+041c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+041d c298040e bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+041e 20206023 branch mouse_24g_start_mode + 7 
 
 p_mouse_store_normal_tx_power:
-03d2 6fe0c141 fetch 1 ,mem_tx_power 
-03d3 67e0ca07 store 1 ,mem_normal_tx_power 
-03d4 20600000 rtn 
-
-p_mouse_fetch_normal_tx_power:
-03d5 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-03d6 67e0c141 store 1 ,mem_tx_power 
-03d7 20600000 rtn 
+041f 6fe0c141 fetch 1 ,mem_tx_power 
+0420 67e0ca07 store 1 ,mem_normal_tx_power 
+0421 20600000 rtn 
 
 p_mouse_idle:
-03d8 2040620e call mouse_low_voltage_led_no_enter_lpm 
-03d9 204078aa call ui_check_paring_button 
-03da 204003dc call p_mouse_dpi_check 
-03db 20205e61 branch mouse_idle + 4 
+0422 2040620e call mouse_low_voltage_led_no_enter_lpm 
+0423 204078aa call ui_check_paring_button 
+0424 20400428 call p_mouse_dpi_check 
+0425 20205e61 branch mouse_idle + 4 
+
+p_mouse_dpi_check_retransmit:
+0426 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0427 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
 
 p_mouse_dpi_check:
-03dc 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03dd c17f8000 rtneq gpio_disable 
-03de da200000 arg 0 ,rega 
-03df 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-03e0 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03e1 204003e3 call p_mouse_dpi_key_check 
-03e2 202056c1 branch mouse_dpi_check_next 
+0428 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0429 c17f8000 rtneq gpio_disable 
+042a da200000 arg 0 ,rega 
+042b 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+042c 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+042d 2040042f call p_mouse_dpi_key_check 
+042e 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03e3 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03e4 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03e5 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-03e6 1fe22600 copy pdata ,regc 
-03e7 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-03e8 c07f83ea beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03e9 202056ce branch mouse_dpi_key_check_next 
+042f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0430 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0431 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+0432 1fe22600 copy pdata ,regc 
+0433 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+0434 c07f8436 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+0435 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03ea 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03eb 20405946 call mouse_gpio_config_output_low 
-03ec 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03ed 202003ee branch p_mouse_3io6key_check 
+0436 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0437 20405946 call mouse_gpio_config_output_low 
+0438 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0439 2020043a branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-03ee 1a627e00 copy regc ,pdata 
-03ef 67e0c978 store 1 ,mem_mouse_key_status 
-03f0 1fe3fe00 lshift pdata ,pdata 
-03f1 1fe22400 copy pdata ,regb 
-03f2 18422600 copy temp ,regc 
-03f3 204055b1 call mouse_gpio_config_input_pd 
-03f4 1a620400 copy regc ,temp 
-03f5 20406ee6 call gpio_get_bit 
-03f6 7d20a400 nsetflag true ,0 ,regb 
-03f7 2040593d call mouse_check_press 
-03f8 20205929 branch mouse_check_key_connect_gnd_1 
+043a 1a627e00 copy regc ,pdata 
+043b 67e0c978 store 1 ,mem_mouse_key_status 
+043c 1fe3fe00 lshift pdata ,pdata 
+043d 1fe22400 copy pdata ,regb 
+043e 18422600 copy temp ,regc 
+043f 204055b1 call mouse_gpio_config_input_pd 
+0440 1a620400 copy regc ,temp 
+0441 20406ee6 call gpio_get_bit 
+0442 7d20a400 nsetflag true ,0 ,regb 
+0443 2040593d call mouse_check_press 
+0444 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-03f9 204036b4 call g24_lpm_wait 
-03fa 24740000 nrtn user 
-03fb 204036be call g24_setgpio_lpm_before 
-03fc 204003ff call p_clear_wake 
-03fd 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-03fe 20203622 branch g24_long_seep2 
+0445 204036b4 call g24_lpm_wait 
+0446 24740000 nrtn user 
+0447 204036be call g24_setgpio_lpm_before 
+0448 2040044b call p_clear_wake 
+0449 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+044a 20203622 branch g24_long_seep2 
 
 p_clear_wake:
-03ff 58000000 setarg 0 
-0400 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-0401 58000000 setarg 0 
-0402 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-0403 20600000 rtn 
+044b 58000000 setarg 0 
+044c 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+044d 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+044e 20600000 rtn 
 
 p_mouse_24g_hibernate_set:
-0404 70460000 jam 0 ,mem_24g_attempt_fail_flag 
-0405 20403647 call g24_transmit_next_packet 
-0406 5fffffff setarg -1 
-0407 67e245af store 4 ,mem_24g_enter_hibernate 
-0408 58000000 setarg 0 
-0409 67e3c846 store 7 ,mem_mouse_key 
-040a 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-040b 204059ed call mouse_sensor_powerdown 
-040c 2020622b branch mouse_24g_long_sleep 
+044f 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+0450 20403647 call g24_transmit_next_packet 
+0451 5fffffff setarg -1 
+0452 67e245af store 4 ,mem_24g_enter_hibernate 
+0453 58000000 setarg 0 
+0454 67e3c846 store 7 ,mem_mouse_key 
+0455 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+0456 204059ed call mouse_sensor_powerdown 
+0457 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-040d 20405a92 call mouse_set_sdio_high 
-040e 204003ff call p_clear_wake 
-040f 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-0410 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0411 20406ef7 call gpio_out_active 
-0412 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0413 20406ed3 call gpio_clr_wake 
-0414 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0415 20405943 call mouse_gpio_config_output_high 
-0416 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0417 204055ab call mouse_gpio_set_pupd_by_input 
-0418 d8400009 arg 9 ,temp 
-0419 204055b5 call mouse_gpio_config_input_pu 
-041a 70460201 jam 1 ,mem_24g_abort_pac 
-041b 2040611a call mouse_logo_led_off 
-041c 20400248 call p_mouse_lpm_before_common 
-041d 202054e2 branch mouse_setgpio_hibernate_next 
+0458 20405a92 call mouse_set_sdio_high 
+0459 2040044b call p_clear_wake 
+045a 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+045b 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+045c 20406ef7 call gpio_out_active 
+045d 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+045e 20406ed3 call gpio_clr_wake 
+045f 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0460 20405943 call mouse_gpio_config_output_high 
+0461 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0462 204055ab call mouse_gpio_set_pupd_by_input 
+0463 d8400009 arg 9 ,temp 
+0464 204055b5 call mouse_gpio_config_input_pu 
+0465 70460201 jam 1 ,mem_24g_abort_pac 
+0466 2040611a call mouse_logo_led_off 
+0467 20400277 call p_mouse_lpm_before_common 
+0468 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-041e c6930000 rtnmark0 mark_24g 
-041f 20405601 call mouse_motion 
-0420 24740000 nrtn user 
-0421 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0422 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0423 245a0433 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-0424 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0425 c30b0428 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-0426 6fe0c96c fetch 1 ,mem_customer_key 
-0427 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+0469 c6930000 rtnmark0 mark_24g 
+046a 20405601 call mouse_motion 
+046b 24740000 nrtn user 
+046c 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+046d 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+046e 245a047e ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+046f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0470 c30b0473 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+0471 6fe0c96c fetch 1 ,mem_customer_key 
+0472 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-0428 2040042a call p_mouse_data_xy_release 
-0429 202060a2 branch mouse_24g_mouse_package_data + 1 
+0473 20400475 call p_mouse_data_xy_release 
+0474 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-042a 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-042b c1ff8000 rtnne gpio_disable 
-042c 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-042d 207a0000 rtn blank 
-042e 1fe0ffff increase -1 ,pdata 
-042f 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-0430 58000000 setarg 0 
-0431 67e24847 store 4 ,mem_mouse_x 
-0432 20205a73 branch mouse_init_sensor_reset 
+0475 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+0476 c1ff8000 rtnne gpio_disable 
+0477 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+0478 207a0000 rtn blank 
+0479 1fe0ffff increase -1 ,pdata 
+047a 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+047b 58000000 setarg 0 
+047c 67e24847 store 4 ,mem_mouse_x 
+047d 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-0433 204003ff call p_clear_wake 
-0434 20200264 branch p_lpm_write_gpio_wakeup 
+047e 2040044b call p_clear_wake 
+047f 20200298 branch p_lpm_write_gpio_wakeup 
 
 p_mouse_check_select_device_by_switch:
-0435 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0436 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-0437 c31f8445 bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
+0480 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0481 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+0482 c31f848d bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_connect_vin_check:
-0438 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0439 20406ef7 call gpio_out_active 
-043a 2040043f call p_mouse_switch_gpio_connect_vin 
-043b 6848c65a fetcht 1 ,mem_device_switch_gpio 
-043c 20406ef3 call gpio_out_inactive 
-043d 6848c65a fetcht 1 ,mem_device_switch_gpio 
-043e 202055b5 branch mouse_gpio_config_input_pu 
+0483 2040048f call p_mouse_switch_gpio_pd_set 
+0484 20400489 call p_mouse_switch_gpio_connect_vin 
+
+p_mouse_switch_gpio_pu_set:
+0485 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0486 20406ef3 call gpio_out_inactive 
+0487 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0488 202055b5 branch mouse_gpio_config_input_pu 
 
 p_mouse_switch_gpio_connect_vin:
-043f 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0440 204055b1 call mouse_gpio_config_input_pd 
-0441 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0442 20406ee6 call gpio_get_bit 
-0443 2420dec2 nbranch mouse_check_select_24g_device ,true 
-0444 20205ebe branch mouse_select_btdevice 
+0489 6848c65a fetcht 1 ,mem_device_switch_gpio 
+048a 20406ee6 call gpio_get_bit 
+048b 2420dec2 nbranch mouse_check_select_24g_device ,true 
+048c 20205ebe branch mouse_select_btdevice 
 
 p_mouse_switch_gpio_connect_gnd:
-0445 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0446 20406ef3 call gpio_out_inactive 
-0447 20405eb9 call mouse_switch_gpio_connect_gnd 
-0448 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0449 20406ef7 call gpio_out_active 
-044a 6848c65a fetcht 1 ,mem_device_switch_gpio 
-044b 202055b1 branch mouse_gpio_config_input_pd 
+048d 20400485 call p_mouse_switch_gpio_pu_set 
+048e 20405ebb call mouse_switch_gpio_connect_gnd 
+
+p_mouse_switch_gpio_pd_set:
+048f 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0490 20406ef7 call gpio_out_active 
+0491 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0492 202055b1 branch mouse_gpio_config_input_pd 
 
 p_mouse_init_sensor:
-044c 20405958 call mouse_read_sensor_id 
-044d c0180459 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-044e c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-044f c02c0451 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0450 20205952 branch mouse_init_sensor + 5 
+0493 20405958 call mouse_read_sensor_id 
+0494 c01804a0 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0495 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+0496 c02c0498 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+0497 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-0451 204059e7 call mouse_sensor_poweron 
-0452 6fe0c85a fetch 1 ,mem_sensor_id2 
-0453 c02b845d beq ka5857_id2 ,p_mouse_ka5857_init_param 
-0454 c02c8456 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-0455 2020595f branch mouse_init_p32xx_id2_judge 
+0498 204059e7 call mouse_sensor_poweron 
+0499 6fe0c85a fetch 1 ,mem_sensor_id2 
+049a c02b84a4 beq ka5857_id2 ,p_mouse_ka5857_init_param 
+049b c02c849d beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+049c 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-0456 7049570b jam ka8g2 ,mem_config_sensor_type 
-0457 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-0458 20205995 branch mouse_sensor_wr_seq 
+049d 7049570b jam ka8g2 ,mem_config_sensor_type 
+049e da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+049f 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_init_p32xx_id2_judge:
-0459 6fe0c85a fetch 1 ,mem_sensor_id2 
-045a 1fe17ef0 and_into 0xf0 ,pdata 
-045b c0600460 beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
-045c 2020595f branch mouse_init_p32xx_id2_judge 
+04a0 6fe0c85a fetch 1 ,mem_sensor_id2 
+04a1 1fe17ef0 and_into 0xf0 ,pdata 
+04a2 c06004a7 beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
+04a3 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka5857_init_param:
-045d 7049570d jam ka5857 ,mem_config_sensor_type 
-045e da604bfe arg mem_sensor_ka5857_init ,regc 
-045f 20205995 branch mouse_sensor_wr_seq 
+04a4 7049570d jam ka5857 ,mem_config_sensor_type 
+04a5 da604bfe arg mem_sensor_ka5857_init ,regc 
+04a6 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_p3204_tjdm_init_param:
-0460 58000049 setarg 0x49 
-0461 204069e5 call twspi_read 
-0462 c050d96c beq 0xa1 ,mouse_s201x_init_param 
-0463 202059cd branch mouse_p3065xy_init_param 
+04a7 58000049 setarg 0x49 
+04a8 204069e5 call twspi_read 
+04a9 c050d96c beq 0xa1 ,mouse_s201x_init_param 
+04aa 202059cd branch mouse_p3065xy_init_param 
 
 p_mouse_dpi_process:
-0464 20405728 call mouse_dpi_ghost_check 
-0465 20740000 rtn user 
-0466 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0467 c0068469 beq ka5857 ,p_mouse_dpi_process_5_level 
-0468 202056fa branch mouse_dpi_process + 3 
+04ab 20405728 call mouse_dpi_ghost_check 
+04ac 20740000 rtn user 
+04ad 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04ae c00684b0 beq ka5857 ,p_mouse_dpi_process_5_level 
+04af 202056fa branch mouse_dpi_process + 3 
 
 p_mouse_dpi_process_5_level:
-0469 6fe0c690 fetch 1 ,mem_mouse_dpi 
-046a 1fe0fe01 increase 1 ,pdata 
-046b 1fe67c04 sub pdata ,4 ,null 
-046c 24417dca ncall set_pdata_0 ,positive 
-046d 20205701 branch mouse_dpi_level_store 
+04b0 6fe0c690 fetch 1 ,mem_mouse_dpi 
+04b1 1fe0fe01 increase 1 ,pdata 
+04b2 1fe67c04 sub pdata ,4 ,null 
+04b3 24417dca ncall set_pdata_0 ,positive 
+04b4 20205701 branch mouse_dpi_level_store 
 
 p_mouse_setting_dpi_4_level:
-046e 6fe0c957 fetch 1 ,mem_config_sensor_type 
-046f c1068000 rtneq ka5857 
-0470 c1018000 rtneq p3212 
-0471 2020573e branch mouse_setting_dpi_4_level 
+04b5 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04b6 c1068000 rtneq ka5857 
+04b7 c1018000 rtneq p3212 
+04b8 2020573e branch mouse_setting_dpi_4_level 
 
 p_mouse_setting_dpi:
-0472 2040046e call p_mouse_setting_dpi_4_level 
-0473 2040613a call mouse_dpi_led_blink_delay 
+04b9 204004b5 call p_mouse_setting_dpi_4_level 
+04ba 2040613a call mouse_dpi_led_blink_delay 
 
 p_mouse_setting_sensor_type:
-0474 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0475 c006d785 beq ka5857 ,mouse_seting_3212_dpi 
-0476 c0060478 beq s201x ,p_mouse_seting_s201_dpi 
-0477 20205749 branch mouse_setting_sensor_type + 2 
+04bb 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04bc c006d785 beq ka5857 ,mouse_seting_3212_dpi 
+04bd c00604bf beq s201x ,p_mouse_seting_s201_dpi 
+04be 20205749 branch mouse_setting_sensor_type + 2 
 
 p_mouse_seting_s201_dpi:
-0478 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0479 c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
-047a c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
-047b c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
-047c 2020576f branch mouse_set_s201_dpi_0 
+04bf 6fe0c690 fetch 1 ,mem_mouse_dpi 
+04c0 c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
+04c1 c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
+04c2 c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
+04c3 2020576f branch mouse_set_s201_dpi_0 
 
 p_mouse_check_sensor_data:
-047d 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-047e c1800000 rtnne flash_sm_no_buys 
-047f 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0480 c0058482 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-0481 202059f8 branch mouse_check_sensor_data + 2 
+04c4 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+04c5 c1800000 rtnne flash_sm_no_buys 
+04c6 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04c7 c00584c9 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+04c8 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-0482 20405a6d call mouse_clear_sensor_data 
-0483 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-0484 c07f8488 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-0485 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-0486 20406ee6 call gpio_get_bit 
-0487 24608000 nrtn true 
+04c9 20405a6d call mouse_clear_sensor_data 
+04ca 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04cb c07f84cf beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+04cc 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+04cd 20406ee6 call gpio_get_bit 
+04ce 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-0488 58000000 setarg pan_reg_pid_l 
-0489 204069e5 call twspi_read 
-048a c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-048b 20205a2f branch mouse_p3212_sensor_motion_2 
+04cf 58000000 setarg pan_reg_pid_l 
+04d0 204069e5 call twspi_read 
+04d1 c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+04d2 20205a2f branch mouse_p3212_sensor_motion_2 
 
 p_mouse_motion:
-048c 78547c00 disable user 
-048d 58000000 setarg 0 
-048e 67e34847 store 6 ,mem_mouse_x 
-048f 2040047d call p_mouse_check_sensor_data 
-0490 58000089 setarg 0x0089 
-0491 204069e4 call twspi_write 
-0492 20405747 call mouse_setting_sensor_type 
-0493 20405612 call mouse_zwheel 
-0494 20405617 call mouse_t_zwheel 
-0495 20400497 call p_mouse_key 
-0496 2020560c branch mouse_motion + 11 
+04d3 78547c00 disable user 
+04d4 58000000 setarg 0 
+04d5 67e34847 store 6 ,mem_mouse_x 
+04d6 204004c4 call p_mouse_check_sensor_data 
+04d7 58000089 setarg 0x0089 
+04d8 204069e4 call twspi_write 
+04d9 20405747 call mouse_setting_sensor_type 
+04da 20405612 call mouse_zwheel 
+04db 20405617 call mouse_t_zwheel 
+04dc 204004de call p_mouse_key 
+04dd 2020560c branch mouse_motion + 11 
 
 p_mouse_key:
-0497 2040584c call mouse_check_firekey_gpio 
-0498 6fe0c987 fetch 1 ,mem_fire_key_flag 
-0499 243a5860 nbranch fire_key_press ,blank 
-049a 6fe0c982 fetch 1 ,mem_fire_key_status 
-049b 243a585f nbranch fire_key_process ,blank 
-049c 20405888 call mouse_check_key_gpio 
-049d 2040049f call p_mouse_ghost_key_check 
-049e 202057ad branch mouse_key + 7 
+04de 2040584c call mouse_check_firekey_gpio 
+04df 6fe0c987 fetch 1 ,mem_fire_key_flag 
+04e0 243a5860 nbranch fire_key_press ,blank 
+04e1 6fe0c982 fetch 1 ,mem_fire_key_status 
+04e2 243a585f nbranch fire_key_process ,blank 
+04e3 20405888 call mouse_check_key_gpio 
+04e4 204004e6 call p_mouse_ghost_key_check 
+04e5 202057ad branch mouse_key + 7 
 
 p_mouse_ghost_key_check:
-049f 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
-04a0 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
-04a1 70497b00 jam 0 ,mem_mouse_ghost_flag 
-04a2 1fe22400 copy pdata ,regb 
-04a3 6848c644 fetcht 1 ,mem_lbutton_gpio 
-04a4 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04a5 98467c00 isub temp ,null 
-04a6 202284b1 branch p_mouse_matrix_ghost_key_l_bk ,zero 
-04a7 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-04a8 98467c00 isub temp ,null 
-04a9 202284b7 branch p_mouse_matrix_ghost_key_l_fw ,zero 
-04aa 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04ab 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04ac 98467c00 isub temp ,null 
-04ad 202284c0 branch p_mouse_ghost_key_mbk_rfw ,zero 
+04e6 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
+04e7 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
+04e8 70497b00 jam 0 ,mem_mouse_ghost_flag 
+04e9 1fe22400 copy pdata ,regb 
+04ea 6848c644 fetcht 1 ,mem_lbutton_gpio 
+04eb 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04ec 98467c00 isub temp ,null 
+04ed 202284f8 branch p_mouse_matrix_ghost_key_l_bk ,zero 
+04ee 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04ef 98467c00 isub temp ,null 
+04f0 202284fe branch p_mouse_matrix_ghost_key_l_fw ,zero 
+04f1 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04f2 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04f3 98467c00 isub temp ,null 
+04f4 20228507 branch p_mouse_ghost_key_mbk_rfw ,zero 
 
 p_mouse_ghost_key_mfw_rbk:
-04ae 204057fb call mouse_ghost_key_check_m_fw 
+04f5 204057fb call mouse_ghost_key_check_m_fw 
 
 p_mouse_ghost_key_rbk:
-04af 204004c5 call p_mouse_ghost_key_check_r_bk 
-04b0 202057e5 branch mouse_ghost_key_check_next 
+04f6 2040050c call p_mouse_ghost_key_check_r_bk 
+04f7 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_matrix_ghost_key_l_bk:
-04b1 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04b2 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-04b3 98467c00 isub temp ,null 
-04b4 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
+04f8 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04f9 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04fa 98467c00 isub temp ,null 
+04fb 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
 
 p_mouse_ghost_key_lbk_rfw:
-04b5 204057ef call mouse_ghost_key_check_l_bk 
-04b6 202004c1 branch p_mouse_ghost_key_rfw 
+04fc 204057ef call mouse_ghost_key_check_l_bk 
+04fd 20200508 branch p_mouse_ghost_key_rfw 
 
 p_mouse_matrix_ghost_key_l_fw:
-04b7 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04b8 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04b9 98467c00 isub temp ,null 
-04ba 202284bd branch p_mouse_ghost_key_lfw_mbk ,zero 
+04fe 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04ff 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+0500 98467c00 isub temp ,null 
+0501 20228504 branch p_mouse_ghost_key_lfw_mbk ,zero 
 
 p_mouse_ghost_key_lfw_rbk:
-04bb 204004c7 call p_mouse_ghost_key_check_l_fw 
-04bc 202004af branch p_mouse_ghost_key_rbk 
+0502 2040050e call p_mouse_ghost_key_check_l_fw 
+0503 202004f6 branch p_mouse_ghost_key_rbk 
 
 p_mouse_ghost_key_lfw_mbk:
-04bd 204004c7 call p_mouse_ghost_key_check_l_fw 
-04be 204004c3 call p_mouse_ghost_key_check_m_bk 
-04bf 202057e5 branch mouse_ghost_key_check_next 
+0504 2040050e call p_mouse_ghost_key_check_l_fw 
+0505 2040050a call p_mouse_ghost_key_check_m_bk 
+0506 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_mbk_rfw:
-04c0 204004c3 call p_mouse_ghost_key_check_m_bk 
+0507 2040050a call p_mouse_ghost_key_check_m_bk 
 
 p_mouse_ghost_key_rfw:
-04c1 204004c9 call p_mouse_ghost_key_check_r_fw 
-04c2 202057e5 branch mouse_ghost_key_check_next 
+0508 20400510 call p_mouse_ghost_key_check_r_fw 
+0509 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_check_m_bk:
-04c3 1a417e12 and regb ,mouse_m_bk_button ,pdata 
-04c4 202057f3 branch mouse_ghost_key_check_m_bk + 1 
+050a 1a417e12 and regb ,mouse_m_bk_button ,pdata 
+050b 202057f3 branch mouse_ghost_key_check_m_bk + 1 
 
 p_mouse_ghost_key_check_r_bk:
-04c5 1a417e0a and regb ,mouse_r_bk_button ,pdata 
-04c6 202057f6 branch mouse_ghost_key_check_r_bk + 1 
+050c 1a417e0a and regb ,mouse_r_bk_button ,pdata 
+050d 202057f6 branch mouse_ghost_key_check_r_bk + 1 
 
 p_mouse_ghost_key_check_l_fw:
-04c7 1a417e11 and regb ,mouse_l_fw_button ,pdata 
-04c8 202057f9 branch mouse_ghost_key_check_l_fw + 1 
+050e 1a417e11 and regb ,mouse_l_fw_button ,pdata 
+050f 202057f9 branch mouse_ghost_key_check_l_fw + 1 
 
 p_mouse_ghost_key_check_r_fw:
-04c9 1a417e12 and regb ,mouse_r_fw_button ,pdata 
-04ca 202057ff branch mouse_ghost_key_check_r_fw + 1 
+0510 1a417e12 and regb ,mouse_r_fw_button ,pdata 
+0511 202057ff branch mouse_ghost_key_check_r_fw + 1 
               org 0x2000
 
 start:
@@ -23095,10 +23196,10 @@
 5eb6 44c84012 bpatch patch12_0 ,mem_patch12 
 5eb7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
 5eb8 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-
-mouse_switch_gpio_connect_gnd:
 5eb9 6848c65a fetcht 1 ,mem_device_switch_gpio 
 5eba 204055b5 call mouse_gpio_config_input_pu 
+
+mouse_switch_gpio_connect_gnd:
 5ebb 6848c65a fetcht 1 ,mem_device_switch_gpio 
 5ebc 20406ee6 call gpio_get_bit 
 5ebd 2020dec2 branch mouse_check_select_24g_device ,true 
@@ -23916,6 +24017,8 @@
 60ff 20407cef call timer_check 
 6100 247a0000 nrtn blank 
 6101 20406106 call mouse_dpi_check_once 
+
+mouse_g24_retransmit_event_set:
 6102 2040572c call mouse_dpi_key_check_long_press 
 
 mouse_g24_retransmit_100ms_timer_init:
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(revision 2388)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(working copy)
@@ -1,58 +1,61 @@
-c284002a
-c00002ce
-c0010039
-c0080042
-c0088044
-c00a0185
-c00a810d
-c00c012d
-c00c8134
-c00d0052
-c0128250
-c03402c9
-c03482e3
-c03502df
-c036028d
-c03703b1
-c03783b7
-c039840d
-c03a0248
-c03d048c
-c03d8464
-c03e0472
-c03e8474
-c03f83ee
-c040844c
-c04202f6
-c0428354
-c043021b
-c0438332
-c0440352
-c0450307
-c04582e5
-c04703d8
-c0480435
-c04a8404
-c04b041e
-c058809d
-c0628273
-c06a823a
-c06b0233
-c06d016e
+c284002b
+c000030d
+c001003c
+c0080045
+c0088047
+c00a018c
+c00a8126
+c00c014c
+c00c8153
+c00d0055
+c0128283
+c0138217
+c0340308
+c0348322
+c035031e
+c03602cc
+c03703fe
+c0378404
+c0398458
+c03a0277
+c03d04d3
+c03d84ab
+c03e04b9
+c03e84bb
+c03f843a
+c0408493
+c0420335
+c0428393
+c043024c
+c0438371
+c0440391
+c0450346
+c0458324
+c0470422
+c0480480
+c04a844f
+c04b0469
+c05880b6
+c06282a7
+c06a826b
+c06b0264
+c06d007c
 2020235a
-c00a01a5
-c00d01c4
-c01281d4
-c01301d9
-c01c81eb
-c01d01f5
-c02601f1
-c02681ef
-c0480276
-c04b03f9
-c04d011b
-c04e8122
-c04f829a
+c00a01ac
+c00d01cb
+c01201f0
+c01281d3
+c01301d8
+c01c81ea
+c01d0226
+c0260222
+c02681ee
+c04802aa
+c04902c1
+c04b0445
+c04d0134
+c04e8141
+c04f82d9
 c17f8000
 2020235a
 20407552
@@ -63,7 +66,7 @@
 20402018
 2040310f
 2040248c
-20200039
+2020003c
 70890000
 20202153
 708a0f60
@@ -90,7 +93,7 @@
 708a844a
 708a8540
 708a16fe
-204000e2
+204000fb
 204070d7
 37d98200
 70813b5f
@@ -98,7 +101,7 @@
 70813c88
 37d98200
 6fe0c099
-c008008d
+c00800a6
 6fe0c438
 1fe1fe04
 67f08a02
@@ -109,24 +112,46 @@
 67f18a73
 708a8660
 708a8b3b
-2040007f
+20400098
 70804300
 70804205
 58557474
 67f18968
 7089606e
-20400141
-2040016c
-2040007a
+2040015f
+2040018a
+20400093
 7041480c
-20206f4e
+20758000
+708a0777
+708a08c9
+708a0b01
+6fe0c409
+67f080cd
+20000bb8
+2040008c
+708a08c1
+6a40c419
+df200008
+20406f58
+6fe0c419
+67e0c433
+6240c419
+20600000
+7080cc03
+6ff08129
+c302808d
+68590164
+6049440a
+7080cc00
+20600000
 20758000
 37d98200
 6fe0c11c
 67f0813a
 202023e2
 6fe0c099
-c00c0085
+c00c009e
 6fe0c438
 1fe1fe06
 67f08a02
@@ -149,15 +174,15 @@
 67f18a73
 708a762a
 70890204
-2020006d
+20200070
 20758000
 204035f0
 2040325b
 204062aa
 20205415
 20407396
-20400098
-245580a8
+204000b1
+245580c1
 2455d589
 20405949
 20758000
@@ -171,32 +196,32 @@
 67e1464c
 5800130c
 67e1464a
-204000c8
+204000e1
 204055f6
 20002ee0
 58000000
 204069e5
 67e0c859
-c01800bd
-c01880bd
-c02c00bd
+c01800d6
+c01880d6
+c02c00d6
 20405955
 20001bbc
 6fe0cb1e
 1fe0fe01
 67e0cb1e
-c00400be
-202000b0
+c00400d7
+202000c9
 20600000
 704b1e00
 6fe0cb1f
 1fe0fe01
 1fe17e03
 67e0cb1f
-c00000cc
-c00080d3
-c00100d8
-c00180dd
+c00000e5
+c00080ec
+c00100f1
+c00180f6
 20600000
 70807c00
 58000000
@@ -207,24 +232,24 @@
 67e1464c
 5800130c
 67e1464a
-204000c8
-202000ae
+204000e1
+202000c7
 70495801
 58001315
 67e1464c
 5800140c
-202000d0
+202000e9
 70495800
 58000c15
 67e1464c
 58001314
-202000d0
+202000e9
 70495803
 58001314
 67e1464c
 5800150c
-202000d0
-203580f4
+202000e9
+2035810d
 6fe2020d
 207a0000
 37d98200
@@ -283,21 +308,27 @@
 202021b4
 6fe0c793
 247a0000
-2040011f
-202060fc
+20400139
+2040013c
+20203662
 6fe0c655
 c17f8000
 20205e78
+d8e0000c
+20407cef
+247a0000
+20400426
+20206102
 6848c601
 6fe0c621
 98467c00
-24210127
+24210146
 20203681
 6fe2458f
 684a45e4
 98467c00
 2022b222
-204002bf
+204002fe
 2020369b
 580aaa7e
 67f18a0f
@@ -308,8 +339,8 @@
 20202203
 6fe0c141
 c0032225
-c04f013d
-c0550139
+c04f015c
+c0550158
 2020220e
 708a1417
 6fe1ca08
@@ -317,8 +348,7 @@
 2020221a
 708a1417
 58250300
-67f18a60
-2020221a
+2020015a
 20758000
 20402160
 d8400027
@@ -331,7 +361,7 @@
 708ac200
 708ac300
 d8e00006
-2040015e
+2040017c
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -339,14 +369,14 @@
 d8e00005
 2040211c
 2040211e
-2040015e
+2040017c
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210153
+20210171
 2020214f
 2000003c
 58000f00
@@ -364,34 +394,11 @@
 2020212d
 20758000
 20202272
-20758000
-708a0777
-708a08c9
-708a0b01
-6fe0c409
-67f080cd
-20000bb8
-2040017e
-708a08c1
-6a40c419
-df200008
-20406f58
-6fe0c419
-67e0c433
-6240c419
-20600000
-7080cc03
-6ff08129
-c302817f
-68590164
-6049440a
-7080cc00
-20600000
 708a8211
 708a8d12
 708a8e0a
 6fe0c099
-c008019e
+c00801a5
 58005762
 67f10907
 70890103
@@ -402,7 +409,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c008019b
+c00801a2
 58002bb1
 67f10907
 c6978000
@@ -411,15 +418,15 @@
 20600000
 58004189
 67f10907
-20200197
+2020019e
 58008312
 67f10907
-2020018c
+20200193
 6fe0cbf9
 da600100
 9a60fe00
 20600000
-204001a7
+204001ae
 20202563
 6fe0cbfa
 207a0000
@@ -428,13 +435,13 @@
 6848cbfa
 6fe0cbf9
 98467c00
-244101a1
+244101a8
 98467e00
 1fe67c64
-202101b9
+202101c0
 6fe0cbfc
 1fe67c14
-244101b7
+244101be
 704bfb01
 20600000
 704bfd01
@@ -453,19 +460,11 @@
 6fe08005
 1fe0fe01
 67e08005
-243681cb
+243681d2
 6fe0cbf9
 1fe0fe01
 67e0cbf9
-6fe08168
-c3818000
-79207e03
-67e08168
-6fe142f5
-67e10196
-58000000
-67e2431d
-20600000
+2020259b
 2040281c
 6a20804d
 1a20a3fc
@@ -495,32 +494,82 @@
 202028e1
 793f8030
 20202af6
+204025c2
+c59781f6
+783cfc00
+2000001e
+204025c2
+19699600
+7856fc00
+7826fc00
+7830fc00
+78507c00
+19623600
+37c18400
+203701ff
+1b420400
+604b000f
+242c26fa
+78287c00
+6fe0c167
+d8404e20
+98408400
+6fe0c148
+984fb600
+20406877
+20372677
+2040020d
+6fe08168
+c301a677
+2055a477
+20202677
+684b000f
+1b427e00
+20407d12
+1fe20400
+204026ff
+1b425600
+1d227e00
+9840fe00
+1fe25200
+20600000
+c584a489
+684a40ad
+dfe00600
+98467c00
+20610000
+18422200
+684b000f
+1d627e00
+20407d10
+1a220400
+2020247d
 20402152
 70890000
 793f8030
 20202ae3
 efe10006
-c00201f8
+c0020229
 202028eb
 efe18006
 67e1c397
-c00501fd
-c009020c
+c005022e
+c009023d
 20202b96
 6fe44713
 c31dad19
 20402dc7
 68494398
 6fe0c321
-c2818207
+c2818238
 6fe14398
 c0182e03
 68494398
 20202d1d
 6fe14332
 98467c00
-24228203
-24340203
+24228234
+24340234
 20202d46
 18c22200
 6fe14335
@@ -540,7 +589,7 @@
 20402a28
 247a0000
 6fe0c78f
-c07f8226
+c07f8257
 6fe0c843
 1fe17e03
 c1818000
@@ -559,7 +608,7 @@
 20405ab2
 24740000
 20405abc
-2040042a
+20400475
 20205b37
 18467cff
 20628000
@@ -571,7 +620,7 @@
 18467cff
 20628000
 20406ee6
-20208240
+20208271
 d9000003
 20206ebd
 704b1d01
@@ -580,10 +629,12 @@
 58000010
 67f08141
 202023e2
-58000080
-20200244
-204003ff
+2040044b
 704b1d00
+6848c654
+20406ef7
+6848c654
+20406ed3
 20405511
 204054f9
 6848c64a
@@ -593,14 +644,15 @@
 6fe240ad
 9840fe00
 67e240ad
-2040025b
-20400256
+2040028f
+20400289
 20202425
 6fe0c602
 207a0000
 6fe0cb1d
-203a0243
-20200246
+203a0274
+58000080
+20200275
 600440e7
 d8c08070
 d8a040cc
@@ -617,12 +669,12 @@
 efe08011
 e8408013
 98467c00
-2022826e
+202282a2
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c2000268
+c200029c
 1a420400
 20600000
 20406b3a
@@ -631,7 +683,7 @@
 6fe145e0
 d84001f8
 98417e00
-203a027e
+203a02b2
 6fe145e0
 1fe0fe01
 67e145e0
@@ -642,15 +694,26 @@
 2437b586
 2040366e
 6fe0c57d
-203a0293
+203a02d2
 6fe245cc
 684a458f
 98467c00
-2022828a
+202282be
 2020356e
 6fe44713
 c2983291
 20203549
+6fe0c5e3
+203a3222
+6fe145e0
+1fe0fe01
+67e145e0
+2feffe09
+6fe0c5e2
+c00282ca
+2020358d
+2020b549
+2020329c
 2040543b
 58004a1d
 67e1433f
@@ -660,10 +723,10 @@
 6fe245e4
 684a458f
 98467c00
-20228285
+202282b9
 6fe2455f
 207a0000
-20200285
+202002b9
 6fe0c437
 247a0000
 6fe144e9
@@ -672,15 +735,15 @@
 204035b4
 6048c624
 6fe0c629
-c51302a4
+c51302e3
 6fe0c62c
 98467c00
-242102be
+242102fd
 6fe0c626
 1fe67c02
-242102ac
+242102eb
 6fe0c626
-c00002bf
+c00002fe
 20600000
 6fe0c626
 6848c627
@@ -689,7 +752,7 @@
 70462600
 6848c624
 6fe0c628
-c51302b5
+c51302f4
 6fe0c62b
 98467c00
 24610000
@@ -697,16 +760,16 @@
 c0003715
 1fe0ffff
 67e0c625
-c00102c7
+c0010306
 c000b70b
 20203715
 70462600
 6fe0c625
-c00182c5
+c0018304
 1fe0fe01
 67e0c625
 c000b70b
-c00102c7
+c0010306
 70414105
 20600000
 70414103
@@ -720,30 +783,30 @@
 37d98200
 37d98200
 20800000
-204002d4
+20558313
 20202003
+2040044b
 6848c64a
 20406f0f
 20406ec6
 6848c64b
 20406f0f
 20406ec6
-20400264
-20758000
+20400298
 6fe0c602
 207a0000
-20200243
+20200274
 6fe44713
 2feffe16
 2040df08
 2020542c
-204003d2
+2040041f
 20405d60
-204002ef
+2040032e
 6fe1468e
 d840aa55
 98467c00
-202282f4
+20228333
 6049468e
 20405c9c
 6fe0c9a1
@@ -754,14 +817,14 @@
 20610000
 70466600
 20600000
-204002f8
+20400337
 20205c90
-204002f8
+20400337
 20205a9c
 6fe0c666
 c1000000
-c00082fd
-c0010302
+c000833c
+c0010341
 20600000
 6fe34668
 67e34116
@@ -777,8 +840,8 @@
 c4010000
 d8e00002
 20405f04
-2040030e
-2040031c
+2040034d
+2040035b
 20205ca3
 6fe08032
 c19a0000
@@ -792,7 +855,7 @@
 98467c00
 2022dc69
 18c08c07
-c2000316
+c2000355
 20600000
 da204667
 6fe0c666
@@ -803,8 +866,8 @@
 e7e08011
 c19a0000
 6fe0c666
-c0008328
-c001032d
+c0008367
+c001036c
 20600000
 6fe30178
 67e34668
@@ -816,7 +879,7 @@
 6fe342db
 67e3467b
 20600000
-20400348
+20400387
 2040614d
 2040553d
 20406110
@@ -834,7 +897,7 @@
 20405bee
 20405be4
 20405bfb
-2040034b
+2040038a
 204056b6
 20405c0e
 20205c05
@@ -842,7 +905,7 @@
 da405aef
 202042e0
 da60477e
-da40034e
+da40038d
 202042e0
 6fe0c96b
 67e0c0c0
@@ -851,21 +914,21 @@
 204059ed
 20205c1b
 1a627e00
-c0200369
-c00a836e
-c0190360
-c01e038c
-c01c839d
-c01d03a0
-c00a035d
+c02003a8
+c00a83ad
+c019039f
+c01e03ca
+c01c83da
+c01d03df
+c00a039c
 20205ac3
 58000000
 67e24bfa
 20205ad0
 6fe0c795
-c0008364
+c00083a3
 70484414
-20200366
+202003a5
 20405aef
 70484405
 6fe0cbf9
@@ -884,17 +947,16 @@
 70479400
 d8400006
 6fe44713
-c28d8378
+c28d83b7
 d8400007
 604942d3
 604942d5
 7047c200
 70495600
 204029cb
-2020037e
 20405b7b
 6fe143ef
-c2838383
+c28383c1
 c28042fc
 20205c1a
 6fe143ef
@@ -920,23 +982,32 @@
 684a45e4
 98467c00
 20628000
-20406016
-204003d5
+204003dc
 20206042
-20406016
-204003d5
+204003dc
 20206084
-20406016
-204003d5
+6fe0ca07
+67e0c141
+20206016
+204003dc
 6fe0c87a
 c1008000
 6fe0c600
 243a5ff2
 6fe0c5e2
-c00203aa
-c000e05f
+c00283f1
+c00083e9
+c00183f8
 20206055
 6fe44713
+c29f03ed
+c29803ed
+20206062
+6fe145d6
+67e145de
+7045e205
+20203534
+6fe44713
 c31f6059
 6fe0c71b
 c000e059
@@ -944,9 +1015,15 @@
 70466601
 20205491
 6fe44713
-c29f03bf
+c31f6059
+c289e059
+c28a6059
+c2896059
+202003ed
+6fe44713
+c29f040c
 6fe0c666
-c00003ca
+c0000417
 2040619f
 20205491
 da204667
@@ -958,7 +1035,7 @@
 67e0c3f3
 202054a9
 204054ac
-203403c6
+20340413
 70466600
 6fe14721
 67e145de
@@ -967,43 +1044,42 @@
 6fe0c666
 c0006067
 20405aa8
-202003ae
+202003f5
 6fe44713
 c308e02a
 20406195
 204054ac
 20346067
 6fe44713
-c29803c1
+c298040e
 20206023
 6fe0c141
 67e0ca07
 20600000
-6fe0ca07
-67e0c141
-20600000
 2040620e
 204078aa
-204003dc
+20400428
 20205e61
+6fe44713
+c4140000
 6fe0c649
 c17f8000
 da200000
 70497705
 6848c649
-204003e3
+2040042f
 202056c1
 6fe44713
 c295d6de
 6fe0c974
 1fe22600
 6fe0c654
-c07f83ea
+c07f8436
 202056ce
 6fe0c649
 20405946
 6848c649
-202003ee
+2020043a
 1a627e00
 67e0c978
 1fe3fe00
@@ -1018,12 +1094,11 @@
 204036b4
 24740000
 204036be
-204003ff
+2040044b
 6fe1c608
 20203622
 58000000
 67e40016
-58000000
 67e2001e
 20600000
 70460000
@@ -1036,7 +1111,7 @@
 204059ed
 2020622b
 20405a92
-204003ff
+2040044b
 204056a9
 6848c654
 20406ef7
@@ -1050,19 +1125,19 @@
 204055b5
 70460201
 2040611a
-20400248
+20400277
 202054e2
 c6930000
 20405601
 24740000
 6fe0c77c
 70477c00
-245a0433
+245a047e
 6fe44713
-c30b0428
+c30b0473
 6fe0c96c
 243a60b6
-2040042a
+20400475
 202060a2
 6fe0c659
 c1ff8000
@@ -1073,47 +1148,43 @@
 58000000
 67e24847
 20205a73
-204003ff
-20200264
+2040044b
+20200298
 6fe44713
 c4150000
-c31f8445
-6848c65a
-20406ef7
-2040043f
+c31f848d
+2040048f
+20400489
 6848c65a
 20406ef3
 6848c65a
 202055b5
 6848c65a
-204055b1
-6848c65a
 20406ee6
 2420dec2
 20205ebe
-6848c65a
-20406ef3
-20405eb9
+20400485
+20405ebb
 6848c65a
 20406ef7
 6848c65a
 202055b1
 20405958
-c0180459
+c01804a0
 c018d9c6
-c02c0451
+c02c0498
 20205952
 204059e7
 6fe0c85a
-c02b845d
-c02c8456
+c02b84a4
+c02c849d
 2020595f
 7049570b
 da604a0b
 20205995
 6fe0c85a
 1fe17ef0
-c0600460
+c06004a7
 2020595f
 7049570d
 da604bfe
@@ -1125,7 +1196,7 @@
 20405728
 20740000
 6fe0c957
-c0068469
+c00684b0
 202056fa
 6fe0c690
 1fe0fe01
@@ -1136,11 +1207,11 @@
 c1068000
 c1018000
 2020573e
-2040046e
+204004b5
 2040613a
 6fe0c957
 c006d785
-c0060478
+c00604bf
 20205749
 6fe0c690
 c000576f
@@ -1150,11 +1221,11 @@
 6fe0c420
 c1800000
 6fe0c957
-c0058482
+c00584c9
 202059f8
 20405a6d
 6fe0c659
-c07f8488
+c07f84cf
 6848c659
 20406ee6
 24608000
@@ -1165,13 +1236,13 @@
 78547c00
 58000000
 67e34847
-2040047d
+204004c4
 58000089
 204069e4
 20405747
 20405612
 20405617
-20400497
+204004de
 2020560c
 2040584c
 6fe0c987
@@ -1179,7 +1250,7 @@
 6fe0c982
 243a585f
 20405888
-2040049f
+204004e6
 202057ad
 70497900
 70497a00
@@ -1188,34 +1259,34 @@
 6848c644
 6fe0c647
 98467c00
-202284b1
+202284f8
 6fe0c648
 98467c00
-202284b7
+202284fe
 6848c645
 6fe0c647
 98467c00
-202284c0
+20228507
 204057fb
-204004c5
+2040050c
 202057e5
 6848c645
 6fe0c648
 98467c00
 2022d7d6
 204057ef
-202004c1
+20200508
 6848c645
 6fe0c647
 98467c00
-202284bd
-204004c7
-202004af
-204004c7
-204004c3
+20228504
+2040050e
+202004f6
+2040050e
+2040050a
 202057e5
-204004c3
-204004c9
+2040050a
+20400510
 202057e5
 1a417e12
 202057f3
Index: output/sched.rom
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/sched.rom	(revision 2388)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/sched.rom	(working copy)
@@ -3,7 +3,7 @@
 00   #mem_patch01
 33   #mem_patch02
 07   #mem_patch03
-20   #mem_patch04
+a0   #mem_patch04
 00   #mem_patch05
 00   #mem_patch06
 00   #mem_patch07
@@ -35,7 +35,7 @@
 00   #mem_patch21
 10   #mem_patch22
 04   #mem_patch23
-60   #mem_patch24
+70   #mem_patch24
 00   #mem_patch25
 00   #mem_patch26
 06   #mem_patch27
@@ -49,7 +49,7 @@
 00   #mem_patch2f
 00   #mem_patch30
 00   #mem_patch31
-41   #mem_patch32
+45   #mem_patch32
 a4   #mem_patch33
 00   #mem_patch34
 00   #mem_patch35
Index: program/app_mouse.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/app_mouse.prog	(revision 2349)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/app_mouse.prog	(working copy)
@@ -3881,9 +3881,9 @@
 	bpatch patch12_0,mem_patch12
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
-mouse_switch_gpio_connect_gnd:
 	fetcht 1,mem_device_switch_gpio
 	call mouse_gpio_config_input_pu
+mouse_switch_gpio_connect_gnd:
 	fetcht 1,mem_device_switch_gpio
 	call gpio_get_bit
 	branch mouse_check_select_24g_device,true
@@ -4681,6 +4681,7 @@
 	call timer_check
 	nrtn blank
 	call mouse_dpi_check_once
+mouse_g24_retransmit_event_set:
 	call mouse_dpi_key_check_long_press
 mouse_g24_retransmit_100ms_timer_init:
 	arg 12,queue
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(revision 2388)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(working copy)
@@ -1,5 +1,4 @@
 
-//define AUTO_TEST
 //define PWM_SET
 define POWER_CTRL
 //define MORE_POWER_CTRL
@@ -17,6 +16,7 @@
 	beq patch03_1,p_set_tx_power
 	beq patch03_2,p_initialize_radio_cont
 	beq patch04_5,p_lpm_sleep
+	beq patch04_7,p_lpm_adjust_clk
 	beq patch0d_0,p_mouse_cb_fuction
 	beq patch0d_1,p_mouse_load_device_info_check
 	beq patch0d_2,p_mouse_default_init
@@ -25,6 +25,9 @@
 	beq patch0d_7,p_mouse_start_reconnect_device
 	beq patch0e_3,p_mouse_setgpio_hibernate
 	beq patch0e_4,p_mouse_lpm_before_common
+ifdef ADC_1121SB	
+	beq patch0e_7,p_mouse_adc_read_start
+endif
 	beq patch0f_2,p_mouse_motion
 	beq patch0f_3,p_mouse_dpi_process
 	beq patch0f_4,p_mouse_setting_dpi
@@ -57,6 +60,7 @@
 pf_patch_ext:
 	beq patch22_4,p_le_slave_match
 	beq patch23_2,p_le_got_first_packet_new	//p_le_got_first_packet
+	beq patch24_4,p_le_receive_rxon
 	beq patch24_5,p_le_rx_dec
 	beq patch24_6,p_le_rx_nopayload
 	beq patch27_1,p_le_parse
@@ -64,6 +68,7 @@
 	beq patch29_4,p_le_adv_not_match
 	beq patch29_5,p_le_init_adv
 	beq patch32_0,p_g24_reconn_dispatch
+	beq patch32_2,p_g24_reconn_device_fail
 	beq patch32_6,p_g24_short_sleep
 	beq patch33_2,p_mouse_g24_retransmit
 	beq patch33_5,p_g24_transmit_hop_process
@@ -153,7 +158,33 @@
 	call p_rfpll_aac_ghpc
 	call p_set_xtal_cap
 	jam SYSTEM_CLK_12M,mem_system_clk
-	branch sadc_calibration
+p_sadc_calibration:
+	rtn wake
+	jam 0x77,core_gpadc_ctrl
+	jam 0xc9,core_gpadc_cfg0
+	jam 0x01,core_gpadc_cfg3
+	fetch 1,mem_adc_clkdiv
+	store 1,core_sadc_clkdiv
+	nop 3000
+	call p_sadc_read
+	jam 0xc1,core_gpadc_cfg0
+	fetchr regb,1,mem_spi_write_addr
+	arg 8,loopcnt	//rg_gpadc_sar_dat_sel c0-c7
+	call sadc_cal_read+1
+	fetch 1,mem_spi_write_addr
+	store 1,mem_adc_cal_c7
+	storer regb,1,mem_spi_write_addr
+	rtn
+
+p_sadc_read:
+	jam 0x03,core_sadc_ctrl
+p_sadc_read_wait:
+	fetch 1,core_perf_status
+	bbit0 SARADC_DONE,p_sadc_read_wait
+	fetcht 2,core_sadc_data
+	storet 2,mem_adc_current_value
+	jam 0x00,core_sadc_ctrl
+	rtn
 	
 p_set_xtal_cap:
 	rtn wake
@@ -363,13 +394,21 @@
 	fetch 1,mem_mouse_need_soft_reset
 	nrtn blank
 	call p_mouse_retransmit_select_device_by_pb_button
-	branch mouse_g24_retransmit+3
+	call p_mouse_select_device_by_dpi_button_once
+	branch g24_retransmit0
 
 p_mouse_retransmit_select_device_by_pb_button:
 	fetch 1,mem_config_select_device_button_gpio
 	rtneq GPIO_DISABLE
 	branch mouse_retransmit_select_device_by_pb_button
 
+p_mouse_select_device_by_dpi_button_once:
+	arg 12,queue
+	call timer_check
+	nrtn blank
+	call p_mouse_dpi_check_retransmit
+	branch mouse_g24_retransmit_event_set
+
 p_g24_transmit_hop_process:
 	fetcht 1,mem_24g_retry
 	fetch 1,mem_24g_fast_hop_count			// 125Hz=11  250Hz=5
@@ -410,14 +449,14 @@
 p_set_tx_power_factory:
 	jam 0x17,0x8a14 
 	fetch 3,mem_tx_power_factory_param_new
+p_mouse_tx_power_set:
 	store 3,0x8a60
 	branch set_tx_power_8a63_28
 
 p_set_tx_power_f30db:
 	jam 0x17,0x8a14 
 	setarg 0x250300
-	store 3,0x8a60
-	branch set_tx_power_8a63_28
+	branch p_mouse_tx_power_set
 /*
 p_set_tx_power_f35db:
 	jam 0x17,0x8a14 
@@ -519,36 +558,6 @@
 	rtn wake
 	branch rfpll_aac_ghpc+1
 
-p_sadc_calibration:
-	rtn wake
-	jam 0x77,core_gpadc_ctrl
-	jam 0xc9,core_gpadc_cfg0
-	jam 0x01,core_gpadc_cfg3
-	fetch 1,mem_adc_clkdiv
-	store 1,core_sadc_clkdiv
-	nop 3000
-	call p_sadc_read
-	jam 0xc1,core_gpadc_cfg0
-	fetchr regb,1,mem_spi_write_addr
-	arg 8,loopcnt	//rg_gpadc_sar_dat_sel c0-c7
-	call sadc_cal_read+1
-	fetch 1,mem_spi_write_addr
-	store 1,mem_adc_cal_c7
-	storer regb,1,mem_spi_write_addr
-	rtn
-
-
-p_sadc_read:
-	jam 0x03,core_sadc_ctrl
-p_sadc_read_wait:
-	fetch 1,core_perf_status
-	bbit0 SARADC_DONE,p_sadc_read_wait
-	fetcht 2,core_sadc_data
-	storet 2,mem_adc_current_value
-	jam 0x00,core_sadc_ctrl
-	rtn
-	
-
 p_set_lemode:
 	jam 0x11,0x8a82
 	jam 0x12,0x8a8d
@@ -633,15 +642,7 @@
 	fetch 1,mem_le_conn_rcv_new			//lpm  use retention mem
 	increase 1,pdata
 	store 1,mem_le_conn_rcv_new
-	fetch 1,mem_le_state
-	rtnbit1 lestate_got_first_packet
-	set1 lestate_got_first_packet,pdata
-	store 1,mem_le_state
-	fetch 2,mem_le_init_superto
-	store 2,mem_le_superto
-	setarg 0
-	store 4,mem_le_transmit_window	
-	rtn
+	branch le_got_first_packet+4
 	
 p_le_rx_dec:
 	call le_check_retransmit	
@@ -680,6 +681,65 @@
 	set0 mark_ble_crc_fail,mark	
 	branch le_init_adv+1
 
+p_le_receive_rxon:
+	call le_prep
+	bmark0 mark_ble_lr,p_le_receive_nolr
+	pulse dewhiten_code_calc
+	nop 30
+	call le_prep
+	lshift3 timeup,timeup
+p_le_receive_nolr:
+	disable match
+	enable decode_fec0
+	enable is_rx
+	disable is_tx
+	copy timeup,stop_watch
+	correlate null,timeout
+	branch p_le_receive_on_attempt,attempt
+	copy clke,temp
+	storet 6,mem_sync_clke
+p_le_receive_on_attempt:
+	nbranch le_unsync_end,sync
+	enable swfine
+	fetch 1,mem_le_tx_ifs_defference
+	arg PARAM_20MS_INIT,temp
+	iadd temp,temp
+	fetch 1,mem_system_clk
+	imul32 temp,stop_watch
+	call rf_debug_rx_sync_line	//L-H
+	branch le_receive_skip,attempt
+	call p_calc_clke_all_modem
+	fetch 1,mem_le_state
+	bbit0 lestate_got_first_packet,le_receive_skip
+	call lpm_adjust_clk,wake
+	branch le_receive_skip
+
+p_calc_clke_all_modem:
+	fetcht  6,mem_sync_clke
+	copy clke,pdata
+	call clk_diff
+	copy pdata,temp
+
+	call calc_clke_all_modem
+	copy clke,rege
+	copy clke_rt,pdata
+	iadd temp,pdata
+	copy pdata,clke_rt	
+	rtn
+
+p_lpm_adjust_clk:
+	bmark0 mark_context,lpm_clear_counter
+	fetcht 4,mem_sleep_counter_all
+	arg 0x600,pdata
+	isub temp,null
+	rtn positive				// interval too small
+	copy temp,rega
+	fetcht 6,mem_sync_clke
+	deposit rege
+	call clk_diff_rt
+	copy rega,temp
+	branch lpm_adjust_clk+6
+
 p_le_adv_not_match:
 	call shutdown_radio
 	jam 0,0x8900
@@ -793,13 +853,13 @@
 	store 1,core_puwakeup
 	branch lpm_write_wait
 
-p_mouse_puchk_enable:
-	setarg 0x80			//bit0-1:key_delay	bit2-3:pu_delay		bit4-6:interval	bit7:enable 
-	branch p_mouse_puchk_set
-
 p_mouse_lpm_before_common:
 	call p_clear_wake
 	jam 0,mem_mouse_qdec_set_flag
+	fetcht 1,mem_matrix_public_gpio		// enable b4/b5/dpi wakeup
+	call gpio_out_active
+	fetcht 1,mem_matrix_public_gpio
+	call gpio_clr_wake
 	call mouse_lpm_before_common+5
 	call mouse_gpio_pd_idle
 p_mouse_wheel_set_impedance:
@@ -825,7 +885,9 @@
 	rtn blank
 	fetch 1,mem_mouse_qdec_set_flag
 	branch p_mouse_puchk_disable,blank
-	branch p_mouse_puchk_enable
+p_mouse_puchk_enable:
+	setarg 0x80			//bit0-1:key_delay	bit2-3:pu_delay		bit4-6:interval	bit7:enable 
+	branch p_mouse_puchk_set
 
 p_lpm_save_context:
 	storer mark,8,mem_saved_mark
@@ -891,6 +953,21 @@
 	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,g24_pair_start
 	branch g24_reconn_receiver_addr
 
+p_g24_reconn_device_fail:
+	fetch 1,mem_24g_fast_conn_enable
+	branch g24_ch,blank
+	fetch 2,mem_24g_reconn_count
+	increase 1,pdata
+	store 2,mem_24g_reconn_count
+	isolate1 9,pdata
+	fetch 1,mem_24g_reconn_type
+	beq PAIR_AND_RECEIVER,p_g24_reconn_pair_and_receiver
+	branch g24_reconn_device_fail+7
+
+p_g24_reconn_pair_and_receiver:
+	branch g24_reconn_receiver_addr,true
+	branch g24_pair_init_param
+
 p_mouse_param_init:
 	call mouse_param_common_init
 	setarg mem_le_tx_buffer0_omemalloc_new
@@ -1002,10 +1079,11 @@
 	until null,lpo_edge
 	until null,lpo_edge
 	clear_stack
-	call p_mouse_wheel_init_set
+	call p_mouse_wheel_init_set,wake
 	branch soft_reset+2
 
 p_mouse_wheel_init_set:
+	call p_clear_wake
 	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
 	call gpio_set_high_impedance
 	call gpio_set_low_pullup
@@ -1014,13 +1092,9 @@
 	call gpio_set_low_pullup
 	call p_lpm_write_gpio_wakeup
 p_mouse_puchk_disable_check:
-	rtn wake
 	fetch 1,mem_24g_abort_pac
 	rtn blank
 	branch p_mouse_puchk_disable
-
-
-	
 	
 //p_mouse_24g_before_lpm_sleep:
 //	rtn
@@ -1242,7 +1316,7 @@
 	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
 	jam 0,mem_mouse_clear_sensor_data_flag
 	call le_clr_config_more_data
-	branch p_mouse_bb_disconnected
+//	branch p_mouse_bb_disconnected
 p_mouse_bb_disconnected:
 	call mouse_bb_discon_clear_stack
 	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
@@ -1275,27 +1349,43 @@
 	fetcht 4,mem_24g_fast_conn_addr
 	isub temp,null
 	rtn zero
-	call mouse_soft_agc_disable
 	call p_mouse_fetch_normal_tx_power
 	branch mouse_24g_first_store_reconn_info
 	
 p_mouse_24g_pairing_complete:
-	call mouse_soft_agc_disable
 	call p_mouse_fetch_normal_tx_power
 	branch mouse_24g_pairing_complete
 
+p_mouse_fetch_normal_tx_power:
+	fetch 1,mem_normal_tx_power
+	store 1,mem_tx_power
+	branch mouse_soft_agc_disable
+
 p_mouse_24g_attempt_fail:
-	call mouse_soft_agc_disable
 	call p_mouse_fetch_normal_tx_power
 	fetch 1,mem_mouse_dpi_button_state
 	rtneq DPI_BUTTON_STATE_DOWN
 	fetch 1,mem_24g_attempt_fail_flag
 	nbranch mouse_24g_hibernate_set,blank
 	fetch 1,mem_24g_reconn_type
-	beq PAIR_AND_3_0_ADDR,p_mouse_24g_auto_pair_attempt_fail
-	beq FAST_CONN_AND_RECEIVER,mouse_24g_fast_conn_attempt_fail
+//	beq PAIR_AND_3_0_ADDR,p_mouse_24g_auto_pair_attempt_fail
+	beq PAIR_AND_RECEIVER,p_mouse_24g_auto_pair_attempt_fail
+	beq FAST_CONN_AND_RECEIVER,p_mouse_24g_fast_conn_attempt_fail
+	beq RECEIVER_AND_3_0_ADDR,p_mouse_reconn_dongle_attempt_fail
 	branch mouse_24g_attempt_fail+2
 
+p_mouse_24g_fast_conn_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_start_auto_pair
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,p_mouse_24g_start_auto_pair
+	branch mouse_24g_fast_conn_attempt_fail+3
+
+p_mouse_24g_start_auto_pair:
+	fetch 2,mem_24g_pair_timeout_init
+	store 2,mem_24g_reconn_timeout
+	jam PAIR_AND_RECEIVER,mem_24g_reconn_type
+	branch g24_reconn_start
+
 p_mouse_24g_auto_pair_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
 	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
@@ -1306,6 +1396,14 @@
 	jam MODE_BT_DEVICE1,mem_device_flag
 	branch mouse_le_fast_conn_judge
 
+p_mouse_reconn_dongle_attempt_fail:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_EEPROM,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_OTP,mouse_24g_attempt_fail_enter_hibernate
+	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
+	branch p_mouse_24g_start_auto_pair
+
 p_mouse_start_work:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_first_start_auto_pair_mode
@@ -1354,11 +1452,6 @@
 	fetch 1,mem_tx_power
 	store 1,mem_normal_tx_power
 	rtn
-
-p_mouse_fetch_normal_tx_power:
-	fetch 1,mem_normal_tx_power
-	store 1,mem_tx_power
-	rtn
 	
 p_mouse_idle:
 	call mouse_low_voltage_led_no_enter_lpm
@@ -1366,6 +1459,9 @@
 	call p_mouse_dpi_check
 	branch mouse_idle+4
 
+p_mouse_dpi_check_retransmit:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_DPI_BUTTON
 p_mouse_dpi_check:
 	fetch 1,mem_dpi_button_gpio
 	rtneq GPIO_DISABLE
@@ -1414,9 +1510,7 @@
 
 p_clear_wake:
 	setarg 0
-//	set1 21,pdata
 	store 8,mem_gpio_wakeup_cfg	//gpio5(ice)enable wake
-	setarg 0
 	store 4,mem_gpio_wakeup_cfg+8
 	rtn
 	
@@ -1510,9 +1604,9 @@
 	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
 	bbit0 MOUSE_ENABLE_SWITCH_GPIO_CONNECT_VIN,p_mouse_switch_gpio_connect_gnd
 p_mouse_switch_gpio_connect_vin_check:
-	fetcht 1,mem_device_switch_gpio
-	call gpio_out_active
+	call p_mouse_switch_gpio_pd_set
 	call p_mouse_switch_gpio_connect_vin
+p_mouse_switch_gpio_pu_set:
 	fetcht 1,mem_device_switch_gpio
 	call gpio_out_inactive
 	fetcht 1,mem_device_switch_gpio
@@ -1520,16 +1614,14 @@
 	
 p_mouse_switch_gpio_connect_vin:
 	fetcht 1,mem_device_switch_gpio
-	call mouse_gpio_config_input_pd
-	fetcht 1,mem_device_switch_gpio
 	call gpio_get_bit
 	nbranch mouse_check_select_24g_device,true
 	branch mouse_select_btdevice
 
 p_mouse_switch_gpio_connect_gnd:
-	fetcht 1,mem_device_switch_gpio
-	call gpio_out_inactive
+	call p_mouse_switch_gpio_pu_set
 	call mouse_switch_gpio_connect_gnd
+p_mouse_switch_gpio_pd_set:
 	fetcht 1,mem_device_switch_gpio
 	call gpio_out_active
 	fetcht 1,mem_device_switch_gpio
@@ -1624,54 +1716,6 @@
 	bne PKA8G2_ID1,mouse_twspi_reset
 	branch mouse_p3212_sensor_motion_2
 
-	
-ifdef AUTO_TEST
-p_mouse_motion:
-	disable user
-	setarg 0
-	store 6,mem_mouse_x
-	fetch 1,0X4FF0
-	increase 1,pdata
-	store 1,0X4FF0
-	sub pdata,50,null
-	branch p_ms_x_right,positive
-
-	sub pdata,100,null
-	branch p_ms_y_up,positive
-
-	sub pdata,150,null
-	branch p_ms_x_left,positive
-	sub pdata,200,null
-	branch p_ms_y_down,positive
-	rtn
-
-p_ms_x_right:
-	setarg 5
-	store 2,mem_mouse_x
-p_data:
-	enable user
-	branch mouse_no_data_timer_init
-
-p_ms_y_up:
-	setarg 5
-	store 2,mem_mouse_y
-	branch p_data
-
-p_ms_x_left:
-	setarg -5
-	store 2,mem_mouse_x
-	branch p_data
-p_ms_y_down:
-	fetch 1,0X4FF0
-	beq 200,p_mem_usb_data_square_cnt_set0
-	setarg -5
-	store 2,mem_mouse_y
-	branch p_data
-p_mem_usb_data_square_cnt_set0:
-	jam 0,0X4FF0
-	branch p_ms_y_down+2
-
-else
 p_mouse_motion:
 	disable user
 	setarg 0
@@ -1762,11 +1806,16 @@
 p_mouse_ghost_key_check_R_FW:
 	and regb,MOUSE_R_FW_BUTTON,pdata
 	branch mouse_ghost_key_check_R_FW+1
-	
-	
-endif
 
 ifdef ADC_1121SB
+p_mouse_adc_read_start:
+	call enable_adc
+	call vdd_calculate_by_mode
+	div pdata,10
+	call get_div_result
+	store 2,mem_mouse_vdd_now_vol
+	branch mouse_adc_data_process
+
 p_adc_init_data:
 	fetch 8,mem_otp_adc
 	branch adc_init_cal_data_default,blank
