Index: ep.bat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/ep.bat	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/ep.bat	(working copy)
@@ -3,8 +3,8 @@
 e pu
 e 8043 00
 e 807a 3e
-e 807e 6c
-e 807f 6d
+e 807b 6c
+e 807c 6d
 ::e 8071 6c6d3e
 e er 0 10
 e ew 0 0000
Index: output/eeprom.dat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(working copy)
@@ -7,71 +7,79 @@
 c2
 84
 00
-28
+2a
 c0
 00
 02
-da
+cc
 c0
 01
 00
-37
+39
 c0
 08
 00
-40
+42
 c0
 08
 80
-42
+44
 c0
 0a
 01
-8c
+85
 c0
 0a
 81
-0e
+0d
 c0
 0c
 01
-2e
+2d
 c0
 0c
 81
-35
+34
 c0
 0d
 00
-50
+52
 c0
 12
 82
-59
+50
 c0
 34
 02
-d3
+c7
 c0
 34
 82
-e6
+db
+c0
+35
+02
+d7
 c0
 36
 02
-96
+8b
 c0
 37
 03
-ac
+a9
+c0
+37
+83
+af
 c0
 39
 84
-01
+05
 c0
 3a
 02
-51
+48
 c0
 3d
 04
@@ -79,7 +87,7 @@
 c0
 3d
 84
-4e
+5d
 c0
 3e
 04
@@ -91,75 +99,75 @@
 c0
 3f
 83
-e1
+e6
 c0
 40
 84
-35
+45
 c0
 42
 02
-f9
+ee
 c0
 42
 83
-49
+4c
 c0
 43
 02
-23
+1b
 c0
 43
 83
-27
+2a
 c0
 44
 03
-47
+4a
 c0
 45
-03
-0a
+02
+ff
 c0
 45
 82
-e8
+dd
 c0
 47
 03
-cb
+d0
 c0
 48
 04
-2a
+2e
 c0
 4a
 83
-f8
+fc
 c0
 4b
 04
-13
+17
 c0
 58
 80
-9c
+9d
 c0
 62
 82
-7c
+71
 c0
 6a
 82
-42
+3a
 c0
 6b
 02
-3b
+33
 c0
 6d
 01
-75
+6e
 20
 20
 23
@@ -167,55 +175,55 @@
 c0
 0a
 01
-ad
+a5
 c0
 0d
 01
-ac
+c4
 c0
 12
 81
-dc
+d4
 c0
 13
 01
-e1
+d9
 c0
 1c
 81
-f3
+eb
 c0
 1d
 01
-fd
+f5
 c0
 26
 01
-f9
+f1
 c0
 26
 81
-f7
+ef
 c0
 48
 02
-7f
+74
 c0
 4b
 03
-ec
+f1
 c0
 4d
 01
-1c
+1b
 c0
 4e
 81
-23
+22
 c0
 4f
 82
-a4
+98
 c1
 7f
 80
@@ -259,7 +267,7 @@
 20
 20
 00
-37
+39
 70
 89
 00
@@ -399,7 +407,7 @@
 c0
 08
 00
-8c
+8d
 6f
 e0
 c4
@@ -443,7 +451,7 @@
 20
 40
 00
-7e
+7f
 70
 80
 43
@@ -467,15 +475,15 @@
 20
 40
 01
-48
+41
 20
 40
 01
-73
+6c
 20
 40
 00
-78
+7a
 70
 41
 48
@@ -500,14 +508,10 @@
 f0
 81
 3a
-37
-d9
-82
-00
 20
-60
-00
-00
+20
+23
+e2
 6f
 e0
 c0
@@ -515,7 +519,7 @@
 c0
 0c
 00
-84
+85
 6f
 e0
 c4
@@ -607,7 +611,7 @@
 20
 20
 00
-6b
+6d
 20
 75
 80
@@ -635,11 +639,11 @@
 20
 40
 00
-97
+98
 24
 55
 80
-a7
+a8
 24
 55
 d5
@@ -695,7 +699,7 @@
 20
 40
 00
-c7
+c8
 20
 40
 55
@@ -719,15 +723,15 @@
 c0
 18
 00
-bc
+bd
 c0
 18
 80
-bc
+bd
 c0
 2c
 00
-bc
+bd
 20
 40
 59
@@ -751,11 +755,11 @@
 c0
 04
 00
-bd
+be
 20
 20
 00
-af
+b0
 20
 60
 00
@@ -800,14 +804,10 @@
 60
 00
 00
-58
-00
-00
-00
-67
-f0
+70
 80
 7c
+00
 58
 00
 00
@@ -843,11 +843,11 @@
 20
 40
 00
-c7
+c8
 20
 20
 00
-ad
+ae
 70
 49
 58
@@ -910,8 +910,8 @@
 d0
 20
 35
-81
-0a
+80
+f4
 6f
 e2
 02
@@ -981,6 +981,18 @@
 82
 00
 6f
+e1
+41
+5b
+20
+7a
+00
+00
+67
+e1
+02
+0f
+6f
 f0
 8a
 cb
@@ -1068,22 +1080,6 @@
 60
 00
 00
-6f
-e1
-41
-5b
-20
-7a
-00
-00
-67
-e1
-02
-0f
-20
-20
-00
-f4
 20
 40
 68
@@ -1151,7 +1147,7 @@
 20
 40
 01
-20
+1f
 20
 20
 60
@@ -1183,7 +1179,7 @@
 24
 21
 01
-28
+27
 20
 20
 36
@@ -1207,7 +1203,7 @@
 20
 40
 02
-c9
+bd
 20
 20
 36
@@ -1249,17 +1245,13 @@
 22
 25
 c0
-05
-01
-3b
-c0
 4f
 01
-44
+3d
 c0
 55
 01
-40
+39
 20
 20
 22
@@ -1267,26 +1259,6 @@
 70
 8a
 14
-25
-58
-a9
-3f
-3f
-67
-f1
-8a
-60
-70
-8a
-63
-1f
-20
-60
-00
-00
-70
-8a
-14
 17
 6f
 e1
@@ -1367,7 +1339,7 @@
 20
 40
 01
-65
+5e
 2a
 2f
 fe
@@ -1399,7 +1371,7 @@
 20
 40
 01
-65
+5e
 d8
 a0
 8a
@@ -1427,7 +1399,7 @@
 20
 21
 01
-5a
+53
 20
 20
 21
@@ -1527,7 +1499,7 @@
 20
 40
 01
-85
+7e
 70
 8a
 08
@@ -1571,7 +1543,7 @@
 c3
 02
 81
-86
+7f
 68
 59
 01
@@ -1607,7 +1579,7 @@
 c0
 08
 01
-a5
+9e
 58
 00
 57
@@ -1651,7 +1623,7 @@
 c0
 08
 01
-a2
+9b
 58
 00
 2b
@@ -1687,7 +1659,7 @@
 20
 20
 01
-9e
+97
 58
 00
 83
@@ -1699,7 +1671,7 @@
 20
 20
 01
-93
+8c
 6f
 e0
 cb
@@ -1717,13 +1689,9 @@
 00
 00
 20
-20
-01
-cc
-20
 40
 01
-af
+a7
 20
 20
 25
@@ -1759,7 +1727,7 @@
 24
 41
 01
-a8
+a1
 98
 46
 7e
@@ -1771,7 +1739,7 @@
 20
 21
 01
-c1
+b9
 6f
 e0
 cb
@@ -1783,7 +1751,7 @@
 24
 41
 01
-bf
+b7
 70
 4b
 fb
@@ -1859,7 +1827,7 @@
 24
 36
 81
-d3
+cb
 6f
 e0
 cb
@@ -2046,8 +2014,8 @@
 06
 c0
 02
-02
-00
+01
+f8
 20
 20
 28
@@ -2062,12 +2030,12 @@
 97
 c0
 05
-02
-05
+01
+fd
 c0
 09
 02
-14
+0c
 20
 20
 2b
@@ -2095,7 +2063,7 @@
 c2
 81
 82
-0f
+07
 6f
 e1
 43
@@ -2123,11 +2091,11 @@
 24
 22
 82
-0b
+03
 24
 34
 02
-0b
+03
 20
 20
 2d
@@ -2207,7 +2175,7 @@
 c0
 7f
 82
-2e
+26
 6f
 e0
 c8
@@ -2283,7 +2251,7 @@
 20
 40
 04
-1f
+23
 20
 20
 5b
@@ -2331,7 +2299,7 @@
 20
 20
 82
-48
+40
 d9
 00
 00
@@ -2360,14 +2328,10 @@
 f0
 81
 41
-37
-d9
-82
-00
 20
-60
-00
-00
+20
+23
+e2
 58
 00
 00
@@ -2375,11 +2339,11 @@
 20
 20
 02
-4c
+44
 20
 40
 03
-f2
+f7
 70
 4b
 1d
@@ -2409,14 +2373,6 @@
 6f
 0f
 6f
-e1
-43
-e9
-20
-40
-7d
-79
-6f
 e2
 40
 ad
@@ -2431,11 +2387,11 @@
 20
 40
 02
-64
+59
 20
 40
 02
-61
+56
 20
 20
 24
@@ -2447,11 +2403,11 @@
 20
 3a
 02
-4b
+43
 20
 20
 02
-4f
+46
 60
 04
 40
@@ -2519,7 +2475,7 @@
 20
 22
 82
-77
+6c
 e7
 e0
 80
@@ -2539,7 +2495,7 @@
 c2
 00
 02
-71
+66
 1a
 42
 04
@@ -2575,7 +2531,7 @@
 20
 3a
 02
-87
+7c
 6f
 e1
 45
@@ -2619,7 +2575,7 @@
 20
 3a
 02
-9e
+91
 6f
 e2
 45
@@ -2635,7 +2591,7 @@
 20
 22
 82
-93
+88
 20
 20
 35
@@ -2656,14 +2612,6 @@
 40
 54
 3b
-20
-40
-02
-99
-20
-20
-54
-4c
 58
 00
 4a
@@ -2681,9 +2629,9 @@
 43
 41
 20
-60
-00
-00
+20
+54
+4c
 6f
 e2
 45
@@ -2692,10 +2640,14 @@
 4a
 45
 8f
+98
+46
+7c
+00
 20
 22
 82
-8e
+83
 6f
 e2
 45
@@ -2707,7 +2659,7 @@
 20
 20
 02
-8e
+83
 6f
 e0
 c4
@@ -2743,7 +2695,7 @@
 c5
 13
 02
-ae
+a2
 6f
 e0
 c6
@@ -2755,7 +2707,7 @@
 24
 21
 02
-c8
+bc
 6f
 e0
 c6
@@ -2767,7 +2719,7 @@
 24
 21
 02
-b6
+aa
 6f
 e0
 c6
@@ -2775,7 +2727,7 @@
 c0
 00
 02
-c9
+bd
 20
 60
 00
@@ -2811,7 +2763,7 @@
 c5
 13
 02
-bf
+b3
 6f
 e0
 c6
@@ -2843,7 +2795,7 @@
 c0
 01
 02
-d1
+c5
 c0
 00
 b7
@@ -2863,7 +2815,7 @@
 c0
 01
 82
-cf
+c3
 1f
 e0
 fe
@@ -2879,7 +2831,7 @@
 c0
 01
 02
-d1
+c5
 70
 41
 41
@@ -2912,14 +2864,6 @@
 e1
 45
 fa
-58
-00
-02
-e5
-67
-e1
-43
-e9
 20
 20
 53
@@ -2943,7 +2887,7 @@
 20
 55
 82
-e0
+d2
 20
 20
 20
@@ -2951,7 +2895,7 @@
 20
 40
 02
-4b
+43
 68
 48
 c6
@@ -2968,14 +2912,26 @@
 20
 6e
 dd
+6f
+e4
+47
+13
+2f
+ef
+fe
+16
 20
-60
-00
-00
+40
+df
+08
+20
+20
+54
+2c
 20
 40
 03
-c5
+ca
 20
 40
 5d
@@ -2983,7 +2939,7 @@
 20
 40
 02
-f2
+e7
 6f
 e1
 46
@@ -2999,7 +2955,7 @@
 20
 22
 82
-f7
+ec
 60
 49
 46
@@ -3043,7 +2999,7 @@
 20
 40
 02
-fb
+f0
 20
 20
 5c
@@ -3051,7 +3007,7 @@
 20
 40
 02
-fb
+f0
 20
 20
 5a
@@ -3066,12 +3022,12 @@
 00
 c0
 00
-83
-00
+82
+f5
 c0
 01
-03
-05
+02
+fa
 20
 60
 00
@@ -3134,16 +3090,72 @@
 04
 20
 40
-5c
-4a
+03
+06
 20
 40
 03
-11
+14
 20
 20
 5c
 a3
+6f
+e0
+80
+32
+c1
+9a
+00
+00
+67
+e0
+c9
+5a
+6f
+e3
+01
+78
+67
+e3
+49
+5b
+6f
+e3
+c9
+5a
+d8
+c0
+46
+67
+df
+20
+00
+03
+e8
+43
+80
+06
+98
+46
+7c
+00
+20
+22
+dc
+69
+18
+c0
+8c
+07
+c2
+00
+03
+0e
+20
+60
+00
+00
 da
 20
 46
@@ -3159,7 +3171,7 @@
 1f
 ef
 fe
-1d
+0d
 9a
 20
 a2
@@ -3183,11 +3195,11 @@
 c0
 00
 83
-1d
+20
 c0
 01
 03
-22
+25
 20
 60
 00
@@ -3235,7 +3247,7 @@
 20
 40
 03
-3d
+40
 20
 40
 61
@@ -3307,7 +3319,7 @@
 20
 40
 03
-40
+43
 20
 40
 56
@@ -3339,7 +3351,7 @@
 da
 40
 03
-43
+46
 20
 20
 42
@@ -3375,31 +3387,31 @@
 c0
 20
 03
-5e
+61
 c0
 0a
 83
-63
+66
 c0
 19
 03
-55
+58
 c0
 1e
 03
-81
+84
 c0
 1c
 83
-92
+95
 c0
 1d
 03
-95
+98
 c0
 0a
 03
-52
+55
 20
 20
 5a
@@ -3423,7 +3435,7 @@
 c0
 00
 83
-59
+5c
 70
 48
 44
@@ -3431,7 +3443,7 @@
 20
 20
 03
-5b
+5e
 20
 40
 5a
@@ -3507,7 +3519,7 @@
 c2
 8d
 83
-6d
+70
 d8
 40
 00
@@ -3535,7 +3547,7 @@
 20
 20
 03
-73
+76
 20
 40
 5b
@@ -3547,7 +3559,7 @@
 c2
 83
 83
-78
+7b
 c2
 80
 42
@@ -3655,7 +3667,7 @@
 20
 40
 03
-c8
+cd
 20
 20
 60
@@ -3667,7 +3679,7 @@
 20
 40
 03
-c8
+cd
 20
 20
 60
@@ -3679,7 +3691,7 @@
 20
 40
 03
-c8
+cd
 6f
 e0
 c8
@@ -3703,15 +3715,11 @@
 c0
 02
 03
-a0
+a2
 c0
 00
 e0
 5f
-c0
-01
-83
-a7
 20
 20
 60
@@ -3748,30 +3756,10 @@
 e4
 47
 13
-c3
-1f
-60
-59
-c2
-89
-e0
-59
-c2
-89
-60
-59
-20
-20
-60
-34
-6f
-e4
-47
-13
 c2
 9f
 03
-b1
+b7
 6f
 e0
 c6
@@ -3779,11 +3767,47 @@
 c0
 00
 03
-b8
+c2
+20
+40
+61
+9f
 20
 20
 54
 91
+da
+20
+46
+67
+6f
+e0
+c6
+66
+1f
+e0
+ff
+ff
+1f
+ef
+fe
+0d
+9a
+20
+a2
+00
+ef
+e0
+80
+11
+67
+e0
+c3
+f3
+20
+20
+54
+a9
 20
 40
 54
@@ -3791,11 +3815,27 @@
 20
 34
 03
-b4
+be
+70
+46
+66
+00
+6f
+e1
+47
+21
+67
+e1
+45
+de
+70
+45
+e2
+01
 20
 20
-60
-2f
+35
+34
 6f
 e0
 c6
@@ -3811,7 +3851,7 @@
 20
 20
 03
-a4
+a6
 6f
 e4
 47
@@ -3839,31 +3879,11 @@
 c2
 98
 03
-c0
+b9
 20
 20
 60
 23
-70
-46
-66
-00
-6f
-e1
-47
-21
-67
-e1
-45
-de
-70
-45
-e2
-01
-20
-20
-35
-34
 6f
 e0
 c1
@@ -3899,7 +3919,7 @@
 20
 40
 03
-cf
+d4
 20
 20
 5e
@@ -3927,7 +3947,7 @@
 20
 40
 03
-d6
+db
 20
 20
 56
@@ -3955,7 +3975,7 @@
 c0
 7f
 83
-dd
+e2
 20
 20
 56
@@ -3975,7 +3995,7 @@
 20
 20
 03
-e1
+e6
 1a
 62
 7e
@@ -4035,7 +4055,7 @@
 20
 40
 03
-f2
+f7
 6f
 e1
 c6
@@ -4048,10 +4068,6 @@
 00
 00
 00
-79
-20
-7e
-15
 67
 e4
 00
@@ -4111,7 +4127,7 @@
 20
 40
 03
-f2
+f7
 20
 40
 56
@@ -4171,7 +4187,7 @@
 20
 40
 02
-55
+4c
 20
 20
 54
@@ -4199,7 +4215,7 @@
 24
 5a
 04
-28
+2c
 6f
 e4
 47
@@ -4207,7 +4223,7 @@
 c3
 0b
 04
-1d
+21
 6f
 e0
 c9
@@ -4219,7 +4235,7 @@
 20
 40
 04
-1f
+23
 20
 20
 60
@@ -4263,11 +4279,11 @@
 20
 40
 03
-f2
+f7
 20
 20
 02
-6d
+62
 6f
 e4
 47
@@ -4278,8 +4294,8 @@
 00
 c3
 1f
-de
-b9
+84
+3e
 68
 48
 c6
@@ -4288,6 +4304,26 @@
 40
 6e
 f7
+20
+40
+04
+38
+68
+48
+c6
+5a
+20
+40
+6e
+f3
+68
+48
+c6
+5a
+20
+20
+55
+b5
 68
 48
 c6
@@ -4312,6 +4348,34 @@
 20
 5e
 be
+68
+48
+c6
+5a
+20
+40
+6e
+f3
+20
+40
+5e
+b9
+68
+48
+c6
+5a
+20
+40
+6e
+f7
+68
+48
+c6
+5a
+20
+20
+55
+b1
 20
 40
 59
@@ -4319,7 +4383,7 @@
 c0
 18
 04
-42
+52
 c0
 18
 d9
@@ -4327,7 +4391,7 @@
 c0
 2c
 04
-3a
+4a
 20
 20
 59
@@ -4343,11 +4407,11 @@
 c0
 2b
 84
-46
+56
 c0
 2c
 84
-3f
+4f
 20
 20
 59
@@ -4375,7 +4439,7 @@
 c0
 60
 04
-49
+59
 20
 20
 59
@@ -4404,14 +4468,10 @@
 50
 d9
 6c
-70
-49
-57
-04
 20
-60
-00
-00
+20
+59
+cd
 20
 40
 57
@@ -4422,52 +4482,20 @@
 00
 6f
 e0
-c6
-90
-1f
-e2
-04
-00
-6f
-e4
-47
-13
-c2
-8b
-d7
-04
-6f
-e0
 c9
 57
 c0
 06
 84
-5b
-c0
-01
-84
-60
-18
-42
-7e
-00
-1f
-e0
-fe
-01
-1f
-e1
-7e
-03
+62
 20
 20
-57
-01
-18
-42
-7e
-00
+56
+fa
+6f
+e0
+c6
+90
 1f
 e0
 fe
@@ -4478,40 +4506,12 @@
 04
 24
 41
-04
-65
-20
-20
-57
-01
-18
-42
-7e
-00
-1f
-e0
-fe
-01
-1f
-e1
-7e
-03
-24
-41
-04
-65
+7d
+ca
 20
 20
 57
 01
-58
-00
-00
-00
-20
-60
-00
-00
 6f
 e0
 c9
@@ -4547,33 +4547,13 @@
 c0
 06
 04
-76
+71
 20
 20
 57
 49
 6f
 e0
-c4
-20
-c1
-80
-00
-00
-6f
-e0
-c9
-57
-c0
-05
-84
-7b
-20
-20
-59
-f8
-6f
-e0
 c6
 90
 c0
@@ -4592,6 +4572,26 @@
 20
 57
 6f
+6f
+e0
+c4
+20
+c1
+80
+00
+00
+6f
+e0
+c9
+57
+c0
+05
+84
+7b
+20
+20
+59
+f8
 20
 40
 5a
@@ -4647,7 +4647,7 @@
 20
 40
 04
-71
+76
 58
 00
 00
@@ -4884,8 +4884,8 @@
 20
 57
 ff
-60
-f9
+a9
+2b
 aa
 55
 40
@@ -4905,7 +4905,7 @@
 00
 00
 00
-53
+d7
 18
 bc
 f2
@@ -5213,25 +5213,6 @@
 ff
 aa
 55
-06
-00
-2d
-46
-dc
-05
-84
-03
-e8
-03
-aa
-55
-01
-00
-35
-46
-04
-aa
-55
 01
 00
 28
@@ -6047,19 +6028,7 @@
 00
 08
 44
-09
-aa
-55
-06
 00
-2d
-46
-a4
-01
-18
-01
-2c
-01
 aa
 55
 01
@@ -6108,7 +6077,7 @@
 00
 1c
 41
-67
+3e
 aa
 55
 0c
@@ -6221,10 +6190,10 @@
 aa
 aa
 55
-44
-7e
-d3
-3d
+e9
+76
+dd
+5d
 ff
 ff
 ff
@@ -8188,5 +8157,36 @@
 ff
 ff
 ff
-e6
-ad
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+30
+db
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(working copy)
@@ -1,244 +1,244 @@
               include "bt_format "
               org 0x0000
-0000 c2840028 bbit1 8 ,pf_patch_ext 
-0001 c00002da beq patch00_0 ,p_soft_reset 
-0002 c0010037 beq patch00_2 ,p_main_loop 
-0003 c0080040 beq patch02_0 ,p_shutdown_radio 
-0004 c0088042 beq patch02_1 ,p_set_sync_on 
-0005 c00a018c beq patch02_4 ,p_set_lemode 
-0006 c00a810e beq patch02_5 ,p_rf_rx_enable 
-0007 c00c012e beq patch03_0 ,p_txon 
-0008 c00c8135 beq patch03_1 ,p_set_tx_power 
-0009 c00d0050 beq patch03_2 ,p_initialize_radio_cont 
-000a c0128259 beq patch04_5 ,p_lpm_sleep 
-000b c03402d3 beq patch0d_0 ,p_mouse_cb_fuction 
-000c c03482e6 beq patch0d_1 ,p_mouse_load_device_info_check 
-000d c0360296 beq patch0d_4 ,p_mouse_param_init 
-000e c03703ac beq patch0d_6 ,p_mouse_start_work 
-000f c0398401 beq patch0e_3 ,p_mouse_setgpio_hibernate 
-0010 c03a0251 beq patch0e_4 ,p_mouse_lpm_before_common 
-0011 c03d0485 beq patch0f_2 ,p_mouse_motion 
-0012 c03d844e beq patch0f_3 ,p_mouse_dpi_process 
-0013 c03e046b beq patch0f_4 ,p_mouse_setting_dpi 
-0014 c03e846d beq patch0f_5 ,p_mouse_setting_sensor_type 
-0015 c03f83e1 beq patch0f_7 ,p_mouse_3io6key_check 
-0016 c0408435 beq patch10_1 ,p_mouse_init_sensor 
-0017 c04202f9 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-0018 c0428349 beq patch10_5 ,p_mouse_priority_bb_event 
-0019 c0430223 beq patch10_6 ,p_mouse_le 
-001a c0438327 beq patch10_7 ,p_mouse_bb_event_timer 
-001b c0440347 beq patch11_0 ,p_mouse_start_discovery 
-001c c045030a beq patch11_2 ,p_mouse_store_remote_bdaddr 
-001d c04582e8 beq patch11_3 ,p_mouse_app_initflag_check 
-001e c04703cb beq patch11_6 ,p_mouse_idle 
-001f c048042a beq patch12_0 ,p_mouse_check_select_device_by_switch 
-0020 c04a83f8 beq patch12_5 ,p_mouse_24g_hibernate_set 
-0021 c04b0413 beq patch12_6 ,p_mouse_24g_package_data 
-0022 c058809c beq patch16_1 ,p_app_init 
-0023 c062827c beq patch18_5 ,p_otp_read_data 
-0024 c06a8242 beq patch1a_5 ,p_gpio_set_wake_by_current_state 
-0025 c06b023b beq patch1a_6 ,p_gpio_set_wake 
-0026 c06d0175 beq patch1b_2 ,p_sadc_calibration 
-0027 2020235a branch assert 
+0000 c284002a bbit1 8 ,pf_patch_ext 
+0001 c00002cc 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 c03402c7 beq patch0d_0 ,p_mouse_cb_fuction 
+000c c03482db beq patch0d_1 ,p_mouse_load_device_info_check 
+000d c03502d7 beq patch0d_2 ,p_mouse_default_init 
+000e c036028b beq patch0d_4 ,p_mouse_param_init 
+000f c03703a9 beq patch0d_6 ,p_mouse_start_work 
+0010 c03783af beq patch0d_7 ,p_mouse_start_reconnect_device 
+0011 c0398405 beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0012 c03a0248 beq patch0e_4 ,p_mouse_lpm_before_common 
+0013 c03d0485 beq patch0f_2 ,p_mouse_motion 
+0014 c03d845d beq patch0f_3 ,p_mouse_dpi_process 
+0015 c03e046b beq patch0f_4 ,p_mouse_setting_dpi 
+0016 c03e846d beq patch0f_5 ,p_mouse_setting_sensor_type 
+0017 c03f83e6 beq patch0f_7 ,p_mouse_3io6key_check 
+0018 c0408445 beq patch10_1 ,p_mouse_init_sensor 
+0019 c04202ee beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+001a c042834c beq patch10_5 ,p_mouse_priority_bb_event 
+001b c043021b beq patch10_6 ,p_mouse_le 
+001c c043832a beq patch10_7 ,p_mouse_bb_event_timer 
+001d c044034a beq patch11_0 ,p_mouse_start_discovery 
+001e c04502ff beq patch11_2 ,p_mouse_store_remote_bdaddr 
+001f c04582dd beq patch11_3 ,p_mouse_app_initflag_check 
+0020 c04703d0 beq patch11_6 ,p_mouse_idle 
+0021 c048042e beq patch12_0 ,p_mouse_check_select_device_by_switch 
+0022 c04a83fc beq patch12_5 ,p_mouse_24g_hibernate_set 
+0023 c04b0417 beq patch12_6 ,p_mouse_24g_package_data 
+0024 c058809d beq patch16_1 ,p_app_init 
+0025 c0628271 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 
 
 pf_patch_ext:
-0028 c00a01ad beq patch22_4 ,p_le_slave_match 
-0029 c00d01ac beq patch23_2 ,p_le_got_first_packet 
-002a c01281dc beq patch24_5 ,p_le_rx_dec 
-002b c01301e1 beq patch24_6 ,p_le_rx_nopayload 
-002c c01c81f3 beq patch27_1 ,p_le_parse 
-002d c01d01fd beq patch27_2 ,p_le_parse_l2cap 
-002e c02601f9 beq patch29_4 ,p_le_adv_not_match 
-002f c02681f7 beq patch29_5 ,p_le_init_adv 
-0030 c048027f beq patch32_0 ,p_g24_reconn_dispatch 
-0031 c04b03ec beq patch32_6 ,p_g24_short_sleep 
-0032 c04d011c beq patch33_2 ,p_mouse_g24_retransmit 
-0033 c04e8123 beq patch33_5 ,p_g24_transmit_hop_process 
-0034 c04f82a4 beq patch33_7 ,p_power_ctrl_start 
-0035 c17f8000 rtneq patch3f_7 
-0036 2020235a branch assert 
+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 c0480274 beq patch32_0 ,p_g24_reconn_dispatch 
+0033 c04b03f1 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 c04f8298 beq patch33_7 ,p_power_ctrl_start 
+0037 c17f8000 rtneq patch3f_7 
+0038 2020235a branch assert 
 
 p_main_loop:
-0037 20407552 call sp_calc_sequence_256 
-0038 20407448 call sp_calc_sequence_256_check 
-0039 20402a45 call le_advertising_dispatch 
-003a 2040202a call idle_dispatch 
-003b 204042ad call app_process_idle 
-003c 20402018 call connection_dispatch 
-003d 2040310f call g24_dispatch 
-003e 2040248c call lpm_dispatch 
-003f 20200037 branch 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 
 
 p_shutdown_radio:
-0040 70890000 jam 0 ,0x8900 
-0041 20202153 branch shutdown_radio + 1 
+0042 70890000 jam 0 ,0x8900 
+0043 20202153 branch shutdown_radio + 1 
 
 p_set_sync_on:
-0042 708a0f60 jam 0x60 ,0x8a0f 
-0043 708a10aa jam 0xaa ,0x8a10 
-0044 708a127a jam 0x7a ,0x8a12 
-0045 708a2500 jam 0x00 ,0x8a25 
-0046 708a2600 jam 0x00 ,0x8a26 
-0047 2000003c nop 60 
-0048 708a2020 jam 0x20 ,0x8a20 
-0049 708a23f5 jam 0xf5 ,0x8a23 
-004a 708a2412 jam 0x12 ,0x8a24 
-004b 708a2410 jam 0x10 ,0x8a24 
-004c 2000003c nop 60 
-004d 708a1260 jam 0x60 ,0x8a12 
-004e 708a23dd jam 0xdd ,0x8a23 
-004f 20600000 rtn 
+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 
 
 p_initialize_radio_cont:
-0050 7001bb00 jam 0 ,mem_le_testtype 
-0051 7001bc00 jam 0 ,mem_cmd_le_create_conn 
-0052 37d98200 until null ,lpo_edge 
-0053 7089460d jam 0x0d ,0x8946 
-0054 70896f10 jam 0x10 ,0x896f 
-0055 708a13cd jam 0xcd ,0x8a13 
-0056 708a0610 jam 0x10 ,0x8a06 
-0057 708a844a jam 0x4a ,0x8a84 
-0058 708a8540 jam 0x40 ,0x8a85 
-0059 708a16fe jam 0xfe ,0x8a16 
-005a 204000e2 call p_set_otp_config 
-005b 204070d7 call wdt_set_disable 
-005c 37d98200 until null ,lpo_edge 
-005d 70813b5f jam 0x5f ,0x813b 
+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 70813c88 jam 0x88 ,0x813c 
+005f 70813b5f jam 0x5f ,0x813b 
 0060 37d98200 until null ,lpo_edge 
-0061 6fe0c099 fetch 1 ,mem_fcomp_div 
-0062 c008008c beq xtal_16m ,p_initialize_radio_16m 
-0063 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0064 1fe1fe04 or_into 0x04 ,pdata 
-0065 67f08a02 store 1 ,0x8a02 
-0066 70890f01 jam 0x01 ,0x890f 
-0067 708a8024 jam 0x24 ,0x8a80 
-0068 708a8162 jam 0x62 ,0x8a81 
-0069 58e61212 setarg 0xe61212 
-006a 67f18a73 store 3 ,0x8a73 
+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 
 
 p_initialize_radio2:
-006b 708a8660 jam 0x60 ,0x8a86 
-006c 708a8b3b jam 0x3b ,0x8a8b 
-006d 2040007e call p_dpll_on 
-006e 70804300 jam 0 ,core_config 
-006f 70804205 jam clksel_dpll ,core_clksel 
-0070 58557474 setarg 0x557474 
-0071 67f18968 store 3 ,0x8968 
-0072 7089606e jam 0x6e ,0x8960 
-0073 20400148 call p_rx_dcoc 
-0074 20400173 call p_rfpll_aac_ghpc 
-0075 20400078 call p_set_xtal_cap 
-0076 7041480c jam system_clk_12m ,mem_system_clk 
-0077 20206f4e branch sadc_calibration 
+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 
 
 p_set_xtal_cap:
-0078 20758000 rtn wake 
-0079 37d98200 until null ,lpo_edge 
-007a 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-007b 67f0813a store 1 ,core_xtal_cap 
-007c 37d98200 until null ,lpo_edge 
-007d 20600000 rtn 
+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 
 
 p_dpll_on:
-007e 6fe0c099 fetch 1 ,mem_fcomp_div 
-007f c00c0084 beq xtal_24m ,p_dpll_on_24m 
-0080 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0081 1fe1fe06 or_into 0x06 ,pdata 
-0082 67f08a02 store 1 ,0x8a02 
-0083 708a05e0 jam 0xe0 ,0x8a05 
+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 
 
 p_dpll_on_24m:
-0084 708a00d8 jam 0xd8 ,0x8a00 
-0085 2000003c nop 60 
-0086 708a01a0 jam 0xa0 ,0x8a01 
-0087 708a00df jam 0xdf ,0x8a00 
-0088 708a01fa jam 0xfa ,0x8a01 
-0089 20000014 nop 20 
-008a 708a009f jam 0x9f ,0x8a00 
-008b 20600000 rtn 
+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 
 
 p_initialize_radio_16m:
-008c 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-008d 1fe1fe06 or_into 0x06 ,pdata 
-008e 67f08a02 store 1 ,0x8a02 
-008f 70890f00 jam 0x00 ,0x890f 
-0090 708a8023 jam 0x23 ,0x8a80 
-0091 708a81b0 jam 0xb0 ,0x8a81 
-0092 58e40909 setarg 0xe40909 
-0093 67f18a73 store 3 ,0x8a73 
-0094 708a762a jam 0x2a ,0x8a76 
-0095 70890204 jam 0x04 ,0x8902 
-0096 2020006b branch p_initialize_radio2 
+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 
 
 p_mouse_setting_config:
-0097 20758000 rtn wake 
-0098 204035f0 call g24_transmit_init 
-0099 2040325b call g24_chmap_param_init 
-009a 204062aa call mouse_24g_send_time_long_wake 
-009b 20205415 branch mouse_setting_config + 5 
+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 
 
 p_app_init:
 
 p_mouse_init:
-009c 20407396 call enable_authrom 
-009d 20400097 call p_mouse_setting_config 
-009e 245580a7 ncall p_mouse_sensor_init_param_check ,wake 
-009f 2455d589 ncall mouse_gpio_init ,wake 
-00a0 20405949 call mouse_init_sunt 
-00a1 20758000 rtn wake 
-00a2 20405747 call mouse_setting_sensor_type 
-00a3 20405f37 call mouse_drawing_optima_init 
-00a4 204053ec call mouse_cb_fuction 
-00a5 204059ed call mouse_sensor_powerdown 
-00a6 202053e8 branch mouse_init_wireless 
+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 
 
 p_mouse_sensor_init_param_check:
-00a7 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
-00a8 58001415 setarg 0x1415 
-00a9 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00aa 5800130c setarg 0x130c 
-00ab 67e1464a store 2 ,mem_whee_a_data_gpio 
-00ac 204000c7 call p_sensor_reg_reset 
+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 
 
 p_mouse_sensor_init_param_check_next:
-00ad 204055f6 call mouse_sensor_spi_init 
-00ae 20002ee0 nop 12000 
+00ae 204055f6 call mouse_sensor_spi_init 
+00af 20002ee0 nop 12000 
 
 p_mouse_read_sensor_id:
-00af 58000000 setarg pan_reg_pid_l 
-00b0 204069e5 call twspi_read 
-00b1 67e0c859 store 1 ,mem_sensor_id1 
-00b2 c01800bc beq p32xx_id1 ,p_mouse_sensor_id_read_success 
-00b3 c01880bc beq p3065_id1 ,p_mouse_sensor_id_read_success 
-00b4 c02c00bc beq pka8g2_id1 ,p_mouse_sensor_id_read_success 
-00b5 20405955 call mouse_twspi_reset 
-00b6 20001bbc nop 7100 
-00b7 6fe0cb1e fetch 1 ,mem_sensor_read_count 
-00b8 1fe0fe01 increase 1 ,pdata 
-00b9 67e0cb1e store 1 ,mem_sensor_read_count 
-00ba c00400bd beq 8 ,p_mouse_sensor_spi_init_param_change 
-00bb 202000af branch 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 
 
 p_mouse_sensor_id_read_success:
-00bc 20600000 rtn 
+00bd 20600000 rtn 
 
 p_mouse_sensor_spi_init_param_change:
-00bd 704b1e00 jam 0 ,mem_sensor_read_count 
-00be 6fe0cb1f fetch 1 ,mem_sensor_param_change_count 
-00bf 1fe0fe01 increase 1 ,pdata 
-00c0 1fe17e03 and pdata ,0x03 ,pdata 
-00c1 67e0cb1f store 1 ,mem_sensor_param_change_count 
-00c2 c00000cc beq 0 ,p_mouse_sensor_angle_12clk 
-00c3 c00080d3 beq 1 ,p_mouse_sensor_angle_9clk 
-00c4 c00100d8 beq 2 ,p_mouse_sensor_angle_6clk 
-00c5 c00180dd beq 3 ,p_mouse_sensor_angle_3clk 
-00c6 20600000 rtn 
+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 
 
 p_sensor_reg_reset:
-00c7 58000000 setarg 0 
-00c8 67f0807c store 1 ,0x807c 
+00c8 70807c00 jam 0 ,0x807c 
 00c9 58000000 setarg 0 
 00ca 67f180d7 store 3 ,0x80d7 
 00cb 20600000 rtn 
@@ -251,8 +251,8 @@
 
 p_mouse_sensor_param_store:
 00d0 67e1464a store 2 ,mem_whee_a_data_gpio 
-00d1 204000c7 call p_sensor_reg_reset 
-00d2 202000ad branch p_mouse_sensor_init_param_check_next 
+00d1 204000c8 call p_sensor_reg_reset 
+00d2 202000ae branch p_mouse_sensor_init_param_check_next 
 
 p_mouse_sensor_angle_9clk:
 00d3 70495801 jam mouse_9clk_angle ,mem_config_sensor_angle 
@@ -276,7 +276,7 @@
 00e1 202000d0 branch p_mouse_sensor_param_store 
 
 p_set_otp_config:
-00e2 2035810a branch p_set_otp_config_wake ,wake 
+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 
@@ -295,1184 +295,1182 @@
 00f2 67f08138 store 1 ,0x8138 
 00f3 37d98200 until null ,lpo_edge 
 
-p_set_otp_config2:
-00f4 6ff08acb fetch 1 ,0x8acb 
-00f5 1fe17ef0 and pdata ,0xf0 ,pdata 
-00f6 6848820f fetcht 1 ,mem_otp_charge_pump 
-00f7 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00f8 9841fe00 ior temp ,pdata 
-00f9 67f08acb store 1 ,0x8acb 
-00fa 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00fb 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00fc 2feffe03 isolate1 3 ,pdata 
-00fd 6ff08a06 fetch 1 ,0x8a06 
-00fe 7920fe07 setflag true ,7 ,pdata 
-00ff 67f08a06 store 1 ,0x8a06 
-0100 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-0101 1fe10407 and pdata ,7 ,temp 
-0102 18520400 lshift4 temp ,temp 
-0103 18438400 lshift temp ,temp 
-0104 6048c438 storet 1 ,mem_ring_ibias_trim 
-0105 6ff08a02 fetch 1 ,0x8a02 
-0106 1fe17e1f and pdata ,0x1f ,pdata 
-0107 9841fe00 ior temp ,pdata 
-0108 67f08a02 store 1 ,0x8a02 
-0109 20600000 rtn 
-
 p_set_otp_config_wake:
-010a 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-010b 207a0000 rtn blank 
-010c 67e1020f store 2 ,mem_otp_charge_pump 
-010d 202000f4 branch p_set_otp_config2 
+00f4 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00f5 207a0000 rtn blank 
+00f6 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 
 
 p_rf_rx_enable:
-010e 2040686f call rf_debug_rx_gpio_high 
-010f 204021ba call rf_rx_agc_set 
-0110 18002a08 force 8 ,radio_ctrl 
-0111 18002a00 force 0 ,radio_ctrl 
-0112 580aaada setarg 0x0aaada 
-0113 67f18a0f store 3 ,0x8a0f 
-0114 708a2540 jam 0x40 ,0x8a25 
-0115 708a2610 jam 0x10 ,0x8a26 
-0116 2000003c nop 60 
-0117 708a01fb jam 0xfb ,0x8a01 
-0118 708a25ff jam 0xff ,0x8a25 
-0119 708a2630 jam 0x30 ,0x8a26 
-011a 708a16fe jam 0xfe ,0x8a16 
-011b 202021b4 branch rf_rx_enable + 14 
+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 
 
 p_mouse_g24_retransmit:
-011c 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
-011d 247a0000 nrtn blank 
-011e 20400120 call p_mouse_retransmit_select_device_by_pb_button 
-011f 202060fc branch mouse_g24_retransmit + 3 
+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 
 
 p_mouse_retransmit_select_device_by_pb_button:
-0120 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
-0121 c17f8000 rtneq gpio_disable 
-0122 20205e78 branch 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 
 
 p_g24_transmit_hop_process:
-0123 6848c601 fetcht 1 ,mem_24g_retry 
-0124 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
-0125 98467c00 isub temp ,null 
-0126 24210128 nbranch p_g24_tx_fast_hop ,positive 
-0127 20203681 branch g24_transmit_hop_process + 5 
+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 
 
 p_g24_tx_fast_hop:
-0128 6fe2458f fetch 4 ,mem_24g_addr 
-0129 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-012a 98467c00 isub temp ,null 
-012b 2022b222 branch g24_ch ,zero 
-012c 204002c9 call p_power_ctrl_txpower_incrs 
-012d 2020369b branch g24_tx_fast_hop + 1 
+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 204002bd call p_power_ctrl_txpower_incrs 
+012c 2020369b branch g24_tx_fast_hop + 1 
 
 p_txon:
-012e 580aaa7e setarg 0x0aaa7e 
-012f 67f18a0f store 3 ,0x8a0f 
-0130 2000003c nop 60 
-0131 708a2500 jam 0x00 ,0x8a25 
-0132 708a260d jam 0x0d ,0x8a26 
-0133 708a16f6 jam 0xf6 ,0x8a16 
-0134 20202203 branch txon + 7 
+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 
 
 p_set_tx_power:
-0135 6fe0c141 fetch 1 ,mem_tx_power 
-0136 c0032225 beq tx_power_6db ,set_tx_power_7db 
-0137 c005013b beq tx_power_10db ,p_set_tx_power_10db 
-0138 c04f0144 beq tx_power_f30db ,p_set_tx_power_f30db 
-0139 c0550140 beq tx_power_factory ,p_set_tx_power_factory 
-013a 2020220e branch set_tx_power + 2 
-
-p_set_tx_power_10db:
-013b 708a1425 jam 0x25 ,0x8a14 
-013c 58a93f3f setarg 0xa93f3f 
-013d 67f18a60 store 3 ,0x8a60 
-013e 708a631f jam 0x1f ,0x8a63 
-013f 20600000 rtn 
+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 
 
 p_set_tx_power_factory:
-0140 708a1417 jam 0x17 ,0x8a14 
-0141 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
-0142 67f18a60 store 3 ,0x8a60 
-0143 2020221a branch set_tx_power_8a63_28 
+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 
 
 p_set_tx_power_f30db:
-0144 708a1417 jam 0x17 ,0x8a14 
-0145 58250300 setarg 0x250300 
-0146 67f18a60 store 3 ,0x8a60 
-0147 2020221a branch set_tx_power_8a63_28 
+013d 708a1417 jam 0x17 ,0x8a14 
+013e 58250300 setarg 0x250300 
+013f 67f18a60 store 3 ,0x8a60 
+0140 2020221a branch set_tx_power_8a63_28 
 
 p_rx_dcoc:
-0148 20758000 rtn wake 
-0149 20402160 call set_sync_on 
-014a d8400027 arg 39 ,temp 
-014b 2040216f call set_freq_rx 
-014c 204021a6 call rf_rx_enable 
-014d 708a257f jam 0x7f ,0x8a25 
-014e 708a301a jam 0x1a ,0x8a30 
-014f 708a3178 jam 0x78 ,0x8a31 
-0150 708a8fb2 jam 0xb2 ,0x8a8f 
-0151 708ac200 jam 0 ,0x8ac2 
-0152 708ac300 jam 0 ,0x8ac3 
-0153 d8e00006 arg 6 ,queue 
-0154 20400165 call p_rx_dcoc_avg 
-0155 2a2ffe0d isolate1 13 ,rega 
-0156 2040211d call qset_start 
-0157 2a4ffe0d isolate1 13 ,regb 
-0158 2040211e call qset_p 
-0159 d8e00005 arg 5 ,queue 
+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 
 
 p_rx_dcoc_loop2:
-015a 2040211c call qset1_p 
-015b 2040211e call qset_p 
-015c 20400165 call p_rx_dcoc_avg 
-015d d8a08ac2 arg 0x8ac2 ,contw 
-015e 1a31fe00 rshift4 rega ,pdata 
-015f 20402117 call qsetxor 
-0160 1a51fe00 rshift4 regb ,pdata 
-0161 20402117 call qsetxor 
-0162 18e08fff increase -1 ,queue 
-0163 2021015a branch p_rx_dcoc_loop2 ,positive 
-0164 2020214f branch rx_dcoc_loop2 + 10 
+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 
 
 p_rx_dcoc_avg:
-0165 2000003c nop 60 
-0166 58000f00 setarg mem_dcoc_buf 
-0167 67f10982 store 2 ,0x8982 
-0168 58000ff0 setarg mem_dcoc_buf_end 
-0169 67f10984 store 2 ,0x8984 
-016a 70898109 jam 0x9 ,0x8981 
-016b 70898103 jam 0x3 ,0x8981 
-016c 70898006 jam 0x6 ,0x8980 
-016d 2000003c nop 60 
-016e da200000 arg 0 ,rega 
-016f da400000 arg 0 ,regb 
-0170 df200010 arg 16 ,loopcnt 
-0171 d8c00f00 arg mem_dcoc_buf ,contr 
-0172 2020212d branch rx_dcoc_loop 
+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 
 
 p_rfpll_aac_ghpc:
-0173 20758000 rtn wake 
-0174 20202272 branch rfpll_aac_ghpc + 1 
+016c 20758000 rtn wake 
+016d 20202272 branch rfpll_aac_ghpc + 1 
 
 p_sadc_calibration:
-0175 20758000 rtn wake 
-0176 708a0777 jam 0x77 ,core_gpadc_ctrl 
-0177 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-0178 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-0179 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-017a 67f080cd store 1 ,core_sadc_clkdiv 
-017b 20000bb8 nop 3000 
-017c 20400185 call p_sadc_read 
-017d 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-017e 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-017f df200008 arg 8 ,loopcnt 
-0180 20406f58 call sadc_cal_read + 1 
-0181 6fe0c419 fetch 1 ,mem_spi_write_addr 
-0182 67e0c433 store 1 ,mem_adc_cal_c7 
-0183 6240c419 storer regb ,1 ,mem_spi_write_addr 
-0184 20600000 rtn 
+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:
-0185 7080cc03 jam 0x03 ,core_sadc_ctrl 
+017e 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-0186 6ff08129 fetch 1 ,core_perf_status 
-0187 c3028186 bbit0 saradc_done ,p_sadc_read_wait 
-0188 68590164 fetcht 2 ,core_sadc_data 
-0189 6049440a storet 2 ,mem_adc_current_value 
-018a 7080cc00 jam 0x00 ,core_sadc_ctrl 
-018b 20600000 rtn 
+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 
 
 p_set_lemode:
-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 
+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 
 
 p_set_lemode_2m:
-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 
+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 
 
 p_set_lemode_1m:
-019e c6978000 rtnmark0 mark_ble_lr 
-019f 70893024 jam 0x24 ,0x8930 
-01a0 70890105 jam 5 ,0x8901 
-01a1 20600000 rtn 
+0197 c6978000 rtnmark0 mark_ble_lr 
+0198 70893024 jam 0x24 ,0x8930 
+0199 70890105 jam 5 ,0x8901 
+019a 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01a2 58004189 setarg 0x4189 
-01a3 67f10907 store 2 ,0x8907 
-01a4 2020019e branch p_set_lemode_1m 
+019b 58004189 setarg 0x4189 
+019c 67f10907 store 2 ,0x8907 
+019d 20200197 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01a5 58008312 setarg 0x8312 
-01a6 67f10907 store 2 ,0x8907 
-01a7 20200193 branch p_set_lemode_2m 
+019e 58008312 setarg 0x8312 
+019f 67f10907 store 2 ,0x8907 
+01a0 2020018c branch p_set_lemode_2m 
 
 p_le_check_retransmit_timesout:
-01a8 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01a9 da600100 arg 256 ,regc 
-01aa 9a60fe00 iadd regc ,pdata 
-01ab 20600000 rtn 
-
-p_le_got_first_packet:
-01ac 202001cc branch p_le_got_first_packet_new 
+01a1 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+01a2 da600100 arg 256 ,regc 
+01a3 9a60fe00 iadd regc ,pdata 
+01a4 20600000 rtn 
 
 p_le_slave_match:
-01ad 204001af call p_le_check_retransmit 
-01ae 20202563 branch le_slave_match + 1 
+01a5 204001a7 call p_le_check_retransmit 
+01a6 20202563 branch le_slave_match + 1 
 
 p_le_check_retransmit:
-01af 6fe0cbfa fetch 1 ,mem_le_conn_first_rcv 
-01b0 207a0000 rtn blank 
-01b1 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-01b2 247a0000 nrtn blank 
-01b3 6848cbfa fetcht 1 ,mem_le_conn_first_rcv 
-01b4 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01b5 98467c00 isub temp ,null 
-01b6 244101a8 ncall p_le_check_retransmit_timesout ,positive 
-01b7 98467e00 isub temp ,pdata 
-01b8 1fe67c64 sub pdata ,100 ,null 
-01b9 202101c1 branch p_le_check_retransmit_count ,positive 
-01ba 6fe0cbfc fetch 1 ,mem_le_retransmit_cnt 
-01bb 1fe67c14 sub pdata ,20 ,null 
-01bc 244101bf ncall p_app_ble_disconnect ,positive 
-01bd 704bfb01 jam 1 ,mem_le_check_retransmit_flag 
-01be 20600000 rtn 
+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 
 
 p_app_ble_disconnect:
-01bf 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
-01c0 2020431f branch app_ble_disconnect 
+01b7 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
+01b8 2020431f branch app_ble_disconnect 
 
 p_le_check_retransmit_count:
-01c1 6848817f fetcht 1 ,mem_le_arq 
-01c2 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
-01c3 1fe37e00 rshift pdata ,pdata 
-01c4 9842fe00 ixor temp ,pdata 
-01c5 2feffe02 isolate1 nesn ,pdata 
-01c6 58000000 setarg 0 
-01c7 6848cbfc fetcht 1 ,mem_le_retransmit_cnt 
-01c8 7920fe00 setflag true ,0 ,pdata 
-01c9 98408400 iadd temp ,temp 
-01ca 6048cbfc storet 1 ,mem_le_retransmit_cnt 
-01cb 20600000 rtn 
+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 
 
 p_le_got_first_packet_new:
-01cc 6fe08005 fetch 1 ,mem_le_conn_rcv 
-01cd 1fe0fe01 increase 1 ,pdata 
-01ce 67e08005 store 1 ,mem_le_conn_rcv 
-01cf 243681d3 nbranch p_le_got_first_packet_new + 7 ,match 
-01d0 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01d1 1fe0fe01 increase 1 ,pdata 
-01d2 67e0cbf9 store 1 ,mem_le_conn_rcv_new 
-01d3 6fe08168 fetch 1 ,mem_le_state 
-01d4 c3818000 rtnbit1 lestate_got_first_packet 
-01d5 79207e03 set1 lestate_got_first_packet ,pdata 
-01d6 67e08168 store 1 ,mem_le_state 
-01d7 6fe142f5 fetch 2 ,mem_le_init_superto 
-01d8 67e10196 store 2 ,mem_le_superto 
-01d9 58000000 setarg 0 
-01da 67e2431d store 4 ,mem_le_transmit_window 
-01db 20600000 rtn 
+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 
 
 p_le_rx_dec:
-01dc 2040281c call le_check_retransmit 
-01dd 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
-01de 1a20a3fc increase -4 ,rega 
-01df 242126fa nbranch le_crc_fail_consecutive ,positive 
-01e0 2020268e branch le_rx_dec + 6 
+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 
 
 p_le_rx_nopayload:
-01e1 09800018 parse demod ,bucket ,24 
-01e2 1fef7e00 rshift32 pdata ,pdata 
-01e3 1ff17e00 rshift16 pdata ,pdata 
-01e4 e7e18005 istore 3 ,contw 
-01e5 78287c00 enable swfine 
-01e6 2040270d call le_set_until_tx_timer 
-01e7 202326f6 branch le_crc_fail ,crc_failed 
-01e8 c59926af bmark0 mark_ble_encryption ,le_rx_match 
-01e9 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
-01ea 203a26af branch le_rx_match ,blank 
-01eb 1fe0fffc increase -4 ,pdata 
-01ec 67e0804d store 1 ,mem_le_rxbuf_data_length 
-01ed 204072cb call wait_ccm_done 
-01ee 6ff08108 fetch 1 ,core_misc_status 
-01ef c303a6fa bbit0 7 ,le_crc_fail_consecutive 
-01f0 1800700c force regidx_result ,regext_index 
-01f1 65e20154 storer regext ,4 ,mem_le_peer_mic 
-01f2 202026af branch le_rx_match 
+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 
 
 p_le_parse:
-01f3 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01f4 c1000000 rtneq llid_reserved 
-01f5 c001b04a beq llid_le_ll ,le_parse_ll 
-01f6 202028e1 branch le_parse_l2cap 
+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 
 
 p_le_init_adv:
-01f7 793f8030 set0 mark_ble_crc_fail ,mark 
-01f8 20202af6 branch le_init_adv + 1 
+01ef 793f8030 set0 mark_ble_crc_fail ,mark 
+01f0 20202af6 branch le_init_adv + 1 
 
 p_le_adv_not_match:
-01f9 20402152 call shutdown_radio 
-01fa 70890000 jam 0 ,0x8900 
-01fb 793f8030 set0 mark_ble_crc_fail ,mark 
-01fc 20202ae3 branch le_adv_not_match + 1 
+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 
 
 p_le_parse_l2cap:
-01fd efe10006 ifetch 2 ,contr 
-01fe c0020200 beq le_l2cap_cid_att ,p_le_parse_att 
-01ff 202028eb branch le_parse_l2cap_next + 2 
+01f5 efe10006 ifetch 2 ,contr 
+01f6 c00201f8 beq le_l2cap_cid_att ,p_le_parse_att 
+01f7 202028eb branch le_parse_l2cap_next + 2 
 
 p_le_parse_att:
-0200 efe18006 ifetch 3 ,contr 
-0201 67e1c397 store 3 ,mem_le_att_opcode 
-0202 c0050205 beq attop_read_request ,p_le_parse_att_read_request 
-0203 c0090214 beq attop_write_request ,p_le_parse_att_write_request 
-0204 20202b96 branch le_parse_att2 
+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 
 
 p_le_parse_att_read_request:
-0205 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0206 c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0207 20402dc7 call le_check_encrypt_state 
-0208 68494398 fetcht 2 ,mem_le_att_handle 
-0209 6fe0c321 fetch 1 ,mem_le_configuration 
-020a c281820f bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+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 
 
 p_le_send_att_read_response:
-020b 6fe14398 fetch 2 ,mem_le_att_handle 
-020c c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
-020d 68494398 fetcht 2 ,mem_le_att_handle 
-020e 20202d1d branch 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 
 
 p_le_send_att_read_response_check_auth:
-020f 6fe14332 fetch 2 ,mem_le_pairing_handle 
-0210 98467c00 isub temp ,null 
-0211 2422820b nbranch p_le_send_att_read_response ,zero 
-0212 2434020b nbranch p_le_send_att_read_response ,user 
-0213 20202d46 branch le_send_att_read_response_error_insufficient_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 
 
 p_le_parse_att_write_request:
-0214 18c22200 copy contr ,rega 
-0215 6fe14335 fetch 2 ,mem_le_l2cap_size 
-0216 1fe0a5fd add pdata ,-3 ,regb 
-0217 20402929 call le_writeatt_cb 
-0218 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0219 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
-021a 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-021b 203a2dac branch le_send_att_write_response_check_auth ,blank 
-021c 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-021d c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-021e 5800001a setarg 0x001a 
-021f 68494398 fetcht 2 ,mem_le_att_handle 
-0220 98467c00 isub temp ,null 
-0221 2422adac nbranch le_send_att_write_response_check_auth ,zero 
-0222 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+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 
 
 p_mouse_le:
-0223 20402a28 call le_fifo_check_nearly_full 
-0224 247a0000 nrtn blank 
-0225 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0226 c07f822e beq 0xff ,p_mouse_le_next 
-0227 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0228 1fe17e03 and pdata ,0x03 ,pdata 
-0229 c1818000 rtnne 0x03 
-022a 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-022b 207a0000 rtn blank 
-022c 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-022d 247a0000 nrtn blank 
+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 
 
 p_mouse_le_next:
-022e 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
-022f 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
-0230 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0231 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
-0232 c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
-0233 c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-0234 c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
-0235 20405601 call mouse_motion 
-0236 20405ab2 call mouse_check_125hz 
-0237 24740000 nrtn user 
-0238 20405abc call mouse_current_mult_update 
-0239 2040041f call p_mouse_data_xy_release 
-023a 20205b37 branch mouse_le_next + 12 
+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 20400423 call p_mouse_data_xy_release 
+0232 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
-023b 18467cff sub temp ,ui_button_gpio_disable ,null 
-023c 20628000 rtn zero 
-023d d9000004 arg 4 ,debug 
-023e 284ffe07 isolate1 gpio_active_bit ,temp 
-023f 2020eebd branch gpio_set_wake_high ,true 
-0240 d9000003 arg 3 ,debug 
-0241 20206ebd branch gpio_set_wake_high 
+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 
 
 p_gpio_set_wake_by_current_state:
-0242 18467cff sub temp ,gpio_disable ,null 
-0243 20628000 rtn zero 
-0244 20406ee6 call gpio_get_bit 
-0245 20208248 branch p_gpio_set_qdec_mode ,true 
+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 
 
 p_gpio_set_low_wake:
-0246 d9000003 arg 3 ,debug 
-0247 20206ebd branch gpio_set_wake_high 
+023e d9000003 arg 3 ,debug 
+023f 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_qdec_mode:
-0248 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
+0240 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
 
 p_mouse_qdec_lpm_cfg:
-0249 d9000006 arg 6 ,debug 
-024a 20206ebd branch gpio_set_wake_high 
+0241 d9000006 arg 6 ,debug 
+0242 20206ebd branch gpio_set_wake_high 
 
 p_mouse_puchk_disable:
-024b 58000010 setarg 0x10 
+0243 58000010 setarg 0x10 
 
 p_mouse_puchk_set:
-024c 67f08141 store 1 ,core_puwakeup 
-024d 37d98200 until null ,lpo_edge 
-024e 20600000 rtn 
+0244 67f08141 store 1 ,core_puwakeup 
+0245 202023e2 branch lpm_write_wait 
 
 p_mouse_puchk_enable:
-024f 58000080 setarg 0x80 
-0250 2020024c branch p_mouse_puchk_set 
+0246 58000080 setarg 0x80 
+0247 20200244 branch p_mouse_puchk_set 
 
 p_mouse_lpm_before_common:
-0251 204003f2 call p_clear_wake 
-0252 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
-0253 2040550d call mouse_lpm_before_common + 1 
-0254 204054f9 call mouse_gpio_pd_idle 
+0248 204003f7 call p_clear_wake 
+0249 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
+024a 2040550d call mouse_lpm_before_common + 1 
+024b 204054f9 call mouse_gpio_pd_idle 
 
 p_mouse_wheel_set_impedance:
-0255 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-0256 20406f0f call gpio_set_high_impedance 
-0257 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-0258 20206f0f branch gpio_set_high_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 
 
 p_lpm_sleep:
-0259 6fe143e9 fetch 2 ,mem_cb_before_lpm_sleep 
-025a 20407d79 call callback_func 
 
 p_lpm_sleep_skip_cb_function:
-025b 6fe240ad fetch 4 ,mem_sleep_counter_all 
-025c 9840fe00 iadd temp ,pdata 
-025d 67e240ad store 4 ,mem_sleep_counter_all 
-025e 20400264 call p_lpm_save_context 
-025f 20400261 call p_mouse_puchk_set_check 
-0260 20202425 branch lpm_sleep_skip_cb_function + 4 
+0250 6fe240ad fetch 4 ,mem_sleep_counter_all 
+0251 9840fe00 iadd temp ,pdata 
+0252 67e240ad store 4 ,mem_sleep_counter_all 
+0253 20400259 call p_lpm_save_context 
+0254 20400256 call p_mouse_puchk_set_check 
+0255 20202425 branch lpm_sleep_skip_cb_function + 4 
 
 p_mouse_puchk_set_check:
-0261 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
-0262 203a024b branch p_mouse_puchk_disable ,blank 
-0263 2020024f branch p_mouse_puchk_enable 
+0256 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
+0257 203a0243 branch p_mouse_puchk_disable ,blank 
+0258 20200246 branch p_mouse_puchk_enable 
 
 p_lpm_save_context:
-0264 600440e7 storer mark ,8 ,mem_saved_mark 
-0265 d8c08070 arg core_gpio_conf ,contr 
-0266 d8a040cc arg mem_saved_gpio ,contw 
-0267 20407c8f call memcpy16 
-0268 d8c080d4 arg core_gpio_conf_hi ,contr 
-0269 20407c89 call memcpy8 
-026a 6ff08080 fetch 1 ,core_spid_ctrl 
-026b 67e0c0ef store 1 ,mem_saved_spidctrl 
-026c 18422400 copy temp ,regb 
+0259 600440e7 storer mark ,8 ,mem_saved_mark 
+025a d8c08070 arg core_gpio_conf ,contr 
+025b d8a040cc arg mem_saved_gpio ,contw 
+025c 20407c8f call memcpy16 
+025d d8c080d4 arg core_gpio_conf_hi ,contr 
+025e 20407c89 call memcpy8 
+025f 6ff08080 fetch 1 ,core_spid_ctrl 
+0260 67e0c0ef store 1 ,mem_saved_spidctrl 
+0261 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-026d df20000c arg 12 ,loopcnt 
-026e da200016 arg mem_gpio_wakeup_cfg ,rega 
-026f da60814d arg core_gpio_wakeup_cfg ,regc 
-0270 37d98200 until null ,lpo_edge 
+0262 df20000c arg 12 ,loopcnt 
+0263 da200016 arg mem_gpio_wakeup_cfg ,rega 
+0264 da60814d arg core_gpio_wakeup_cfg ,regc 
+0265 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-0271 efe08011 ifetch 1 ,rega 
-0272 e8408013 ifetcht 1 ,regc 
-0273 98467c00 isub temp ,null 
-0274 20228277 branch p_lpm_write_gpio_loop_next ,zero 
-0275 e7e08013 istore 1 ,regc 
-0276 37d98200 until null ,lpo_edge 
+0266 efe08011 ifetch 1 ,rega 
+0267 e8408013 ifetcht 1 ,regc 
+0268 98467c00 isub temp ,null 
+0269 2022826c branch p_lpm_write_gpio_loop_next ,zero 
+026a e7e08013 istore 1 ,regc 
+026b 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-0277 1a20a201 increase 1 ,rega 
-0278 1a60a601 increase 1 ,regc 
-0279 c2000271 loop p_lpm_write_gpio_loop 
-027a 1a420400 copy regb ,temp 
-027b 20600000 rtn 
+026c 1a20a201 increase 1 ,rega 
+026d 1a60a601 increase 1 ,regc 
+026e c2000266 loop p_lpm_write_gpio_loop 
+026f 1a420400 copy regb ,temp 
+0270 20600000 rtn 
 
 p_otp_read_data:
-027c 20406b3a call enable_otp_read 
-027d 20406b75 call otp_read_data + 1 
-027e 20206b38 branch otp_disable_chgpump 
+0271 20406b3a call enable_otp_read 
+0272 20406b75 call otp_read_data + 1 
+0273 20206b38 branch otp_disable_chgpump 
 
 p_g24_reconn_dispatch:
-027f 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-0280 d84001f8 arg 0x01f8 ,temp 
-0281 98417e00 iand temp ,pdata 
-0282 203a0287 branch p_g24_reconn_dispatch_next ,blank 
-0283 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-0284 1fe0fe01 increase 1 ,pdata 
-0285 67e145e0 store 2 ,mem_24g_reconn_count 
-0286 20600000 rtn 
+0274 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0275 d84001f8 arg 0x01f8 ,temp 
+0276 98417e00 iand temp ,pdata 
+0277 203a027c branch p_g24_reconn_dispatch_next ,blank 
+0278 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0279 1fe0fe01 increase 1 ,pdata 
+027a 67e145e0 store 2 ,mem_24g_reconn_count 
+027b 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-0287 2040357f call g24_reconn_data_prep 
-0288 20403651 call g24_transmit_receive_ack 
-0289 242c3586 nbranch g24_reconn_device_fail ,sync 
-028a 2437b586 nbranch g24_reconn_device_fail ,user3 
-028b 2040366e call g24_ackpayload_parse 
-028c 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
-028d 203a029e branch p_recv_addr_zero_skip ,blank 
+027c 2040357f call g24_reconn_data_prep 
+027d 20403651 call g24_transmit_receive_ack 
+027e 242c3586 nbranch g24_reconn_device_fail ,sync 
+027f 2437b586 nbranch g24_reconn_device_fail ,user3 
+0280 2040366e call g24_ackpayload_parse 
+0281 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
+0282 203a0291 branch p_recv_addr_zero_skip ,blank 
 
 p_g24_reconn_dispatch_next_2:
-028e 6fe245cc fetch 4 ,mem_24g_pair_addr 
-028f 684a458f fetcht 4 ,mem_24g_addr 
-0290 98467c00 isub temp ,null 
-0291 20228293 branch p_g24_reconn_mode_judge ,zero 
-0292 2020356e branch g24_reconn_dispatch_next + 9 
+0283 6fe245cc fetch 4 ,mem_24g_pair_addr 
+0284 684a458f fetcht 4 ,mem_24g_addr 
+0285 98467c00 isub temp ,null 
+0286 20228288 branch p_g24_reconn_mode_judge ,zero 
+0287 2020356e branch g24_reconn_dispatch_next + 9 
 
 p_g24_reconn_mode_judge:
-0293 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0294 c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-0295 20203549 branch g24_reconn_receiver_addr 
+0288 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0289 c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
+028a 20203549 branch g24_reconn_receiver_addr 
 
 p_mouse_param_init:
-0296 2040543b call mouse_param_common_init 
-0297 20400299 call p_mouse_le_buff_modify 
-0298 2020544c branch mouse_param_init + 2 
-
-p_mouse_le_buff_modify:
-0299 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
-029a 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
-029b 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
-029c 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
-029d 20600000 rtn 
+028b 2040543b call mouse_param_common_init 
+028c 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
+028d 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+028e 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
+028f 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0290 2020544c branch mouse_param_init + 2 
 
 p_recv_addr_zero_skip:
-029e 6fe245e4 fetch 4 ,mem_24g_fast_conn_addr 
-029f 684a458f fetcht 4 ,mem_24g_addr 
-02a0 2022828e branch p_g24_reconn_dispatch_next_2 ,zero 
-02a1 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
-02a2 207a0000 rtn blank 
-02a3 2020028e branch p_g24_reconn_dispatch_next_2 
+0291 6fe245e4 fetch 4 ,mem_24g_fast_conn_addr 
+0292 684a458f fetcht 4 ,mem_24g_addr 
+0293 98467c00 isub temp ,null 
+0294 20228283 branch p_g24_reconn_dispatch_next_2 ,zero 
+0295 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
+0296 207a0000 rtn blank 
+0297 20200283 branch p_g24_reconn_dispatch_next_2 
 
 p_power_ctrl_start:
-02a4 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
-02a5 247a0000 nrtn blank 
-02a6 6fe144e9 fetch 2 ,mem_ui_state_map 
-02a7 c3858000 rtnbit1 ui_state_ble_adv 
-02a8 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-02a9 204035b4 call rssi_average 
-02aa 6048c624 storet 1 ,mem_rssi_avg_received 
-02ab 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
-02ac c51302ae bmark1 mark_24g ,p_power_ctrl_start_next 
-02ad 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
+0298 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
+0299 247a0000 nrtn blank 
+029a 6fe144e9 fetch 2 ,mem_ui_state_map 
+029b c3858000 rtnbit1 ui_state_ble_adv 
+029c 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+029d 204035b4 call rssi_average 
+029e 6048c624 storet 1 ,mem_rssi_avg_received 
+029f 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
+02a0 c51302a2 bmark1 mark_24g ,p_power_ctrl_start_next 
+02a1 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
 
 p_power_ctrl_start_next:
-02ae 98467c00 isub temp ,null 
-02af 242102c8 nbranch p_power_ctrl_txpower_incrs_force ,positive 
-02b0 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02b1 1fe67c02 sub pdata ,2 ,null 
-02b2 242102b6 nbranch p_power_ctrl_txpower_decrs_check ,positive 
-02b3 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02b4 c00002c9 beq 0 ,p_power_ctrl_txpower_incrs 
-02b5 20600000 rtn 
+02a2 98467c00 isub temp ,null 
+02a3 242102bc nbranch p_power_ctrl_txpower_incrs_force ,positive 
+02a4 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02a5 1fe67c02 sub pdata ,2 ,null 
+02a6 242102aa nbranch p_power_ctrl_txpower_decrs_check ,positive 
+02a7 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02a8 c00002bd beq 0 ,p_power_ctrl_txpower_incrs 
+02a9 20600000 rtn 
 
 p_power_ctrl_txpower_decrs_check:
-02b6 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02b7 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
-02b8 98467c00 isub temp ,null 
-02b9 24628000 nrtn zero 
-02ba 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+02aa 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02ab 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+02ac 98467c00 isub temp ,null 
+02ad 24628000 nrtn zero 
+02ae 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_decrs:
-02bb 6848c624 fetcht 1 ,mem_rssi_avg_received 
-02bc 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
-02bd c51302bf bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
-02be 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
+02af 6848c624 fetcht 1 ,mem_rssi_avg_received 
+02b0 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
+02b1 c51302b3 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
+02b2 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
 
 p_power_ctrl_txpower_decrs_next:
-02bf 98467c00 isub temp ,null 
-02c0 24610000 nrtn positive 
-02c1 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-02c2 c0003715 beq 0 ,power_ctrl_decrs_level0 
-02c3 1fe0ffff increase -1 ,pdata 
-02c4 67e0c625 store 1 ,mem_power_ctrl_level 
-02c5 c00102d1 beq 2 ,p_power_ctrl_decrs_level2 
-02c6 c000b70b beq 1 ,power_ctrl_decrs_level1 
-02c7 20203715 branch power_ctrl_decrs_level0 
+02b3 98467c00 isub temp ,null 
+02b4 24610000 nrtn positive 
+02b5 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+02b6 c0003715 beq 0 ,power_ctrl_decrs_level0 
+02b7 1fe0ffff increase -1 ,pdata 
+02b8 67e0c625 store 1 ,mem_power_ctrl_level 
+02b9 c00102c5 beq 2 ,p_power_ctrl_decrs_level2 
+02ba c000b70b beq 1 ,power_ctrl_decrs_level1 
+02bb 20203715 branch power_ctrl_decrs_level0 
 
 p_power_ctrl_txpower_incrs_force:
-02c8 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+02bc 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_incrs:
-02c9 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-02ca c00182cf beq 3 ,p_power_ctrl_incrs_level3 
-02cb 1fe0fe01 increase 1 ,pdata 
-02cc 67e0c625 store 1 ,mem_power_ctrl_level 
-02cd c000b70b beq 1 ,power_ctrl_incrs_level1 
-02ce c00102d1 beq 2 ,p_power_ctrl_incrs_level2 
+02bd 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+02be c00182c3 beq 3 ,p_power_ctrl_incrs_level3 
+02bf 1fe0fe01 increase 1 ,pdata 
+02c0 67e0c625 store 1 ,mem_power_ctrl_level 
+02c1 c000b70b beq 1 ,power_ctrl_incrs_level1 
+02c2 c00102c5 beq 2 ,p_power_ctrl_incrs_level2 
 
 p_power_ctrl_incrs_level3:
-02cf 70414105 jam tx_power_5db ,mem_tx_power 
-02d0 20600000 rtn 
+02c3 70414105 jam tx_power_5db ,mem_tx_power 
+02c4 20600000 rtn 
 
 p_power_ctrl_decrs_level2:
 
 p_power_ctrl_incrs_level2:
-02d1 70414103 jam tx_power_3db ,mem_tx_power 
-02d2 20600000 rtn 
+02c5 70414103 jam tx_power_3db ,mem_tx_power 
+02c6 20600000 rtn 
 
 p_mouse_cb_fuction:
-02d3 58006235 setarg mouse_24g_short_sleep 
-02d4 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
-02d5 5800622b setarg mouse_24g_long_sleep 
-02d6 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
-02d7 580002e5 setarg p_mouse_24g_before_lpm_sleep 
-02d8 67e143e9 store 2 ,mem_cb_before_lpm_sleep 
-02d9 202053f3 branch mouse_cb_fuction + 7 
+02c7 58006235 setarg mouse_24g_short_sleep 
+02c8 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
+02c9 5800622b setarg mouse_24g_long_sleep 
+02ca 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
+02cb 202053f3 branch mouse_cb_fuction + 7 
 
 p_soft_reset:
-02da 2435a002 nbranch soft_reset + 1 ,wake 
-02db 37d98200 until null ,lpo_edge 
-02dc 37d98200 until null ,lpo_edge 
-02dd 20800000 clear_stack 
-02de 205582e0 call p_mouse_wheel_init_set ,wake 
-02df 20202003 branch soft_reset + 2 
+02cc 2435a002 nbranch soft_reset + 1 ,wake 
+02cd 37d98200 until null ,lpo_edge 
+02ce 37d98200 until null ,lpo_edge 
+02cf 20800000 clear_stack 
+02d0 205582d2 call p_mouse_wheel_init_set ,wake 
+02d1 20202003 branch soft_reset + 2 
 
 p_mouse_wheel_init_set:
-02e0 2040024b call p_mouse_puchk_disable 
-02e1 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-02e2 20406edd call gpio_config_input 
-02e3 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-02e4 20206edd branch gpio_config_input 
-
-p_mouse_24g_before_lpm_sleep:
-02e5 20600000 rtn 
+02d2 20400243 call p_mouse_puchk_disable 
+02d3 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+02d4 20406edd call gpio_config_input 
+02d5 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+02d6 20206edd branch gpio_config_input 
+
+p_mouse_default_init:
+02d7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02d8 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
+02d9 2040df08 call mouse_customer_key_enable ,true 
+02da 2020542c branch mouse_default_parm_init 
 
 p_mouse_load_device_info_check:
-02e6 204003c5 call p_mouse_store_normal_tx_power 
-02e7 20405d60 call mouse_load_eeprom_info_check 
+02db 204003ca call p_mouse_store_normal_tx_power 
+02dc 20405d60 call mouse_load_eeprom_info_check 
 
 p_mouse_app_initflag_check:
-02e8 204002f2 call p_mouse_load_device_flag_check 
-02e9 6fe1468e fetch 2 ,mem_store_flag 
-02ea d840aa55 arg eeprom_init_flag ,temp 
-02eb 98467c00 isub temp ,null 
-02ec 202282f7 branch p_mouse_load_device_info ,zero 
-02ed 6049468e storet 2 ,mem_store_flag 
-02ee 20405c9c call mouse_ble_init_address 
-02ef 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-02f0 67e0c666 store 1 ,mem_device_flag 
-02f1 20205c8c branch mouse_load_default_dpi 
+02dd 204002e7 call p_mouse_load_device_flag_check 
+02de 6fe1468e fetch 2 ,mem_store_flag 
+02df d840aa55 arg eeprom_init_flag ,temp 
+02e0 98467c00 isub temp ,null 
+02e1 202282ec branch p_mouse_load_device_info ,zero 
+02e2 6049468e storet 2 ,mem_store_flag 
+02e3 20405c9c call mouse_ble_init_address 
+02e4 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+02e5 67e0c666 store 1 ,mem_device_flag 
+02e6 20205c8c branch mouse_load_default_dpi 
 
 p_mouse_load_device_flag_check:
-02f2 6fe0c666 fetch 1 ,mem_device_flag 
-02f3 1fe67c03 sub pdata ,3 ,null 
-02f4 20610000 rtn positive 
-02f5 70466600 jam mode_24g_device ,mem_device_flag 
-02f6 20600000 rtn 
+02e7 6fe0c666 fetch 1 ,mem_device_flag 
+02e8 1fe67c03 sub pdata ,3 ,null 
+02e9 20610000 rtn positive 
+02ea 70466600 jam mode_24g_device ,mem_device_flag 
+02eb 20600000 rtn 
 
 p_mouse_load_device_info:
-02f7 204002fb call p_mouse_select_reconn_device 
-02f8 20205c90 branch mouse_load_device_info + 1 
+02ec 204002f0 call p_mouse_select_reconn_device 
+02ed 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_buletooth_fast_conn_end:
-02f9 204002fb call p_mouse_select_reconn_device 
-02fa 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+02ee 204002f0 call p_mouse_select_reconn_device 
+02ef 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-02fb 6fe0c666 fetch 1 ,mem_device_flag 
-02fc c1000000 rtneq mode_24g_device 
-02fd c0008300 beq mode_bt_device1 ,p_mouse_load_le_device1 
-02fe c0010305 beq mode_bt_device2 ,p_mouse_load_le_device2 
-02ff 20600000 rtn 
+02f0 6fe0c666 fetch 1 ,mem_device_flag 
+02f1 c1000000 rtneq mode_24g_device 
+02f2 c00082f5 beq mode_bt_device1 ,p_mouse_load_le_device1 
+02f3 c00102fa beq mode_bt_device2 ,p_mouse_load_le_device2 
+02f4 20600000 rtn 
 
 p_mouse_load_le_device1:
-0300 6fe34668 fetch 6 ,mem_device1_addr 
-0301 67e34116 store 6 ,mem_hci_plap 
-0302 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0303 67e342db store 6 ,mem_le_lap 
-0304 20600000 rtn 
+02f5 6fe34668 fetch 6 ,mem_device1_addr 
+02f6 67e34116 store 6 ,mem_hci_plap 
+02f7 6fe3466e fetch 6 ,mem_device1_locall_addr 
+02f8 67e342db store 6 ,mem_le_lap 
+02f9 20600000 rtn 
 
 p_mouse_load_le_device2:
-0305 6fe34675 fetch 6 ,mem_device2_addr 
-0306 67e34116 store 6 ,mem_hci_plap 
-0307 6fe3467b fetch 6 ,mem_device2_locall_addr 
-0308 67e342db store 6 ,mem_le_lap 
-0309 20600000 rtn 
+02fa 6fe34675 fetch 6 ,mem_device2_addr 
+02fb 67e34116 store 6 ,mem_hci_plap 
+02fc 6fe3467b fetch 6 ,mem_device2_locall_addr 
+02fd 67e342db store 6 ,mem_le_lap 
+02fe 20600000 rtn 
 
 p_mouse_store_remote_bdaddr:
-030a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-030b c4010000 rtnbit0 mouse_store_eeprom_flag 
-030c d8e00002 arg mouse_store_eeprom_flag ,queue 
-030d 20405f04 call mouse_disable_function_flag 
-030e 20405c4a call mouse_check_device_addr 
-030f 20400311 call p_mouse_before_store_reconn_info 
-0310 20205ca3 branch mouse_store_device_info_delay 
+02ff 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0300 c4010000 rtnbit0 mouse_store_eeprom_flag 
+0301 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0302 20405f04 call mouse_disable_function_flag 
+0303 20400306 call p_mouse_check_device_addr 
+0304 20400314 call p_mouse_before_store_reconn_info 
+0305 20205ca3 branch mouse_store_device_info_delay 
+
+p_mouse_check_device_addr:
+0306 6fe08032 fetch 1 ,mem_record_bt_mode 
+0307 c19a0000 rtnne rec_4_mode 
+0308 67e0c95a store 1 ,mem_device_addr_temp 
+0309 6fe30178 fetch 6 ,mem_le_plap 
+030a 67e3495b store 6 ,mem_device_addr_temp + 1 
+030b 6fe3c95a fetch 7 ,mem_device_addr_temp 
+030c d8c04667 arg mem_device1_type ,contr 
+030d df200003 arg 3 ,loopcnt 
+
+p_mouse_check_device_addr_end:
+030e e8438006 ifetcht 7 ,contr 
+030f 98467c00 isub temp ,null 
+0310 2022dc69 branch mouse_clean_addr ,zero 
+0311 18c08c07 increase 7 ,contr 
+0312 c200030e loop p_mouse_check_device_addr_end 
+0313 20600000 rtn 
 
 p_mouse_before_store_reconn_info:
-0311 da204667 arg mem_device1_type ,rega 
-0312 6fe0c666 fetch 1 ,mem_device_flag 
-0313 1fe0ffff increase -1 ,pdata 
-0314 1feffe1d mul32 pdata ,29 ,pdata 
-0315 9a20a200 iadd rega ,rega 
-0316 6fe08032 fetch 1 ,mem_record_bt_mode 
-0317 e7e08011 istore 1 ,rega 
-0318 c19a0000 rtnne rec_4_mode 
-0319 6fe0c666 fetch 1 ,mem_device_flag 
-031a c000831d beq mode_bt_device1 ,p_mouse_store_le_device1 
-031b c0010322 beq mode_bt_device2 ,p_mouse_store_le_device2 
-031c 20600000 rtn 
+0314 da204667 arg mem_device1_type ,rega 
+0315 6fe0c666 fetch 1 ,mem_device_flag 
+0316 1fe0ffff increase -1 ,pdata 
+0317 1feffe0d mul32 pdata ,13 ,pdata 
+0318 9a20a200 iadd rega ,rega 
+0319 6fe08032 fetch 1 ,mem_record_bt_mode 
+031a e7e08011 istore 1 ,rega 
+031b c19a0000 rtnne rec_4_mode 
+031c 6fe0c666 fetch 1 ,mem_device_flag 
+031d c0008320 beq mode_bt_device1 ,p_mouse_store_le_device1 
+031e c0010325 beq mode_bt_device2 ,p_mouse_store_le_device2 
+031f 20600000 rtn 
 
 p_mouse_store_le_device1:
-031d 6fe30178 fetch 6 ,mem_le_plap 
-031e 67e34668 store 6 ,mem_device1_addr 
-031f 6fe342db fetch 6 ,mem_le_lap 
-0320 67e3466e store 6 ,mem_device1_locall_addr 
-0321 20600000 rtn 
+0320 6fe30178 fetch 6 ,mem_le_plap 
+0321 67e34668 store 6 ,mem_device1_addr 
+0322 6fe342db fetch 6 ,mem_le_lap 
+0323 67e3466e store 6 ,mem_device1_locall_addr 
+0324 20600000 rtn 
 
 p_mouse_store_le_device2:
-0322 6fe30178 fetch 6 ,mem_le_plap 
-0323 67e34675 store 6 ,mem_device2_addr 
-0324 6fe342db fetch 6 ,mem_le_lap 
-0325 67e3467b store 6 ,mem_device2_locall_addr 
-0326 20600000 rtn 
+0325 6fe30178 fetch 6 ,mem_le_plap 
+0326 67e34675 store 6 ,mem_device2_addr 
+0327 6fe342db fetch 6 ,mem_le_lap 
+0328 67e3467b store 6 ,mem_device2_locall_addr 
+0329 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0327 2040033d call p_mouse_le_send_conn_param_update_timer 
-0328 2040614d call mouse_low_voltage_led_timer 
-0329 2040553d call mouse_adc_read 
-032a 20406110 call mouse_logo_led_on_timer 
-032b 204061b1 call mouse_led_multi_timer 
-032c 2040611e call mouse_dpi_led_blink_delay_timer 
-032d 2040328e call g24_pair_timeout_timer 
-032e 20403531 call g24_reconn_timeout_timer 
-032f 20405fdd call mouse_24g_long_sleep_param_update_timer 
-0330 2040572c call mouse_dpi_key_check_long_press 
-0331 20405b9b call mouse_bt_discovery_check 
-0332 20405bab call mouse_commbination_key_process 
-0333 20405bce call mouse_check_discovery_timeout_timer 
-0334 20405bd3 call mouse_check_direct_timeout_timer 
-0335 20405be1 call mouse_le_enable_att_list_timer 
-0336 20405bee call mouse_le_battery_updata_timer 
-0337 20405be4 call mouse_le_send_smp_security_request_timer 
-0338 20405bfb call mouse_check_reconnect_delay_long_sleep 
-0339 20400340 call p_mouse_current_mult_update_timer 
-033a 204056b6 call mouse_wheel_trigger_timer 
-033b 20405c0e call mouse_store_information_delay_timer 
-033c 20205c05 branch mouse_check_no_data_timeout_timer 
+032a 20400340 call p_mouse_le_send_conn_param_update_timer 
+032b 2040614d call mouse_low_voltage_led_timer 
+032c 2040553d call mouse_adc_read 
+032d 20406110 call mouse_logo_led_on_timer 
+032e 204061b1 call mouse_led_multi_timer 
+032f 2040611e call mouse_dpi_led_blink_delay_timer 
+0330 2040328e call g24_pair_timeout_timer 
+0331 20403531 call g24_reconn_timeout_timer 
+0332 20405fdd call mouse_24g_long_sleep_param_update_timer 
+0333 2040572c call mouse_dpi_key_check_long_press 
+0334 20405b9b call mouse_bt_discovery_check 
+0335 20405bab call mouse_commbination_key_process 
+0336 20405bce call mouse_check_discovery_timeout_timer 
+0337 20405bd3 call mouse_check_direct_timeout_timer 
+0338 20405be1 call mouse_le_enable_att_list_timer 
+0339 20405bee call mouse_le_battery_updata_timer 
+033a 20405be4 call mouse_le_send_smp_security_request_timer 
+033b 20405bfb call mouse_check_reconnect_delay_long_sleep 
+033c 20400343 call p_mouse_current_mult_update_timer 
+033d 204056b6 call mouse_wheel_trigger_timer 
+033e 20405c0e call mouse_store_information_delay_timer 
+033f 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-033d da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-033e da405aef arg mouse_updata_le_param ,regb 
-033f 202042e0 branch timer_single_step 
+0340 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+0341 da405aef arg mouse_updata_le_param ,regb 
+0342 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-0340 da60477e arg mem_mouse_current_mult_timer ,regc 
-0341 da400343 arg p_mouse_current_mult_reinit ,regb 
-0342 202042e0 branch timer_single_step 
+0343 da60477e arg mem_mouse_current_mult_timer ,regc 
+0344 da400346 arg p_mouse_current_mult_reinit ,regb 
+0345 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-0343 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-0344 67e0c0c0 store 1 ,mem_lpm_mult 
-0345 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-0346 20600000 rtn 
+0346 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+0347 67e0c0c0 store 1 ,mem_lpm_mult 
+0348 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+0349 20600000 rtn 
 
 p_mouse_start_discovery:
-0347 204059ed call mouse_sensor_powerdown 
-0348 20205c1b branch mouse_start_discovery + 1 
+034a 204059ed call mouse_sensor_powerdown 
+034b 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-0349 1a627e00 copy regc ,pdata 
-034a c020035e beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-034b c00a8363 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-034c c0190355 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-034d c01e0381 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-034e c01c8392 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-034f c01d0395 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0350 c00a0352 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0351 20205ac3 branch mouse_priority_bb_event + 2 
+034c 1a627e00 copy regc ,pdata 
+034d c0200361 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+034e c00a8366 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+034f c0190358 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0350 c01e0384 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0351 c01c8395 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0352 c01d0398 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0353 c00a0355 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0354 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-0352 58000000 setarg 0 
-0353 67e24bfa store 4 ,mem_le_conn_first_rcv 
-0354 20205ad0 branch mouse_le_bb_event_connected 
+0355 58000000 setarg 0 
+0356 67e24bfa store 4 ,mem_le_conn_first_rcv 
+0357 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-0355 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-0356 c0008359 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-0357 70484414 jam 20 ,mem_le_start_encrypt_timer 
-0358 2020035b branch p_mouse_le_ll_reconn_start_encryt_new 
+0358 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+0359 c000835c beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+035a 70484414 jam 20 ,mem_le_start_encrypt_timer 
+035b 2020035e branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-0359 20405aef call mouse_updata_le_param 
-035a 70484405 jam 5 ,mem_le_start_encrypt_timer 
+035c 20405aef call mouse_updata_le_param 
+035d 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-035b 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-035c 67e0cbfa store 1 ,mem_le_conn_first_rcv 
-035d 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+035e 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+035f 67e0cbfa store 1 ,mem_le_conn_first_rcv 
+0360 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-035e 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-035f 247a0000 nrtn blank 
-0360 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-0361 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-0362 20600000 rtn 
+0361 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+0362 247a0000 nrtn blank 
+0363 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+0364 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+0365 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-0363 58000000 setarg 0 
-0364 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-0365 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
 0366 58000000 setarg 0 
-0367 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-0368 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-0369 d8400006 arg le_interval_7_5ms ,temp 
-036a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-036b c28d836d bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-036c d8400007 arg le_interval_8_75ms ,temp 
+0367 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+0368 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+0369 58000000 setarg 0 
+036a 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+036b 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+036c d8400006 arg le_interval_7_5ms ,temp 
+036d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+036e c28d8370 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+036f d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-036d 604942d3 storet 2 ,mem_le_interval_min 
-036e 604942d5 storet 2 ,mem_le_interval_min + 2 
-036f 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-0370 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-0371 204029cb call le_clr_config_more_data 
-0372 20200373 branch p_mouse_bb_disconnected 
+0370 604942d3 storet 2 ,mem_le_interval_min 
+0371 604942d5 storet 2 ,mem_le_interval_min + 2 
+0372 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+0373 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+0374 204029cb call le_clr_config_more_data 
+0375 20200376 branch p_mouse_bb_disconnected 
 
 p_mouse_bb_disconnected:
-0373 20405b7b call mouse_bb_discon_clear_stack 
-0374 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0375 c2838378 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-0376 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-0377 20205c1a branch mouse_start_discovery 
+0376 20405b7b call mouse_bb_discon_clear_stack 
+0377 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+0378 c283837b bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+0379 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+037a 20205c1a branch mouse_start_discovery 
 
 p_mouse4_0_event_bb_disconn:
-0378 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-0379 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-037a 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-037b 1fe17e03 and pdata ,0x03 ,pdata 
-037c 20405b21 call mouse_le_clean_connect_flag 
-037d c081d4a9 bne 0x03 ,mouse_start_reconnect 
-037e 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-037f 243a54a9 nbranch mouse_start_reconnect ,blank 
-0380 202054cd branch mouse_app_enter_hibernate 
+037b 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+037c c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+037d 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+037e 1fe17e03 and pdata ,0x03 ,pdata 
+037f 20405b21 call mouse_le_clean_connect_flag 
+0380 c081d4a9 bne 0x03 ,mouse_start_reconnect 
+0381 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
+0382 243a54a9 nbranch mouse_start_reconnect ,blank 
+0383 202054cd branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-0381 6fe2458f fetch 4 ,mem_24g_addr 
-0382 67e245e8 store 4 ,mem_24g_receiver_addr 
-0383 67e24691 store 4 ,mem_mouse_24g_addr 
-0384 2040355a call g24_ch_syncword_crc8_init 
-0385 20405c0b call mouse_no_data_timer_init 
-0386 2040618e call mouse_device_poweron_led_config 
-0387 20405a73 call mouse_init_sensor_reset 
-0388 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-0389 7045fc00 jam 0 ,mem_24g_conn_sm 
-038a 7045e200 jam 0 ,mem_24g_reconn_type 
-038b 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-038c 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-038d 98467c00 isub temp ,null 
-038e 20628000 rtn zero 
-038f 20406016 call mouse_soft_agc_disable 
-0390 204003c8 call p_mouse_fetch_normal_tx_power 
-0391 20206042 branch mouse_24g_first_store_reconn_info 
+0384 6fe2458f fetch 4 ,mem_24g_addr 
+0385 67e245e8 store 4 ,mem_24g_receiver_addr 
+0386 67e24691 store 4 ,mem_mouse_24g_addr 
+0387 2040355a call g24_ch_syncword_crc8_init 
+0388 20405c0b call mouse_no_data_timer_init 
+0389 2040618e call mouse_device_poweron_led_config 
+038a 20405a73 call mouse_init_sensor_reset 
+038b 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+038c 7045fc00 jam 0 ,mem_24g_conn_sm 
+038d 7045e200 jam 0 ,mem_24g_reconn_type 
+038e 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+038f 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+0390 98467c00 isub temp ,null 
+0391 20628000 rtn zero 
+0392 20406016 call mouse_soft_agc_disable 
+0393 204003cd call p_mouse_fetch_normal_tx_power 
+0394 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-0392 20406016 call mouse_soft_agc_disable 
-0393 204003c8 call p_mouse_fetch_normal_tx_power 
-0394 20206084 branch mouse_24g_pairing_complete 
+0395 20406016 call mouse_soft_agc_disable 
+0396 204003cd call p_mouse_fetch_normal_tx_power 
+0397 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_fail:
-0395 20406016 call mouse_soft_agc_disable 
-0396 204003c8 call p_mouse_fetch_normal_tx_power 
-0397 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-0398 c1008000 rtneq dpi_button_state_down 
-0399 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-039a 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-039b 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-039c c00203a0 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-039d c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
-039e c00183a7 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-039f 20206055 branch mouse_24g_attempt_fail + 2 
+0398 20406016 call mouse_soft_agc_disable 
+0399 204003cd call p_mouse_fetch_normal_tx_power 
+039a 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+039b c1008000 rtneq dpi_button_state_down 
+039c 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+039d 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+039e 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+039f c00203a2 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+03a0 c000e05f beq fast_conn_and_receiver ,mouse_24g_fast_conn_attempt_fail 
+03a1 20206055 branch mouse_24g_attempt_fail + 2 
 
 p_mouse_24g_auto_pair_attempt_fail:
-03a0 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03a1 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-03a2 6fe0c71b fetch 1 ,mem_device_number 
-03a3 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+03a2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03a3 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+03a4 6fe0c71b fetch 1 ,mem_device_number 
+03a5 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-03a4 20406018 call mouse_24g_stop 
-03a5 70466601 jam mode_bt_device1 ,mem_device_flag 
-03a6 20205491 branch mouse_le_fast_conn_judge 
-
-p_mouse_reconn_dongle_attempt_fail:
-03a7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03a8 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-03a9 c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-03aa c2896059 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
-03ab 20206034 branch mouse_24g_start_auto_pair 
+03a6 20406018 call mouse_24g_stop 
+03a7 70466601 jam mode_bt_device1 ,mem_device_flag 
+03a8 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_start_work:
-03ac 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03ad c29f03b1 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
-03ae 6fe0c666 fetch 1 ,mem_device_flag 
-03af c00003b8 beq mode_24g_device ,p_mouse_24g_start_mode 
-03b0 20205491 branch mouse_le_fast_conn_judge 
+03a9 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03aa c29f03b7 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
+03ab 6fe0c666 fetch 1 ,mem_device_flag 
+03ac c00003c2 beq mode_24g_device ,p_mouse_24g_start_mode 
+03ad 2040619f call mouse_device_le_reconn_led_config 
+03ae 20205491 branch mouse_le_fast_conn_judge 
+
+p_mouse_start_reconnect_device:
+03af da204667 arg mem_device1_type ,rega 
+03b0 6fe0c666 fetch 1 ,mem_device_flag 
+03b1 1fe0ffff increase -1 ,pdata 
+03b2 1feffe0d mul32 pdata ,13 ,pdata 
+03b3 9a20a200 iadd rega ,rega 
+03b4 efe08011 ifetch 1 ,rega 
+03b5 67e0c3f3 store 1 ,mem_xrecord_mode 
+03b6 202054a9 branch mouse_start_reconnect 
 
 p_mouse_24g_first_start_auto_pair_mode:
-03b1 204054ac call mouse_wakeup_from_power_check 
-03b2 203403b4 branch p_mouse_24g_first_start_reconn ,user 
-03b3 2020602f branch mouse_24g_reconn_general_dongle 
+03b7 204054ac call mouse_wakeup_from_power_check 
+03b8 203403be branch p_mouse_24g_first_start_reconn ,user 
+
+p_mouse_24g_reconn_general_dongle:
+03b9 70466600 jam mode_24g_device ,mem_device_flag 
+03ba 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+03bb 67e145de store 2 ,mem_24g_reconn_timeout 
+03bc 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+03bd 20203534 branch g24_reconn_start 
 
 p_mouse_24g_first_start_reconn:
-03b4 6fe0c666 fetch 1 ,mem_device_flag 
-03b5 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
-03b6 20405aa8 call mouse_bluetooth_fast_conn_disable 
-03b7 202003a4 branch p_mouse_24g_first_bluetooth_reconnect 
+03be 6fe0c666 fetch 1 ,mem_device_flag 
+03bf c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+03c0 20405aa8 call mouse_bluetooth_fast_conn_disable 
+03c1 202003a6 branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-03b8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03b9 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-03ba 20406195 call mouse_device_24g_pair_led_config 
-03bb 204054ac call mouse_wakeup_from_power_check 
-03bc 20346067 branch mouse_24g_reconn_dongle_start ,user 
-03bd 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03be c29803c0 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-03bf 20206023 branch mouse_24g_start_mode + 7 
-
-p_mouse_24g_reconn_general_dongle:
-03c0 70466600 jam mode_24g_device ,mem_device_flag 
-03c1 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-03c2 67e145de store 2 ,mem_24g_reconn_timeout 
-03c3 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-03c4 20203534 branch g24_reconn_start 
+03c2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03c3 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+03c4 20406195 call mouse_device_24g_pair_led_config 
+03c5 204054ac call mouse_wakeup_from_power_check 
+03c6 20346067 branch mouse_24g_reconn_dongle_start ,user 
+03c7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03c8 c29803b9 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+03c9 20206023 branch mouse_24g_start_mode + 7 
 
 p_mouse_store_normal_tx_power:
-03c5 6fe0c141 fetch 1 ,mem_tx_power 
-03c6 67e0ca07 store 1 ,mem_normal_tx_power 
-03c7 20600000 rtn 
+03ca 6fe0c141 fetch 1 ,mem_tx_power 
+03cb 67e0ca07 store 1 ,mem_normal_tx_power 
+03cc 20600000 rtn 
 
 p_mouse_fetch_normal_tx_power:
-03c8 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-03c9 67e0c141 store 1 ,mem_tx_power 
-03ca 20600000 rtn 
+03cd 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+03ce 67e0c141 store 1 ,mem_tx_power 
+03cf 20600000 rtn 
 
 p_mouse_idle:
-03cb 2040620e call mouse_low_voltage_led_no_enter_lpm 
-03cc 204078aa call ui_check_paring_button 
-03cd 204003cf call p_mouse_dpi_check 
-03ce 20205e61 branch mouse_idle + 4 
+03d0 2040620e call mouse_low_voltage_led_no_enter_lpm 
+03d1 204078aa call ui_check_paring_button 
+03d2 204003d4 call p_mouse_dpi_check 
+03d3 20205e61 branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-03cf 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03d0 c17f8000 rtneq gpio_disable 
-03d1 da200000 arg 0 ,rega 
-03d2 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-03d3 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03d4 204003d6 call p_mouse_dpi_key_check 
-03d5 202056c1 branch mouse_dpi_check_next 
+03d4 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+03d5 c17f8000 rtneq gpio_disable 
+03d6 da200000 arg 0 ,rega 
+03d7 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+03d8 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+03d9 204003db call p_mouse_dpi_key_check 
+03da 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03d6 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03d7 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03d8 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-03d9 1fe22600 copy pdata ,regc 
-03da 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-03db c07f83dd beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03dc 202056ce branch mouse_dpi_key_check_next 
+03db 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03dc c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03dd 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+03de 1fe22600 copy pdata ,regc 
+03df 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+03e0 c07f83e2 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03e1 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03dd 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03de 20405946 call mouse_gpio_config_output_low 
-03df 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03e0 202003e1 branch p_mouse_3io6key_check 
+03e2 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+03e3 20405946 call mouse_gpio_config_output_low 
+03e4 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+03e5 202003e6 branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-03e1 1a627e00 copy regc ,pdata 
-03e2 67e0c978 store 1 ,mem_mouse_key_status 
-03e3 1fe3fe00 lshift pdata ,pdata 
-03e4 1fe22400 copy pdata ,regb 
-03e5 18422600 copy temp ,regc 
-03e6 204055b1 call mouse_gpio_config_input_pd 
-03e7 1a620400 copy regc ,temp 
-03e8 20406ee6 call gpio_get_bit 
-03e9 7d20a400 nsetflag true ,0 ,regb 
-03ea 2040593d call mouse_check_press 
-03eb 20205929 branch mouse_check_key_connect_gnd_1 
+03e6 1a627e00 copy regc ,pdata 
+03e7 67e0c978 store 1 ,mem_mouse_key_status 
+03e8 1fe3fe00 lshift pdata ,pdata 
+03e9 1fe22400 copy pdata ,regb 
+03ea 18422600 copy temp ,regc 
+03eb 204055b1 call mouse_gpio_config_input_pd 
+03ec 1a620400 copy regc ,temp 
+03ed 20406ee6 call gpio_get_bit 
+03ee 7d20a400 nsetflag true ,0 ,regb 
+03ef 2040593d call mouse_check_press 
+03f0 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-03ec 204036b4 call g24_lpm_wait 
-03ed 24740000 nrtn user 
-03ee 204036be call g24_setgpio_lpm_before 
-03ef 204003f2 call p_clear_wake 
-03f0 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-03f1 20203622 branch g24_long_seep2 
+03f1 204036b4 call g24_lpm_wait 
+03f2 24740000 nrtn user 
+03f3 204036be call g24_setgpio_lpm_before 
+03f4 204003f7 call p_clear_wake 
+03f5 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
+03f6 20203622 branch g24_long_seep2 
 
 p_clear_wake:
-03f2 58000000 setarg 0 
-03f3 79207e15 set1 21 ,pdata 
-03f4 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-03f5 58000000 setarg 0 
-03f6 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-03f7 20600000 rtn 
+03f7 58000000 setarg 0 
+03f8 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+03f9 58000000 setarg 0 
+03fa 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+03fb 20600000 rtn 
 
 p_mouse_24g_hibernate_set:
-03f8 70460000 jam 0 ,mem_24g_attempt_fail_flag 
-03f9 20403647 call g24_transmit_next_packet 
-03fa 5fffffff setarg -1 
-03fb 67e245af store 4 ,mem_24g_enter_hibernate 
-03fc 58000000 setarg 0 
-03fd 67e3c846 store 7 ,mem_mouse_key 
-03fe 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-03ff 204059ed call mouse_sensor_powerdown 
-0400 2020622b branch mouse_24g_long_sleep 
+03fc 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+03fd 20403647 call g24_transmit_next_packet 
+03fe 5fffffff setarg -1 
+03ff 67e245af store 4 ,mem_24g_enter_hibernate 
+0400 58000000 setarg 0 
+0401 67e3c846 store 7 ,mem_mouse_key 
+0402 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+0403 204059ed call mouse_sensor_powerdown 
+0404 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-0401 20405a92 call mouse_set_sdio_high 
-0402 204003f2 call p_clear_wake 
-0403 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-0404 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0405 20406ef7 call gpio_out_active 
-0406 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0407 20406ed3 call gpio_clr_wake 
-0408 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0409 20405943 call mouse_gpio_config_output_high 
-040a 6848c65a fetcht 1 ,mem_device_switch_gpio 
-040b 204055ab call mouse_gpio_set_pupd_by_input 
-040c d8400009 arg 9 ,temp 
-040d 204055b5 call mouse_gpio_config_input_pu 
-040e 2040611a call mouse_logo_led_off 
-040f 2040550c call mouse_lpm_before_common 
-0410 204054f9 call mouse_gpio_pd_idle 
-0411 20400255 call p_mouse_wheel_set_impedance 
-0412 202054e2 branch mouse_setgpio_hibernate_next 
+0405 20405a92 call mouse_set_sdio_high 
+0406 204003f7 call p_clear_wake 
+0407 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+0408 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+0409 20406ef7 call gpio_out_active 
+040a 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+040b 20406ed3 call gpio_clr_wake 
+040c 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+040d 20405943 call mouse_gpio_config_output_high 
+040e 6848c65a fetcht 1 ,mem_device_switch_gpio 
+040f 204055ab call mouse_gpio_set_pupd_by_input 
+0410 d8400009 arg 9 ,temp 
+0411 204055b5 call mouse_gpio_config_input_pu 
+0412 2040611a call mouse_logo_led_off 
+0413 2040550c call mouse_lpm_before_common 
+0414 204054f9 call mouse_gpio_pd_idle 
+0415 2040024c call p_mouse_wheel_set_impedance 
+0416 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-0413 c6930000 rtnmark0 mark_24g 
-0414 20405601 call mouse_motion 
-0415 24740000 nrtn user 
-0416 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0417 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0418 245a0428 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-0419 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-041a c30b041d bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-041b 6fe0c96c fetch 1 ,mem_customer_key 
-041c 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+0417 c6930000 rtnmark0 mark_24g 
+0418 20405601 call mouse_motion 
+0419 24740000 nrtn user 
+041a 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+041b 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+041c 245a042c ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+041d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+041e c30b0421 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+041f 6fe0c96c fetch 1 ,mem_customer_key 
+0420 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-041d 2040041f call p_mouse_data_xy_release 
-041e 202060a2 branch mouse_24g_mouse_package_data + 1 
+0421 20400423 call p_mouse_data_xy_release 
+0422 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-041f 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-0420 c1ff8000 rtnne gpio_disable 
-0421 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-0422 207a0000 rtn blank 
-0423 1fe0ffff increase -1 ,pdata 
-0424 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-0425 58000000 setarg 0 
-0426 67e24847 store 4 ,mem_mouse_x 
-0427 20205a73 branch mouse_init_sensor_reset 
+0423 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+0424 c1ff8000 rtnne gpio_disable 
+0425 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+0426 207a0000 rtn blank 
+0427 1fe0ffff increase -1 ,pdata 
+0428 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+0429 58000000 setarg 0 
+042a 67e24847 store 4 ,mem_mouse_x 
+042b 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-0428 204003f2 call p_clear_wake 
-0429 2020026d branch p_lpm_write_gpio_wakeup 
+042c 204003f7 call p_clear_wake 
+042d 20200262 branch p_lpm_write_gpio_wakeup 
 
 p_mouse_check_select_device_by_switch:
-042a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-042b c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-042c c31fdeb9 bbit0 mouse_enable_switch_gpio_connect_vin ,mouse_switch_gpio_connect_gnd 
+042e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+042f c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+0430 c31f843e bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
 
-p_mouse_switch_gpio_connect_vin:
-042d 6848c65a fetcht 1 ,mem_device_switch_gpio 
-042e 20406ef7 call gpio_out_active 
-042f 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0430 204055b1 call mouse_gpio_config_input_pd 
+p_mouse_switch_gpio_connect_vin_check:
 0431 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0432 20406ee6 call gpio_get_bit 
-0433 2420dec2 nbranch mouse_check_select_24g_device ,true 
-0434 20205ebe branch mouse_select_btdevice 
+0432 20406ef7 call gpio_out_active 
+0433 20400438 call p_mouse_switch_gpio_connect_vin 
+0434 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0435 20406ef3 call gpio_out_inactive 
+0436 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0437 202055b5 branch mouse_gpio_config_input_pu 
+
+p_mouse_switch_gpio_connect_vin:
+0438 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0439 204055b1 call mouse_gpio_config_input_pd 
+043a 6848c65a fetcht 1 ,mem_device_switch_gpio 
+043b 20406ee6 call gpio_get_bit 
+043c 2420dec2 nbranch mouse_check_select_24g_device ,true 
+043d 20205ebe branch mouse_select_btdevice 
+
+p_mouse_switch_gpio_connect_gnd:
+043e 6848c65a fetcht 1 ,mem_device_switch_gpio 
+043f 20406ef3 call gpio_out_inactive 
+0440 20405eb9 call mouse_switch_gpio_connect_gnd 
+0441 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0442 20406ef7 call gpio_out_active 
+0443 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0444 202055b1 branch mouse_gpio_config_input_pd 
 
 p_mouse_init_sensor:
-0435 20405958 call mouse_read_sensor_id 
-0436 c0180442 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0437 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-0438 c02c043a beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0439 20205952 branch mouse_init_sensor + 5 
+0445 20405958 call mouse_read_sensor_id 
+0446 c0180452 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+0447 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+0448 c02c044a beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+0449 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-043a 204059e7 call mouse_sensor_poweron 
-043b 6fe0c85a fetch 1 ,mem_sensor_id2 
-043c c02b8446 beq ka5857_id2 ,p_mouse_ka5857_init_param 
-043d c02c843f beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-043e 2020595f branch mouse_init_p32xx_id2_judge 
+044a 204059e7 call mouse_sensor_poweron 
+044b 6fe0c85a fetch 1 ,mem_sensor_id2 
+044c c02b8456 beq ka5857_id2 ,p_mouse_ka5857_init_param 
+044d c02c844f beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+044e 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-043f 7049570b jam ka8g2 ,mem_config_sensor_type 
-0440 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-0441 20205995 branch mouse_sensor_wr_seq 
+044f 7049570b jam ka8g2 ,mem_config_sensor_type 
+0450 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+0451 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_init_p32xx_id2_judge:
-0442 6fe0c85a fetch 1 ,mem_sensor_id2 
-0443 1fe17ef0 and_into 0xf0 ,pdata 
-0444 c0600449 beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
-0445 2020595f branch mouse_init_p32xx_id2_judge 
+0452 6fe0c85a fetch 1 ,mem_sensor_id2 
+0453 1fe17ef0 and_into 0xf0 ,pdata 
+0454 c0600459 beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
+0455 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka5857_init_param:
-0446 7049570d jam ka5857 ,mem_config_sensor_type 
-0447 da604bfe arg mem_sensor_ka5857_init ,regc 
-0448 20205995 branch mouse_sensor_wr_seq 
+0456 7049570d jam ka5857 ,mem_config_sensor_type 
+0457 da604bfe arg mem_sensor_ka5857_init ,regc 
+0458 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_p3204_tjdm_init_param:
-0449 58000049 setarg 0x49 
-044a 204069e5 call twspi_read 
-044b c050d96c beq 0xa1 ,mouse_s201x_init_param 
-044c 70495704 jam p3065_xy ,mem_config_sensor_type 
-044d 20600000 rtn 
+0459 58000049 setarg 0x49 
+045a 204069e5 call twspi_read 
+045b c050d96c beq 0xa1 ,mouse_s201x_init_param 
+045c 202059cd branch mouse_p3065xy_init_param 
 
 p_mouse_dpi_process:
-044e 20405728 call mouse_dpi_ghost_check 
-044f 20740000 rtn user 
-0450 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0451 1fe20400 copy pdata ,temp 
-0452 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0453 c28bd704 bbit1 mouse_enable_double_dpi_key ,mouse_double_dpi_check 
-0454 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0455 c006845b beq ka5857 ,p_mouse_dpi_process_5_level 
-0456 c0018460 beq p3212 ,p_mouse_dpi_process_4_level 
-0457 18427e00 copy temp ,pdata 
-0458 1fe0fe01 increase 1 ,pdata 
-0459 1fe17e03 and pdata ,0x03 ,pdata 
-045a 20205701 branch mouse_dpi_level_store 
+045d 20405728 call mouse_dpi_ghost_check 
+045e 20740000 rtn user 
+045f 6fe0c957 fetch 1 ,mem_config_sensor_type 
+0460 c0068462 beq ka5857 ,p_mouse_dpi_process_5_level 
+0461 202056fa branch mouse_dpi_process + 3 
 
 p_mouse_dpi_process_5_level:
-045b 18427e00 copy temp ,pdata 
-045c 1fe0fe01 increase 1 ,pdata 
-045d 1fe67c04 sub pdata ,4 ,null 
-045e 24410465 ncall p_mouse_dpi_init ,positive 
-045f 20205701 branch mouse_dpi_level_store 
-
-p_mouse_dpi_process_4_level:
-0460 18427e00 copy temp ,pdata 
-0461 1fe0fe01 increase 1 ,pdata 
-0462 1fe17e03 and pdata ,0x03 ,pdata 
-0463 24410465 ncall p_mouse_dpi_init ,positive 
-0464 20205701 branch mouse_dpi_level_store 
-
-p_mouse_dpi_init:
-0465 58000000 setarg 0 
-0466 20600000 rtn 
+0462 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0463 1fe0fe01 increase 1 ,pdata 
+0464 1fe67c04 sub pdata ,4 ,null 
+0465 24417dca ncall set_pdata_0 ,positive 
+0466 20205701 branch mouse_dpi_level_store 
 
 p_mouse_setting_dpi_4_level:
 0467 6fe0c957 fetch 1 ,mem_config_sensor_type 
@@ -1487,22 +1485,22 @@
 p_mouse_setting_sensor_type:
 046d 6fe0c957 fetch 1 ,mem_config_sensor_type 
 046e c006d785 beq ka5857 ,mouse_seting_3212_dpi 
-046f c0060476 beq s201x ,p_mouse_seting_s201_dpi 
+046f c0060471 beq s201x ,p_mouse_seting_s201_dpi 
 0470 20205749 branch mouse_setting_sensor_type + 2 
 
-p_mouse_check_sensor_data:
-0471 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-0472 c1800000 rtnne flash_sm_no_buys 
-0473 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0474 c005847b beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-0475 202059f8 branch mouse_check_sensor_data + 2 
-
 p_mouse_seting_s201_dpi:
-0476 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0477 c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
-0478 c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
-0479 c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
-047a 2020576f branch mouse_set_s201_dpi_0 
+0471 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0472 c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
+0473 c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
+0474 c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
+0475 2020576f branch mouse_set_s201_dpi_0 
+
+p_mouse_check_sensor_data:
+0476 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+0477 c1800000 rtnne flash_sm_no_buys 
+0478 6fe0c957 fetch 1 ,mem_config_sensor_type 
+0479 c005847b beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+047a 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
 047b 20405a6d call mouse_clear_sensor_data 
@@ -1522,7 +1520,7 @@
 0485 78547c00 disable user 
 0486 58000000 setarg 0 
 0487 67e34847 store 6 ,mem_mouse_x 
-0488 20400471 call p_mouse_check_sensor_data 
+0488 20400476 call p_mouse_check_sensor_data 
 0489 58000089 setarg 0x0089 
 048a 204069e4 call twspi_write 
 048b 20405747 call mouse_setting_sensor_type 
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(working copy)
@@ -1,56 +1,58 @@
-c2840028
-c00002da
-c0010037
-c0080040
-c0088042
-c00a018c
-c00a810e
-c00c012e
-c00c8135
-c00d0050
-c0128259
-c03402d3
-c03482e6
-c0360296
-c03703ac
-c0398401
-c03a0251
+c284002a
+c00002cc
+c0010039
+c0080042
+c0088044
+c00a0185
+c00a810d
+c00c012d
+c00c8134
+c00d0052
+c0128250
+c03402c7
+c03482db
+c03502d7
+c036028b
+c03703a9
+c03783af
+c0398405
+c03a0248
 c03d0485
-c03d844e
+c03d845d
 c03e046b
 c03e846d
-c03f83e1
-c0408435
-c04202f9
-c0428349
-c0430223
-c0438327
-c0440347
-c045030a
-c04582e8
-c04703cb
-c048042a
-c04a83f8
-c04b0413
-c058809c
-c062827c
-c06a8242
-c06b023b
-c06d0175
+c03f83e6
+c0408445
+c04202ee
+c042834c
+c043021b
+c043832a
+c044034a
+c04502ff
+c04582dd
+c04703d0
+c048042e
+c04a83fc
+c04b0417
+c058809d
+c0628271
+c06a823a
+c06b0233
+c06d016e
 2020235a
-c00a01ad
-c00d01ac
-c01281dc
-c01301e1
-c01c81f3
-c01d01fd
-c02601f9
-c02681f7
-c048027f
-c04b03ec
-c04d011c
-c04e8123
-c04f82a4
+c00a01a5
+c00d01c4
+c01281d4
+c01301d9
+c01c81eb
+c01d01f5
+c02601f1
+c02681ef
+c0480274
+c04b03f1
+c04d011b
+c04e8122
+c04f8298
 c17f8000
 2020235a
 20407552
@@ -61,7 +63,7 @@
 20402018
 2040310f
 2040248c
-20200037
+20200039
 70890000
 20202153
 708a0f60
@@ -96,7 +98,7 @@
 70813c88
 37d98200
 6fe0c099
-c008008c
+c008008d
 6fe0c438
 1fe1fe04
 67f08a02
@@ -107,25 +109,24 @@
 67f18a73
 708a8660
 708a8b3b
-2040007e
+2040007f
 70804300
 70804205
 58557474
 67f18968
 7089606e
-20400148
-20400173
-20400078
+20400141
+2040016c
+2040007a
 7041480c
 20206f4e
 20758000
 37d98200
 6fe0c11c
 67f0813a
-37d98200
-20600000
+202023e2
 6fe0c099
-c00c0084
+c00c0085
 6fe0c438
 1fe1fe06
 67f08a02
@@ -148,15 +149,15 @@
 67f18a73
 708a762a
 70890204
-2020006b
+2020006d
 20758000
 204035f0
 2040325b
 204062aa
 20205415
 20407396
-20400097
-245580a7
+20400098
+245580a8
 2455d589
 20405949
 20758000
@@ -170,22 +171,22 @@
 67e1464c
 5800130c
 67e1464a
-204000c7
+204000c8
 204055f6
 20002ee0
 58000000
 204069e5
 67e0c859
-c01800bc
-c01880bc
-c02c00bc
+c01800bd
+c01880bd
+c02c00bd
 20405955
 20001bbc
 6fe0cb1e
 1fe0fe01
 67e0cb1e
-c00400bd
-202000af
+c00400be
+202000b0
 20600000
 704b1e00
 6fe0cb1f
@@ -197,8 +198,7 @@
 c00100d8
 c00180dd
 20600000
-58000000
-67f0807c
+70807c00
 58000000
 67f180d7
 20600000
@@ -207,8 +207,8 @@
 67e1464c
 5800130c
 67e1464a
-204000c7
-202000ad
+204000c8
+202000ae
 70495801
 58001315
 67e1464c
@@ -224,7 +224,7 @@
 67e1464c
 5800150c
 202000d0
-2035810a
+203580f4
 6fe2020d
 207a0000
 37d98200
@@ -242,6 +242,9 @@
 9841fe00
 67f08138
 37d98200
+6fe1415b
+207a0000
+67e1020f
 6ff08acb
 1fe17ef0
 6848820f
@@ -264,10 +267,6 @@
 9841fe00
 67f08a02
 20600000
-6fe1415b
-207a0000
-67e1020f
-202000f4
 2040686f
 204021ba
 18002a08
@@ -284,7 +283,7 @@
 202021b4
 6fe0c793
 247a0000
-20400120
+2040011f
 202060fc
 6fe0c655
 c17f8000
@@ -292,13 +291,13 @@
 6848c601
 6fe0c621
 98467c00
-24210128
+24210127
 20203681
 6fe2458f
 684a45e4
 98467c00
 2022b222
-204002c9
+204002bd
 2020369b
 580aaa7e
 67f18a0f
@@ -309,15 +308,9 @@
 20202203
 6fe0c141
 c0032225
-c005013b
-c04f0144
-c0550140
+c04f013d
+c0550139
 2020220e
-708a1425
-58a93f3f
-67f18a60
-708a631f
-20600000
 708a1417
 6fe1ca08
 67f18a60
@@ -338,7 +331,7 @@
 708ac200
 708ac300
 d8e00006
-20400165
+2040015e
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -346,14 +339,14 @@
 d8e00005
 2040211c
 2040211e
-20400165
+2040015e
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-2021015a
+20210153
 2020214f
 2000003c
 58000f00
@@ -378,7 +371,7 @@
 6fe0c409
 67f080cd
 20000bb8
-20400185
+2040017e
 708a08c1
 6a40c419
 df200008
@@ -389,7 +382,7 @@
 20600000
 7080cc03
 6ff08129
-c3028186
+c302817f
 68590164
 6049440a
 7080cc00
@@ -398,7 +391,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801a5
+c008019e
 58005762
 67f10907
 70890103
@@ -409,7 +402,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801a2
+c008019b
 58002bb1
 67f10907
 c6978000
@@ -418,16 +411,15 @@
 20600000
 58004189
 67f10907
-2020019e
+20200197
 58008312
 67f10907
-20200193
+2020018c
 6fe0cbf9
 da600100
 9a60fe00
 20600000
-202001cc
-204001af
+204001a7
 20202563
 6fe0cbfa
 207a0000
@@ -436,13 +428,13 @@
 6848cbfa
 6fe0cbf9
 98467c00
-244101a8
+244101a1
 98467e00
 1fe67c64
-202101c1
+202101b9
 6fe0cbfc
 1fe67c14
-244101bf
+244101b7
 704bfb01
 20600000
 704bfd01
@@ -461,7 +453,7 @@
 6fe08005
 1fe0fe01
 67e08005
-243681d3
+243681cb
 6fe0cbf9
 1fe0fe01
 67e0cbf9
@@ -508,27 +500,27 @@
 793f8030
 20202ae3
 efe10006
-c0020200
+c00201f8
 202028eb
 efe18006
 67e1c397
-c0050205
-c0090214
+c00501fd
+c009020c
 20202b96
 6fe44713
 c31dad19
 20402dc7
 68494398
 6fe0c321
-c281820f
+c2818207
 6fe14398
 c0182e03
 68494398
 20202d1d
 6fe14332
 98467c00
-2422820b
-2434020b
+24228203
+24340203
 20202d46
 18c22200
 6fe14335
@@ -548,7 +540,7 @@
 20402a28
 247a0000
 6fe0c78f
-c07f822e
+c07f8226
 6fe0c843
 1fe17e03
 c1818000
@@ -567,7 +559,7 @@
 20405ab2
 24740000
 20405abc
-2040041f
+20400423
 20205b37
 18467cff
 20628000
@@ -579,7 +571,7 @@
 18467cff
 20628000
 20406ee6
-20208248
+20208240
 d9000003
 20206ebd
 704b1d01
@@ -587,11 +579,10 @@
 20206ebd
 58000010
 67f08141
-37d98200
-20600000
+202023e2
 58000080
-2020024c
-204003f2
+20200244
+204003f7
 704b1d00
 2040550d
 204054f9
@@ -599,17 +590,15 @@
 20406f0f
 6848c64b
 20206f0f
-6fe143e9
-20407d79
 6fe240ad
 9840fe00
 67e240ad
-20400264
-20400261
+20400259
+20400256
 20202425
 6fe0cb1d
-203a024b
-2020024f
+203a0243
+20200246
 600440e7
 d8c08070
 d8a040cc
@@ -626,12 +615,12 @@
 efe08011
 e8408013
 98467c00
-20228277
+2022826c
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c2000271
+c2000266
 1a420400
 20600000
 20406b3a
@@ -640,7 +629,7 @@
 6fe145e0
 d84001f8
 98417e00
-203a0287
+203a027c
 6fe145e0
 1fe0fe01
 67e145e0
@@ -651,29 +640,28 @@
 2437b586
 2040366e
 6fe0c57d
-203a029e
+203a0291
 6fe245cc
 684a458f
 98467c00
-20228293
+20228288
 2020356e
 6fe44713
 c2983291
 20203549
 2040543b
-20400299
-2020544c
 58004a1d
 67e1433f
 58000020
 67e14341
-20600000
+2020544c
 6fe245e4
 684a458f
-2022828e
+98467c00
+20228283
 6fe2455f
 207a0000
-2020028e
+20200283
 6fe0c437
 247a0000
 6fe144e9
@@ -682,15 +670,15 @@
 204035b4
 6048c624
 6fe0c629
-c51302ae
+c51302a2
 6fe0c62c
 98467c00
-242102c8
+242102bc
 6fe0c626
 1fe67c02
-242102b6
+242102aa
 6fe0c626
-c00002c9
+c00002bd
 20600000
 6fe0c626
 6848c627
@@ -699,7 +687,7 @@
 70462600
 6848c624
 6fe0c628
-c51302bf
+c51302b3
 6fe0c62b
 98467c00
 24610000
@@ -707,16 +695,16 @@
 c0003715
 1fe0ffff
 67e0c625
-c00102d1
+c00102c5
 c000b70b
 20203715
 70462600
 6fe0c625
-c00182cf
+c00182c3
 1fe0fe01
 67e0c625
 c000b70b
-c00102d1
+c00102c5
 70414105
 20600000
 70414103
@@ -725,28 +713,29 @@
 67e145f8
 5800622b
 67e145fa
-580002e5
-67e143e9
 202053f3
 2435a002
 37d98200
 37d98200
 20800000
-205582e0
+205582d2
 20202003
-2040024b
+20400243
 6848c64a
 20406edd
 6848c64b
 20206edd
-20600000
-204003c5
+6fe44713
+2feffe16
+2040df08
+2020542c
+204003ca
 20405d60
-204002f2
+204002e7
 6fe1468e
 d840aa55
 98467c00
-202282f7
+202282ec
 6049468e
 20405c9c
 6fe0c9a1
@@ -757,14 +746,14 @@
 20610000
 70466600
 20600000
-204002fb
+204002f0
 20205c90
-204002fb
+204002f0
 20205a9c
 6fe0c666
 c1000000
-c0008300
-c0010305
+c00082f5
+c00102fa
 20600000
 6fe34668
 67e34116
@@ -780,20 +769,34 @@
 c4010000
 d8e00002
 20405f04
-20405c4a
-20400311
+20400306
+20400314
 20205ca3
+6fe08032
+c19a0000
+67e0c95a
+6fe30178
+67e3495b
+6fe3c95a
+d8c04667
+df200003
+e8438006
+98467c00
+2022dc69
+18c08c07
+c200030e
+20600000
 da204667
 6fe0c666
 1fe0ffff
-1feffe1d
+1feffe0d
 9a20a200
 6fe08032
 e7e08011
 c19a0000
 6fe0c666
-c000831d
-c0010322
+c0008320
+c0010325
 20600000
 6fe30178
 67e34668
@@ -805,7 +808,7 @@
 6fe342db
 67e3467b
 20600000
-2040033d
+20400340
 2040614d
 2040553d
 20406110
@@ -823,7 +826,7 @@
 20405bee
 20405be4
 20405bfb
-20400340
+20400343
 204056b6
 20405c0e
 20205c05
@@ -831,7 +834,7 @@
 da405aef
 202042e0
 da60477e
-da400343
+da400346
 202042e0
 6fe0c96b
 67e0c0c0
@@ -840,21 +843,21 @@
 204059ed
 20205c1b
 1a627e00
-c020035e
-c00a8363
-c0190355
-c01e0381
-c01c8392
-c01d0395
-c00a0352
+c0200361
+c00a8366
+c0190358
+c01e0384
+c01c8395
+c01d0398
+c00a0355
 20205ac3
 58000000
 67e24bfa
 20205ad0
 6fe0c795
-c0008359
+c000835c
 70484414
-2020035b
+2020035e
 20405aef
 70484405
 6fe0cbf9
@@ -873,17 +876,17 @@
 70479400
 d8400006
 6fe44713
-c28d836d
+c28d8370
 d8400007
 604942d3
 604942d5
 7047c200
 70495600
 204029cb
-20200373
+20200376
 20405b7b
 6fe143ef
-c2838378
+c283837b
 c28042fc
 20205c1a
 6fe143ef
@@ -910,21 +913,20 @@
 98467c00
 20628000
 20406016
-204003c8
+204003cd
 20206042
 20406016
-204003c8
+204003cd
 20206084
 20406016
-204003c8
+204003cd
 6fe0c87a
 c1008000
 6fe0c600
 243a5ff2
 6fe0c5e2
-c00203a0
+c00203a2
 c000e05f
-c00183a7
 20206055
 6fe44713
 c31f6059
@@ -934,35 +936,38 @@
 70466601
 20205491
 6fe44713
-c31f6059
-c289e059
-c2896059
-20206034
-6fe44713
-c29f03b1
+c29f03b7
 6fe0c666
-c00003b8
+c00003c2
+2040619f
 20205491
+da204667
+6fe0c666
+1fe0ffff
+1feffe0d
+9a20a200
+efe08011
+67e0c3f3
+202054a9
 204054ac
-203403b4
-2020602f
+203403be
+70466600
+6fe14721
+67e145de
+7045e201
+20203534
 6fe0c666
 c0006067
 20405aa8
-202003a4
+202003a6
 6fe44713
 c308e02a
 20406195
 204054ac
 20346067
 6fe44713
-c29803c0
+c29803b9
 20206023
-70466600
-6fe14721
-67e145de
-7045e201
-20203534
 6fe0c141
 67e0ca07
 20600000
@@ -971,26 +976,26 @@
 20600000
 2040620e
 204078aa
-204003cf
+204003d4
 20205e61
 6fe0c649
 c17f8000
 da200000
 70497705
 6848c649
-204003d6
+204003db
 202056c1
 6fe44713
 c295d6de
 6fe0c974
 1fe22600
 6fe0c654
-c07f83dd
+c07f83e2
 202056ce
 6fe0c649
 20405946
 6848c649
-202003e1
+202003e6
 1a627e00
 67e0c978
 1fe3fe00
@@ -1005,11 +1010,10 @@
 204036b4
 24740000
 204036be
-204003f2
+204003f7
 6fe1c608
 20203622
 58000000
-79207e15
 67e40016
 58000000
 67e2001e
@@ -1024,7 +1028,7 @@
 204059ed
 2020622b
 20405a92
-204003f2
+204003f7
 204056a9
 6848c654
 20406ef7
@@ -1039,19 +1043,19 @@
 2040611a
 2040550c
 204054f9
-20400255
+2040024c
 202054e2
 c6930000
 20405601
 24740000
 6fe0c77c
 70477c00
-245a0428
+245a042c
 6fe44713
-c30b041d
+c30b0421
 6fe0c96c
 243a60b6
-2040041f
+20400423
 202060a2
 6fe0c659
 c1ff8000
@@ -1062,35 +1066,47 @@
 58000000
 67e24847
 20205a73
-204003f2
-2020026d
+204003f7
+20200262
 6fe44713
 c4150000
-c31fdeb9
+c31f843e
 6848c65a
 20406ef7
+20400438
+6848c65a
+20406ef3
+6848c65a
+202055b5
 6848c65a
 204055b1
 6848c65a
 20406ee6
 2420dec2
 20205ebe
+6848c65a
+20406ef3
+20405eb9
+6848c65a
+20406ef7
+6848c65a
+202055b1
 20405958
-c0180442
+c0180452
 c018d9c6
-c02c043a
+c02c044a
 20205952
 204059e7
 6fe0c85a
-c02b8446
-c02c843f
+c02b8456
+c02c844f
 2020595f
 7049570b
 da604a0b
 20205995
 6fe0c85a
 1fe17ef0
-c0600449
+c0600459
 2020595f
 7049570d
 da604bfe
@@ -1098,33 +1114,17 @@
 58000049
 204069e5
 c050d96c
-70495704
-20600000
+202059cd
 20405728
 20740000
-6fe0c690
-1fe20400
-6fe44713
-c28bd704
 6fe0c957
-c006845b
-c0018460
-18427e00
-1fe0fe01
-1fe17e03
-20205701
-18427e00
+c0068462
+202056fa
+6fe0c690
 1fe0fe01
 1fe67c04
-24410465
-20205701
-18427e00
-1fe0fe01
-1fe17e03
-24410465
+24417dca
 20205701
-58000000
-20600000
 6fe0c957
 c1068000
 c1018000
@@ -1133,18 +1133,18 @@
 2040613a
 6fe0c957
 c006d785
-c0060476
+c0060471
 20205749
-6fe0c420
-c1800000
-6fe0c957
-c005847b
-202059f8
 6fe0c690
 c000576f
 c000d772
 c001577b
 2020576f
+6fe0c420
+c1800000
+6fe0c957
+c005847b
+202059f8
 20405a6d
 6fe0c659
 c07f8481
@@ -1158,7 +1158,7 @@
 78547c00
 58000000
 67e34847
-20400471
+20400476
 58000089
 204069e4
 20405747
Index: output/sched.rom
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/sched.rom	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/sched.rom	(working copy)
@@ -12,7 +12,7 @@
 00   #mem_patch0a
 00   #mem_patch0b
 00   #mem_patch0c
-53   #mem_patch0d
+d7   #mem_patch0d
 18   #mem_patch0e
 bc   #mem_patch0f
 f2   #mem_patch10
@@ -238,24 +238,6 @@
 33
 ff ff ff ff ff ff			#eeprom need
 
-#adc
-mem_mouse_vdd_full_vol:dc 05		#1.5V
-84 03#mem_mouse_vdd_empty_vol  :0.9V
-e8 03#mem_mouse_vdd_low_vol   :1.0V
-#mem_mouse_vdd_full_vol:e4 0c		#3.3V
-#b8 0b#mem_mouse_vdd_empty_vol  :3.0V
-#80 0c#mem_mouse_vdd_low_vol   :3.2V
-
-mem_adc_channel_gpio:04
-#04
-#02
-#01
-#03
-#00
-#05
-#06
-#07
-
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
 mem_mouse_commbination_key_24g:03
 mem_mouse_commbination_key_bt:07
@@ -517,7 +499,7 @@
 #01 ADC_CONFIG_HVIN
 #02 ADC_CONFIG_GPIO
 mem_adc_clkdiv:0a
-mem_adc_channel:09
+mem_adc_channel:00
 #00 ADC_CH_VBAT
 #01 ADC_CH_VDCDC5V
 #06 ADC_CH_GPIO18
@@ -530,9 +512,21 @@
 #0d ADC_CH_GPIO22
 #0e ADC_CH_GPIO13
 
-mem_mouse_vdd_full_vol:a4 01		#4.2V
-18 01#mem_mouse_vdd_empty_vol  :2.8V
-2c 01#mem_mouse_vdd_low_vol   :3.0V
+#adc
+#mem_mouse_vdd_full_vol:4a 01		#3.3V
+#2c 01#mem_mouse_vdd_empty_vol  :3.0V
+#40 01#mem_mouse_vdd_low_vol   :3.2V
+
+#mem_adc_channel_gpio:04
+#04
+#02
+#01
+#03
+#00
+#05
+#06
+#07
+
 
 # rf debug
 #bit7:0 means disable rf debug function
@@ -550,7 +544,7 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:67
+mem_xtal_c_sel:3e
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(working copy)
@@ -19,8 +19,10 @@
 	beq patch04_5,p_lpm_sleep
 	beq patch0d_0,p_mouse_cb_fuction
 	beq patch0d_1,p_mouse_load_device_info_check
+	beq patch0d_2,p_mouse_default_init
 	beq patch0d_4,p_mouse_param_init
 	beq patch0d_6,p_mouse_start_work
+	beq patch0d_7,p_mouse_start_reconnect_device
 	beq patch0e_3,p_mouse_setgpio_hibernate
 	beq patch0e_4,p_mouse_lpm_before_common
 	beq patch0f_2,p_mouse_motion
@@ -54,7 +56,7 @@
 
 pf_patch_ext:
 	beq patch22_4,p_le_slave_match
-	beq patch23_2,p_le_got_first_packet
+	beq patch23_2,p_le_got_first_packet_new	//p_le_got_first_packet
 	beq patch24_5,p_le_rx_dec
 	beq patch24_6,p_le_rx_nopayload
 	beq patch27_1,p_le_parse
@@ -72,6 +74,7 @@
 	branch assert
 
 /****************************************COMMON PATCH*****************************************/
+
 p_main_loop:
 ifdef SECURE_CONNECTION
 	call sp_calc_sequence_256
@@ -88,6 +91,7 @@
 p_shutdown_radio:
 	jam 0,0x8900
 	branch shutdown_radio+1
+
 p_set_sync_on:
 	jam 0x60,0x8a0f 
 	jam 0xaa,0x8a10 
@@ -156,8 +160,7 @@
 	until null,lpo_edge
 	fetch 1,mem_xtal_c_sel
 	store 1,core_xtal_cap
-	until null,lpo_edge
-	rtn
+	branch lpm_write_wait
 	
 p_dpll_on:
 	fetch 1,mem_fcomp_div
@@ -252,8 +255,7 @@
 	rtn
 
 p_sensor_reg_reset:
-	setarg 0
-	store 1,0x807c	//gpio 12
+	jam 0,0x807c	//gpio 12
 	setarg 0		
 	store 3,0x80d7	//gpio 19-21
 	rtn
@@ -310,6 +312,10 @@
 	store 1,0x8138 
 	until null,lpo_edge
 
+p_set_otp_config_wake:
+	fetch 2,mem_otp_charge_pump_x
+	rtn blank
+	store 2,mem_otp_charge_pump
 p_set_otp_config2:
 	fetch 1,0x8acb
 	and pdata,0xf0,pdata
@@ -336,12 +342,6 @@
 	store 1,0x8a02
 	rtn
 
-p_set_otp_config_wake:
-	fetch 2,mem_otp_charge_pump_x
-	rtn blank
-	store 2,mem_otp_charge_pump
-	branch p_set_otp_config2
-
 p_rf_rx_enable:
 	call rf_debug_rx_gpio_high
 	call rf_rx_agc_set
@@ -401,19 +401,11 @@
 p_set_tx_power:	
 	fetch 1,mem_tx_power
 	beq TX_POWER_6DB,set_tx_power_7db
-	beq TX_POWER_10DB,p_set_tx_power_10db
 	beq TX_POWER_F30DB,p_set_tx_power_f30db
 	//beq TX_POWER_F35DB,p_set_tx_power_f35db
 	//beq TX_POWER_F40DB,p_set_tx_power_f40db
 	beq TX_POWER_FACTORY,p_set_tx_power_factory
 	branch set_tx_power+2
-	
-p_set_tx_power_10db:
-	jam 0x25,0x8a14 
-	setarg 0xa93f3f
-	store 3,0x8a60
-	jam 0x1f,0x8a63 
-	rtn
 
 p_set_tx_power_factory:
 	jam 0x17,0x8a14 
@@ -597,8 +589,7 @@
 	arg 256,regc
 	iadd regc,pdata
 	rtn
-p_le_got_first_packet:
-	branch p_le_got_first_packet_new
+	
 p_le_slave_match:
 	call p_le_check_retransmit
 	branch le_slave_match+1
@@ -651,6 +642,7 @@
 	setarg 0
 	store 4,mem_le_transmit_window	
 	rtn
+	
 p_le_rx_dec:
 	call le_check_retransmit	
 	fetchr rega, 1,mem_le_rxbuf_data_length
@@ -799,8 +791,7 @@
 	setarg 0x10			//bit0-1:key_delay	bit2-3:pu_delay		bit4-6:interval	bit7:enable 
 p_mouse_puchk_set:
 	store 1,core_puwakeup
-	until null,lpo_edge
-	rtn
+	branch lpm_write_wait
 
 p_mouse_puchk_enable:
 	setarg 0x80			//bit0-1:key_delay	bit2-3:pu_delay		bit4-6:interval	bit7:enable 
@@ -819,8 +810,8 @@
 	
 p_lpm_sleep:
 	//call xtal_fast_wake
-	fetch 2,mem_cb_before_lpm_sleep
-	call callback_func
+//	fetch 2,mem_cb_before_lpm_sleep
+//	call callback_func
 p_lpm_sleep_skip_cb_function:
 	fetch 4,mem_sleep_counter_all	// sleep total time, 32k unit
 	iadd temp,pdata
@@ -884,7 +875,6 @@
 	nbranch g24_reconn_device_fail,sync
 	nbranch g24_reconn_device_fail,user3
 	call g24_ackpayload_parse
-	
 	fetch 1,mem_24g_rxdata_length	//ack payload length 
 	branch p_recv_addr_zero_skip,blank
 p_g24_reconn_dispatch_next_2:	
@@ -901,19 +891,16 @@
 
 p_mouse_param_init:
 	call mouse_param_common_init
-	call p_mouse_le_buff_modify
-	branch mouse_param_init+2
-
-p_mouse_le_buff_modify:
 	setarg mem_le_tx_buffer0_omemalloc_new
 	store 2,mem_ble_l2cap_tx_buff0_ptr
 	setarg MOUSE_BLE_L2CAP_TXBUFF_SIZE_NEW
 	store 2,mem_ble_l2cap_tx_buff_size_ptr
-	rtn
+	branch mouse_param_init+2
 
 p_recv_addr_zero_skip:
 	fetch 4,mem_24g_fast_conn_addr
 	fetcht 4,mem_24g_addr
+	isub temp,null
 	branch p_g24_reconn_dispatch_next_2,zero
 	fetch 4,mem_24g_rxpayload+2
 	rtn blank
@@ -1004,8 +991,8 @@
 	store 2,mem_cb_24g_transmit_short_sleep
 	setarg mouse_24g_long_sleep
 	store 2,mem_cb_24g_transmit_long_sleep
-	setarg p_mouse_24g_before_lpm_sleep
-	store 2,mem_cb_before_lpm_sleep
+//	setarg p_mouse_24g_before_lpm_sleep
+//	store 2,mem_cb_before_lpm_sleep
 	branch mouse_cb_fuction+7
 
 p_soft_reset:
@@ -1023,12 +1010,17 @@
 	fetcht 1,mem_whee_b_data_gpio
 	branch gpio_config_input
 	
-p_mouse_24g_before_lpm_sleep:
-	rtn
+//p_mouse_24g_before_lpm_sleep:
+//	rtn
 //	fetch 1,mem_device_flag
 //	rtnne MODE_24G_DEVICE
 //	branch mouse_24g_before_lpm_sleep+2	
 
+p_mouse_default_init:
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
+	isolate1 MOUSE_ENABLE_KEYBOARD,pdata
+	call mouse_customer_key_enable,true
+	branch mouse_default_parm_init
 
 p_mouse_load_device_info_check:
 	call p_mouse_store_normal_tx_power
@@ -1070,8 +1062,6 @@
 p_mouse_load_le_device1:
 	fetch 6,mem_device1_addr
 	store 6,mem_hci_plap
-//	arg mem_le_ltk,contw
-//	call memcpy16
 	fetch 6,mem_device1_locall_addr
 	store 6,mem_le_lap
 	rtn
@@ -1079,8 +1069,6 @@
 p_mouse_load_le_device2:
 	fetch 6,mem_device2_addr
 	store 6,mem_hci_plap
-//	arg mem_le_ltk,contw
-//	call memcpy16
 	fetch 6,mem_device2_locall_addr
 	store 6,mem_le_lap
 	rtn
@@ -1088,18 +1076,34 @@
 p_mouse_store_remote_bdaddr:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_STORE_EEPROM_FLAG
-//	bbit0 MOUSE_ENABLE_OTP,mouse_store_remote_bdaddr+1
 	arg MOUSE_STORE_EEPROM_FLAG,queue
 	call mouse_disable_function_flag
-	call mouse_check_device_addr
+	call p_mouse_check_device_addr
 	call p_mouse_before_store_reconn_info
 	branch mouse_store_device_info_delay
 
+p_mouse_check_device_addr:
+	fetch 1,mem_record_bt_mode
+	rtnne REC_4_MODE
+	store 1,mem_device_addr_temp
+	fetch 6,mem_le_plap
+	store 6,mem_device_addr_temp+1
+	fetch 7,mem_device_addr_temp
+	arg mem_device1_type,contr
+	arg 3,loopcnt
+p_mouse_check_device_addr_end:
+	ifetcht 7,contr
+	isub temp,null
+	branch mouse_clean_addr,zero
+	increase 7,contr
+	loop p_mouse_check_device_addr_end
+	rtn
+	
 p_mouse_before_store_reconn_info:
 	arg mem_device1_type,rega
 	fetch 1,mem_device_flag
 	increase -1,pdata
-	mul32 pdata,29,pdata
+	mul32 pdata,13,pdata
 	iadd rega,rega
 	fetch 1,mem_record_bt_mode
 	istore 1,rega
@@ -1278,7 +1282,6 @@
 	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 RECEIVER_AND_3_0_ADDR,p_mouse_reconn_dongle_attempt_fail
 	branch mouse_24g_attempt_fail+2
 
 p_mouse_24g_auto_pair_attempt_fail:
@@ -1291,24 +1294,33 @@
 	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_FLASH,mouse_24g_attempt_fail_enter_hibernate
-	branch 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
 	fetch 1,mem_device_flag
 	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
+	call mouse_device_le_reconn_led_config
 	branch mouse_le_fast_conn_judge
 
+p_mouse_start_reconnect_device:
+	arg mem_device1_type,rega
+	fetch 1,mem_device_flag
+	increase -1,pdata
+	mul32 pdata,13,pdata
+	iadd rega,rega
+	ifetch 1,rega
+	store 1,mem_xrecord_mode
+	branch mouse_start_reconnect
+
 p_mouse_24g_first_start_auto_pair_mode:	
 	call mouse_wakeup_from_power_check
 	branch p_mouse_24g_first_start_reconn,user 
-	branch mouse_24g_reconn_general_dongle
+p_mouse_24g_reconn_general_dongle:
+	jam MODE_24G_DEVICE,mem_device_flag
+	fetch 2,mem_mouse_24g_power_on_fast_conn_timer
+	store 2,mem_24g_reconn_timeout
+	jam FAST_CONN_AND_RECEIVER,mem_24g_reconn_type
+	branch g24_reconn_start
 
 p_mouse_24g_first_start_reconn:
 	fetch 1,mem_device_flag
@@ -1325,13 +1337,6 @@
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,p_mouse_24g_reconn_general_dongle
 	branch mouse_24g_start_mode+7
-
-p_mouse_24g_reconn_general_dongle:
-	jam MODE_24G_DEVICE,mem_device_flag
-	fetch 2,mem_mouse_24g_power_on_fast_conn_timer
-	store 2,mem_24g_reconn_timeout
-	jam FAST_CONN_AND_RECEIVER,mem_24g_reconn_type
-	branch g24_reconn_start
 	
 p_mouse_store_normal_tx_power:
 	fetch 1,mem_tx_power
@@ -1397,7 +1402,7 @@
 
 p_clear_wake:
 	setarg 0
-	set1 21,pdata
+//	set1 21,pdata
 	store 8,mem_gpio_wakeup_cfg	//gpio5(ice)enable wake
 	setarg 0
 	store 4,mem_gpio_wakeup_cfg+8
@@ -1435,8 +1440,6 @@
 	call mouse_lpm_before_common
 	call mouse_gpio_pd_idle
 	call p_mouse_wheel_set_impedance
-//	fetcht 1,mem_mouse_reuse_2ice_gpio
-//	call mouse_gpio_config_input_pu
 //	call p_mouse_gpio_set_high_impedance
 	branch mouse_setgpio_hibernate_next
 /*
@@ -1495,10 +1498,17 @@
 p_mouse_check_select_device_by_switch:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
-	bbit0 MOUSE_ENABLE_SWITCH_GPIO_CONNECT_VIN,mouse_switch_gpio_connect_gnd
-p_mouse_switch_gpio_connect_vin:
+	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_connect_vin
+	fetcht 1,mem_device_switch_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_device_switch_gpio
+	branch mouse_gpio_config_input_pu
+	
+p_mouse_switch_gpio_connect_vin:
 	fetcht 1,mem_device_switch_gpio
 	call mouse_gpio_config_input_pd
 	fetcht 1,mem_device_switch_gpio
@@ -1506,6 +1516,15 @@
 	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 mouse_switch_gpio_connect_gnd
+	fetcht 1,mem_device_switch_gpio
+	call gpio_out_active
+	fetcht 1,mem_device_switch_gpio
+	branch mouse_gpio_config_input_pd
+	
 p_mouse_init_sensor:
 	call mouse_read_sensor_id
 	beq P32XX_ID1,p_mouse_init_p32xx_id2_judge
@@ -1537,45 +1556,28 @@
 	setarg 0x49		// id3
 	call twspi_read
 	beq 0xa1,mouse_S201X_init_param
-	jam P3065_XY,mem_config_sensor_type
-	rtn
+	branch mouse_p3065xy_init_param
 
 p_mouse_dpi_process:
 	call mouse_dpi_ghost_check
 	rtn user
-	fetch 1,mem_mouse_dpi
-	copy pdata,temp
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_DOUBLE_DPI_KEY,mouse_double_dpi_check
 	fetch 1,mem_config_sensor_type
 	beq KA5857,p_mouse_dpi_process_5_level
-	//beq P3212,p_mouse_dpi_process_5_level
-	beq P3212,p_mouse_dpi_process_4_level
-	copy temp,pdata
-	increase 1,pdata
-	and pdata,0x03,pdata
-	branch mouse_dpi_level_store
+	branch mouse_dpi_process+3
 	
 p_mouse_dpi_process_5_level:
-	copy temp,pdata
+	fetch 1,mem_mouse_dpi
 	increase 1,pdata
 	sub pdata,4,null
-	ncall p_mouse_dpi_init,positive
-	branch mouse_dpi_level_store
-p_mouse_dpi_process_4_level:
-	copy temp,pdata
-	increase 1,pdata
-	and pdata,0x03,pdata
-	ncall p_mouse_dpi_init,positive
+	ncall set_pdata_0,positive
 	branch mouse_dpi_level_store
-p_mouse_dpi_init:
-	setarg 0
-	rtn
+
 p_mouse_setting_dpi_4_level:
 	fetch 1,mem_config_sensor_type
 	rtneq KA5857
 	rtneq P3212
-	branch mouse_setting_dpi_4_level	
+	branch mouse_setting_dpi_4_level
+
 p_mouse_setting_dpi:
 	call p_mouse_setting_dpi_4_level
 	call mouse_dpi_led_blink_delay
@@ -1584,18 +1586,21 @@
 	beq KA5857,mouse_seting_3212_dpi
 	beq S201X,p_mouse_seting_S201_dpi
 	branch mouse_setting_sensor_type+2
-p_mouse_check_sensor_data:
-	fetch 1,mem_spi_write_flash_sm
-	rtnne FLASH_SM_NO_BUYS
-	fetch 1,mem_config_sensor_type
-	beq KA8G2,p_mouse_pka8g2_sensor_motion
-	branch mouse_check_sensor_data+2
+
 p_mouse_seting_S201_dpi:
 	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,mouse_set_S201_dpi_0	//1200
 	beq MOUSE_DPI_LEVEL2,mouse_set_S201_dpi_1	//1600
 	beq MOUSE_DPI_LEVEL3,mouse_set_S201_dpi_4  //800
 	branch mouse_set_S201_dpi_0
+
+p_mouse_check_sensor_data:
+	fetch 1,mem_spi_write_flash_sm
+	rtnne FLASH_SM_NO_BUYS
+	fetch 1,mem_config_sensor_type
+	beq KA8G2,p_mouse_pka8g2_sensor_motion
+	branch mouse_check_sensor_data+2
+
 p_mouse_pka8g2_sensor_motion:
 	call mouse_clear_sensor_data
 	fetch 1,mem_sensor_motion_gpio
@@ -1735,23 +1740,19 @@
 p_mouse_ghost_key_check_M_BK:
 	and regb,MOUSE_M_BK_BUTTON,pdata
 	branch mouse_ghost_key_check_M_BK+1
-//	beq MOUSE_M_BK_BUTTON,mouse_matrix_cow_more_than_one_key
-//	rtn
+
 p_mouse_ghost_key_check_R_BK:
 	and regb,MOUSE_R_BK_BUTTON,pdata
 	branch mouse_ghost_key_check_R_BK+1
-//	beq MOUSE_R_BK_BUTTON,mouse_matrix_cow_more_than_one_key
-//	rtn
+
 p_mouse_ghost_key_check_L_FW:
 	and regb,MOUSE_L_FW_BUTTON,pdata
 	branch mouse_ghost_key_check_L_FW+1
-//	beq MOUSE_L_FW_BUTTON,mouse_matrix_cow_more_than_one_key
-//	rtn
+
 p_mouse_ghost_key_check_R_FW:
 	and regb,MOUSE_R_FW_BUTTON,pdata
 	branch mouse_ghost_key_check_R_FW+1
-//	beq MOUSE_R_FW_BUTTON,mouse_matrix_cow_more_than_one_key
-//	rtn	
+	
 	
 endif
 
Index: sched/1305.dat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/sched/1305.dat	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/sched/1305.dat	(working copy)
@@ -9,7 +9,7 @@
 mem_lpm_hv_sel:b4
 
 mem_fcomp_div:18
-mem_xtal_c_sel:67
+mem_xtal_c_sel:3e
 mem_gpio_wakeup_cfg:00 00 20 00 00 00 00 00 00 00 00 00
 
 mem_version:08 0e 05 03 00
Index: sched/mouse.dat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/sched/mouse.dat	(revision 2211)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/sched/mouse.dat	(working copy)
@@ -171,24 +171,6 @@
 33
 ff ff ff ff ff ff			#eeprom need
 
-#adc
-mem_mouse_vdd_full_vol:dc 05		#1.5V
-84 03#mem_mouse_vdd_empty_vol  :0.9V
-e8 03#mem_mouse_vdd_low_vol   :1.0V
-#mem_mouse_vdd_full_vol:e4 0c		#3.3V
-#b8 0b#mem_mouse_vdd_empty_vol  :3.0V
-#80 0c#mem_mouse_vdd_low_vol   :3.2V
-
-mem_adc_channel_gpio:04
-#04
-#02
-#01
-#03
-#00
-#05
-#06
-#07
-
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
 mem_mouse_commbination_key_24g:03
 mem_mouse_commbination_key_bt:07
@@ -450,7 +432,7 @@
 #01 ADC_CONFIG_HVIN
 #02 ADC_CONFIG_GPIO
 mem_adc_clkdiv:0a
-mem_adc_channel:09
+mem_adc_channel:00
 #00 ADC_CH_VBAT
 #01 ADC_CH_VDCDC5V
 #06 ADC_CH_GPIO18
@@ -463,9 +445,21 @@
 #0d ADC_CH_GPIO22
 #0e ADC_CH_GPIO13
 
-mem_mouse_vdd_full_vol:a4 01		#4.2V
-18 01#mem_mouse_vdd_empty_vol  :2.8V
-2c 01#mem_mouse_vdd_low_vol   :3.0V
+#adc
+#mem_mouse_vdd_full_vol:4a 01		#3.3V
+#2c 01#mem_mouse_vdd_empty_vol  :3.0V
+#40 01#mem_mouse_vdd_low_vol   :3.2V
+
+#mem_adc_channel_gpio:04
+#04
+#02
+#01
+#03
+#00
+#05
+#06
+#07
+
 
 # rf debug
 #bit7:0 means disable rf debug function
