Index: output/eeprom.dat
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/eeprom.dat	(working copy)
@@ -2,172 +2,180 @@
 02
 aa
 55
-36
+5e
 14
 c2
 84
 00
-2a
+2c
 c0
 00
 03
-14
+1e
 c0
 01
 00
-3b
+3d
 c0
 08
 00
-44
+46
 c0
 08
 80
-46
+48
 c0
 0a
 01
-8b
+98
 c0
 0a
 81
-25
+32
+c0
+0b
+00
+51
 c0
 0c
 01
-4b
+58
 c0
 0c
 81
-52
+5f
 c0
 0d
 00
-54
+60
 c0
 12
 82
-8a
+97
 c0
 13
 82
-16
+23
 c0
 34
 03
-0f
+19
 c0
 34
 83
-26
+2b
 c0
 35
 03
-22
+27
 c0
 36
 02
-d3
+dd
 c0
 37
 04
-02
+07
 c0
 37
 84
-08
+0c
 c0
 39
 84
-59
+62
 c0
 3a
 02
-76
+83
 c0
 3d
 04
-ce
+d8
 c0
 3d
 84
-a6
+b0
 c0
 3e
 04
-b4
+be
 c0
 3e
 84
-b6
+c0
 c0
 3f
 84
-44
+42
 c0
 40
 84
-8e
+98
 c0
 42
 03
-39
+3f
 c0
 42
 83
-97
+9c
 c0
 43
 02
-4b
+58
 c0
 43
 83
-75
+7a
 c0
 44
 03
-95
+9a
 c0
 45
 03
-4a
+4f
 c0
 45
 83
-28
+2d
 c0
 47
 04
-26
+24
 c0
 48
 04
-7b
+85
+c0
+4a
+84
+58
 c0
 4b
 04
-64
+6e
 c0
 58
 80
-b5
+c2
 c0
 62
 82
-ae
+bb
 c0
 6a
 82
-6a
+77
 c0
 6b
 02
-63
+70
 c0
 6d
 00
-7b
+88
 20
 20
 23
@@ -175,47 +183,47 @@
 c0
 0a
 01
-ab
+b8
 c0
 0d
 01
-ca
+d7
 c0
 12
 01
-ef
+fc
 c0
 12
 81
-d2
+df
 c0
 13
 01
-d7
+e4
 c0
 1c
 81
-e9
+f6
 c0
 1d
 02
-25
+32
 c0
 26
 02
-21
+2e
 c0
 26
 81
-ed
+fa
 c0
 48
 02
-b1
+be
 c0
 49
 02
-c8
+d2
 c0
 4b
 04
@@ -223,15 +231,15 @@
 c0
 4d
 01
-33
+40
 c0
 4e
 81
-40
+4d
 c0
 4f
 82
-e0
+ea
 c1
 7f
 80
@@ -275,7 +283,7 @@
 20
 20
 00
-3b
+3d
 70
 89
 00
@@ -316,30 +324,70 @@
 8a
 23
 f5
-70
-8a
-24
-12
-70
-8a
-24
-10
 20
+20
+21
+69
+58
 00
-00
-3c
-70
-8a
-12
+09
 60
-70
-8a
-23
-dd
+98
+40
+fe
+00
+1f
+e2
+22
+00
+68
+48
+c0
+99
+18
+43
+04
+00
+98
+46
+fc
+00
 20
-60
+40
+7d
+62
+18
+07
+fe
 00
+1f
+ec
+8e
 00
+60
+f0
+89
+0a
+67
+f0
+89
+09
+20
+20
+21
+da
+37
+d9
+82
+00
+70
+81
+3c
+58
+20
+20
+23
+e2
 70
 01
 bb
@@ -382,12 +430,16 @@
 fe
 20
 40
-00
-fa
+01
+07
 20
 40
 70
 d7
+24
+55
+80
+5d
 37
 d9
 82
@@ -415,7 +467,7 @@
 c0
 08
 00
-a5
+b2
 6f
 e0
 c4
@@ -459,7 +511,7 @@
 20
 40
 00
-97
+a4
 70
 80
 43
@@ -483,15 +535,15 @@
 20
 40
 01
-5e
+6b
 20
 40
 01
-89
+96
 20
 40
 00
-92
+9f
 70
 41
 48
@@ -527,7 +579,7 @@
 20
 40
 00
-8b
+98
 70
 8a
 08
@@ -571,7 +623,7 @@
 c3
 02
 80
-8c
+99
 68
 59
 01
@@ -615,7 +667,7 @@
 c0
 0c
 00
-9d
+aa
 6f
 e0
 c4
@@ -707,7 +759,7 @@
 20
 20
 00
-6f
+7c
 20
 75
 80
@@ -735,11 +787,11 @@
 20
 40
 00
-b0
+bd
 24
 55
 80
-c0
+cd
 24
 55
 d5
@@ -795,7 +847,7 @@
 20
 40
 00
-e0
+ed
 20
 40
 55
@@ -819,15 +871,15 @@
 c0
 18
 00
-d5
+e2
 c0
 18
 80
-d5
+e2
 c0
 2c
 00
-d5
+e2
 20
 40
 59
@@ -851,11 +903,11 @@
 c0
 04
 00
-d6
+e3
 20
 20
 00
-c8
+d5
 20
 60
 00
@@ -883,19 +935,19 @@
 c0
 00
 00
-e4
+f1
 c0
 00
 80
-eb
+f8
 c0
 01
 00
-f0
+fd
 c0
 01
-80
-f5
+81
+02
 20
 60
 00
@@ -939,11 +991,11 @@
 20
 40
 00
-e0
+ed
 20
 20
 00
-c6
+d3
 70
 49
 58
@@ -963,7 +1015,7 @@
 20
 20
 00
-e8
+f5
 70
 49
 58
@@ -983,7 +1035,7 @@
 20
 20
 00
-e8
+f5
 70
 49
 58
@@ -1003,11 +1055,11 @@
 20
 20
 00
-e8
+f5
 20
 35
 81
-0c
+19
 6f
 e2
 02
@@ -1243,11 +1295,11 @@
 20
 40
 01
-38
+45
 20
 40
 01
-3b
+48
 20
 20
 36
@@ -1279,7 +1331,7 @@
 20
 40
 04
-30
+2e
 20
 20
 61
@@ -1299,7 +1351,7 @@
 24
 21
 01
-45
+52
 20
 20
 36
@@ -1323,7 +1375,7 @@
 20
 40
 03
-05
+0f
 20
 20
 36
@@ -1367,11 +1419,11 @@
 c0
 4f
 01
-5b
+68
 c0
 55
 01
-57
+64
 20
 20
 22
@@ -1403,7 +1455,7 @@
 20
 20
 01
-59
+66
 20
 75
 80
@@ -1455,7 +1507,7 @@
 20
 40
 01
-7b
+88
 2a
 2f
 fe
@@ -1487,7 +1539,7 @@
 20
 40
 01
-7b
+88
 d8
 a0
 8a
@@ -1515,7 +1567,7 @@
 20
 21
 01
-70
+7d
 20
 20
 21
@@ -1603,7 +1655,7 @@
 c0
 08
 01
-a4
+b1
 58
 00
 57
@@ -1647,7 +1699,7 @@
 c0
 08
 01
-a1
+ae
 58
 00
 2b
@@ -1683,7 +1735,7 @@
 20
 20
 01
-9d
+aa
 58
 00
 83
@@ -1695,7 +1747,7 @@
 20
 20
 01
-92
+9f
 6f
 e0
 cb
@@ -1715,7 +1767,7 @@
 20
 40
 01
-ad
+ba
 20
 20
 25
@@ -1751,7 +1803,7 @@
 24
 41
 01
-a7
+b4
 98
 46
 7e
@@ -1763,7 +1815,7 @@
 20
 21
 01
-bf
+cc
 6f
 e0
 cb
@@ -1775,7 +1827,7 @@
 24
 41
 01
-bd
+ca
 70
 4b
 fb
@@ -1851,7 +1903,7 @@
 24
 36
 81
-d1
+de
 6f
 e0
 cb
@@ -1990,8 +2042,8 @@
 c2
 c5
 97
-81
-f5
+82
+02
 78
 3c
 fc
@@ -2034,8 +2086,8 @@
 00
 20
 37
-01
-fe
+02
+0b
 1b
 42
 04
@@ -2083,7 +2135,7 @@
 20
 40
 02
-0c
+19
 6f
 e0
 81
@@ -2207,7 +2259,7 @@
 c0
 02
 02
-28
+35
 20
 20
 28
@@ -2223,11 +2275,11 @@
 c0
 05
 02
-2d
+3a
 c0
 09
 02
-3c
+49
 20
 20
 2b
@@ -2255,7 +2307,7 @@
 c2
 81
 82
-37
+44
 6f
 e1
 43
@@ -2283,11 +2335,11 @@
 24
 22
 82
-33
+40
 24
 34
 02
-33
+40
 20
 20
 2d
@@ -2367,7 +2419,7 @@
 c0
 7f
 82
-56
+63
 6f
 e0
 c8
@@ -2443,7 +2495,7 @@
 20
 40
 04
-70
+7a
 20
 20
 5b
@@ -2491,7 +2543,7 @@
 20
 20
 82
-70
+7d
 d9
 00
 00
@@ -2527,11 +2579,11 @@
 20
 40
 04
-55
+54
 20
 40
 02
-85
+92
 70
 4b
 1d
@@ -2603,7 +2655,7 @@
 20
 20
 02
-9f
+ac
 6f
 e2
 40
@@ -2619,11 +2671,11 @@
 20
 40
 02
-96
+a3
 20
 40
 02
-90
+9d
 20
 20
 24
@@ -2643,7 +2695,7 @@
 20
 3a
 02
-73
+80
 58
 00
 00
@@ -2651,7 +2703,7 @@
 20
 20
 02
-74
+81
 60
 04
 40
@@ -2719,7 +2771,7 @@
 20
 22
 82
-a9
+b6
 e7
 e0
 80
@@ -2739,7 +2791,7 @@
 c2
 00
 02
-a3
+b0
 1a
 42
 04
@@ -2775,23 +2827,11 @@
 20
 3a
 02
-b9
-6f
-e1
-45
-e0
-1f
-e0
-fe
-01
-67
-e1
-45
-e0
+c3
 20
-60
-00
-00
+20
+35
+61
 20
 40
 35
@@ -2819,7 +2859,7 @@
 20
 3a
 02
-d9
+e3
 6f
 e2
 45
@@ -2835,7 +2875,7 @@
 20
 22
 82
-c5
+cf
 20
 20
 35
@@ -2846,8 +2886,8 @@
 13
 c2
 98
-32
-91
+60
+4e
 20
 20
 35
@@ -2883,7 +2923,7 @@
 c0
 02
 82
-d1
+db
 20
 20
 35
@@ -2935,7 +2975,7 @@
 20
 22
 82
-c0
+ca
 6f
 e2
 45
@@ -2947,7 +2987,7 @@
 20
 20
 02
-c0
+ca
 6f
 e0
 c4
@@ -2983,7 +3023,7 @@
 c5
 13
 02
-ea
+f4
 6f
 e0
 c6
@@ -2995,7 +3035,7 @@
 24
 21
 03
-04
+0e
 6f
 e0
 c6
@@ -3007,7 +3047,7 @@
 24
 21
 02
-f2
+fc
 6f
 e0
 c6
@@ -3015,7 +3055,7 @@
 c0
 00
 03
-05
+0f
 20
 60
 00
@@ -3050,8 +3090,8 @@
 28
 c5
 13
-02
-fb
+03
+05
 6f
 e0
 c6
@@ -3083,7 +3123,7 @@
 c0
 01
 03
-0d
+17
 c0
 00
 b7
@@ -3103,7 +3143,7 @@
 c0
 01
 83
-0b
+15
 1f
 e0
 fe
@@ -3119,7 +3159,7 @@
 c0
 01
 03
-0d
+17
 70
 41
 41
@@ -3175,43 +3215,23 @@
 20
 55
 83
-1a
+24
 20
 20
 20
 03
 20
 40
-04
-55
-68
-48
-c6
-4a
-20
-40
-6f
-0f
-68
-48
-c6
-4b
-20
-40
-6f
-0f
-6f
-e0
-c6
 02
+80
 20
-7a
-00
-00
+40
+58
+df
 20
 20
-02
-73
+60
+04
 6f
 e4
 47
@@ -3231,15 +3251,19 @@
 20
 40
 04
-23
+21
+20
 20
-40
 5d
 60
 20
 40
+5d
+6a
+20
+40
 03
-32
+38
 6f
 e1
 46
@@ -3255,7 +3279,7 @@
 20
 22
 83
-37
+3d
 60
 49
 46
@@ -3299,7 +3323,7 @@
 20
 40
 03
-3b
+41
 20
 20
 5c
@@ -3307,7 +3331,7 @@
 20
 40
 03
-3b
+41
 20
 20
 5a
@@ -3323,11 +3347,11 @@
 c0
 00
 83
-40
+46
 c0
 01
 03
-45
+4b
 20
 60
 00
@@ -3364,14 +3388,10 @@
 e3
 46
 7b
-67
-e3
-42
-db
 20
-60
-00
-00
+20
+03
+49
 6f
 e4
 47
@@ -3391,11 +3411,11 @@
 20
 40
 03
-51
+56
 20
 40
 03
-5f
+64
 20
 20
 5c
@@ -3451,7 +3471,7 @@
 c2
 00
 03
-59
+5e
 20
 60
 00
@@ -3495,11 +3515,11 @@
 c0
 00
 83
-6b
+70
 c0
 01
 03
-70
+75
 20
 60
 00
@@ -3547,7 +3567,7 @@
 20
 40
 03
-8b
+90
 20
 40
 61
@@ -3619,7 +3639,7 @@
 20
 40
 03
-8e
+93
 20
 40
 56
@@ -3651,7 +3671,7 @@
 da
 40
 03
-91
+96
 20
 20
 42
@@ -3687,31 +3707,31 @@
 c0
 20
 03
-ac
+b1
 c0
 0a
 83
-b1
+b6
 c0
 19
 03
-a3
+a8
 c0
 1e
 03
-ce
+d3
 c0
 1c
 83
-de
+e3
 c0
 1d
 03
-e3
+e8
 c0
 0a
 03
-a0
+a5
 20
 20
 5a
@@ -3735,7 +3755,7 @@
 c0
 00
 83
-a7
+ac
 70
 48
 44
@@ -3743,7 +3763,7 @@
 20
 20
 03
-a9
+ae
 20
 40
 5a
@@ -3819,7 +3839,7 @@
 c2
 8d
 83
-bb
+c0
 d8
 40
 00
@@ -3855,7 +3875,7 @@
 c2
 83
 83
-c5
+ca
 c2
 80
 42
@@ -3959,7 +3979,7 @@
 20
 40
 03
-e0
+e5
 20
 20
 60
@@ -3967,7 +3987,7 @@
 20
 40
 03
-e0
+e5
 20
 20
 60
@@ -3987,7 +4007,7 @@
 20
 40
 03
-e0
+e5
 6f
 e0
 c8
@@ -4011,15 +4031,15 @@
 c0
 02
 83
-f5
+fa
 c0
 00
 83
-ed
+f2
 c0
 01
-83
-fc
+84
+01
 20
 20
 60
@@ -4031,11 +4051,11 @@
 c2
 9f
 03
-f1
+f6
 c2
 98
 03
-f1
+f6
 20
 20
 60
@@ -4107,7 +4127,7 @@
 20
 20
 03
-f1
+f6
 6f
 e4
 47
@@ -4115,7 +4135,7 @@
 c2
 9f
 04
-10
+0e
 6f
 e0
 c6
@@ -4123,47 +4143,19 @@
 c0
 00
 04
-1b
-20
-40
-61
-9f
+19
 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
+40
+61
+9f
 20
 20
 54
-a9
+b6
 20
 40
 54
@@ -4171,7 +4163,7 @@
 20
 34
 04
-17
+15
 70
 46
 66
@@ -4207,7 +4199,7 @@
 20
 20
 03
-f9
+fe
 6f
 e4
 47
@@ -4235,7 +4227,7 @@
 c2
 98
 04
-12
+10
 20
 20
 60
@@ -4263,7 +4255,7 @@
 20
 40
 04
-32
+30
 20
 40
 58
@@ -4283,7 +4275,7 @@
 20
 40
 02
-85
+92
 20
 40
 56
@@ -4291,7 +4283,7 @@
 20
 20
 02
-81
+8e
 6f
 e4
 47
@@ -4323,7 +4315,7 @@
 20
 40
 04
-39
+37
 20
 20
 56
@@ -4351,7 +4343,7 @@
 c0
 7f
 84
-40
+3e
 20
 20
 56
@@ -4371,7 +4363,7 @@
 20
 20
 04
-44
+42
 1a
 62
 7e
@@ -4394,6 +4386,14 @@
 00
 20
 40
+6e
+f7
+1a
+62
+04
+00
+20
+40
 55
 b1
 1a
@@ -4431,15 +4431,11 @@
 20
 40
 04
-55
-6f
-e1
-c6
-08
+54
 20
 20
 36
-22
+1b
 58
 00
 00
@@ -4458,12 +4454,56 @@
 00
 20
 40
+7d
+7c
+70
+46
+00
+00
+20
+40
+36
+47
+5f
+ff
+ff
+ff
+67
+e2
+45
+af
+58
+00
+00
+00
+67
+e3
+c8
+46
+70
+47
+3f
+01
+20
+40
+59
+ed
+20
+20
+62
+2b
+20
+40
+46
+4c
+20
+40
 5a
 92
 20
 40
 04
-55
+54
 20
 40
 56
@@ -4495,7 +4535,7 @@
 20
 40
 02
-76
+83
 20
 20
 54
@@ -4523,7 +4563,7 @@
 24
 5a
 04
-79
+83
 6f
 e4
 47
@@ -4531,7 +4571,7 @@
 c3
 0b
 04
-6e
+78
 6f
 e0
 c9
@@ -4543,7 +4583,7 @@
 20
 40
 04
-70
+7a
 20
 20
 60
@@ -4587,11 +4627,11 @@
 20
 40
 04
-55
+54
 20
 20
 02
-9f
+ac
 6f
 e4
 47
@@ -4603,15 +4643,15 @@
 c3
 1f
 84
-88
+92
 20
 40
 04
-8a
+94
 20
 40
 04
-84
+8e
 68
 48
 c6
@@ -4647,7 +4687,7 @@
 20
 40
 04
-80
+8a
 20
 40
 5e
@@ -4675,7 +4715,7 @@
 c0
 18
 04
-9b
+a5
 c0
 18
 d9
@@ -4683,7 +4723,7 @@
 c0
 2c
 04
-93
+9d
 20
 20
 59
@@ -4699,11 +4739,11 @@
 c0
 2b
 84
-9f
+a9
 c0
 2c
 84
-98
+a2
 20
 20
 59
@@ -4731,7 +4771,7 @@
 c0
 60
 04
-a2
+ac
 20
 20
 59
@@ -4779,7 +4819,7 @@
 c0
 06
 84
-ab
+b5
 20
 20
 56
@@ -4823,7 +4863,7 @@
 20
 40
 04
-b0
+ba
 20
 40
 61
@@ -4839,7 +4879,7 @@
 c0
 06
 04
-ba
+c4
 20
 20
 57
@@ -4879,7 +4919,7 @@
 c0
 05
 84
-c4
+ce
 20
 20
 59
@@ -4895,7 +4935,7 @@
 c0
 7f
 84
-ca
+d4
 68
 48
 c6
@@ -4939,7 +4979,7 @@
 20
 40
 04
-bf
+c9
 58
 00
 00
@@ -4963,7 +5003,7 @@
 20
 40
 04
-d9
+e3
 20
 20
 56
@@ -4995,7 +5035,7 @@
 20
 40
 04
-e1
+eb
 20
 20
 57
@@ -5031,7 +5071,7 @@
 20
 22
 84
-f3
+fd
 6f
 e0
 c6
@@ -5042,8 +5082,8 @@
 00
 20
 22
-84
-f9
+85
+03
 68
 48
 c6
@@ -5059,7 +5099,7 @@
 20
 22
 85
-02
+0c
 20
 40
 57
@@ -5067,7 +5107,7 @@
 20
 40
 05
-07
+11
 20
 20
 57
@@ -5095,7 +5135,7 @@
 20
 20
 05
-03
+0d
 68
 48
 c6
@@ -5110,24 +5150,24 @@
 00
 20
 22
-84
-ff
+85
+09
 20
 40
 05
-09
+13
 20
 20
 04
-f1
+fb
 20
 40
 05
-09
+13
 20
 40
 05
-05
+0f
 20
 20
 57
@@ -5135,11 +5175,11 @@
 20
 40
 05
-05
+0f
 20
 40
 05
-0b
+15
 20
 20
 57
@@ -5176,8 +5216,8 @@
 20
 57
 ff
-81
-db
+ee
+20
 aa
 55
 40
@@ -5186,7 +5226,7 @@
 40
 05
 00
-33
+73
 07
 a0
 00
@@ -5202,7 +5242,7 @@
 bc
 f2
 4d
-41
+61
 00
 00
 00
@@ -5259,8 +5299,8 @@
 0a
 01
 00
-00
 01
+09
 1b
 aa
 55
@@ -5432,7 +5472,7 @@
 00
 1b
 47
-01
+02
 aa
 55
 01
@@ -6399,50 +6439,10 @@
 aa
 aa
 55
-55
+bf
 59
-74
-98
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+d8
+94
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-8c
 c4
+a7
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/program.lis	(working copy)
@@ -1,1436 +1,1442 @@
               include "bt_format "
               org 0x0000
-0000 c284002a bbit1 8 ,pf_patch_ext 
-0001 c0000314 beq patch00_0 ,p_soft_reset 
-0002 c001003b beq patch00_2 ,p_main_loop 
-0003 c0080044 beq patch02_0 ,p_shutdown_radio 
-0004 c0088046 beq patch02_1 ,p_set_sync_on 
-0005 c00a018b beq patch02_4 ,p_set_lemode 
-0006 c00a8125 beq patch02_5 ,p_rf_rx_enable 
-0007 c00c014b beq patch03_0 ,p_txon 
-0008 c00c8152 beq patch03_1 ,p_set_tx_power 
-0009 c00d0054 beq patch03_2 ,p_initialize_radio_cont 
-000a c012828a beq patch04_5 ,p_lpm_sleep 
-000b c0138216 beq patch04_7 ,p_lpm_adjust_clk 
-000c c034030f beq patch0d_0 ,p_mouse_cb_fuction 
-000d c0348326 beq patch0d_1 ,p_mouse_load_device_info_check 
-000e c0350322 beq patch0d_2 ,p_mouse_default_init 
-000f c03602d3 beq patch0d_4 ,p_mouse_param_init 
-0010 c0370402 beq patch0d_6 ,p_mouse_start_work 
-0011 c0378408 beq patch0d_7 ,p_mouse_start_reconnect_device 
-0012 c0398459 beq patch0e_3 ,p_mouse_setgpio_hibernate 
-0013 c03a0276 beq patch0e_4 ,p_mouse_lpm_before_common 
-0014 c03d04ce beq patch0f_2 ,p_mouse_motion 
-0015 c03d84a6 beq patch0f_3 ,p_mouse_dpi_process 
-0016 c03e04b4 beq patch0f_4 ,p_mouse_setting_dpi 
-0017 c03e84b6 beq patch0f_5 ,p_mouse_setting_sensor_type 
-0018 c03f8444 beq patch0f_7 ,p_mouse_3io6key_check 
-0019 c040848e beq patch10_1 ,p_mouse_init_sensor 
-001a c0420339 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-001b c0428397 beq patch10_5 ,p_mouse_priority_bb_event 
-001c c043024b beq patch10_6 ,p_mouse_le 
-001d c0438375 beq patch10_7 ,p_mouse_bb_event_timer 
-001e c0440395 beq patch11_0 ,p_mouse_start_discovery 
-001f c045034a beq patch11_2 ,p_mouse_store_remote_bdaddr 
-0020 c0458328 beq patch11_3 ,p_mouse_app_initflag_check 
-0021 c0470426 beq patch11_6 ,p_mouse_idle 
-0022 c048047b beq patch12_0 ,p_mouse_check_select_device_by_switch 
-0023 c04b0464 beq patch12_6 ,p_mouse_24g_package_data 
-0024 c05880b5 beq patch16_1 ,p_app_init 
-0025 c06282ae beq patch18_5 ,p_otp_read_data 
-0026 c06a826a beq patch1a_5 ,p_gpio_set_wake_by_current_state 
-0027 c06b0263 beq patch1a_6 ,p_gpio_set_wake 
-0028 c06d007b beq patch1b_2 ,p_sadc_calibration 
-0029 2020235a branch assert 
+0000 c284002c bbit1 8 ,pf_patch_ext 
+0001 c000031e beq patch00_0 ,p_soft_reset 
+0002 c001003d beq patch00_2 ,p_main_loop 
+0003 c0080046 beq patch02_0 ,p_shutdown_radio 
+0004 c0088048 beq patch02_1 ,p_set_sync_on 
+0005 c00a0198 beq patch02_4 ,p_set_lemode 
+0006 c00a8132 beq patch02_5 ,p_rf_rx_enable 
+0007 c00b0051 beq patch02_6 ,p_calc_freq 
+0008 c00c0158 beq patch03_0 ,p_txon 
+0009 c00c815f beq patch03_1 ,p_set_tx_power 
+000a c00d0060 beq patch03_2 ,p_initialize_radio_cont 
+000b c0128297 beq patch04_5 ,p_lpm_sleep 
+000c c0138223 beq patch04_7 ,p_lpm_adjust_clk 
+000d c0340319 beq patch0d_0 ,p_mouse_cb_fuction 
+000e c034832b beq patch0d_1 ,p_mouse_load_device_info_check 
+000f c0350327 beq patch0d_2 ,p_mouse_default_init 
+0010 c03602dd beq patch0d_4 ,p_mouse_param_init 
+0011 c0370407 beq patch0d_6 ,p_mouse_start_work 
+0012 c037840c beq patch0d_7 ,p_mouse4_0_check_reconn_target 
+0013 c0398462 beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0014 c03a0283 beq patch0e_4 ,p_mouse_lpm_before_common 
+0015 c03d04d8 beq patch0f_2 ,p_mouse_motion 
+0016 c03d84b0 beq patch0f_3 ,p_mouse_dpi_process 
+0017 c03e04be beq patch0f_4 ,p_mouse_setting_dpi 
+0018 c03e84c0 beq patch0f_5 ,p_mouse_setting_sensor_type 
+0019 c03f8442 beq patch0f_7 ,p_mouse_3io6key_check 
+001a c0408498 beq patch10_1 ,p_mouse_init_sensor 
+001b c042033f beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+001c c042839c beq patch10_5 ,p_mouse_priority_bb_event 
+001d c0430258 beq patch10_6 ,p_mouse_le 
+001e c043837a beq patch10_7 ,p_mouse_bb_event_timer 
+001f c044039a beq patch11_0 ,p_mouse_start_discovery 
+0020 c045034f beq patch11_2 ,p_mouse_store_remote_bdaddr 
+0021 c045832d beq patch11_3 ,p_mouse_app_initflag_check 
+0022 c0470424 beq patch11_6 ,p_mouse_idle 
+0023 c0480485 beq patch12_0 ,p_mouse_check_select_device_by_switch 
+0024 c04a8458 beq patch12_5 ,p_mouse_24g_hibernate_set 
+0025 c04b046e beq patch12_6 ,p_mouse_24g_package_data 
+0026 c05880c2 beq patch16_1 ,p_app_init 
+0027 c06282bb beq patch18_5 ,p_otp_read_data 
+0028 c06a8277 beq patch1a_5 ,p_gpio_set_wake_by_current_state 
+0029 c06b0270 beq patch1a_6 ,p_gpio_set_wake 
+002a c06d0088 beq patch1b_2 ,p_sadc_calibration 
+002b 2020235a branch assert 
 
 pf_patch_ext:
-002a c00a01ab beq patch22_4 ,p_le_slave_match 
-002b c00d01ca beq patch23_2 ,p_le_got_first_packet_new 
-002c c01201ef beq patch24_4 ,p_le_receive_rxon 
-002d c01281d2 beq patch24_5 ,p_le_rx_dec 
-002e c01301d7 beq patch24_6 ,p_le_rx_nopayload 
-002f c01c81e9 beq patch27_1 ,p_le_parse 
-0030 c01d0225 beq patch27_2 ,p_le_parse_l2cap 
-0031 c0260221 beq patch29_4 ,p_le_adv_not_match 
-0032 c02681ed beq patch29_5 ,p_le_init_adv 
-0033 c04802b1 beq patch32_0 ,p_g24_reconn_dispatch 
-0034 c04902c8 beq patch32_2 ,p_g24_reconn_device_fail 
-0035 c04b044f beq patch32_6 ,p_g24_short_sleep 
-0036 c04d0133 beq patch33_2 ,p_mouse_g24_retransmit 
-0037 c04e8140 beq patch33_5 ,p_g24_transmit_hop_process 
-0038 c04f82e0 beq patch33_7 ,p_power_ctrl_start 
-0039 c17f8000 rtneq patch3f_7 
-003a 2020235a branch assert 
+002c c00a01b8 beq patch22_4 ,p_le_slave_match 
+002d c00d01d7 beq patch23_2 ,p_le_got_first_packet_new 
+002e c01201fc beq patch24_4 ,p_le_receive_rxon 
+002f c01281df beq patch24_5 ,p_le_rx_dec 
+0030 c01301e4 beq patch24_6 ,p_le_rx_nopayload 
+0031 c01c81f6 beq patch27_1 ,p_le_parse 
+0032 c01d0232 beq patch27_2 ,p_le_parse_l2cap 
+0033 c026022e beq patch29_4 ,p_le_adv_not_match 
+0034 c02681fa beq patch29_5 ,p_le_init_adv 
+0035 c04802be beq patch32_0 ,p_g24_reconn_dispatch 
+0036 c04902d2 beq patch32_2 ,p_g24_reconn_device_fail 
+0037 c04b044f beq patch32_6 ,p_g24_short_sleep 
+0038 c04d0140 beq patch33_2 ,p_mouse_g24_retransmit 
+0039 c04e814d beq patch33_5 ,p_g24_transmit_hop_process 
+003a c04f82ea beq patch33_7 ,p_power_ctrl_start 
+003b c17f8000 rtneq patch3f_7 
+003c 2020235a branch assert 
 
 p_main_loop:
-003b 20407552 call sp_calc_sequence_256 
-003c 20407448 call sp_calc_sequence_256_check 
-003d 20402a45 call le_advertising_dispatch 
-003e 2040202a call idle_dispatch 
-003f 204042ad call app_process_idle 
-0040 20402018 call connection_dispatch 
-0041 2040310f call g24_dispatch 
-0042 2040248c call lpm_dispatch 
-0043 2020003b branch p_main_loop 
+003d 20407552 call sp_calc_sequence_256 
+003e 20407448 call sp_calc_sequence_256_check 
+003f 20402a45 call le_advertising_dispatch 
+0040 2040202a call idle_dispatch 
+0041 204042ad call app_process_idle 
+0042 20402018 call connection_dispatch 
+0043 2040310f call g24_dispatch 
+0044 2040248c call lpm_dispatch 
+0045 2020003d branch p_main_loop 
 
 p_shutdown_radio:
-0044 70890000 jam 0 ,0x8900 
-0045 20202153 branch shutdown_radio + 1 
+0046 70890000 jam 0 ,0x8900 
+0047 20202153 branch shutdown_radio + 1 
 
 p_set_sync_on:
-0046 708a0f60 jam 0x60 ,0x8a0f 
-0047 708a10aa jam 0xaa ,0x8a10 
-0048 708a127a jam 0x7a ,0x8a12 
-0049 708a2500 jam 0x00 ,0x8a25 
-004a 708a2600 jam 0x00 ,0x8a26 
-004b 2000003c nop 60 
-004c 708a2020 jam 0x20 ,0x8a20 
-004d 708a23f5 jam 0xf5 ,0x8a23 
-004e 708a2412 jam 0x12 ,0x8a24 
-004f 708a2410 jam 0x10 ,0x8a24 
-0050 2000003c nop 60 
-0051 708a1260 jam 0x60 ,0x8a12 
-0052 708a23dd jam 0xdd ,0x8a23 
-0053 20600000 rtn 
+0048 708a0f60 jam 0x60 ,0x8a0f 
+0049 708a10aa jam 0xaa ,0x8a10 
+004a 708a127a jam 0x7a ,0x8a12 
+004b 708a2500 jam 0x00 ,0x8a25 
+004c 708a2600 jam 0x00 ,0x8a26 
+004d 2000003c nop 60 
+004e 708a2020 jam 0x20 ,0x8a20 
+004f 708a23f5 jam 0xf5 ,0x8a23 
+0050 20202169 branch set_sync_on_next 
+
+p_calc_freq:
+0051 58000960 setarg 2400 
+0052 9840fe00 iadd temp ,pdata 
+0053 1fe22200 copy pdata ,rega 
+0054 6848c099 fetcht 1 ,mem_fcomp_div 
+0055 18430400 rshift temp ,temp 
+0056 9846fc00 idiv temp 
+0057 20407d62 call wait_div_end 
+0058 1807fe00 quotient pdata 
+0059 1fec8e00 rshift8 pdata ,queue 
+005a 60f0890a storer queue ,1 ,0x890a 
+005b 67f08909 store 1 ,0x8909 
+005c 202021da branch calc_freq + 10 
+
+p_set_ck2rfpll:
+005d 37d98200 until null ,lpo_edge 
+005e 70813c58 jam 0x58 ,0x813c 
+005f 202023e2 branch lpm_write_wait 
 
 p_initialize_radio_cont:
-0054 7001bb00 jam 0 ,mem_le_testtype 
-0055 7001bc00 jam 0 ,mem_cmd_le_create_conn 
-0056 37d98200 until null ,lpo_edge 
-0057 7089460d jam 0x0d ,0x8946 
-0058 70896f10 jam 0x10 ,0x896f 
-0059 708a13cd jam 0xcd ,0x8a13 
-005a 708a0610 jam 0x10 ,0x8a06 
-005b 708a844a jam 0x4a ,0x8a84 
-005c 708a8540 jam 0x40 ,0x8a85 
-005d 708a16fe jam 0xfe ,0x8a16 
-005e 204000fa call p_set_otp_config 
-005f 204070d7 call wdt_set_disable 
-0060 37d98200 until null ,lpo_edge 
-0061 70813b5f jam 0x5f ,0x813b 
+0060 7001bb00 jam 0 ,mem_le_testtype 
+0061 7001bc00 jam 0 ,mem_cmd_le_create_conn 
 0062 37d98200 until null ,lpo_edge 
-0063 70813c88 jam 0x88 ,0x813c 
-0064 37d98200 until null ,lpo_edge 
-0065 6fe0c099 fetch 1 ,mem_fcomp_div 
-0066 c00800a5 beq xtal_16m ,p_initialize_radio_16m 
-0067 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-0068 1fe1fe04 or_into 0x04 ,pdata 
-0069 67f08a02 store 1 ,0x8a02 
-006a 70890f01 jam 0x01 ,0x890f 
-006b 708a8024 jam 0x24 ,0x8a80 
-006c 708a8162 jam 0x62 ,0x8a81 
-006d 58e61212 setarg 0xe61212 
-006e 67f18a73 store 3 ,0x8a73 
+0063 7089460d jam 0x0d ,0x8946 
+0064 70896f10 jam 0x10 ,0x896f 
+0065 708a13cd jam 0xcd ,0x8a13 
+0066 708a0610 jam 0x10 ,0x8a06 
+0067 708a844a jam 0x4a ,0x8a84 
+0068 708a8540 jam 0x40 ,0x8a85 
+0069 708a16fe jam 0xfe ,0x8a16 
+006a 20400107 call p_set_otp_config 
+006b 204070d7 call wdt_set_disable 
+006c 2455805d ncall p_set_ck2rfpll ,wake 
+006d 37d98200 until null ,lpo_edge 
+006e 70813b5f jam 0x5f ,0x813b 
+006f 37d98200 until null ,lpo_edge 
+0070 70813c88 jam 0x88 ,0x813c 
+0071 37d98200 until null ,lpo_edge 
+0072 6fe0c099 fetch 1 ,mem_fcomp_div 
+0073 c00800b2 beq xtal_16m ,p_initialize_radio_16m 
+0074 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0075 1fe1fe04 or_into 0x04 ,pdata 
+0076 67f08a02 store 1 ,0x8a02 
+0077 70890f01 jam 0x01 ,0x890f 
+0078 708a8024 jam 0x24 ,0x8a80 
+0079 708a8162 jam 0x62 ,0x8a81 
+007a 58e61212 setarg 0xe61212 
+007b 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-006f 708a8660 jam 0x60 ,0x8a86 
-0070 708a8b3b jam 0x3b ,0x8a8b 
-0071 20400097 call p_dpll_on 
-0072 70804300 jam 0 ,core_config 
-0073 70804205 jam clksel_dpll ,core_clksel 
-0074 58557474 setarg 0x557474 
-0075 67f18968 store 3 ,0x8968 
-0076 7089606e jam 0x6e ,0x8960 
-0077 2040015e call p_rx_dcoc 
-0078 20400189 call p_rfpll_aac_ghpc 
-0079 20400092 call p_set_xtal_cap 
-007a 7041480c jam system_clk_12m ,mem_system_clk 
+007c 708a8660 jam 0x60 ,0x8a86 
+007d 708a8b3b jam 0x3b ,0x8a8b 
+007e 204000a4 call p_dpll_on 
+007f 70804300 jam 0 ,core_config 
+0080 70804205 jam clksel_dpll ,core_clksel 
+0081 58557474 setarg 0x557474 
+0082 67f18968 store 3 ,0x8968 
+0083 7089606e jam 0x6e ,0x8960 
+0084 2040016b call p_rx_dcoc 
+0085 20400196 call p_rfpll_aac_ghpc 
+0086 2040009f call p_set_xtal_cap 
+0087 7041480c jam system_clk_12m ,mem_system_clk 
 
 p_sadc_calibration:
-007b 20758000 rtn wake 
-007c 708a0777 jam 0x77 ,core_gpadc_ctrl 
-007d 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
-007e 708a0b01 jam 0x01 ,core_gpadc_cfg3 
-007f 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-0080 67f080cd store 1 ,core_sadc_clkdiv 
-0081 20000bb8 nop 3000 
-0082 2040008b call p_sadc_read 
-0083 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-0084 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-0085 df200008 arg 8 ,loopcnt 
-0086 20406f58 call sadc_cal_read + 1 
-0087 6fe0c419 fetch 1 ,mem_spi_write_addr 
-0088 67e0c433 store 1 ,mem_adc_cal_c7 
-0089 6240c419 storer regb ,1 ,mem_spi_write_addr 
-008a 20600000 rtn 
+0088 20758000 rtn wake 
+0089 708a0777 jam 0x77 ,core_gpadc_ctrl 
+008a 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+008b 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+008c 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+008d 67f080cd store 1 ,core_sadc_clkdiv 
+008e 20000bb8 nop 3000 
+008f 20400098 call p_sadc_read 
+0090 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0091 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0092 df200008 arg 8 ,loopcnt 
+0093 20406f58 call sadc_cal_read + 1 
+0094 6fe0c419 fetch 1 ,mem_spi_write_addr 
+0095 67e0c433 store 1 ,mem_adc_cal_c7 
+0096 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0097 20600000 rtn 
 
 p_sadc_read:
-008b 7080cc03 jam 0x03 ,core_sadc_ctrl 
+0098 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-008c 6ff08129 fetch 1 ,core_perf_status 
-008d c302808c bbit0 saradc_done ,p_sadc_read_wait 
-008e 68590164 fetcht 2 ,core_sadc_data 
-008f 6049440a storet 2 ,mem_adc_current_value 
-0090 7080cc00 jam 0x00 ,core_sadc_ctrl 
-0091 20600000 rtn 
+0099 6ff08129 fetch 1 ,core_perf_status 
+009a c3028099 bbit0 saradc_done ,p_sadc_read_wait 
+009b 68590164 fetcht 2 ,core_sadc_data 
+009c 6049440a storet 2 ,mem_adc_current_value 
+009d 7080cc00 jam 0x00 ,core_sadc_ctrl 
+009e 20600000 rtn 
 
 p_set_xtal_cap:
-0092 20758000 rtn wake 
-0093 37d98200 until null ,lpo_edge 
-0094 6fe0c11c fetch 1 ,mem_xtal_c_sel 
-0095 67f0813a store 1 ,core_xtal_cap 
-0096 202023e2 branch lpm_write_wait 
+009f 20758000 rtn wake 
+00a0 37d98200 until null ,lpo_edge 
+00a1 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+
+p_set_xtal_cap_next:
+00a2 67f0813a store 1 ,core_xtal_cap 
+00a3 202023e2 branch lpm_write_wait 
 
 p_dpll_on:
-0097 6fe0c099 fetch 1 ,mem_fcomp_div 
-0098 c00c009d beq xtal_24m ,p_dpll_on_24m 
-0099 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-009a 1fe1fe06 or_into 0x06 ,pdata 
-009b 67f08a02 store 1 ,0x8a02 
-009c 708a05e0 jam 0xe0 ,0x8a05 
+00a4 6fe0c099 fetch 1 ,mem_fcomp_div 
+00a5 c00c00aa beq xtal_24m ,p_dpll_on_24m 
+00a6 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00a7 1fe1fe06 or_into 0x06 ,pdata 
+00a8 67f08a02 store 1 ,0x8a02 
+00a9 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-009d 708a00d8 jam 0xd8 ,0x8a00 
-009e 2000003c nop 60 
-009f 708a01a0 jam 0xa0 ,0x8a01 
-00a0 708a00df jam 0xdf ,0x8a00 
-00a1 708a01fa jam 0xfa ,0x8a01 
-00a2 20000014 nop 20 
-00a3 708a009f jam 0x9f ,0x8a00 
-00a4 20600000 rtn 
+00aa 708a00d8 jam 0xd8 ,0x8a00 
+00ab 2000003c nop 60 
+00ac 708a01a0 jam 0xa0 ,0x8a01 
+00ad 708a00df jam 0xdf ,0x8a00 
+00ae 708a01fa jam 0xfa ,0x8a01 
+00af 20000014 nop 20 
+00b0 708a009f jam 0x9f ,0x8a00 
+00b1 20600000 rtn 
 
 p_initialize_radio_16m:
-00a5 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
-00a6 1fe1fe06 or_into 0x06 ,pdata 
-00a7 67f08a02 store 1 ,0x8a02 
-00a8 70890f00 jam 0x00 ,0x890f 
-00a9 708a8023 jam 0x23 ,0x8a80 
-00aa 708a81b0 jam 0xb0 ,0x8a81 
-00ab 58e40909 setarg 0xe40909 
-00ac 67f18a73 store 3 ,0x8a73 
-00ad 708a762a jam 0x2a ,0x8a76 
-00ae 70890204 jam 0x04 ,0x8902 
-00af 2020006f branch p_initialize_radio2 
+00b2 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00b3 1fe1fe06 or_into 0x06 ,pdata 
+00b4 67f08a02 store 1 ,0x8a02 
+00b5 70890f00 jam 0x00 ,0x890f 
+00b6 708a8023 jam 0x23 ,0x8a80 
+00b7 708a81b0 jam 0xb0 ,0x8a81 
+00b8 58e40909 setarg 0xe40909 
+00b9 67f18a73 store 3 ,0x8a73 
+00ba 708a762a jam 0x2a ,0x8a76 
+00bb 70890204 jam 0x04 ,0x8902 
+00bc 2020007c branch p_initialize_radio2 
 
 p_mouse_setting_config:
-00b0 20758000 rtn wake 
-00b1 204035f0 call g24_transmit_init 
-00b2 2040325b call g24_chmap_param_init 
-00b3 204062aa call mouse_24g_send_time_long_wake 
-00b4 20205415 branch mouse_setting_config + 5 
+00bd 20758000 rtn wake 
+00be 204035f0 call g24_transmit_init 
+00bf 2040325b call g24_chmap_param_init 
+00c0 204062aa call mouse_24g_send_time_long_wake 
+00c1 20205415 branch mouse_setting_config + 5 
 
 p_app_init:
 
 p_mouse_init:
-00b5 20407396 call enable_authrom 
-00b6 204000b0 call p_mouse_setting_config 
-00b7 245580c0 ncall p_mouse_sensor_init_param_check ,wake 
-00b8 2455d589 ncall mouse_gpio_init ,wake 
-00b9 20405949 call mouse_init_sunt 
-00ba 20758000 rtn wake 
-00bb 20405747 call mouse_setting_sensor_type 
-00bc 20405f37 call mouse_drawing_optima_init 
-00bd 204053ec call mouse_cb_fuction 
-00be 204059ed call mouse_sensor_powerdown 
-00bf 202053e8 branch mouse_init_wireless 
+00c2 20407396 call enable_authrom 
+00c3 204000bd call p_mouse_setting_config 
+00c4 245580cd ncall p_mouse_sensor_init_param_check ,wake 
+00c5 2455d589 ncall mouse_gpio_init ,wake 
+00c6 20405949 call mouse_init_sunt 
+00c7 20758000 rtn wake 
+00c8 20405747 call mouse_setting_sensor_type 
+00c9 20405f37 call mouse_drawing_optima_init 
+00ca 204053ec call mouse_cb_fuction 
+00cb 204059ed call mouse_sensor_powerdown 
+00cc 202053e8 branch mouse_init_wireless 
 
 p_mouse_sensor_init_param_check:
-00c0 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
-00c1 58001415 setarg 0x1415 
-00c2 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00c3 5800130c setarg 0x130c 
-00c4 67e1464a store 2 ,mem_whee_a_data_gpio 
-00c5 204000e0 call p_sensor_reg_reset 
+00cd 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
+00ce 58001415 setarg 0x1415 
+00cf 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00d0 5800130c setarg 0x130c 
+00d1 67e1464a store 2 ,mem_whee_a_data_gpio 
+00d2 204000ed call p_sensor_reg_reset 
 
 p_mouse_sensor_init_param_check_next:
-00c6 204055f6 call mouse_sensor_spi_init 
-00c7 20002ee0 nop 12000 
+00d3 204055f6 call mouse_sensor_spi_init 
+00d4 20002ee0 nop 12000 
 
 p_mouse_read_sensor_id:
-00c8 58000000 setarg pan_reg_pid_l 
-00c9 204069e5 call twspi_read 
-00ca 67e0c859 store 1 ,mem_sensor_id1 
-00cb c01800d5 beq p32xx_id1 ,p_mouse_sensor_id_read_success 
-00cc c01880d5 beq p3065_id1 ,p_mouse_sensor_id_read_success 
-00cd c02c00d5 beq pka8g2_id1 ,p_mouse_sensor_id_read_success 
-00ce 20405955 call mouse_twspi_reset 
-00cf 20001bbc nop 7100 
-00d0 6fe0cb1e fetch 1 ,mem_sensor_read_count 
-00d1 1fe0fe01 increase 1 ,pdata 
-00d2 67e0cb1e store 1 ,mem_sensor_read_count 
-00d3 c00400d6 beq 8 ,p_mouse_sensor_spi_init_param_change 
-00d4 202000c8 branch p_mouse_read_sensor_id 
+00d5 58000000 setarg pan_reg_pid_l 
+00d6 204069e5 call twspi_read 
+00d7 67e0c859 store 1 ,mem_sensor_id1 
+00d8 c01800e2 beq p32xx_id1 ,p_mouse_sensor_id_read_success 
+00d9 c01880e2 beq p3065_id1 ,p_mouse_sensor_id_read_success 
+00da c02c00e2 beq pka8g2_id1 ,p_mouse_sensor_id_read_success 
+00db 20405955 call mouse_twspi_reset 
+00dc 20001bbc nop 7100 
+00dd 6fe0cb1e fetch 1 ,mem_sensor_read_count 
+00de 1fe0fe01 increase 1 ,pdata 
+00df 67e0cb1e store 1 ,mem_sensor_read_count 
+00e0 c00400e3 beq 8 ,p_mouse_sensor_spi_init_param_change 
+00e1 202000d5 branch p_mouse_read_sensor_id 
 
 p_mouse_sensor_id_read_success:
-00d5 20600000 rtn 
+00e2 20600000 rtn 
 
 p_mouse_sensor_spi_init_param_change:
-00d6 704b1e00 jam 0 ,mem_sensor_read_count 
-00d7 6fe0cb1f fetch 1 ,mem_sensor_param_change_count 
-00d8 1fe0fe01 increase 1 ,pdata 
-00d9 1fe17e03 and pdata ,0x03 ,pdata 
-00da 67e0cb1f store 1 ,mem_sensor_param_change_count 
-00db c00000e4 beq 0 ,p_mouse_sensor_angle_12clk 
-00dc c00080eb beq 1 ,p_mouse_sensor_angle_9clk 
-00dd c00100f0 beq 2 ,p_mouse_sensor_angle_6clk 
-00de c00180f5 beq 3 ,p_mouse_sensor_angle_3clk 
-00df 20600000 rtn 
+00e3 704b1e00 jam 0 ,mem_sensor_read_count 
+00e4 6fe0cb1f fetch 1 ,mem_sensor_param_change_count 
+00e5 1fe0fe01 increase 1 ,pdata 
+00e6 1fe17e03 and pdata ,0x03 ,pdata 
+00e7 67e0cb1f store 1 ,mem_sensor_param_change_count 
+00e8 c00000f1 beq 0 ,p_mouse_sensor_angle_12clk 
+00e9 c00080f8 beq 1 ,p_mouse_sensor_angle_9clk 
+00ea c00100fd beq 2 ,p_mouse_sensor_angle_6clk 
+00eb c0018102 beq 3 ,p_mouse_sensor_angle_3clk 
+00ec 20600000 rtn 
 
 p_sensor_reg_reset:
-00e0 70807c00 jam 0 ,0x807c 
-00e1 58000000 setarg 0 
-00e2 67f180d7 store 3 ,0x80d7 
-00e3 20600000 rtn 
+00ed 70807c00 jam 0 ,0x807c 
+00ee 58000000 setarg 0 
+00ef 67f180d7 store 3 ,0x80d7 
+00f0 20600000 rtn 
 
 p_mouse_sensor_angle_12clk:
-00e4 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
-00e5 58001415 setarg 0x1415 
-00e6 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00e7 5800130c setarg 0x130c 
+00f1 70495802 jam mouse_12clk_angle ,mem_config_sensor_angle 
+00f2 58001415 setarg 0x1415 
+00f3 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00f4 5800130c setarg 0x130c 
 
 p_mouse_sensor_param_store:
-00e8 67e1464a store 2 ,mem_whee_a_data_gpio 
-00e9 204000e0 call p_sensor_reg_reset 
-00ea 202000c6 branch p_mouse_sensor_init_param_check_next 
+00f5 67e1464a store 2 ,mem_whee_a_data_gpio 
+00f6 204000ed call p_sensor_reg_reset 
+00f7 202000d3 branch p_mouse_sensor_init_param_check_next 
 
 p_mouse_sensor_angle_9clk:
-00eb 70495801 jam mouse_9clk_angle ,mem_config_sensor_angle 
-00ec 58001315 setarg 0x1315 
-00ed 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00ee 5800140c setarg 0x140c 
-00ef 202000e8 branch p_mouse_sensor_param_store 
+00f8 70495801 jam mouse_9clk_angle ,mem_config_sensor_angle 
+00f9 58001315 setarg 0x1315 
+00fa 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+00fb 5800140c setarg 0x140c 
+00fc 202000f5 branch p_mouse_sensor_param_store 
 
 p_mouse_sensor_angle_6clk:
-00f0 70495800 jam mouse_6clk_angle ,mem_config_sensor_angle 
-00f1 58000c15 setarg 0x0c15 
-00f2 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00f3 58001314 setarg 0x1314 
-00f4 202000e8 branch p_mouse_sensor_param_store 
+00fd 70495800 jam mouse_6clk_angle ,mem_config_sensor_angle 
+00fe 58000c15 setarg 0x0c15 
+00ff 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+0100 58001314 setarg 0x1314 
+0101 202000f5 branch p_mouse_sensor_param_store 
 
 p_mouse_sensor_angle_3clk:
-00f5 70495803 jam mouse_3clk_angle ,mem_config_sensor_angle 
-00f6 58001314 setarg 0x1314 
-00f7 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
-00f8 5800150c setarg 0x150c 
-00f9 202000e8 branch p_mouse_sensor_param_store 
+0102 70495803 jam mouse_3clk_angle ,mem_config_sensor_angle 
+0103 58001314 setarg 0x1314 
+0104 67e1464c store 2 ,mem_mouse_sensor_sclk_gpio 
+0105 5800150c setarg 0x150c 
+0106 202000f5 branch p_mouse_sensor_param_store 
 
 p_set_otp_config:
-00fa 2035810c branch p_set_otp_config_wake ,wake 
-00fb 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00fc 207a0000 rtn blank 
-00fd 37d98200 until null ,lpo_edge 
-00fe 6ff08136 fetch 1 ,0x8136 
-00ff 1fe17ef0 and pdata ,0xf0 ,pdata 
-0100 6848820d fetcht 1 ,mem_otp_core_ldo 
-0101 9841fe00 ior temp ,pdata 
-0102 1fe0fffd increase -3 ,pdata 
-0103 67f08136 store 1 ,0x8136 
-0104 37d98200 until null ,lpo_edge 
-0105 6ff08138 fetch 1 ,0x8138 
-0106 1fe17e07 and pdata ,0x7 ,pdata 
-0107 6848820e fetcht 1 ,mem_otp_verf_bg 
-0108 18498400 lshift3 temp ,temp 
-0109 9841fe00 ior temp ,pdata 
-010a 67f08138 store 1 ,0x8138 
-010b 37d98200 until null ,lpo_edge 
+0107 20358119 branch p_set_otp_config_wake ,wake 
+0108 6fe2020d fetch 4 ,mem_otp_core_ldo 
+0109 207a0000 rtn blank 
+010a 37d98200 until null ,lpo_edge 
+010b 6ff08136 fetch 1 ,0x8136 
+010c 1fe17ef0 and pdata ,0xf0 ,pdata 
+010d 6848820d fetcht 1 ,mem_otp_core_ldo 
+010e 9841fe00 ior temp ,pdata 
+010f 1fe0fffd increase -3 ,pdata 
+0110 67f08136 store 1 ,0x8136 
+0111 37d98200 until null ,lpo_edge 
+0112 6ff08138 fetch 1 ,0x8138 
+0113 1fe17e07 and pdata ,0x7 ,pdata 
+0114 6848820e fetcht 1 ,mem_otp_verf_bg 
+0115 18498400 lshift3 temp ,temp 
+0116 9841fe00 ior temp ,pdata 
+0117 67f08138 store 1 ,0x8138 
+0118 37d98200 until null ,lpo_edge 
 
 p_set_otp_config_wake:
-010c 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-010d 207a0000 rtn blank 
-010e 67e1020f store 2 ,mem_otp_charge_pump 
+0119 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+011a 207a0000 rtn blank 
+011b 67e1020f store 2 ,mem_otp_charge_pump 
 
 p_set_otp_config2:
-010f 6ff08acb fetch 1 ,0x8acb 
-0110 1fe17ef0 and pdata ,0xf0 ,pdata 
-0111 6848820f fetcht 1 ,mem_otp_charge_pump 
-0112 6048c15b storet 1 ,mem_otp_charge_pump_x 
-0113 9841fe00 ior temp ,pdata 
-0114 67f08acb store 1 ,0x8acb 
-0115 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-0116 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-0117 2feffe03 isolate1 3 ,pdata 
-0118 6ff08a06 fetch 1 ,0x8a06 
-0119 7920fe07 setflag true ,7 ,pdata 
-011a 67f08a06 store 1 ,0x8a06 
-011b 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-011c 1fe10407 and pdata ,7 ,temp 
-011d 18520400 lshift4 temp ,temp 
-011e 18438400 lshift temp ,temp 
-011f 6048c438 storet 1 ,mem_ring_ibias_trim 
-0120 6ff08a02 fetch 1 ,0x8a02 
-0121 1fe17e1f and pdata ,0x1f ,pdata 
-0122 9841fe00 ior temp ,pdata 
-0123 67f08a02 store 1 ,0x8a02 
-0124 20600000 rtn 
+011c 6ff08acb fetch 1 ,0x8acb 
+011d 1fe17ef0 and pdata ,0xf0 ,pdata 
+011e 6848820f fetcht 1 ,mem_otp_charge_pump 
+011f 6048c15b storet 1 ,mem_otp_charge_pump_x 
+0120 9841fe00 ior temp ,pdata 
+0121 67f08acb store 1 ,0x8acb 
+0122 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+0123 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+0124 2feffe03 isolate1 3 ,pdata 
+0125 6ff08a06 fetch 1 ,0x8a06 
+0126 7920fe07 setflag true ,7 ,pdata 
+0127 67f08a06 store 1 ,0x8a06 
+0128 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+0129 1fe10407 and pdata ,7 ,temp 
+012a 18520400 lshift4 temp ,temp 
+012b 18438400 lshift temp ,temp 
+012c 6048c438 storet 1 ,mem_ring_ibias_trim 
+012d 6ff08a02 fetch 1 ,0x8a02 
+012e 1fe17e1f and pdata ,0x1f ,pdata 
+012f 9841fe00 ior temp ,pdata 
+0130 67f08a02 store 1 ,0x8a02 
+0131 20600000 rtn 
 
 p_rf_rx_enable:
-0125 2040686f call rf_debug_rx_gpio_high 
-0126 204021ba call rf_rx_agc_set 
-0127 18002a08 force 8 ,radio_ctrl 
-0128 18002a00 force 0 ,radio_ctrl 
-0129 580aaada setarg 0x0aaada 
-012a 67f18a0f store 3 ,0x8a0f 
-012b 708a2540 jam 0x40 ,0x8a25 
-012c 708a2610 jam 0x10 ,0x8a26 
-012d 2000003c nop 60 
-012e 708a01fb jam 0xfb ,0x8a01 
-012f 708a25ff jam 0xff ,0x8a25 
-0130 708a2630 jam 0x30 ,0x8a26 
-0131 708a16fe jam 0xfe ,0x8a16 
-0132 202021b4 branch rf_rx_enable + 14 
+0132 2040686f call rf_debug_rx_gpio_high 
+0133 204021ba call rf_rx_agc_set 
+0134 18002a08 force 8 ,radio_ctrl 
+0135 18002a00 force 0 ,radio_ctrl 
+0136 580aaada setarg 0x0aaada 
+0137 67f18a0f store 3 ,0x8a0f 
+0138 708a2540 jam 0x40 ,0x8a25 
+0139 708a2610 jam 0x10 ,0x8a26 
+013a 2000003c nop 60 
+013b 708a01fb jam 0xfb ,0x8a01 
+013c 708a25ff jam 0xff ,0x8a25 
+013d 708a2630 jam 0x30 ,0x8a26 
+013e 708a16fe jam 0xfe ,0x8a16 
+013f 202021b4 branch rf_rx_enable + 14 
 
 p_mouse_g24_retransmit:
-0133 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
-0134 247a0000 nrtn blank 
-0135 20400138 call p_mouse_retransmit_select_device_by_pb_button 
-0136 2040013b call p_mouse_select_device_by_dpi_button_once 
-0137 20203662 branch g24_retransmit0 
+0140 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
+0141 247a0000 nrtn blank 
+0142 20400145 call p_mouse_retransmit_select_device_by_pb_button 
+0143 20400148 call p_mouse_select_device_by_dpi_button_once 
+0144 20203662 branch g24_retransmit0 
 
 p_mouse_retransmit_select_device_by_pb_button:
-0138 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
-0139 c17f8000 rtneq gpio_disable 
-013a 20205e78 branch mouse_retransmit_select_device_by_pb_button 
+0145 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
+0146 c17f8000 rtneq gpio_disable 
+0147 20205e78 branch mouse_retransmit_select_device_by_pb_button 
 
 p_mouse_select_device_by_dpi_button_once:
-013b d8e0000c arg 12 ,queue 
-013c 20407cef call timer_check 
-013d 247a0000 nrtn blank 
-013e 20400430 call p_mouse_dpi_check_retransmit 
-013f 20206102 branch mouse_g24_retransmit_event_set 
+0148 d8e0000c arg 12 ,queue 
+0149 20407cef call timer_check 
+014a 247a0000 nrtn blank 
+014b 2040042e call p_mouse_dpi_check_retransmit 
+014c 20206102 branch mouse_g24_retransmit_event_set 
 
 p_g24_transmit_hop_process:
-0140 6848c601 fetcht 1 ,mem_24g_retry 
-0141 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
-0142 98467c00 isub temp ,null 
-0143 24210145 nbranch p_g24_tx_fast_hop ,positive 
-0144 20203681 branch g24_transmit_hop_process + 5 
+014d 6848c601 fetcht 1 ,mem_24g_retry 
+014e 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
+014f 98467c00 isub temp ,null 
+0150 24210152 nbranch p_g24_tx_fast_hop ,positive 
+0151 20203681 branch g24_transmit_hop_process + 5 
 
 p_g24_tx_fast_hop:
-0145 6fe2458f fetch 4 ,mem_24g_addr 
-0146 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-0147 98467c00 isub temp ,null 
-0148 2022b222 branch g24_ch ,zero 
-0149 20400305 call p_power_ctrl_txpower_incrs 
-014a 2020369b branch g24_tx_fast_hop + 1 
+0152 6fe2458f fetch 4 ,mem_24g_addr 
+0153 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+0154 98467c00 isub temp ,null 
+0155 2022b222 branch g24_ch ,zero 
+0156 2040030f call p_power_ctrl_txpower_incrs 
+0157 2020369b branch g24_tx_fast_hop + 1 
 
 p_txon:
-014b 580aaa7e setarg 0x0aaa7e 
-014c 67f18a0f store 3 ,0x8a0f 
-014d 2000003c nop 60 
-014e 708a2500 jam 0x00 ,0x8a25 
-014f 708a260d jam 0x0d ,0x8a26 
-0150 708a16f6 jam 0xf6 ,0x8a16 
-0151 20202203 branch txon + 7 
+0158 580aaa7e setarg 0x0aaa7e 
+0159 67f18a0f store 3 ,0x8a0f 
+015a 2000003c nop 60 
+015b 708a2500 jam 0x00 ,0x8a25 
+015c 708a260d jam 0x0d ,0x8a26 
+015d 708a16f6 jam 0xf6 ,0x8a16 
+015e 20202203 branch txon + 7 
 
 p_set_tx_power:
-0152 6fe0c141 fetch 1 ,mem_tx_power 
-0153 c0032225 beq tx_power_6db ,set_tx_power_7db 
-0154 c04f015b beq tx_power_f30db ,p_set_tx_power_f30db 
-0155 c0550157 beq tx_power_factory ,p_set_tx_power_factory 
-0156 2020220e branch set_tx_power + 2 
+015f 6fe0c141 fetch 1 ,mem_tx_power 
+0160 c0032225 beq tx_power_6db ,set_tx_power_7db 
+0161 c04f0168 beq tx_power_f30db ,p_set_tx_power_f30db 
+0162 c0550164 beq tx_power_factory ,p_set_tx_power_factory 
+0163 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_factory:
-0157 708a1417 jam 0x17 ,0x8a14 
-0158 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
+0164 708a1417 jam 0x17 ,0x8a14 
+0165 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
 
 p_mouse_tx_power_set:
-0159 67f18a60 store 3 ,0x8a60 
-015a 2020221a branch set_tx_power_8a63_28 
+0166 67f18a60 store 3 ,0x8a60 
+0167 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f30db:
-015b 708a1417 jam 0x17 ,0x8a14 
-015c 58250300 setarg 0x250300 
-015d 20200159 branch p_mouse_tx_power_set 
+0168 708a1417 jam 0x17 ,0x8a14 
+0169 58250300 setarg 0x250300 
+016a 20200166 branch p_mouse_tx_power_set 
 
 p_rx_dcoc:
-015e 20758000 rtn wake 
-015f 20402160 call set_sync_on 
-0160 d8400027 arg 39 ,temp 
-0161 2040216f call set_freq_rx 
-0162 204021a6 call rf_rx_enable 
-0163 708a257f jam 0x7f ,0x8a25 
-0164 708a301a jam 0x1a ,0x8a30 
-0165 708a3178 jam 0x78 ,0x8a31 
-0166 708a8fb2 jam 0xb2 ,0x8a8f 
-0167 708ac200 jam 0 ,0x8ac2 
-0168 708ac300 jam 0 ,0x8ac3 
-0169 d8e00006 arg 6 ,queue 
-016a 2040017b call p_rx_dcoc_avg 
-016b 2a2ffe0d isolate1 13 ,rega 
-016c 2040211d call qset_start 
-016d 2a4ffe0d isolate1 13 ,regb 
-016e 2040211e call qset_p 
-016f d8e00005 arg 5 ,queue 
+016b 20758000 rtn wake 
+016c 20402160 call set_sync_on 
+016d d8400027 arg 39 ,temp 
+016e 2040216f call set_freq_rx 
+016f 204021a6 call rf_rx_enable 
+0170 708a257f jam 0x7f ,0x8a25 
+0171 708a301a jam 0x1a ,0x8a30 
+0172 708a3178 jam 0x78 ,0x8a31 
+0173 708a8fb2 jam 0xb2 ,0x8a8f 
+0174 708ac200 jam 0 ,0x8ac2 
+0175 708ac300 jam 0 ,0x8ac3 
+0176 d8e00006 arg 6 ,queue 
+0177 20400188 call p_rx_dcoc_avg 
+0178 2a2ffe0d isolate1 13 ,rega 
+0179 2040211d call qset_start 
+017a 2a4ffe0d isolate1 13 ,regb 
+017b 2040211e call qset_p 
+017c d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-0170 2040211c call qset1_p 
-0171 2040211e call qset_p 
-0172 2040017b call p_rx_dcoc_avg 
-0173 d8a08ac2 arg 0x8ac2 ,contw 
-0174 1a31fe00 rshift4 rega ,pdata 
-0175 20402117 call qsetxor 
-0176 1a51fe00 rshift4 regb ,pdata 
-0177 20402117 call qsetxor 
-0178 18e08fff increase -1 ,queue 
-0179 20210170 branch p_rx_dcoc_loop2 ,positive 
-017a 2020214f branch rx_dcoc_loop2 + 10 
+017d 2040211c call qset1_p 
+017e 2040211e call qset_p 
+017f 20400188 call p_rx_dcoc_avg 
+0180 d8a08ac2 arg 0x8ac2 ,contw 
+0181 1a31fe00 rshift4 rega ,pdata 
+0182 20402117 call qsetxor 
+0183 1a51fe00 rshift4 regb ,pdata 
+0184 20402117 call qsetxor 
+0185 18e08fff increase -1 ,queue 
+0186 2021017d branch p_rx_dcoc_loop2 ,positive 
+0187 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-017b 2000003c nop 60 
-017c 58000f00 setarg mem_dcoc_buf 
-017d 67f10982 store 2 ,0x8982 
-017e 58000ff0 setarg mem_dcoc_buf_end 
-017f 67f10984 store 2 ,0x8984 
-0180 70898109 jam 0x9 ,0x8981 
-0181 70898103 jam 0x3 ,0x8981 
-0182 70898006 jam 0x6 ,0x8980 
-0183 2000003c nop 60 
-0184 da200000 arg 0 ,rega 
-0185 da400000 arg 0 ,regb 
-0186 df200010 arg 16 ,loopcnt 
-0187 d8c00f00 arg mem_dcoc_buf ,contr 
-0188 2020212d branch rx_dcoc_loop 
+0188 2000003c nop 60 
+0189 58000f00 setarg mem_dcoc_buf 
+018a 67f10982 store 2 ,0x8982 
+018b 58000ff0 setarg mem_dcoc_buf_end 
+018c 67f10984 store 2 ,0x8984 
+018d 70898109 jam 0x9 ,0x8981 
+018e 70898103 jam 0x3 ,0x8981 
+018f 70898006 jam 0x6 ,0x8980 
+0190 2000003c nop 60 
+0191 da200000 arg 0 ,rega 
+0192 da400000 arg 0 ,regb 
+0193 df200010 arg 16 ,loopcnt 
+0194 d8c00f00 arg mem_dcoc_buf ,contr 
+0195 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-0189 20758000 rtn wake 
-018a 20202272 branch rfpll_aac_ghpc + 1 
+0196 20758000 rtn wake 
+0197 20202272 branch rfpll_aac_ghpc + 1 
 
 p_set_lemode:
-018b 708a8211 jam 0x11 ,0x8a82 
-018c 708a8d12 jam 0x12 ,0x8a8d 
-018d 708a8e0a jam 0x0a ,0x8a8e 
-018e 6fe0c099 fetch 1 ,mem_fcomp_div 
-018f c00801a4 beq xtal_16m ,p_set_lemode_2m_16m 
-0190 58005762 setarg 0x5762 
-0191 67f10907 store 2 ,0x8907 
+0198 708a8211 jam 0x11 ,0x8a82 
+0199 708a8d12 jam 0x12 ,0x8a8d 
+019a 708a8e0a jam 0x0a ,0x8a8e 
+019b 6fe0c099 fetch 1 ,mem_fcomp_div 
+019c c00801b1 beq xtal_16m ,p_set_lemode_2m_16m 
+019d 58005762 setarg 0x5762 
+019e 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-0192 70890103 jam 3 ,0x8901 
-0193 70893003 jam 3 ,0x8930 
-0194 c6168000 rtnmark1 mark_ble_2m 
-0195 70890101 jam 1 ,0x8901 
-0196 708a8207 jam 0x07 ,0x8a82 
-0197 708a8d44 jam 0x44 ,0x8a8d 
-0198 708a8e0a jam 0x0a ,0x8a8e 
-0199 6fe0c099 fetch 1 ,mem_fcomp_div 
-019a c00801a1 beq xtal_16m ,p_set_lemode_1m_16m 
-019b 58002bb1 setarg 0x2bb1 
-019c 67f10907 store 2 ,0x8907 
+019f 70890103 jam 3 ,0x8901 
+01a0 70893003 jam 3 ,0x8930 
+01a1 c6168000 rtnmark1 mark_ble_2m 
+01a2 70890101 jam 1 ,0x8901 
+01a3 708a8207 jam 0x07 ,0x8a82 
+01a4 708a8d44 jam 0x44 ,0x8a8d 
+01a5 708a8e0a jam 0x0a ,0x8a8e 
+01a6 6fe0c099 fetch 1 ,mem_fcomp_div 
+01a7 c00801ae beq xtal_16m ,p_set_lemode_1m_16m 
+01a8 58002bb1 setarg 0x2bb1 
+01a9 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-019d c6978000 rtnmark0 mark_ble_lr 
-019e 70893024 jam 0x24 ,0x8930 
-019f 70890105 jam 5 ,0x8901 
-01a0 20600000 rtn 
+01aa c6978000 rtnmark0 mark_ble_lr 
+01ab 70893024 jam 0x24 ,0x8930 
+01ac 70890105 jam 5 ,0x8901 
+01ad 20600000 rtn 
 
 p_set_lemode_1m_16m:
-01a1 58004189 setarg 0x4189 
-01a2 67f10907 store 2 ,0x8907 
-01a3 2020019d branch p_set_lemode_1m 
+01ae 58004189 setarg 0x4189 
+01af 67f10907 store 2 ,0x8907 
+01b0 202001aa branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-01a4 58008312 setarg 0x8312 
-01a5 67f10907 store 2 ,0x8907 
-01a6 20200192 branch p_set_lemode_2m 
+01b1 58008312 setarg 0x8312 
+01b2 67f10907 store 2 ,0x8907 
+01b3 2020019f branch p_set_lemode_2m 
 
 p_le_check_retransmit_timesout:
-01a7 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01a8 da600100 arg 256 ,regc 
-01a9 9a60fe00 iadd regc ,pdata 
-01aa 20600000 rtn 
+01b4 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+01b5 da600100 arg 256 ,regc 
+01b6 9a60fe00 iadd regc ,pdata 
+01b7 20600000 rtn 
 
 p_le_slave_match:
-01ab 204001ad call p_le_check_retransmit 
-01ac 20202563 branch le_slave_match + 1 
+01b8 204001ba call p_le_check_retransmit 
+01b9 20202563 branch le_slave_match + 1 
 
 p_le_check_retransmit:
-01ad 6fe0cbfa fetch 1 ,mem_le_conn_first_rcv 
-01ae 207a0000 rtn blank 
-01af 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-01b0 247a0000 nrtn blank 
-01b1 6848cbfa fetcht 1 ,mem_le_conn_first_rcv 
-01b2 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01b3 98467c00 isub temp ,null 
-01b4 244101a7 ncall p_le_check_retransmit_timesout ,positive 
-01b5 98467e00 isub temp ,pdata 
-01b6 1fe67c64 sub pdata ,100 ,null 
-01b7 202101bf branch p_le_check_retransmit_count ,positive 
-01b8 6fe0cbfc fetch 1 ,mem_le_retransmit_cnt 
-01b9 1fe67c14 sub pdata ,20 ,null 
-01ba 244101bd ncall p_app_ble_disconnect ,positive 
-01bb 704bfb01 jam 1 ,mem_le_check_retransmit_flag 
-01bc 20600000 rtn 
+01ba 6fe0cbfa fetch 1 ,mem_le_conn_first_rcv 
+01bb 207a0000 rtn blank 
+01bc 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
+01bd 247a0000 nrtn blank 
+01be 6848cbfa fetcht 1 ,mem_le_conn_first_rcv 
+01bf 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+01c0 98467c00 isub temp ,null 
+01c1 244101b4 ncall p_le_check_retransmit_timesout ,positive 
+01c2 98467e00 isub temp ,pdata 
+01c3 1fe67c64 sub pdata ,100 ,null 
+01c4 202101cc branch p_le_check_retransmit_count ,positive 
+01c5 6fe0cbfc fetch 1 ,mem_le_retransmit_cnt 
+01c6 1fe67c14 sub pdata ,20 ,null 
+01c7 244101ca ncall p_app_ble_disconnect ,positive 
+01c8 704bfb01 jam 1 ,mem_le_check_retransmit_flag 
+01c9 20600000 rtn 
 
 p_app_ble_disconnect:
-01bd 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
-01be 2020431f branch app_ble_disconnect 
+01ca 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
+01cb 2020431f branch app_ble_disconnect 
 
 p_le_check_retransmit_count:
-01bf 6848817f fetcht 1 ,mem_le_arq 
-01c0 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
-01c1 1fe37e00 rshift pdata ,pdata 
-01c2 9842fe00 ixor temp ,pdata 
-01c3 2feffe02 isolate1 nesn ,pdata 
-01c4 58000000 setarg 0 
-01c5 6848cbfc fetcht 1 ,mem_le_retransmit_cnt 
-01c6 7920fe00 setflag true ,0 ,pdata 
-01c7 98408400 iadd temp ,temp 
-01c8 6048cbfc storet 1 ,mem_le_retransmit_cnt 
-01c9 20600000 rtn 
+01cc 6848817f fetcht 1 ,mem_le_arq 
+01cd 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
+01ce 1fe37e00 rshift pdata ,pdata 
+01cf 9842fe00 ixor temp ,pdata 
+01d0 2feffe02 isolate1 nesn ,pdata 
+01d1 58000000 setarg 0 
+01d2 6848cbfc fetcht 1 ,mem_le_retransmit_cnt 
+01d3 7920fe00 setflag true ,0 ,pdata 
+01d4 98408400 iadd temp ,temp 
+01d5 6048cbfc storet 1 ,mem_le_retransmit_cnt 
+01d6 20600000 rtn 
 
 p_le_got_first_packet_new:
-01ca 6fe08005 fetch 1 ,mem_le_conn_rcv 
-01cb 1fe0fe01 increase 1 ,pdata 
-01cc 67e08005 store 1 ,mem_le_conn_rcv 
-01cd 243681d1 nbranch p_le_got_first_packet_new + 7 ,match 
-01ce 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-01cf 1fe0fe01 increase 1 ,pdata 
-01d0 67e0cbf9 store 1 ,mem_le_conn_rcv_new 
-01d1 2020259b branch le_got_first_packet + 4 
+01d7 6fe08005 fetch 1 ,mem_le_conn_rcv 
+01d8 1fe0fe01 increase 1 ,pdata 
+01d9 67e08005 store 1 ,mem_le_conn_rcv 
+01da 243681de nbranch p_le_got_first_packet_new + 7 ,match 
+01db 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+01dc 1fe0fe01 increase 1 ,pdata 
+01dd 67e0cbf9 store 1 ,mem_le_conn_rcv_new 
+01de 2020259b branch le_got_first_packet + 4 
 
 p_le_rx_dec:
-01d2 2040281c call le_check_retransmit 
-01d3 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
-01d4 1a20a3fc increase -4 ,rega 
-01d5 242126fa nbranch le_crc_fail_consecutive ,positive 
-01d6 2020268e branch le_rx_dec + 6 
+01df 2040281c call le_check_retransmit 
+01e0 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
+01e1 1a20a3fc increase -4 ,rega 
+01e2 242126fa nbranch le_crc_fail_consecutive ,positive 
+01e3 2020268e branch le_rx_dec + 6 
 
 p_le_rx_nopayload:
-01d7 09800018 parse demod ,bucket ,24 
-01d8 1fef7e00 rshift32 pdata ,pdata 
-01d9 1ff17e00 rshift16 pdata ,pdata 
-01da e7e18005 istore 3 ,contw 
-01db 78287c00 enable swfine 
-01dc 2040270d call le_set_until_tx_timer 
-01dd 202326f6 branch le_crc_fail ,crc_failed 
-01de c59926af bmark0 mark_ble_encryption ,le_rx_match 
-01df 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
-01e0 203a26af branch le_rx_match ,blank 
-01e1 1fe0fffc increase -4 ,pdata 
-01e2 67e0804d store 1 ,mem_le_rxbuf_data_length 
-01e3 204072cb call wait_ccm_done 
-01e4 6ff08108 fetch 1 ,core_misc_status 
-01e5 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
-01e6 1800700c force regidx_result ,regext_index 
-01e7 65e20154 storer regext ,4 ,mem_le_peer_mic 
-01e8 202026af branch le_rx_match 
+01e4 09800018 parse demod ,bucket ,24 
+01e5 1fef7e00 rshift32 pdata ,pdata 
+01e6 1ff17e00 rshift16 pdata ,pdata 
+01e7 e7e18005 istore 3 ,contw 
+01e8 78287c00 enable swfine 
+01e9 2040270d call le_set_until_tx_timer 
+01ea 202326f6 branch le_crc_fail ,crc_failed 
+01eb c59926af bmark0 mark_ble_encryption ,le_rx_match 
+01ec 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
+01ed 203a26af branch le_rx_match ,blank 
+01ee 1fe0fffc increase -4 ,pdata 
+01ef 67e0804d store 1 ,mem_le_rxbuf_data_length 
+01f0 204072cb call wait_ccm_done 
+01f1 6ff08108 fetch 1 ,core_misc_status 
+01f2 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
+01f3 1800700c force regidx_result ,regext_index 
+01f4 65e20154 storer regext ,4 ,mem_le_peer_mic 
+01f5 202026af branch le_rx_match 
 
 p_le_parse:
-01e9 6fe0c334 fetch 1 ,mem_le_packet_llid 
-01ea c1000000 rtneq llid_reserved 
-01eb c001b04a beq llid_le_ll ,le_parse_ll 
-01ec 202028e1 branch le_parse_l2cap 
+01f6 6fe0c334 fetch 1 ,mem_le_packet_llid 
+01f7 c1000000 rtneq llid_reserved 
+01f8 c001b04a beq llid_le_ll ,le_parse_ll 
+01f9 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-01ed 793f8030 set0 mark_ble_crc_fail ,mark 
-01ee 20202af6 branch le_init_adv + 1 
+01fa 793f8030 set0 mark_ble_crc_fail ,mark 
+01fb 20202af6 branch le_init_adv + 1 
 
 p_le_receive_rxon:
-01ef 204025c2 call le_prep 
-01f0 c59781f5 bmark0 mark_ble_lr ,p_le_receive_nolr 
-01f1 783cfc00 pulse dewhiten_code_calc 
-01f2 2000001e nop 30 
-01f3 204025c2 call le_prep 
-01f4 19699600 lshift3 timeup ,timeup 
+01fc 204025c2 call le_prep 
+01fd c5978202 bmark0 mark_ble_lr ,p_le_receive_nolr 
+01fe 783cfc00 pulse dewhiten_code_calc 
+01ff 2000001e nop 30 
+0200 204025c2 call le_prep 
+0201 19699600 lshift3 timeup ,timeup 
 
 p_le_receive_nolr:
-01f5 7856fc00 disable match 
-01f6 7826fc00 enable decode_fec0 
-01f7 7830fc00 enable is_rx 
-01f8 78507c00 disable is_tx 
-01f9 19623600 copy timeup ,stop_watch 
-01fa 37c18400 correlate null ,timeout 
-01fb 203701fe branch p_le_receive_on_attempt ,attempt 
-01fc 1b420400 copy clke ,temp 
-01fd 604b000f storet 6 ,mem_sync_clke 
+0202 7856fc00 disable match 
+0203 7826fc00 enable decode_fec0 
+0204 7830fc00 enable is_rx 
+0205 78507c00 disable is_tx 
+0206 19623600 copy timeup ,stop_watch 
+0207 37c18400 correlate null ,timeout 
+0208 2037020b branch p_le_receive_on_attempt ,attempt 
+0209 1b420400 copy clke ,temp 
+020a 604b000f storet 6 ,mem_sync_clke 
 
 p_le_receive_on_attempt:
-01fe 242c26fa nbranch le_unsync_end ,sync 
-01ff 78287c00 enable swfine 
-0200 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
-0201 d8404e20 arg param_20ms_init ,temp 
-0202 98408400 iadd temp ,temp 
-0203 6fe0c148 fetch 1 ,mem_system_clk 
-0204 984fb600 imul32 temp ,stop_watch 
-0205 20406877 call rf_debug_rx_sync_line 
-0206 20372677 branch le_receive_skip ,attempt 
-0207 2040020c call p_calc_clke_all_modem 
-0208 6fe08168 fetch 1 ,mem_le_state 
-0209 c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
-020a 2055a477 call lpm_adjust_clk ,wake 
-020b 20202677 branch le_receive_skip 
+020b 242c26fa nbranch le_unsync_end ,sync 
+020c 78287c00 enable swfine 
+020d 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
+020e d8404e20 arg param_20ms_init ,temp 
+020f 98408400 iadd temp ,temp 
+0210 6fe0c148 fetch 1 ,mem_system_clk 
+0211 984fb600 imul32 temp ,stop_watch 
+0212 20406877 call rf_debug_rx_sync_line 
+0213 20372677 branch le_receive_skip ,attempt 
+0214 20400219 call p_calc_clke_all_modem 
+0215 6fe08168 fetch 1 ,mem_le_state 
+0216 c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
+0217 2055a477 call lpm_adjust_clk ,wake 
+0218 20202677 branch le_receive_skip 
 
 p_calc_clke_all_modem:
-020c 684b000f fetcht 6 ,mem_sync_clke 
-020d 1b427e00 copy clke ,pdata 
-020e 20407d12 call clk_diff 
-020f 1fe20400 copy pdata ,temp 
-0210 204026ff call calc_clke_all_modem 
-0211 1b425600 copy clke ,rege 
-0212 1d227e00 copy clke_rt ,pdata 
-0213 9840fe00 iadd temp ,pdata 
-0214 1fe25200 copy pdata ,clke_rt 
-0215 20600000 rtn 
+0219 684b000f fetcht 6 ,mem_sync_clke 
+021a 1b427e00 copy clke ,pdata 
+021b 20407d12 call clk_diff 
+021c 1fe20400 copy pdata ,temp 
+021d 204026ff call calc_clke_all_modem 
+021e 1b425600 copy clke ,rege 
+021f 1d227e00 copy clke_rt ,pdata 
+0220 9840fe00 iadd temp ,pdata 
+0221 1fe25200 copy pdata ,clke_rt 
+0222 20600000 rtn 
 
 p_lpm_adjust_clk:
-0216 c584a489 bmark0 mark_context ,lpm_clear_counter 
-0217 684a40ad fetcht 4 ,mem_sleep_counter_all 
-0218 dfe00600 arg 0x600 ,pdata 
-0219 98467c00 isub temp ,null 
-021a 20610000 rtn positive 
-021b 18422200 copy temp ,rega 
-021c 684b000f fetcht 6 ,mem_sync_clke 
-021d 1d627e00 deposit rege 
-021e 20407d10 call clk_diff_rt 
-021f 1a220400 copy rega ,temp 
-0220 2020247d branch lpm_adjust_clk + 6 
+0223 c584a489 bmark0 mark_context ,lpm_clear_counter 
+0224 684a40ad fetcht 4 ,mem_sleep_counter_all 
+0225 dfe00600 arg 0x600 ,pdata 
+0226 98467c00 isub temp ,null 
+0227 20610000 rtn positive 
+0228 18422200 copy temp ,rega 
+0229 684b000f fetcht 6 ,mem_sync_clke 
+022a 1d627e00 deposit rege 
+022b 20407d10 call clk_diff_rt 
+022c 1a220400 copy rega ,temp 
+022d 2020247d branch lpm_adjust_clk + 6 
 
 p_le_adv_not_match:
-0221 20402152 call shutdown_radio 
-0222 70890000 jam 0 ,0x8900 
-0223 793f8030 set0 mark_ble_crc_fail ,mark 
-0224 20202ae3 branch le_adv_not_match + 1 
+022e 20402152 call shutdown_radio 
+022f 70890000 jam 0 ,0x8900 
+0230 793f8030 set0 mark_ble_crc_fail ,mark 
+0231 20202ae3 branch le_adv_not_match + 1 
 
 p_le_parse_l2cap:
-0225 efe10006 ifetch 2 ,contr 
-0226 c0020228 beq le_l2cap_cid_att ,p_le_parse_att 
-0227 202028eb branch le_parse_l2cap_next + 2 
+0232 efe10006 ifetch 2 ,contr 
+0233 c0020235 beq le_l2cap_cid_att ,p_le_parse_att 
+0234 202028eb branch le_parse_l2cap_next + 2 
 
 p_le_parse_att:
-0228 efe18006 ifetch 3 ,contr 
-0229 67e1c397 store 3 ,mem_le_att_opcode 
-022a c005022d beq attop_read_request ,p_le_parse_att_read_request 
-022b c009023c beq attop_write_request ,p_le_parse_att_write_request 
-022c 20202b96 branch le_parse_att2 
+0235 efe18006 ifetch 3 ,contr 
+0236 67e1c397 store 3 ,mem_le_att_opcode 
+0237 c005023a beq attop_read_request ,p_le_parse_att_read_request 
+0238 c0090249 beq attop_write_request ,p_le_parse_att_write_request 
+0239 20202b96 branch le_parse_att2 
 
 p_le_parse_att_read_request:
-022d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-022e c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-022f 20402dc7 call le_check_encrypt_state 
-0230 68494398 fetcht 2 ,mem_le_att_handle 
-0231 6fe0c321 fetch 1 ,mem_le_configuration 
-0232 c2818237 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+023a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+023b c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+023c 20402dc7 call le_check_encrypt_state 
+023d 68494398 fetcht 2 ,mem_le_att_handle 
+023e 6fe0c321 fetch 1 ,mem_le_configuration 
+023f c2818244 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0233 6fe14398 fetch 2 ,mem_le_att_handle 
-0234 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
-0235 68494398 fetcht 2 ,mem_le_att_handle 
-0236 20202d1d branch le_send_att_read_response 
+0240 6fe14398 fetch 2 ,mem_le_att_handle 
+0241 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
+0242 68494398 fetcht 2 ,mem_le_att_handle 
+0243 20202d1d branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0237 6fe14332 fetch 2 ,mem_le_pairing_handle 
-0238 98467c00 isub temp ,null 
-0239 24228233 nbranch p_le_send_att_read_response ,zero 
-023a 24340233 nbranch p_le_send_att_read_response ,user 
-023b 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+0244 6fe14332 fetch 2 ,mem_le_pairing_handle 
+0245 98467c00 isub temp ,null 
+0246 24228240 nbranch p_le_send_att_read_response ,zero 
+0247 24340240 nbranch p_le_send_att_read_response ,user 
+0248 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-023c 18c22200 copy contr ,rega 
-023d 6fe14335 fetch 2 ,mem_le_l2cap_size 
-023e 1fe0a5fd add pdata ,-3 ,regb 
-023f 20402929 call le_writeatt_cb 
-0240 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0241 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
-0242 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-0243 203a2dac branch le_send_att_write_response_check_auth ,blank 
-0244 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0245 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-0246 5800001a setarg 0x001a 
-0247 68494398 fetcht 2 ,mem_le_att_handle 
-0248 98467c00 isub temp ,null 
-0249 2422adac nbranch le_send_att_write_response_check_auth ,zero 
-024a 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+0249 18c22200 copy contr ,rega 
+024a 6fe14335 fetch 2 ,mem_le_l2cap_size 
+024b 1fe0a5fd add pdata ,-3 ,regb 
+024c 20402929 call le_writeatt_cb 
+024d 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+024e c07fadac beq 0xff ,le_send_att_write_response_check_auth 
+024f 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+0250 203a2dac branch le_send_att_write_response_check_auth ,blank 
+0251 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+0252 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0253 5800001a setarg 0x001a 
+0254 68494398 fetcht 2 ,mem_le_att_handle 
+0255 98467c00 isub temp ,null 
+0256 2422adac nbranch le_send_att_write_response_check_auth ,zero 
+0257 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_le:
-024b 20402a28 call le_fifo_check_nearly_full 
-024c 247a0000 nrtn blank 
-024d 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-024e c07f8256 beq 0xff ,p_mouse_le_next 
-024f 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-0250 1fe17e03 and pdata ,0x03 ,pdata 
-0251 c1818000 rtnne 0x03 
-0252 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-0253 207a0000 rtn blank 
-0254 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-0255 247a0000 nrtn blank 
+0258 20402a28 call le_fifo_check_nearly_full 
+0259 247a0000 nrtn blank 
+025a 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+025b c07f8263 beq 0xff ,p_mouse_le_next 
+025c 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+025d 1fe17e03 and pdata ,0x03 ,pdata 
+025e c1818000 rtnne 0x03 
+025f 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
+0260 207a0000 rtn blank 
+0261 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
+0262 247a0000 nrtn blank 
 
 p_mouse_le_next:
-0256 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
-0257 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
-0258 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0259 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
-025a c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
-025b c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-025c c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
-025d 20405601 call mouse_motion 
-025e 20405ab2 call mouse_check_125hz 
-025f 24740000 nrtn user 
-0260 20405abc call mouse_current_mult_update 
-0261 20400470 call p_mouse_data_xy_release 
-0262 20205b37 branch mouse_le_next + 12 
+0263 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0264 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
+0265 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0266 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+0267 c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+0268 c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+0269 c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+026a 20405601 call mouse_motion 
+026b 20405ab2 call mouse_check_125hz 
+026c 24740000 nrtn user 
+026d 20405abc call mouse_current_mult_update 
+026e 2040047a call p_mouse_data_xy_release 
+026f 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
-0263 18467cff sub temp ,ui_button_gpio_disable ,null 
-0264 20628000 rtn zero 
-0265 d9000004 arg 4 ,debug 
-0266 284ffe07 isolate1 gpio_active_bit ,temp 
-0267 2020eebd branch gpio_set_wake_high ,true 
-0268 d9000003 arg 3 ,debug 
-0269 20206ebd branch gpio_set_wake_high 
+0270 18467cff sub temp ,ui_button_gpio_disable ,null 
+0271 20628000 rtn zero 
+0272 d9000004 arg 4 ,debug 
+0273 284ffe07 isolate1 gpio_active_bit ,temp 
+0274 2020eebd branch gpio_set_wake_high ,true 
+0275 d9000003 arg 3 ,debug 
+0276 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_wake_by_current_state:
-026a 18467cff sub temp ,gpio_disable ,null 
-026b 20628000 rtn zero 
-026c 20406ee6 call gpio_get_bit 
-026d 20208270 branch p_gpio_set_qdec_mode ,true 
+0277 18467cff sub temp ,gpio_disable ,null 
+0278 20628000 rtn zero 
+0279 20406ee6 call gpio_get_bit 
+027a 2020827d branch p_gpio_set_qdec_mode ,true 
 
 p_gpio_set_low_wake:
-026e d9000003 arg 3 ,debug 
-026f 20206ebd branch gpio_set_wake_high 
+027b d9000003 arg 3 ,debug 
+027c 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_qdec_mode:
-0270 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
+027d 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
 
 p_mouse_qdec_lpm_cfg:
-0271 d9000006 arg 6 ,debug 
-0272 20206ebd branch gpio_set_wake_high 
+027e d9000006 arg 6 ,debug 
+027f 20206ebd branch gpio_set_wake_high 
 
 p_mouse_puchk_disable:
-0273 58000010 setarg 0x10 
+0280 58000010 setarg 0x10 
 
 p_mouse_puchk_set:
-0274 67f08141 store 1 ,core_puwakeup 
-0275 202023e2 branch lpm_write_wait 
+0281 67f08141 store 1 ,core_puwakeup 
+0282 202023e2 branch lpm_write_wait 
 
 p_mouse_lpm_before_common:
-0276 20400455 call p_clear_wake 
-0277 20400285 call p_mouse_wheel_set_low_pullup 
-0278 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
-0279 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-027a 20406ef7 call gpio_out_active 
-027b 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-027c 20406ed3 call gpio_clr_wake 
-027d d8400009 arg 9 ,temp 
-027e 204055b5 call mouse_gpio_config_input_pu 
-027f 20405511 call mouse_lpm_before_common + 5 
-0280 204054f9 call mouse_gpio_pd_idle 
+0283 20400454 call p_clear_wake 
+0284 20400292 call p_mouse_wheel_set_low_pullup 
+0285 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
+0286 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+0287 20406ef7 call gpio_out_active 
+0288 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+0289 20406ed3 call gpio_clr_wake 
+028a d8400009 arg 9 ,temp 
+028b 204055b5 call mouse_gpio_config_input_pu 
+028c 20405511 call mouse_lpm_before_common + 5 
+028d 204054f9 call mouse_gpio_pd_idle 
 
 p_mouse_wheel_set_impedance:
-0281 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-0282 20406f0f call gpio_set_high_impedance 
-0283 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-0284 20206f0f branch gpio_set_high_impedance 
+028e 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+028f 20406f0f call gpio_set_high_impedance 
+0290 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0291 20206f0f branch gpio_set_high_impedance 
 
 p_mouse_wheel_set_low_pullup:
-0285 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-0286 20406ec6 call gpio_set_low_pullup 
-0287 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-0288 20406ec6 call gpio_set_low_pullup 
-0289 2020029f branch p_lpm_write_gpio_wakeup 
+0292 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0293 20406ec6 call gpio_set_low_pullup 
+0294 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0295 20406ec6 call gpio_set_low_pullup 
+0296 202002ac branch p_lpm_write_gpio_wakeup 
 
 p_lpm_sleep:
 
 p_lpm_sleep_skip_cb_function:
-028a 6fe240ad fetch 4 ,mem_sleep_counter_all 
-028b 9840fe00 iadd temp ,pdata 
-028c 67e240ad store 4 ,mem_sleep_counter_all 
-028d 20400296 call p_lpm_save_context 
-028e 20400290 call p_mouse_puchk_set_check 
-028f 20202425 branch lpm_sleep_skip_cb_function + 4 
+0297 6fe240ad fetch 4 ,mem_sleep_counter_all 
+0298 9840fe00 iadd temp ,pdata 
+0299 67e240ad store 4 ,mem_sleep_counter_all 
+029a 204002a3 call p_lpm_save_context 
+029b 2040029d call p_mouse_puchk_set_check 
+029c 20202425 branch lpm_sleep_skip_cb_function + 4 
 
 p_mouse_puchk_set_check:
-0290 6fe0c602 fetch 1 ,mem_24g_abort_pac 
-0291 207a0000 rtn blank 
-0292 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
-0293 203a0273 branch p_mouse_puchk_disable ,blank 
+029d 6fe0c602 fetch 1 ,mem_24g_abort_pac 
+029e 207a0000 rtn blank 
+029f 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
+02a0 203a0280 branch p_mouse_puchk_disable ,blank 
 
 p_mouse_puchk_enable:
-0294 58000080 setarg 0x80 
-0295 20200274 branch p_mouse_puchk_set 
+02a1 58000080 setarg 0x80 
+02a2 20200281 branch p_mouse_puchk_set 
 
 p_lpm_save_context:
-0296 600440e7 storer mark ,8 ,mem_saved_mark 
-0297 d8c08070 arg core_gpio_conf ,contr 
-0298 d8a040cc arg mem_saved_gpio ,contw 
-0299 20407c8f call memcpy16 
-029a d8c080d4 arg core_gpio_conf_hi ,contr 
-029b 20407c89 call memcpy8 
-029c 6ff08080 fetch 1 ,core_spid_ctrl 
-029d 67e0c0ef store 1 ,mem_saved_spidctrl 
-029e 18422400 copy temp ,regb 
+02a3 600440e7 storer mark ,8 ,mem_saved_mark 
+02a4 d8c08070 arg core_gpio_conf ,contr 
+02a5 d8a040cc arg mem_saved_gpio ,contw 
+02a6 20407c8f call memcpy16 
+02a7 d8c080d4 arg core_gpio_conf_hi ,contr 
+02a8 20407c89 call memcpy8 
+02a9 6ff08080 fetch 1 ,core_spid_ctrl 
+02aa 67e0c0ef store 1 ,mem_saved_spidctrl 
+02ab 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-029f df20000c arg 12 ,loopcnt 
-02a0 da200016 arg mem_gpio_wakeup_cfg ,rega 
-02a1 da60814d arg core_gpio_wakeup_cfg ,regc 
-02a2 37d98200 until null ,lpo_edge 
+02ac df20000c arg 12 ,loopcnt 
+02ad da200016 arg mem_gpio_wakeup_cfg ,rega 
+02ae da60814d arg core_gpio_wakeup_cfg ,regc 
+02af 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-02a3 efe08011 ifetch 1 ,rega 
-02a4 e8408013 ifetcht 1 ,regc 
-02a5 98467c00 isub temp ,null 
-02a6 202282a9 branch p_lpm_write_gpio_loop_next ,zero 
-02a7 e7e08013 istore 1 ,regc 
-02a8 37d98200 until null ,lpo_edge 
+02b0 efe08011 ifetch 1 ,rega 
+02b1 e8408013 ifetcht 1 ,regc 
+02b2 98467c00 isub temp ,null 
+02b3 202282b6 branch p_lpm_write_gpio_loop_next ,zero 
+02b4 e7e08013 istore 1 ,regc 
+02b5 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-02a9 1a20a201 increase 1 ,rega 
-02aa 1a60a601 increase 1 ,regc 
-02ab c20002a3 loop p_lpm_write_gpio_loop 
-02ac 1a420400 copy regb ,temp 
-02ad 20600000 rtn 
+02b6 1a20a201 increase 1 ,rega 
+02b7 1a60a601 increase 1 ,regc 
+02b8 c20002b0 loop p_lpm_write_gpio_loop 
+02b9 1a420400 copy regb ,temp 
+02ba 20600000 rtn 
 
 p_otp_read_data:
-02ae 20406b3a call enable_otp_read 
-02af 20406b75 call otp_read_data + 1 
-02b0 20206b38 branch otp_disable_chgpump 
+02bb 20406b3a call enable_otp_read 
+02bc 20406b75 call otp_read_data + 1 
+02bd 20206b38 branch otp_disable_chgpump 
 
 p_g24_reconn_dispatch:
-02b1 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-02b2 d84001f8 arg 0x01f8 ,temp 
-02b3 98417e00 iand temp ,pdata 
-02b4 203a02b9 branch p_g24_reconn_dispatch_next ,blank 
-02b5 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-02b6 1fe0fe01 increase 1 ,pdata 
-02b7 67e145e0 store 2 ,mem_24g_reconn_count 
-02b8 20600000 rtn 
+02be 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+02bf d84001f8 arg 0x01f8 ,temp 
+02c0 98417e00 iand temp ,pdata 
+02c1 203a02c3 branch p_g24_reconn_dispatch_next ,blank 
+02c2 20203561 branch g24_reconn_dispatch + 5 
 
 p_g24_reconn_dispatch_next:
-02b9 2040357f call g24_reconn_data_prep 
-02ba 20403651 call g24_transmit_receive_ack 
-02bb 242c3586 nbranch g24_reconn_device_fail ,sync 
-02bc 2437b586 nbranch g24_reconn_device_fail ,user3 
-02bd 2040366e call g24_ackpayload_parse 
-02be 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
-02bf 203a02d9 branch p_recv_addr_zero_skip ,blank 
+02c3 2040357f call g24_reconn_data_prep 
+02c4 20403651 call g24_transmit_receive_ack 
+02c5 242c3586 nbranch g24_reconn_device_fail ,sync 
+02c6 2437b586 nbranch g24_reconn_device_fail ,user3 
+02c7 2040366e call g24_ackpayload_parse 
+02c8 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
+02c9 203a02e3 branch p_recv_addr_zero_skip ,blank 
 
 p_g24_reconn_dispatch_next_2:
-02c0 6fe245cc fetch 4 ,mem_24g_pair_addr 
-02c1 684a458f fetcht 4 ,mem_24g_addr 
-02c2 98467c00 isub temp ,null 
-02c3 202282c5 branch p_g24_reconn_mode_judge ,zero 
-02c4 2020356e branch g24_reconn_dispatch_next + 9 
+02ca 6fe245cc fetch 4 ,mem_24g_pair_addr 
+02cb 684a458f fetcht 4 ,mem_24g_addr 
+02cc 98467c00 isub temp ,null 
+02cd 202282cf branch p_g24_reconn_mode_judge ,zero 
+02ce 2020356e branch g24_reconn_dispatch_next + 9 
 
 p_g24_reconn_mode_judge:
-02c5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02c6 c2983291 bbit1 mouse_enable_auto_24g_paring ,g24_pair_start 
-02c7 20203549 branch g24_reconn_receiver_addr 
+02cf 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02d0 c298604e bbit1 mouse_enable_auto_24g_paring ,mouse_24g_pair_mode_check 
+02d1 20203549 branch g24_reconn_receiver_addr 
 
 p_g24_reconn_device_fail:
-02c8 6fe0c5e3 fetch 1 ,mem_24g_fast_conn_enable 
-02c9 203a3222 branch g24_ch ,blank 
-02ca 6fe145e0 fetch 2 ,mem_24g_reconn_count 
-02cb 1fe0fe01 increase 1 ,pdata 
-02cc 67e145e0 store 2 ,mem_24g_reconn_count 
-02cd 2feffe09 isolate1 9 ,pdata 
-02ce 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-02cf c00282d1 beq pair_and_receiver ,p_g24_reconn_pair_and_receiver 
-02d0 2020358d branch g24_reconn_device_fail + 7 
+02d2 6fe0c5e3 fetch 1 ,mem_24g_fast_conn_enable 
+02d3 203a3222 branch g24_ch ,blank 
+02d4 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+02d5 1fe0fe01 increase 1 ,pdata 
+02d6 67e145e0 store 2 ,mem_24g_reconn_count 
+02d7 2feffe09 isolate1 9 ,pdata 
+02d8 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+02d9 c00282db beq pair_and_receiver ,p_g24_reconn_pair_and_receiver 
+02da 2020358d branch g24_reconn_device_fail + 7 
 
 p_g24_reconn_pair_and_receiver:
-02d1 2020b549 branch g24_reconn_receiver_addr ,true 
-02d2 2020329c branch g24_pair_init_param 
+02db 2020b549 branch g24_reconn_receiver_addr ,true 
+02dc 2020329c branch g24_pair_init_param 
 
 p_mouse_param_init:
-02d3 2040543b call mouse_param_common_init 
-02d4 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
-02d5 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
-02d6 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
-02d7 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
-02d8 2020544c branch mouse_param_init + 2 
+02dd 2040543b call mouse_param_common_init 
+02de 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
+02df 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+02e0 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
+02e1 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+02e2 2020544c branch mouse_param_init + 2 
 
 p_recv_addr_zero_skip:
-02d9 6fe245e4 fetch 4 ,mem_24g_fast_conn_addr 
-02da 684a458f fetcht 4 ,mem_24g_addr 
-02db 98467c00 isub temp ,null 
-02dc 202282c0 branch p_g24_reconn_dispatch_next_2 ,zero 
-02dd 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
-02de 207a0000 rtn blank 
-02df 202002c0 branch p_g24_reconn_dispatch_next_2 
+02e3 6fe245e4 fetch 4 ,mem_24g_fast_conn_addr 
+02e4 684a458f fetcht 4 ,mem_24g_addr 
+02e5 98467c00 isub temp ,null 
+02e6 202282ca branch p_g24_reconn_dispatch_next_2 ,zero 
+02e7 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
+02e8 207a0000 rtn blank 
+02e9 202002ca branch p_g24_reconn_dispatch_next_2 
 
 p_power_ctrl_start:
-02e0 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
-02e1 247a0000 nrtn blank 
-02e2 6fe144e9 fetch 2 ,mem_ui_state_map 
-02e3 c3858000 rtnbit1 ui_state_ble_adv 
-02e4 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-02e5 204035b4 call rssi_average 
-02e6 6048c624 storet 1 ,mem_rssi_avg_received 
-02e7 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
-02e8 c51302ea bmark1 mark_24g ,p_power_ctrl_start_next 
-02e9 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
+02ea 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
+02eb 247a0000 nrtn blank 
+02ec 6fe144e9 fetch 2 ,mem_ui_state_map 
+02ed c3858000 rtnbit1 ui_state_ble_adv 
+02ee 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+02ef 204035b4 call rssi_average 
+02f0 6048c624 storet 1 ,mem_rssi_avg_received 
+02f1 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
+02f2 c51302f4 bmark1 mark_24g ,p_power_ctrl_start_next 
+02f3 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
 
 p_power_ctrl_start_next:
-02ea 98467c00 isub temp ,null 
-02eb 24210304 nbranch p_power_ctrl_txpower_incrs_force ,positive 
-02ec 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02ed 1fe67c02 sub pdata ,2 ,null 
-02ee 242102f2 nbranch p_power_ctrl_txpower_decrs_check ,positive 
-02ef 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02f0 c0000305 beq 0 ,p_power_ctrl_txpower_incrs 
-02f1 20600000 rtn 
+02f4 98467c00 isub temp ,null 
+02f5 2421030e nbranch p_power_ctrl_txpower_incrs_force ,positive 
+02f6 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02f7 1fe67c02 sub pdata ,2 ,null 
+02f8 242102fc nbranch p_power_ctrl_txpower_decrs_check ,positive 
+02f9 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02fa c000030f beq 0 ,p_power_ctrl_txpower_incrs 
+02fb 20600000 rtn 
 
 p_power_ctrl_txpower_decrs_check:
-02f2 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-02f3 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
-02f4 98467c00 isub temp ,null 
-02f5 24628000 nrtn zero 
-02f6 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+02fc 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+02fd 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+02fe 98467c00 isub temp ,null 
+02ff 24628000 nrtn zero 
+0300 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_decrs:
-02f7 6848c624 fetcht 1 ,mem_rssi_avg_received 
-02f8 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
-02f9 c51302fb bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
-02fa 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
+0301 6848c624 fetcht 1 ,mem_rssi_avg_received 
+0302 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
+0303 c5130305 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
+0304 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
 
 p_power_ctrl_txpower_decrs_next:
-02fb 98467c00 isub temp ,null 
-02fc 24610000 nrtn positive 
-02fd 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-02fe c0003715 beq 0 ,power_ctrl_decrs_level0 
-02ff 1fe0ffff increase -1 ,pdata 
-0300 67e0c625 store 1 ,mem_power_ctrl_level 
-0301 c001030d beq 2 ,p_power_ctrl_decrs_level2 
-0302 c000b70b beq 1 ,power_ctrl_decrs_level1 
-0303 20203715 branch power_ctrl_decrs_level0 
+0305 98467c00 isub temp ,null 
+0306 24610000 nrtn positive 
+0307 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+0308 c0003715 beq 0 ,power_ctrl_decrs_level0 
+0309 1fe0ffff increase -1 ,pdata 
+030a 67e0c625 store 1 ,mem_power_ctrl_level 
+030b c0010317 beq 2 ,p_power_ctrl_decrs_level2 
+030c c000b70b beq 1 ,power_ctrl_decrs_level1 
+030d 20203715 branch power_ctrl_decrs_level0 
 
 p_power_ctrl_txpower_incrs_force:
-0304 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+030e 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_incrs:
-0305 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-0306 c001830b beq 3 ,p_power_ctrl_incrs_level3 
-0307 1fe0fe01 increase 1 ,pdata 
-0308 67e0c625 store 1 ,mem_power_ctrl_level 
-0309 c000b70b beq 1 ,power_ctrl_incrs_level1 
-030a c001030d beq 2 ,p_power_ctrl_incrs_level2 
+030f 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+0310 c0018315 beq 3 ,p_power_ctrl_incrs_level3 
+0311 1fe0fe01 increase 1 ,pdata 
+0312 67e0c625 store 1 ,mem_power_ctrl_level 
+0313 c000b70b beq 1 ,power_ctrl_incrs_level1 
+0314 c0010317 beq 2 ,p_power_ctrl_incrs_level2 
 
 p_power_ctrl_incrs_level3:
-030b 70414105 jam tx_power_5db ,mem_tx_power 
-030c 20600000 rtn 
+0315 70414105 jam tx_power_5db ,mem_tx_power 
+0316 20600000 rtn 
 
 p_power_ctrl_decrs_level2:
 
 p_power_ctrl_incrs_level2:
-030d 70414103 jam tx_power_3db ,mem_tx_power 
-030e 20600000 rtn 
+0317 70414103 jam tx_power_3db ,mem_tx_power 
+0318 20600000 rtn 
 
 p_mouse_cb_fuction:
-030f 58006235 setarg mouse_24g_short_sleep 
-0310 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
-0311 5800622b setarg mouse_24g_long_sleep 
-0312 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
-0313 202053f3 branch mouse_cb_fuction + 7 
+0319 58006235 setarg mouse_24g_short_sleep 
+031a 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
+031b 5800622b setarg mouse_24g_long_sleep 
+031c 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
+031d 202053f3 branch mouse_cb_fuction + 7 
 
 p_soft_reset:
-0314 2435a002 nbranch soft_reset + 1 ,wake 
-0315 37d98200 until null ,lpo_edge 
-0316 37d98200 until null ,lpo_edge 
-0317 20800000 clear_stack 
-0318 2055831a call p_mouse_wheel_init_set ,wake 
-0319 20202003 branch soft_reset + 2 
+031e 2435a002 nbranch soft_reset + 1 ,wake 
+031f 37d98200 until null ,lpo_edge 
+0320 37d98200 until null ,lpo_edge 
+0321 20800000 clear_stack 
+0322 20558324 call p_mouse_wheel_init_set ,wake 
+0323 20202003 branch soft_reset + 2 
 
 p_mouse_wheel_init_set:
-031a 20400455 call p_clear_wake 
-031b 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-031c 20406f0f call gpio_set_high_impedance 
-031d 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-031e 20406f0f call gpio_set_high_impedance 
-
-p_mouse_puchk_disable_check:
-031f 6fe0c602 fetch 1 ,mem_24g_abort_pac 
-0320 207a0000 rtn blank 
-0321 20200273 branch p_mouse_puchk_disable 
+0324 20400280 call p_mouse_puchk_disable 
+0325 204058df call mouse_matrix_public_gpio_reset 
+0326 20206004 branch mouse_wheel_gpio_init 
 
 p_mouse_default_init:
-0322 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0323 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
-0324 2040df08 call mouse_customer_key_enable ,true 
-0325 2020542c branch mouse_default_parm_init 
+0327 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0328 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
+0329 2040df08 call mouse_customer_key_enable ,true 
+032a 2020542c branch mouse_default_parm_init 
 
 p_mouse_load_device_info_check:
-0326 20400423 call p_mouse_store_normal_tx_power 
-0327 20405d60 call mouse_load_eeprom_info_check 
+032b 20400421 call p_mouse_store_normal_tx_power 
+032c 20205d60 branch mouse_load_eeprom_info_check 
 
 p_mouse_app_initflag_check:
-0328 20400332 call p_mouse_load_device_flag_check 
-0329 6fe1468e fetch 2 ,mem_store_flag 
-032a d840aa55 arg eeprom_init_flag ,temp 
-032b 98467c00 isub temp ,null 
-032c 20228337 branch p_mouse_load_device_info ,zero 
-032d 6049468e storet 2 ,mem_store_flag 
-032e 20405c9c call mouse_ble_init_address 
-032f 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
-0330 67e0c666 store 1 ,mem_device_flag 
-0331 20205c8c branch mouse_load_default_dpi 
+032d 20405d6a call mouse_load_eeprom_dpi 
+032e 20400338 call p_mouse_load_device_flag_check 
+032f 6fe1468e fetch 2 ,mem_store_flag 
+0330 d840aa55 arg eeprom_init_flag ,temp 
+0331 98467c00 isub temp ,null 
+0332 2022833d branch p_mouse_load_device_info ,zero 
+0333 6049468e storet 2 ,mem_store_flag 
+0334 20405c9c call mouse_ble_init_address 
+0335 6fe0c9a1 fetch 1 ,mem_device_flag_temp 
+0336 67e0c666 store 1 ,mem_device_flag 
+0337 20205c8c branch mouse_load_default_dpi 
 
 p_mouse_load_device_flag_check:
-0332 6fe0c666 fetch 1 ,mem_device_flag 
-0333 1fe67c03 sub pdata ,3 ,null 
-0334 20610000 rtn positive 
-0335 70466600 jam mode_24g_device ,mem_device_flag 
-0336 20600000 rtn 
+0338 6fe0c666 fetch 1 ,mem_device_flag 
+0339 1fe67c03 sub pdata ,3 ,null 
+033a 20610000 rtn positive 
+033b 70466600 jam mode_24g_device ,mem_device_flag 
+033c 20600000 rtn 
 
 p_mouse_load_device_info:
-0337 2040033b call p_mouse_select_reconn_device 
-0338 20205c90 branch mouse_load_device_info + 1 
+033d 20400341 call p_mouse_select_reconn_device 
+033e 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_buletooth_fast_conn_end:
-0339 2040033b call p_mouse_select_reconn_device 
-033a 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+033f 20400341 call p_mouse_select_reconn_device 
+0340 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-033b 6fe0c666 fetch 1 ,mem_device_flag 
-033c c1000000 rtneq mode_24g_device 
-033d c0008340 beq mode_bt_device1 ,p_mouse_load_le_device1 
-033e c0010345 beq mode_bt_device2 ,p_mouse_load_le_device2 
-033f 20600000 rtn 
+0341 6fe0c666 fetch 1 ,mem_device_flag 
+0342 c1000000 rtneq mode_24g_device 
+0343 c0008346 beq mode_bt_device1 ,p_mouse_load_le_device1 
+0344 c001034b beq mode_bt_device2 ,p_mouse_load_le_device2 
+0345 20600000 rtn 
 
 p_mouse_load_le_device1:
-0340 6fe34668 fetch 6 ,mem_device1_addr 
-0341 67e34116 store 6 ,mem_hci_plap 
-0342 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0343 67e342db store 6 ,mem_le_lap 
-0344 20600000 rtn 
+0346 6fe34668 fetch 6 ,mem_device1_addr 
+0347 67e34116 store 6 ,mem_hci_plap 
+0348 6fe3466e fetch 6 ,mem_device1_locall_addr 
+
+p_mouse_le_lap_store:
+0349 67e342db store 6 ,mem_le_lap 
+034a 20600000 rtn 
 
 p_mouse_load_le_device2:
-0345 6fe34675 fetch 6 ,mem_device2_addr 
-0346 67e34116 store 6 ,mem_hci_plap 
-0347 6fe3467b fetch 6 ,mem_device2_locall_addr 
-0348 67e342db store 6 ,mem_le_lap 
-0349 20600000 rtn 
+034b 6fe34675 fetch 6 ,mem_device2_addr 
+034c 67e34116 store 6 ,mem_hci_plap 
+034d 6fe3467b fetch 6 ,mem_device2_locall_addr 
+034e 20200349 branch p_mouse_le_lap_store 
 
 p_mouse_store_remote_bdaddr:
-034a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-034b c4010000 rtnbit0 mouse_store_eeprom_flag 
-034c d8e00002 arg mouse_store_eeprom_flag ,queue 
-034d 20405f04 call mouse_disable_function_flag 
-034e 20400351 call p_mouse_check_device_addr 
-034f 2040035f call p_mouse_before_store_reconn_info 
-0350 20205ca3 branch mouse_store_device_info_delay 
+034f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0350 c4010000 rtnbit0 mouse_store_eeprom_flag 
+0351 d8e00002 arg mouse_store_eeprom_flag ,queue 
+0352 20405f04 call mouse_disable_function_flag 
+0353 20400356 call p_mouse_check_device_addr 
+0354 20400364 call p_mouse_before_store_reconn_info 
+0355 20205ca3 branch mouse_store_device_info_delay 
 
 p_mouse_check_device_addr:
-0351 6fe08032 fetch 1 ,mem_record_bt_mode 
-0352 c19a0000 rtnne rec_4_mode 
-0353 67e0c95a store 1 ,mem_device_addr_temp 
-0354 6fe30178 fetch 6 ,mem_le_plap 
-0355 67e3495b store 6 ,mem_device_addr_temp + 1 
-0356 6fe3c95a fetch 7 ,mem_device_addr_temp 
-0357 d8c04667 arg mem_device1_type ,contr 
-0358 df200003 arg 3 ,loopcnt 
+0356 6fe08032 fetch 1 ,mem_record_bt_mode 
+0357 c19a0000 rtnne rec_4_mode 
+0358 67e0c95a store 1 ,mem_device_addr_temp 
+0359 6fe30178 fetch 6 ,mem_le_plap 
+035a 67e3495b store 6 ,mem_device_addr_temp + 1 
+035b 6fe3c95a fetch 7 ,mem_device_addr_temp 
+035c d8c04667 arg mem_device1_type ,contr 
+035d df200003 arg 3 ,loopcnt 
 
 p_mouse_check_device_addr_end:
-0359 e8438006 ifetcht 7 ,contr 
-035a 98467c00 isub temp ,null 
-035b 2022dc69 branch mouse_clean_addr ,zero 
-035c 18c08c07 increase 7 ,contr 
-035d c2000359 loop p_mouse_check_device_addr_end 
-035e 20600000 rtn 
+035e e8438006 ifetcht 7 ,contr 
+035f 98467c00 isub temp ,null 
+0360 2022dc69 branch mouse_clean_addr ,zero 
+0361 18c08c07 increase 7 ,contr 
+0362 c200035e loop p_mouse_check_device_addr_end 
+0363 20600000 rtn 
 
 p_mouse_before_store_reconn_info:
-035f da204667 arg mem_device1_type ,rega 
-0360 6fe0c666 fetch 1 ,mem_device_flag 
-0361 1fe0ffff increase -1 ,pdata 
-0362 1feffe0d mul32 pdata ,13 ,pdata 
-0363 9a20a200 iadd rega ,rega 
-0364 6fe08032 fetch 1 ,mem_record_bt_mode 
-0365 e7e08011 istore 1 ,rega 
-0366 c19a0000 rtnne rec_4_mode 
-0367 6fe0c666 fetch 1 ,mem_device_flag 
-0368 c000836b beq mode_bt_device1 ,p_mouse_store_le_device1 
-0369 c0010370 beq mode_bt_device2 ,p_mouse_store_le_device2 
-036a 20600000 rtn 
-
-p_mouse_store_le_device1:
-036b 6fe30178 fetch 6 ,mem_le_plap 
-036c 67e34668 store 6 ,mem_device1_addr 
-036d 6fe342db fetch 6 ,mem_le_lap 
-036e 67e3466e store 6 ,mem_device1_locall_addr 
+0364 da204667 arg mem_device1_type ,rega 
+0365 6fe0c666 fetch 1 ,mem_device_flag 
+0366 1fe0ffff increase -1 ,pdata 
+0367 1feffe0d mul32 pdata ,13 ,pdata 
+0368 9a20a200 iadd rega ,rega 
+0369 6fe08032 fetch 1 ,mem_record_bt_mode 
+036a e7e08011 istore 1 ,rega 
+036b c19a0000 rtnne rec_4_mode 
+036c 6fe0c666 fetch 1 ,mem_device_flag 
+036d c0008370 beq mode_bt_device1 ,p_mouse_store_le_device1 
+036e c0010375 beq mode_bt_device2 ,p_mouse_store_le_device2 
 036f 20600000 rtn 
 
-p_mouse_store_le_device2:
+p_mouse_store_le_device1:
 0370 6fe30178 fetch 6 ,mem_le_plap 
-0371 67e34675 store 6 ,mem_device2_addr 
+0371 67e34668 store 6 ,mem_device1_addr 
 0372 6fe342db fetch 6 ,mem_le_lap 
-0373 67e3467b store 6 ,mem_device2_locall_addr 
+0373 67e3466e store 6 ,mem_device1_locall_addr 
 0374 20600000 rtn 
 
+p_mouse_store_le_device2:
+0375 6fe30178 fetch 6 ,mem_le_plap 
+0376 67e34675 store 6 ,mem_device2_addr 
+0377 6fe342db fetch 6 ,mem_le_lap 
+0378 67e3467b store 6 ,mem_device2_locall_addr 
+0379 20600000 rtn 
+
 p_mouse_bb_event_timer:
-0375 2040038b call p_mouse_le_send_conn_param_update_timer 
-0376 2040614d call mouse_low_voltage_led_timer 
-0377 2040553d call mouse_adc_read 
-0378 20406110 call mouse_logo_led_on_timer 
-0379 204061b1 call mouse_led_multi_timer 
-037a 2040611e call mouse_dpi_led_blink_delay_timer 
-037b 2040328e call g24_pair_timeout_timer 
-037c 20403531 call g24_reconn_timeout_timer 
-037d 20405fdd call mouse_24g_long_sleep_param_update_timer 
-037e 2040572c call mouse_dpi_key_check_long_press 
-037f 20405b9b call mouse_bt_discovery_check 
-0380 20405bab call mouse_commbination_key_process 
-0381 20405bce call mouse_check_discovery_timeout_timer 
-0382 20405bd3 call mouse_check_direct_timeout_timer 
-0383 20405be1 call mouse_le_enable_att_list_timer 
-0384 20405bee call mouse_le_battery_updata_timer 
-0385 20405be4 call mouse_le_send_smp_security_request_timer 
-0386 20405bfb call mouse_check_reconnect_delay_long_sleep 
-0387 2040038e call p_mouse_current_mult_update_timer 
-0388 204056b6 call mouse_wheel_trigger_timer 
-0389 20405c0e call mouse_store_information_delay_timer 
-038a 20205c05 branch mouse_check_no_data_timeout_timer 
+037a 20400390 call p_mouse_le_send_conn_param_update_timer 
+037b 2040614d call mouse_low_voltage_led_timer 
+037c 2040553d call mouse_adc_read 
+037d 20406110 call mouse_logo_led_on_timer 
+037e 204061b1 call mouse_led_multi_timer 
+037f 2040611e call mouse_dpi_led_blink_delay_timer 
+0380 2040328e call g24_pair_timeout_timer 
+0381 20403531 call g24_reconn_timeout_timer 
+0382 20405fdd call mouse_24g_long_sleep_param_update_timer 
+0383 2040572c call mouse_dpi_key_check_long_press 
+0384 20405b9b call mouse_bt_discovery_check 
+0385 20405bab call mouse_commbination_key_process 
+0386 20405bce call mouse_check_discovery_timeout_timer 
+0387 20405bd3 call mouse_check_direct_timeout_timer 
+0388 20405be1 call mouse_le_enable_att_list_timer 
+0389 20405bee call mouse_le_battery_updata_timer 
+038a 20405be4 call mouse_le_send_smp_security_request_timer 
+038b 20405bfb call mouse_check_reconnect_delay_long_sleep 
+038c 20400393 call p_mouse_current_mult_update_timer 
+038d 204056b6 call mouse_wheel_trigger_timer 
+038e 20405c0e call mouse_store_information_delay_timer 
+038f 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-038b da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-038c da405aef arg mouse_updata_le_param ,regb 
-038d 202042e0 branch timer_single_step 
+0390 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+0391 da405aef arg mouse_updata_le_param ,regb 
+0392 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-038e da60477e arg mem_mouse_current_mult_timer ,regc 
-038f da400391 arg p_mouse_current_mult_reinit ,regb 
-0390 202042e0 branch timer_single_step 
+0393 da60477e arg mem_mouse_current_mult_timer ,regc 
+0394 da400396 arg p_mouse_current_mult_reinit ,regb 
+0395 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-0391 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-0392 67e0c0c0 store 1 ,mem_lpm_mult 
-0393 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-0394 20600000 rtn 
+0396 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+0397 67e0c0c0 store 1 ,mem_lpm_mult 
+0398 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+0399 20600000 rtn 
 
 p_mouse_start_discovery:
-0395 204059ed call mouse_sensor_powerdown 
-0396 20205c1b branch mouse_start_discovery + 1 
+039a 204059ed call mouse_sensor_powerdown 
+039b 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-0397 1a627e00 copy regc ,pdata 
-0398 c02003ac beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0399 c00a83b1 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-039a c01903a3 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-039b c01e03ce beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-039c c01c83de beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-039d c01d03e3 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-039e c00a03a0 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-039f 20205ac3 branch mouse_priority_bb_event + 2 
+039c 1a627e00 copy regc ,pdata 
+039d c02003b1 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+039e c00a83b6 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+039f c01903a8 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+03a0 c01e03d3 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+03a1 c01c83e3 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+03a2 c01d03e8 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+03a3 c00a03a5 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+03a4 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-03a0 58000000 setarg 0 
-03a1 67e24bfa store 4 ,mem_le_conn_first_rcv 
-03a2 20205ad0 branch mouse_le_bb_event_connected 
+03a5 58000000 setarg 0 
+03a6 67e24bfa store 4 ,mem_le_conn_first_rcv 
+03a7 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-03a3 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-03a4 c00083a7 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-03a5 70484414 jam 20 ,mem_le_start_encrypt_timer 
-03a6 202003a9 branch p_mouse_le_ll_reconn_start_encryt_new 
+03a8 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+03a9 c00083ac beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+03aa 70484414 jam 20 ,mem_le_start_encrypt_timer 
+03ab 202003ae branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-03a7 20405aef call mouse_updata_le_param 
-03a8 70484405 jam 5 ,mem_le_start_encrypt_timer 
+03ac 20405aef call mouse_updata_le_param 
+03ad 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-03a9 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-03aa 67e0cbfa store 1 ,mem_le_conn_first_rcv 
-03ab 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+03ae 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+03af 67e0cbfa store 1 ,mem_le_conn_first_rcv 
+03b0 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-03ac 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-03ad 247a0000 nrtn blank 
-03ae 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-03af 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-03b0 20600000 rtn 
+03b1 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+03b2 247a0000 nrtn blank 
+03b3 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+03b4 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+03b5 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-03b1 58000000 setarg 0 
-03b2 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-03b3 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-03b4 58000000 setarg 0 
-03b5 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-03b6 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-03b7 d8400006 arg le_interval_7_5ms ,temp 
-03b8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03b9 c28d83bb bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-03ba d8400007 arg le_interval_8_75ms ,temp 
+03b6 58000000 setarg 0 
+03b7 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+03b8 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+03b9 58000000 setarg 0 
+03ba 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+03bb 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+03bc d8400006 arg le_interval_7_5ms ,temp 
+03bd 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03be c28d83c0 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+03bf d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-03bb 604942d3 storet 2 ,mem_le_interval_min 
-03bc 604942d5 storet 2 ,mem_le_interval_min + 2 
-03bd 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-03be 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-03bf 204029cb call le_clr_config_more_data 
+03c0 604942d3 storet 2 ,mem_le_interval_min 
+03c1 604942d5 storet 2 ,mem_le_interval_min + 2 
+03c2 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+03c3 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+03c4 204029cb call le_clr_config_more_data 
 
 p_mouse_bb_disconnected:
-03c0 20405b7b call mouse_bb_discon_clear_stack 
-03c1 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-03c2 c28383c5 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-03c3 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-03c4 20205c1a branch mouse_start_discovery 
+03c5 20405b7b call mouse_bb_discon_clear_stack 
+03c6 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03c7 c28383ca bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+03c8 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03c9 20205c1a branch mouse_start_discovery 
 
 p_mouse4_0_event_bb_disconn:
-03c5 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-03c6 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-03c7 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-03c8 1fe17e03 and pdata ,0x03 ,pdata 
-03c9 20405b21 call mouse_le_clean_connect_flag 
-03ca c081d4a9 bne 0x03 ,mouse_start_reconnect 
-03cb 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-03cc 243a54a9 nbranch mouse_start_reconnect ,blank 
-03cd 202054cd branch mouse_app_enter_hibernate 
+03ca 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03cb c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03cc 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+03cd 1fe17e03 and pdata ,0x03 ,pdata 
+03ce 20405b21 call mouse_le_clean_connect_flag 
+03cf c081d4a9 bne 0x03 ,mouse_start_reconnect 
+03d0 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
+03d1 243a54a9 nbranch mouse_start_reconnect ,blank 
+03d2 202054cd branch mouse_app_enter_hibernate 
 
 p_mouse_24g_attempt_success:
-03ce 6fe2458f fetch 4 ,mem_24g_addr 
-03cf 67e245e8 store 4 ,mem_24g_receiver_addr 
-03d0 67e24691 store 4 ,mem_mouse_24g_addr 
-03d1 2040355a call g24_ch_syncword_crc8_init 
-03d2 20405c0b call mouse_no_data_timer_init 
-03d3 2040618e call mouse_device_poweron_led_config 
-03d4 20405a73 call mouse_init_sensor_reset 
-03d5 70477d00 jam 0 ,mem_mouse_long_mult_flag 
-03d6 7045fc00 jam 0 ,mem_24g_conn_sm 
-03d7 7045e200 jam 0 ,mem_24g_reconn_type 
-03d8 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
-03d9 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
-03da 98467c00 isub temp ,null 
-03db 20628000 rtn zero 
-03dc 204003e0 call p_mouse_fetch_normal_tx_power 
-03dd 20206042 branch mouse_24g_first_store_reconn_info 
+03d3 6fe2458f fetch 4 ,mem_24g_addr 
+03d4 67e245e8 store 4 ,mem_24g_receiver_addr 
+03d5 67e24691 store 4 ,mem_mouse_24g_addr 
+03d6 2040355a call g24_ch_syncword_crc8_init 
+03d7 20405c0b call mouse_no_data_timer_init 
+03d8 2040618e call mouse_device_poweron_led_config 
+03d9 20405a73 call mouse_init_sensor_reset 
+03da 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+03db 7045fc00 jam 0 ,mem_24g_conn_sm 
+03dc 7045e200 jam 0 ,mem_24g_reconn_type 
+03dd 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+03de 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+03df 98467c00 isub temp ,null 
+03e0 20628000 rtn zero 
+03e1 204003e5 call p_mouse_fetch_normal_tx_power 
+03e2 20206042 branch mouse_24g_first_store_reconn_info 
 
 p_mouse_24g_pairing_complete:
-03de 204003e0 call p_mouse_fetch_normal_tx_power 
-03df 20206084 branch mouse_24g_pairing_complete 
+03e3 204003e5 call p_mouse_fetch_normal_tx_power 
+03e4 20206084 branch mouse_24g_pairing_complete 
 
 p_mouse_fetch_normal_tx_power:
-03e0 6fe0ca07 fetch 1 ,mem_normal_tx_power 
-03e1 67e0c141 store 1 ,mem_tx_power 
-03e2 20206016 branch mouse_soft_agc_disable 
+03e5 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+03e6 67e0c141 store 1 ,mem_tx_power 
+03e7 20206016 branch mouse_soft_agc_disable 
 
 p_mouse_24g_attempt_fail:
-03e3 204003e0 call p_mouse_fetch_normal_tx_power 
-03e4 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
-03e5 c1008000 rtneq dpi_button_state_down 
-03e6 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
-03e7 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
-03e8 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
-03e9 c00283f5 beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
-03ea c00083ed beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
-03eb c00183fc beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-03ec 20206055 branch mouse_24g_attempt_fail + 2 
+03e8 204003e5 call p_mouse_fetch_normal_tx_power 
+03e9 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+03ea c1008000 rtneq dpi_button_state_down 
+03eb 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+03ec 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+03ed 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+03ee c00283fa beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
+03ef c00083f2 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
+03f0 c0018401 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+03f1 20206055 branch mouse_24g_attempt_fail + 2 
 
 p_mouse_24g_fast_conn_attempt_fail:
-03ed 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03ee c29f03f1 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
-03ef c29803f1 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
-03f0 20206062 branch mouse_24g_fast_conn_attempt_fail + 3 
+03f2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03f3 c29f03f6 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_start_auto_pair 
+03f4 c29803f6 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+03f5 20206062 branch mouse_24g_fast_conn_attempt_fail + 3 
 
 p_mouse_24g_start_auto_pair:
-03f1 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
-03f2 67e145de store 2 ,mem_24g_reconn_timeout 
-03f3 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
-03f4 20203534 branch g24_reconn_start 
+03f6 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
+03f7 67e145de store 2 ,mem_24g_reconn_timeout 
+03f8 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
+03f9 20203534 branch g24_reconn_start 
 
 p_mouse_24g_auto_pair_attempt_fail:
-03f5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03f6 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-03f7 6fe0c71b fetch 1 ,mem_device_number 
-03f8 c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+03fa 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03fb c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+03fc 6fe0c71b fetch 1 ,mem_device_number 
+03fd c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_first_bluetooth_reconnect:
-03f9 20406018 call mouse_24g_stop 
-03fa 70466601 jam mode_bt_device1 ,mem_device_flag 
-03fb 20205491 branch mouse_le_fast_conn_judge 
+03fe 20406018 call mouse_24g_stop 
+03ff 70466601 jam mode_bt_device1 ,mem_device_flag 
+0400 20205491 branch mouse_le_fast_conn_judge 
 
 p_mouse_reconn_dongle_attempt_fail:
-03fc 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03fd c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
-03fe c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
-03ff c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
-0400 c2896059 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
-0401 202003f1 branch p_mouse_24g_start_auto_pair 
+0401 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0402 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0403 c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+0404 c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
+0405 c2896059 bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate 
+0406 202003f6 branch p_mouse_24g_start_auto_pair 
 
 p_mouse_start_work:
-0402 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0403 c29f0410 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
-0404 6fe0c666 fetch 1 ,mem_device_flag 
-0405 c000041b beq mode_24g_device ,p_mouse_24g_start_mode 
-0406 2040619f call mouse_device_le_reconn_led_config 
-0407 20205491 branch mouse_le_fast_conn_judge 
-
-p_mouse_start_reconnect_device:
-0408 da204667 arg mem_device1_type ,rega 
+0407 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0408 c29f040e bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_first_start_auto_pair_mode 
 0409 6fe0c666 fetch 1 ,mem_device_flag 
-040a 1fe0ffff increase -1 ,pdata 
-040b 1feffe0d mul32 pdata ,13 ,pdata 
-040c 9a20a200 iadd rega ,rega 
-040d efe08011 ifetch 1 ,rega 
-040e 67e0c3f3 store 1 ,mem_xrecord_mode 
-040f 202054a9 branch mouse_start_reconnect 
+040a c0000419 beq mode_24g_device ,p_mouse_24g_start_mode 
+040b 20205491 branch mouse_le_fast_conn_judge 
+
+p_mouse4_0_check_reconn_target:
+040c 2040619f call mouse_device_le_reconn_led_config 
+040d 202054b6 branch mouse4_0_check_reconn_target 
 
 p_mouse_24g_first_start_auto_pair_mode:
-0410 204054ac call mouse_wakeup_from_power_check 
-0411 20340417 branch p_mouse_24g_first_start_reconn ,user 
+040e 204054ac call mouse_wakeup_from_power_check 
+040f 20340415 branch p_mouse_24g_first_start_reconn ,user 
 
 p_mouse_24g_reconn_general_dongle:
-0412 70466600 jam mode_24g_device ,mem_device_flag 
-0413 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-0414 67e145de store 2 ,mem_24g_reconn_timeout 
-0415 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-0416 20203534 branch g24_reconn_start 
+0410 70466600 jam mode_24g_device ,mem_device_flag 
+0411 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+0412 67e145de store 2 ,mem_24g_reconn_timeout 
+0413 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+0414 20203534 branch g24_reconn_start 
 
 p_mouse_24g_first_start_reconn:
-0417 6fe0c666 fetch 1 ,mem_device_flag 
-0418 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
-0419 20405aa8 call mouse_bluetooth_fast_conn_disable 
-041a 202003f9 branch p_mouse_24g_first_bluetooth_reconnect 
+0415 6fe0c666 fetch 1 ,mem_device_flag 
+0416 c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+0417 20405aa8 call mouse_bluetooth_fast_conn_disable 
+0418 202003fe branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-041b 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-041c c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-041d 20406195 call mouse_device_24g_pair_led_config 
-041e 204054ac call mouse_wakeup_from_power_check 
-041f 20346067 branch mouse_24g_reconn_dongle_start ,user 
-0420 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0421 c2980412 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-0422 20206023 branch mouse_24g_start_mode + 7 
+0419 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+041a c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+041b 20406195 call mouse_device_24g_pair_led_config 
+041c 204054ac call mouse_wakeup_from_power_check 
+041d 20346067 branch mouse_24g_reconn_dongle_start ,user 
+041e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+041f c2980410 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+0420 20206023 branch mouse_24g_start_mode + 7 
 
 p_mouse_store_normal_tx_power:
-0423 6fe0c141 fetch 1 ,mem_tx_power 
-0424 67e0ca07 store 1 ,mem_normal_tx_power 
-0425 20600000 rtn 
+0421 6fe0c141 fetch 1 ,mem_tx_power 
+0422 67e0ca07 store 1 ,mem_normal_tx_power 
+0423 20600000 rtn 
 
 p_mouse_idle:
-0426 2040620e call mouse_low_voltage_led_no_enter_lpm 
-0427 204078aa call ui_check_paring_button 
-0428 20400432 call p_mouse_dpi_check 
-0429 2040580e call mouse_dpi_another_gpio_check 
-042a 20405e66 call mouse_select_device_check 
-042b 20405eb6 call mouse_check_select_device_by_switch 
-042c 20405ee7 call mouse_bt_button_check 
-042d 20400285 call p_mouse_wheel_set_low_pullup 
-042e 2040561c call mouse_wheel_check 
-042f 20200281 branch p_mouse_wheel_set_impedance 
+0424 2040620e call mouse_low_voltage_led_no_enter_lpm 
+0425 204078aa call ui_check_paring_button 
+0426 20400430 call p_mouse_dpi_check 
+0427 2040580e call mouse_dpi_another_gpio_check 
+0428 20405e66 call mouse_select_device_check 
+0429 20405eb6 call mouse_check_select_device_by_switch 
+042a 20405ee7 call mouse_bt_button_check 
+042b 20400292 call p_mouse_wheel_set_low_pullup 
+042c 2040561c call mouse_wheel_check 
+042d 2020028e branch p_mouse_wheel_set_impedance 
 
 p_mouse_dpi_check_retransmit:
-0430 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0431 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
+042e 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+042f c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
 
 p_mouse_dpi_check:
-0432 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0433 c17f8000 rtneq gpio_disable 
-0434 da200000 arg 0 ,rega 
-0435 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-0436 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-0437 20400439 call p_mouse_dpi_key_check 
-0438 202056c1 branch mouse_dpi_check_next 
+0430 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0431 c17f8000 rtneq gpio_disable 
+0432 da200000 arg 0 ,rega 
+0433 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+0434 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0435 20400437 call p_mouse_dpi_key_check 
+0436 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-0439 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-043a c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-043b 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-043c 1fe22600 copy pdata ,regc 
-043d 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-043e c07f8440 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-043f 202056ce branch mouse_dpi_key_check_next 
+0437 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0438 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+0439 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+043a 1fe22600 copy pdata ,regc 
+043b 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+043c c07f843e beq gpio_disable ,p_mouse_3io6key_dpi_check 
+043d 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0440 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-0441 20405946 call mouse_gpio_config_output_low 
-0442 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-0443 20200444 branch p_mouse_3io6key_check 
+043e 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+043f 20405946 call mouse_gpio_config_output_low 
+0440 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0441 20200442 branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-0444 1a627e00 copy regc ,pdata 
-0445 67e0c978 store 1 ,mem_mouse_key_status 
-0446 1fe3fe00 lshift pdata ,pdata 
-0447 1fe22400 copy pdata ,regb 
-0448 18422600 copy temp ,regc 
+0442 1a627e00 copy regc ,pdata 
+0443 67e0c978 store 1 ,mem_mouse_key_status 
+0444 1fe3fe00 lshift pdata ,pdata 
+0445 1fe22400 copy pdata ,regb 
+0446 18422600 copy temp ,regc 
+0447 20406ef7 call gpio_out_active 
+0448 1a620400 copy regc ,temp 
 0449 204055b1 call mouse_gpio_config_input_pd 
 044a 1a620400 copy regc ,temp 
 044b 20406ee6 call gpio_get_bit 
@@ -1442,279 +1448,291 @@
 044f 204036b4 call g24_lpm_wait 
 0450 24740000 nrtn user 
 0451 204036be call g24_setgpio_lpm_before 
-0452 20400455 call p_clear_wake 
-0453 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-0454 20203622 branch g24_long_seep2 
+0452 20400454 call p_clear_wake 
+0453 2020361b branch g24_short_sleep_next 
 
 p_clear_wake:
-0455 58000000 setarg 0 
-0456 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-0457 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-0458 20600000 rtn 
+0454 58000000 setarg 0 
+0455 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+0456 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+0457 20600000 rtn 
+
+p_mouse_24g_hibernate_set:
+0458 20407d7c call ice_break 
+0459 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+045a 20403647 call g24_transmit_next_packet 
+045b 5fffffff setarg -1 
+045c 67e245af store 4 ,mem_24g_enter_hibernate 
+045d 58000000 setarg 0 
+045e 67e3c846 store 7 ,mem_mouse_key 
+045f 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+0460 204059ed call mouse_sensor_powerdown 
+0461 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-0459 20405a92 call mouse_set_sdio_high 
-045a 20400455 call p_clear_wake 
-045b 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-045c 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-045d 20405943 call mouse_gpio_config_output_high 
-045e 6848c65a fetcht 1 ,mem_device_switch_gpio 
-045f 204055ab call mouse_gpio_set_pupd_by_input 
-0460 70460201 jam 1 ,mem_24g_abort_pac 
-0461 2040611a call mouse_logo_led_off 
-0462 20400276 call p_mouse_lpm_before_common 
-0463 202054e2 branch mouse_setgpio_hibernate_next 
+0462 2040464c call mem_mouse_sensor_sclk_gpio 
+0463 20405a92 call mouse_set_sdio_high 
+0464 20400454 call p_clear_wake 
+0465 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+0466 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0467 20405943 call mouse_gpio_config_output_high 
+0468 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0469 204055ab call mouse_gpio_set_pupd_by_input 
+046a 70460201 jam 1 ,mem_24g_abort_pac 
+046b 2040611a call mouse_logo_led_off 
+046c 20400283 call p_mouse_lpm_before_common 
+046d 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-0464 c6930000 rtnmark0 mark_24g 
-0465 20405601 call mouse_motion 
-0466 24740000 nrtn user 
-0467 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0468 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0469 245a0479 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-046a 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-046b c30b046e bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-046c 6fe0c96c fetch 1 ,mem_customer_key 
-046d 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+046e c6930000 rtnmark0 mark_24g 
+046f 20405601 call mouse_motion 
+0470 24740000 nrtn user 
+0471 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+0472 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+0473 245a0483 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+0474 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0475 c30b0478 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+0476 6fe0c96c fetch 1 ,mem_customer_key 
+0477 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-046e 20400470 call p_mouse_data_xy_release 
-046f 202060a2 branch mouse_24g_mouse_package_data + 1 
+0478 2040047a call p_mouse_data_xy_release 
+0479 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-0470 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-0471 c1ff8000 rtnne gpio_disable 
-0472 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-0473 207a0000 rtn blank 
-0474 1fe0ffff increase -1 ,pdata 
-0475 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-0476 58000000 setarg 0 
-0477 67e24847 store 4 ,mem_mouse_x 
-0478 20205a73 branch mouse_init_sensor_reset 
+047a 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+047b c1ff8000 rtnne gpio_disable 
+047c 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+047d 207a0000 rtn blank 
+047e 1fe0ffff increase -1 ,pdata 
+047f 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+0480 58000000 setarg 0 
+0481 67e24847 store 4 ,mem_mouse_x 
+0482 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-0479 20400455 call p_clear_wake 
-047a 2020029f branch p_lpm_write_gpio_wakeup 
+0483 20400454 call p_clear_wake 
+0484 202002ac branch p_lpm_write_gpio_wakeup 
 
 p_mouse_check_select_device_by_switch:
-047b 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-047c c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-047d c31f8488 bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
+0485 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0486 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+0487 c31f8492 bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_connect_vin_check:
-047e 2040048a call p_mouse_switch_gpio_pd_set 
-047f 20400484 call p_mouse_switch_gpio_connect_vin 
+0488 20400494 call p_mouse_switch_gpio_pd_set 
+0489 2040048e call p_mouse_switch_gpio_connect_vin 
 
 p_mouse_switch_gpio_pu_set:
-0480 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0481 20406ef3 call gpio_out_inactive 
-0482 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0483 202055b5 branch mouse_gpio_config_input_pu 
+048a 6848c65a fetcht 1 ,mem_device_switch_gpio 
+048b 20406ef3 call gpio_out_inactive 
+048c 6848c65a fetcht 1 ,mem_device_switch_gpio 
+048d 202055b5 branch mouse_gpio_config_input_pu 
 
 p_mouse_switch_gpio_connect_vin:
-0484 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0485 20406ee6 call gpio_get_bit 
-0486 2420dec2 nbranch mouse_check_select_24g_device ,true 
-0487 20205ebe branch mouse_select_btdevice 
+048e 6848c65a fetcht 1 ,mem_device_switch_gpio 
+048f 20406ee6 call gpio_get_bit 
+0490 2420dec2 nbranch mouse_check_select_24g_device ,true 
+0491 20205ebe branch mouse_select_btdevice 
 
 p_mouse_switch_gpio_connect_gnd:
-0488 20400480 call p_mouse_switch_gpio_pu_set 
-0489 20405ebb call mouse_switch_gpio_connect_gnd 
+0492 2040048a call p_mouse_switch_gpio_pu_set 
+0493 20405ebb call mouse_switch_gpio_connect_gnd 
 
 p_mouse_switch_gpio_pd_set:
-048a 6848c65a fetcht 1 ,mem_device_switch_gpio 
-048b 20406ef7 call gpio_out_active 
-048c 6848c65a fetcht 1 ,mem_device_switch_gpio 
-048d 202055b1 branch mouse_gpio_config_input_pd 
+0494 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0495 20406ef7 call gpio_out_active 
+0496 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0497 202055b1 branch mouse_gpio_config_input_pd 
 
 p_mouse_init_sensor:
-048e 20405958 call mouse_read_sensor_id 
-048f c018049b beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0490 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-0491 c02c0493 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0492 20205952 branch mouse_init_sensor + 5 
+0498 20405958 call mouse_read_sensor_id 
+0499 c01804a5 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+049a c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+049b c02c049d beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+049c 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-0493 204059e7 call mouse_sensor_poweron 
-0494 6fe0c85a fetch 1 ,mem_sensor_id2 
-0495 c02b849f beq ka5857_id2 ,p_mouse_ka5857_init_param 
-0496 c02c8498 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-0497 2020595f branch mouse_init_p32xx_id2_judge 
+049d 204059e7 call mouse_sensor_poweron 
+049e 6fe0c85a fetch 1 ,mem_sensor_id2 
+049f c02b84a9 beq ka5857_id2 ,p_mouse_ka5857_init_param 
+04a0 c02c84a2 beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+04a1 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-0498 7049570b jam ka8g2 ,mem_config_sensor_type 
-0499 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-049a 20205995 branch mouse_sensor_wr_seq 
+04a2 7049570b jam ka8g2 ,mem_config_sensor_type 
+04a3 da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+04a4 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_init_p32xx_id2_judge:
-049b 6fe0c85a fetch 1 ,mem_sensor_id2 
-049c 1fe17ef0 and_into 0xf0 ,pdata 
-049d c06004a2 beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
-049e 2020595f branch mouse_init_p32xx_id2_judge 
+04a5 6fe0c85a fetch 1 ,mem_sensor_id2 
+04a6 1fe17ef0 and_into 0xf0 ,pdata 
+04a7 c06004ac beq p3204_tjdm_id2 ,p_mouse_p3204_tjdm_init_param 
+04a8 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka5857_init_param:
-049f 7049570d jam ka5857 ,mem_config_sensor_type 
-04a0 da604bfe arg mem_sensor_ka5857_init ,regc 
-04a1 20205995 branch mouse_sensor_wr_seq 
+04a9 7049570d jam ka5857 ,mem_config_sensor_type 
+04aa da604bfe arg mem_sensor_ka5857_init ,regc 
+04ab 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_p3204_tjdm_init_param:
-04a2 58000049 setarg 0x49 
-04a3 204069e5 call twspi_read 
-04a4 c050d96c beq 0xa1 ,mouse_s201x_init_param 
-04a5 202059cd branch mouse_p3065xy_init_param 
+04ac 58000049 setarg 0x49 
+04ad 204069e5 call twspi_read 
+04ae c050d96c beq 0xa1 ,mouse_s201x_init_param 
+04af 202059cd branch mouse_p3065xy_init_param 
 
 p_mouse_dpi_process:
-04a6 20405728 call mouse_dpi_ghost_check 
-04a7 20740000 rtn user 
-04a8 6fe0c957 fetch 1 ,mem_config_sensor_type 
-04a9 c00684ab beq ka5857 ,p_mouse_dpi_process_5_level 
-04aa 202056fa branch mouse_dpi_process + 3 
+04b0 20405728 call mouse_dpi_ghost_check 
+04b1 20740000 rtn user 
+04b2 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04b3 c00684b5 beq ka5857 ,p_mouse_dpi_process_5_level 
+04b4 202056fa branch mouse_dpi_process + 3 
 
 p_mouse_dpi_process_5_level:
-04ab 6fe0c690 fetch 1 ,mem_mouse_dpi 
-04ac 1fe0fe01 increase 1 ,pdata 
-04ad 1fe67c04 sub pdata ,4 ,null 
-04ae 24417dca ncall set_pdata_0 ,positive 
-04af 20205701 branch mouse_dpi_level_store 
+04b5 6fe0c690 fetch 1 ,mem_mouse_dpi 
+04b6 1fe0fe01 increase 1 ,pdata 
+04b7 1fe67c04 sub pdata ,4 ,null 
+04b8 24417dca ncall set_pdata_0 ,positive 
+04b9 20205701 branch mouse_dpi_level_store 
 
 p_mouse_setting_dpi_4_level:
-04b0 6fe0c957 fetch 1 ,mem_config_sensor_type 
-04b1 c1068000 rtneq ka5857 
-04b2 c1018000 rtneq p3212 
-04b3 2020573e branch mouse_setting_dpi_4_level 
+04ba 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04bb c1068000 rtneq ka5857 
+04bc c1018000 rtneq p3212 
+04bd 2020573e branch mouse_setting_dpi_4_level 
 
 p_mouse_setting_dpi:
-04b4 204004b0 call p_mouse_setting_dpi_4_level 
-04b5 2040613a call mouse_dpi_led_blink_delay 
+04be 204004ba call p_mouse_setting_dpi_4_level 
+04bf 2040613a call mouse_dpi_led_blink_delay 
 
 p_mouse_setting_sensor_type:
-04b6 6fe0c957 fetch 1 ,mem_config_sensor_type 
-04b7 c006d785 beq ka5857 ,mouse_seting_3212_dpi 
-04b8 c00604ba beq s201x ,p_mouse_seting_s201_dpi 
-04b9 20205749 branch mouse_setting_sensor_type + 2 
+04c0 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04c1 c006d785 beq ka5857 ,mouse_seting_3212_dpi 
+04c2 c00604c4 beq s201x ,p_mouse_seting_s201_dpi 
+04c3 20205749 branch mouse_setting_sensor_type + 2 
 
 p_mouse_seting_s201_dpi:
-04ba 6fe0c690 fetch 1 ,mem_mouse_dpi 
-04bb c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
-04bc c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
-04bd c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
-04be 2020576f branch mouse_set_s201_dpi_0 
+04c4 6fe0c690 fetch 1 ,mem_mouse_dpi 
+04c5 c000576f beq mouse_dpi_level1 ,mouse_set_s201_dpi_0 
+04c6 c000d772 beq mouse_dpi_level2 ,mouse_set_s201_dpi_1 
+04c7 c001577b beq mouse_dpi_level3 ,mouse_set_s201_dpi_4 
+04c8 2020576f branch mouse_set_s201_dpi_0 
 
 p_mouse_check_sensor_data:
-04bf 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-04c0 c1800000 rtnne flash_sm_no_buys 
-04c1 6fe0c957 fetch 1 ,mem_config_sensor_type 
-04c2 c00584c4 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-04c3 202059f8 branch mouse_check_sensor_data + 2 
+04c9 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+04ca c1800000 rtnne flash_sm_no_buys 
+04cb 6fe0c957 fetch 1 ,mem_config_sensor_type 
+04cc c00584ce beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+04cd 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-04c4 20405a6d call mouse_clear_sensor_data 
-04c5 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-04c6 c07f84ca beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-04c7 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-04c8 20406ee6 call gpio_get_bit 
-04c9 24608000 nrtn true 
+04ce 20405a6d call mouse_clear_sensor_data 
+04cf 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+04d0 c07f84d4 beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+04d1 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+04d2 20406ee6 call gpio_get_bit 
+04d3 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-04ca 58000000 setarg pan_reg_pid_l 
-04cb 204069e5 call twspi_read 
-04cc c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-04cd 20205a2f branch mouse_p3212_sensor_motion_2 
+04d4 58000000 setarg pan_reg_pid_l 
+04d5 204069e5 call twspi_read 
+04d6 c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+04d7 20205a2f branch mouse_p3212_sensor_motion_2 
 
 p_mouse_motion:
-04ce 78547c00 disable user 
-04cf 58000000 setarg 0 
-04d0 67e34847 store 6 ,mem_mouse_x 
-04d1 204004bf call p_mouse_check_sensor_data 
-04d2 58000089 setarg 0x0089 
-04d3 204069e4 call twspi_write 
-04d4 20405747 call mouse_setting_sensor_type 
-04d5 20405612 call mouse_zwheel 
-04d6 20405617 call mouse_t_zwheel 
-04d7 204004d9 call p_mouse_key 
-04d8 2020560c branch mouse_motion + 11 
+04d8 78547c00 disable user 
+04d9 58000000 setarg 0 
+04da 67e34847 store 6 ,mem_mouse_x 
+04db 204004c9 call p_mouse_check_sensor_data 
+04dc 58000089 setarg 0x0089 
+04dd 204069e4 call twspi_write 
+04de 20405747 call mouse_setting_sensor_type 
+04df 20405612 call mouse_zwheel 
+04e0 20405617 call mouse_t_zwheel 
+04e1 204004e3 call p_mouse_key 
+04e2 2020560c branch mouse_motion + 11 
 
 p_mouse_key:
-04d9 2040584c call mouse_check_firekey_gpio 
-04da 6fe0c987 fetch 1 ,mem_fire_key_flag 
-04db 243a5860 nbranch fire_key_press ,blank 
-04dc 6fe0c982 fetch 1 ,mem_fire_key_status 
-04dd 243a585f nbranch fire_key_process ,blank 
-04de 20405888 call mouse_check_key_gpio 
-04df 204004e1 call p_mouse_ghost_key_check 
-04e0 202057ad branch mouse_key + 7 
+04e3 2040584c call mouse_check_firekey_gpio 
+04e4 6fe0c987 fetch 1 ,mem_fire_key_flag 
+04e5 243a5860 nbranch fire_key_press ,blank 
+04e6 6fe0c982 fetch 1 ,mem_fire_key_status 
+04e7 243a585f nbranch fire_key_process ,blank 
+04e8 20405888 call mouse_check_key_gpio 
+04e9 204004eb call p_mouse_ghost_key_check 
+04ea 202057ad branch mouse_key + 7 
 
 p_mouse_ghost_key_check:
-04e1 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
-04e2 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
-04e3 70497b00 jam 0 ,mem_mouse_ghost_flag 
-04e4 1fe22400 copy pdata ,regb 
-04e5 6848c644 fetcht 1 ,mem_lbutton_gpio 
-04e6 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04e7 98467c00 isub temp ,null 
-04e8 202284f3 branch p_mouse_matrix_ghost_key_l_bk ,zero 
-04e9 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-04ea 98467c00 isub temp ,null 
-04eb 202284f9 branch p_mouse_matrix_ghost_key_l_fw ,zero 
-04ec 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04ed 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04ee 98467c00 isub temp ,null 
-04ef 20228502 branch p_mouse_ghost_key_mbk_rfw ,zero 
+04eb 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
+04ec 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
+04ed 70497b00 jam 0 ,mem_mouse_ghost_flag 
+04ee 1fe22400 copy pdata ,regb 
+04ef 6848c644 fetcht 1 ,mem_lbutton_gpio 
+04f0 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04f1 98467c00 isub temp ,null 
+04f2 202284fd branch p_mouse_matrix_ghost_key_l_bk ,zero 
+04f3 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04f4 98467c00 isub temp ,null 
+04f5 20228503 branch p_mouse_matrix_ghost_key_l_fw ,zero 
+04f6 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04f7 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04f8 98467c00 isub temp ,null 
+04f9 2022850c branch p_mouse_ghost_key_mbk_rfw ,zero 
 
 p_mouse_ghost_key_mfw_rbk:
-04f0 204057fb call mouse_ghost_key_check_m_fw 
+04fa 204057fb call mouse_ghost_key_check_m_fw 
 
 p_mouse_ghost_key_rbk:
-04f1 20400507 call p_mouse_ghost_key_check_r_bk 
-04f2 202057e5 branch mouse_ghost_key_check_next 
+04fb 20400511 call p_mouse_ghost_key_check_r_bk 
+04fc 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_matrix_ghost_key_l_bk:
-04f3 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04f4 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-04f5 98467c00 isub temp ,null 
-04f6 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
+04fd 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04fe 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04ff 98467c00 isub temp ,null 
+0500 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
 
 p_mouse_ghost_key_lbk_rfw:
-04f7 204057ef call mouse_ghost_key_check_l_bk 
-04f8 20200503 branch p_mouse_ghost_key_rfw 
+0501 204057ef call mouse_ghost_key_check_l_bk 
+0502 2020050d branch p_mouse_ghost_key_rfw 
 
 p_mouse_matrix_ghost_key_l_fw:
-04f9 6848c645 fetcht 1 ,mem_mbutton_gpio 
-04fa 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-04fb 98467c00 isub temp ,null 
-04fc 202284ff branch p_mouse_ghost_key_lfw_mbk ,zero 
+0503 6848c645 fetcht 1 ,mem_mbutton_gpio 
+0504 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+0505 98467c00 isub temp ,null 
+0506 20228509 branch p_mouse_ghost_key_lfw_mbk ,zero 
 
 p_mouse_ghost_key_lfw_rbk:
-04fd 20400509 call p_mouse_ghost_key_check_l_fw 
-04fe 202004f1 branch p_mouse_ghost_key_rbk 
+0507 20400513 call p_mouse_ghost_key_check_l_fw 
+0508 202004fb branch p_mouse_ghost_key_rbk 
 
 p_mouse_ghost_key_lfw_mbk:
-04ff 20400509 call p_mouse_ghost_key_check_l_fw 
-0500 20400505 call p_mouse_ghost_key_check_m_bk 
-0501 202057e5 branch mouse_ghost_key_check_next 
+0509 20400513 call p_mouse_ghost_key_check_l_fw 
+050a 2040050f call p_mouse_ghost_key_check_m_bk 
+050b 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_mbk_rfw:
-0502 20400505 call p_mouse_ghost_key_check_m_bk 
+050c 2040050f call p_mouse_ghost_key_check_m_bk 
 
 p_mouse_ghost_key_rfw:
-0503 2040050b call p_mouse_ghost_key_check_r_fw 
-0504 202057e5 branch mouse_ghost_key_check_next 
+050d 20400515 call p_mouse_ghost_key_check_r_fw 
+050e 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_check_m_bk:
-0505 1a417e12 and regb ,mouse_m_bk_button ,pdata 
-0506 202057f3 branch mouse_ghost_key_check_m_bk + 1 
+050f 1a417e12 and regb ,mouse_m_bk_button ,pdata 
+0510 202057f3 branch mouse_ghost_key_check_m_bk + 1 
 
 p_mouse_ghost_key_check_r_bk:
-0507 1a417e0a and regb ,mouse_r_bk_button ,pdata 
-0508 202057f6 branch mouse_ghost_key_check_r_bk + 1 
+0511 1a417e0a and regb ,mouse_r_bk_button ,pdata 
+0512 202057f6 branch mouse_ghost_key_check_r_bk + 1 
 
 p_mouse_ghost_key_check_l_fw:
-0509 1a417e11 and regb ,mouse_l_fw_button ,pdata 
-050a 202057f9 branch mouse_ghost_key_check_l_fw + 1 
+0513 1a417e11 and regb ,mouse_l_fw_button ,pdata 
+0514 202057f9 branch mouse_ghost_key_check_l_fw + 1 
 
 p_mouse_ghost_key_check_r_fw:
-050b 1a417e12 and regb ,mouse_r_fw_button ,pdata 
-050c 202057ff branch mouse_ghost_key_check_r_fw + 1 
+0515 1a417e12 and regb ,mouse_r_fw_button ,pdata 
+0516 202057ff branch mouse_ghost_key_check_r_fw + 1 
               org 0x2000
 
 start:
@@ -2209,6 +2227,8 @@
 2166 2000003c nop 60 
 2167 708a2020 jam 0x20 ,0x8a20 
 2168 708a23fd jam 0xfd ,0x8a23 
+
+set_sync_on_next:
 2169 708a2412 jam 0x12 ,0x8a24 
 216a 708a2410 jam 0x10 ,0x8a24 
 216b 2000003c nop 60 
@@ -9143,6 +9163,8 @@
 3618 24740000 nrtn user 
 3619 204036be call g24_setgpio_lpm_before 
 361a 20407de2 call clear_wake 
+
+g24_short_sleep_next:
 361b 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
 361c 20203622 branch g24_long_seep2 
 
@@ -23782,6 +23804,8 @@
 604b 58000000 setarg 0 
 604c 67e145de store 2 ,mem_24g_reconn_timeout 
 604d 20405c39 call mouse_stop_discovery 
+
+mouse_24g_pair_mode_check:
 604e 70458901 jam type_ms ,mem_24g_data_type 
 604f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
 6050 c30b3291 bbit0 mouse_enable_keyboard ,g24_pair_start 
Index: output/ramcode.rom
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/ramcode.rom	(working copy)
@@ -1,60 +1,62 @@
-c284002a
-c0000314
-c001003b
-c0080044
-c0088046
-c00a018b
-c00a8125
-c00c014b
-c00c8152
-c00d0054
-c012828a
-c0138216
-c034030f
-c0348326
-c0350322
-c03602d3
-c0370402
-c0378408
-c0398459
-c03a0276
-c03d04ce
-c03d84a6
-c03e04b4
-c03e84b6
-c03f8444
-c040848e
-c0420339
-c0428397
-c043024b
-c0438375
-c0440395
-c045034a
-c0458328
-c0470426
-c048047b
-c04b0464
-c05880b5
-c06282ae
-c06a826a
-c06b0263
-c06d007b
+c284002c
+c000031e
+c001003d
+c0080046
+c0088048
+c00a0198
+c00a8132
+c00b0051
+c00c0158
+c00c815f
+c00d0060
+c0128297
+c0138223
+c0340319
+c034832b
+c0350327
+c03602dd
+c0370407
+c037840c
+c0398462
+c03a0283
+c03d04d8
+c03d84b0
+c03e04be
+c03e84c0
+c03f8442
+c0408498
+c042033f
+c042839c
+c0430258
+c043837a
+c044039a
+c045034f
+c045832d
+c0470424
+c0480485
+c04a8458
+c04b046e
+c05880c2
+c06282bb
+c06a8277
+c06b0270
+c06d0088
 2020235a
-c00a01ab
-c00d01ca
-c01201ef
-c01281d2
-c01301d7
-c01c81e9
-c01d0225
-c0260221
-c02681ed
-c04802b1
-c04902c8
+c00a01b8
+c00d01d7
+c01201fc
+c01281df
+c01301e4
+c01c81f6
+c01d0232
+c026022e
+c02681fa
+c04802be
+c04902d2
 c04b044f
-c04d0133
-c04e8140
-c04f82e0
+c04d0140
+c04e814d
+c04f82ea
 c17f8000
 2020235a
 20407552
@@ -65,7 +67,7 @@
 20402018
 2040310f
 2040248c
-2020003b
+2020003d
 70890000
 20202153
 708a0f60
@@ -76,12 +78,22 @@
 2000003c
 708a2020
 708a23f5
-708a2412
-708a2410
-2000003c
-708a1260
-708a23dd
-20600000
+20202169
+58000960
+9840fe00
+1fe22200
+6848c099
+18430400
+9846fc00
+20407d62
+1807fe00
+1fec8e00
+60f0890a
+67f08909
+202021da
+37d98200
+70813c58
+202023e2
 7001bb00
 7001bc00
 37d98200
@@ -92,15 +104,16 @@
 708a844a
 708a8540
 708a16fe
-204000fa
+20400107
 204070d7
+2455805d
 37d98200
 70813b5f
 37d98200
 70813c88
 37d98200
 6fe0c099
-c00800a5
+c00800b2
 6fe0c438
 1fe1fe04
 67f08a02
@@ -111,15 +124,15 @@
 67f18a73
 708a8660
 708a8b3b
-20400097
+204000a4
 70804300
 70804205
 58557474
 67f18968
 7089606e
-2040015e
-20400189
-20400092
+2040016b
+20400196
+2040009f
 7041480c
 20758000
 708a0777
@@ -128,7 +141,7 @@
 6fe0c409
 67f080cd
 20000bb8
-2040008b
+20400098
 708a08c1
 6a40c419
 df200008
@@ -139,7 +152,7 @@
 20600000
 7080cc03
 6ff08129
-c302808c
+c3028099
 68590164
 6049440a
 7080cc00
@@ -150,7 +163,7 @@
 67f0813a
 202023e2
 6fe0c099
-c00c009d
+c00c00aa
 6fe0c438
 1fe1fe06
 67f08a02
@@ -173,15 +186,15 @@
 67f18a73
 708a762a
 70890204
-2020006f
+2020007c
 20758000
 204035f0
 2040325b
 204062aa
 20205415
 20407396
-204000b0
-245580c0
+204000bd
+245580cd
 2455d589
 20405949
 20758000
@@ -195,32 +208,32 @@
 67e1464c
 5800130c
 67e1464a
-204000e0
+204000ed
 204055f6
 20002ee0
 58000000
 204069e5
 67e0c859
-c01800d5
-c01880d5
-c02c00d5
+c01800e2
+c01880e2
+c02c00e2
 20405955
 20001bbc
 6fe0cb1e
 1fe0fe01
 67e0cb1e
-c00400d6
-202000c8
+c00400e3
+202000d5
 20600000
 704b1e00
 6fe0cb1f
 1fe0fe01
 1fe17e03
 67e0cb1f
-c00000e4
-c00080eb
-c00100f0
-c00180f5
+c00000f1
+c00080f8
+c00100fd
+c0018102
 20600000
 70807c00
 58000000
@@ -231,24 +244,24 @@
 67e1464c
 5800130c
 67e1464a
-204000e0
-202000c6
+204000ed
+202000d3
 70495801
 58001315
 67e1464c
 5800140c
-202000e8
+202000f5
 70495800
 58000c15
 67e1464c
 58001314
-202000e8
+202000f5
 70495803
 58001314
 67e1464c
 5800150c
-202000e8
-2035810c
+202000f5
+20358119
 6fe2020d
 207a0000
 37d98200
@@ -307,8 +320,8 @@
 202021b4
 6fe0c793
 247a0000
-20400138
-2040013b
+20400145
+20400148
 20203662
 6fe0c655
 c17f8000
@@ -316,18 +329,18 @@
 d8e0000c
 20407cef
 247a0000
-20400430
+2040042e
 20206102
 6848c601
 6fe0c621
 98467c00
-24210145
+24210152
 20203681
 6fe2458f
 684a45e4
 98467c00
 2022b222
-20400305
+2040030f
 2020369b
 580aaa7e
 67f18a0f
@@ -338,8 +351,8 @@
 20202203
 6fe0c141
 c0032225
-c04f015b
-c0550157
+c04f0168
+c0550164
 2020220e
 708a1417
 6fe1ca08
@@ -347,7 +360,7 @@
 2020221a
 708a1417
 58250300
-20200159
+20200166
 20758000
 20402160
 d8400027
@@ -360,7 +373,7 @@
 708ac200
 708ac300
 d8e00006
-2040017b
+20400188
 2a2ffe0d
 2040211d
 2a4ffe0d
@@ -368,14 +381,14 @@
 d8e00005
 2040211c
 2040211e
-2040017b
+20400188
 d8a08ac2
 1a31fe00
 20402117
 1a51fe00
 20402117
 18e08fff
-20210170
+2021017d
 2020214f
 2000003c
 58000f00
@@ -397,7 +410,7 @@
 708a8d12
 708a8e0a
 6fe0c099
-c00801a4
+c00801b1
 58005762
 67f10907
 70890103
@@ -408,7 +421,7 @@
 708a8d44
 708a8e0a
 6fe0c099
-c00801a1
+c00801ae
 58002bb1
 67f10907
 c6978000
@@ -417,15 +430,15 @@
 20600000
 58004189
 67f10907
-2020019d
+202001aa
 58008312
 67f10907
-20200192
+2020019f
 6fe0cbf9
 da600100
 9a60fe00
 20600000
-204001ad
+204001ba
 20202563
 6fe0cbfa
 207a0000
@@ -434,13 +447,13 @@
 6848cbfa
 6fe0cbf9
 98467c00
-244101a7
+244101b4
 98467e00
 1fe67c64
-202101bf
+202101cc
 6fe0cbfc
 1fe67c14
-244101bd
+244101ca
 704bfb01
 20600000
 704bfd01
@@ -459,7 +472,7 @@
 6fe08005
 1fe0fe01
 67e08005
-243681d1
+243681de
 6fe0cbf9
 1fe0fe01
 67e0cbf9
@@ -494,7 +507,7 @@
 793f8030
 20202af6
 204025c2
-c59781f5
+c5978202
 783cfc00
 2000001e
 204025c2
@@ -505,7 +518,7 @@
 78507c00
 19623600
 37c18400
-203701fe
+2037020b
 1b420400
 604b000f
 242c26fa
@@ -517,7 +530,7 @@
 984fb600
 20406877
 20372677
-2040020c
+20400219
 6fe08168
 c301a677
 2055a477
@@ -548,27 +561,27 @@
 793f8030
 20202ae3
 efe10006
-c0020228
+c0020235
 202028eb
 efe18006
 67e1c397
-c005022d
-c009023c
+c005023a
+c0090249
 20202b96
 6fe44713
 c31dad19
 20402dc7
 68494398
 6fe0c321
-c2818237
+c2818244
 6fe14398
 c0182e03
 68494398
 20202d1d
 6fe14332
 98467c00
-24228233
-24340233
+24228240
+24340240
 20202d46
 18c22200
 6fe14335
@@ -588,7 +601,7 @@
 20402a28
 247a0000
 6fe0c78f
-c07f8256
+c07f8263
 6fe0c843
 1fe17e03
 c1818000
@@ -607,7 +620,7 @@
 20405ab2
 24740000
 20405abc
-20400470
+2040047a
 20205b37
 18467cff
 20628000
@@ -619,7 +632,7 @@
 18467cff
 20628000
 20406ee6
-20208270
+2020827d
 d9000003
 20206ebd
 704b1d01
@@ -628,8 +641,8 @@
 58000010
 67f08141
 202023e2
-20400455
-20400285
+20400454
+20400292
 704b1d00
 6848c654
 20406ef7
@@ -647,19 +660,19 @@
 20406ec6
 6848c64b
 20406ec6
-2020029f
+202002ac
 6fe240ad
 9840fe00
 67e240ad
-20400296
-20400290
+204002a3
+2040029d
 20202425
 6fe0c602
 207a0000
 6fe0cb1d
-203a0273
+203a0280
 58000080
-20200274
+20200281
 600440e7
 d8c08070
 d8a040cc
@@ -676,12 +689,12 @@
 efe08011
 e8408013
 98467c00
-202282a9
+202282b6
 e7e08013
 37d98200
 1a20a201
 1a60a601
-c20002a3
+c20002b0
 1a420400
 20600000
 20406b3a
@@ -690,25 +703,22 @@
 6fe145e0
 d84001f8
 98417e00
-203a02b9
-6fe145e0
-1fe0fe01
-67e145e0
-20600000
+203a02c3
+20203561
 2040357f
 20403651
 242c3586
 2437b586
 2040366e
 6fe0c57d
-203a02d9
+203a02e3
 6fe245cc
 684a458f
 98467c00
-202282c5
+202282cf
 2020356e
 6fe44713
-c2983291
+c298604e
 20203549
 6fe0c5e3
 203a3222
@@ -717,7 +727,7 @@
 67e145e0
 2feffe09
 6fe0c5e2
-c00282d1
+c00282db
 2020358d
 2020b549
 2020329c
@@ -730,10 +740,10 @@
 6fe245e4
 684a458f
 98467c00
-202282c0
+202282ca
 6fe2455f
 207a0000
-202002c0
+202002ca
 6fe0c437
 247a0000
 6fe144e9
@@ -742,15 +752,15 @@
 204035b4
 6048c624
 6fe0c629
-c51302ea
+c51302f4
 6fe0c62c
 98467c00
-24210304
+2421030e
 6fe0c626
 1fe67c02
-242102f2
+242102fc
 6fe0c626
-c0000305
+c000030f
 20600000
 6fe0c626
 6848c627
@@ -759,7 +769,7 @@
 70462600
 6848c624
 6fe0c628
-c51302fb
+c5130305
 6fe0c62b
 98467c00
 24610000
@@ -767,16 +777,16 @@
 c0003715
 1fe0ffff
 67e0c625
-c001030d
+c0010317
 c000b70b
 20203715
 70462600
 6fe0c625
-c001830b
+c0018315
 1fe0fe01
 67e0c625
 c000b70b
-c001030d
+c0010317
 70414105
 20600000
 70414103
@@ -790,27 +800,23 @@
 37d98200
 37d98200
 20800000
-2055831a
+20558324
 20202003
-20400455
-6848c64a
-20406f0f
-6848c64b
-20406f0f
-6fe0c602
-207a0000
-20200273
+20400280
+204058df
+20206004
 6fe44713
 2feffe16
 2040df08
 2020542c
-20400423
-20405d60
-20400332
+20400421
+20205d60
+20405d6a
+20400338
 6fe1468e
 d840aa55
 98467c00
-20228337
+2022833d
 6049468e
 20405c9c
 6fe0c9a1
@@ -821,14 +827,14 @@
 20610000
 70466600
 20600000
-2040033b
+20400341
 20205c90
-2040033b
+20400341
 20205a9c
 6fe0c666
 c1000000
-c0008340
-c0010345
+c0008346
+c001034b
 20600000
 6fe34668
 67e34116
@@ -838,14 +844,13 @@
 6fe34675
 67e34116
 6fe3467b
-67e342db
-20600000
+20200349
 6fe44713
 c4010000
 d8e00002
 20405f04
-20400351
-2040035f
+20400356
+20400364
 20205ca3
 6fe08032
 c19a0000
@@ -859,7 +864,7 @@
 98467c00
 2022dc69
 18c08c07
-c2000359
+c200035e
 20600000
 da204667
 6fe0c666
@@ -870,8 +875,8 @@
 e7e08011
 c19a0000
 6fe0c666
-c000836b
-c0010370
+c0008370
+c0010375
 20600000
 6fe30178
 67e34668
@@ -883,7 +888,7 @@
 6fe342db
 67e3467b
 20600000
-2040038b
+20400390
 2040614d
 2040553d
 20406110
@@ -901,7 +906,7 @@
 20405bee
 20405be4
 20405bfb
-2040038e
+20400393
 204056b6
 20405c0e
 20205c05
@@ -909,7 +914,7 @@
 da405aef
 202042e0
 da60477e
-da400391
+da400396
 202042e0
 6fe0c96b
 67e0c0c0
@@ -918,21 +923,21 @@
 204059ed
 20205c1b
 1a627e00
-c02003ac
-c00a83b1
-c01903a3
-c01e03ce
-c01c83de
-c01d03e3
-c00a03a0
+c02003b1
+c00a83b6
+c01903a8
+c01e03d3
+c01c83e3
+c01d03e8
+c00a03a5
 20205ac3
 58000000
 67e24bfa
 20205ad0
 6fe0c795
-c00083a7
+c00083ac
 70484414
-202003a9
+202003ae
 20405aef
 70484405
 6fe0cbf9
@@ -951,7 +956,7 @@
 70479400
 d8400006
 6fe44713
-c28d83bb
+c28d83c0
 d8400007
 604942d3
 604942d5
@@ -960,7 +965,7 @@
 204029cb
 20405b7b
 6fe143ef
-c28383c5
+c28383ca
 c28042fc
 20205c1a
 6fe143ef
@@ -986,26 +991,26 @@
 684a45e4
 98467c00
 20628000
-204003e0
+204003e5
 20206042
-204003e0
+204003e5
 20206084
 6fe0ca07
 67e0c141
 20206016
-204003e0
+204003e5
 6fe0c87a
 c1008000
 6fe0c600
 243a5ff2
 6fe0c5e2
-c00283f5
-c00083ed
-c00183fc
+c00283fa
+c00083f2
+c0018401
 20206055
 6fe44713
-c29f03f1
-c29803f1
+c29f03f6
+c29803f6
 20206062
 6fe145d6
 67e145de
@@ -1023,23 +1028,16 @@
 c289e059
 c28a6059
 c2896059
-202003f1
+202003f6
 6fe44713
-c29f0410
+c29f040e
 6fe0c666
-c000041b
-2040619f
+c0000419
 20205491
-da204667
-6fe0c666
-1fe0ffff
-1feffe0d
-9a20a200
-efe08011
-67e0c3f3
-202054a9
+2040619f
+202054b6
 204054ac
-20340417
+20340415
 70466600
 6fe14721
 67e145de
@@ -1048,28 +1046,28 @@
 6fe0c666
 c0006067
 20405aa8
-202003f9
+202003fe
 6fe44713
 c308e02a
 20406195
 204054ac
 20346067
 6fe44713
-c2980412
+c2980410
 20206023
 6fe0c141
 67e0ca07
 20600000
 2040620e
 204078aa
-20400432
+20400430
 2040580e
 20405e66
 20405eb6
 20405ee7
-20400285
+20400292
 2040561c
-20200281
+2020028e
 6fe44713
 c4140000
 6fe0c649
@@ -1077,24 +1075,26 @@
 da200000
 70497705
 6848c649
-20400439
+20400437
 202056c1
 6fe44713
 c295d6de
 6fe0c974
 1fe22600
 6fe0c654
-c07f8440
+c07f843e
 202056ce
 6fe0c649
 20405946
 6848c649
-20200444
+20200442
 1a627e00
 67e0c978
 1fe3fe00
 1fe22400
 18422600
+20406ef7
+1a620400
 204055b1
 1a620400
 20406ee6
@@ -1104,15 +1104,25 @@
 204036b4
 24740000
 204036be
-20400455
-6fe1c608
-20203622
+20400454
+2020361b
 58000000
 67e40016
 67e2001e
 20600000
+20407d7c
+70460000
+20403647
+5fffffff
+67e245af
+58000000
+67e3c846
+70473f01
+204059ed
+2020622b
+2040464c
 20405a92
-20400455
+20400454
 204056a9
 6fe0c64d
 20405943
@@ -1120,19 +1130,19 @@
 204055ab
 70460201
 2040611a
-20400276
+20400283
 202054e2
 c6930000
 20405601
 24740000
 6fe0c77c
 70477c00
-245a0479
+245a0483
 6fe44713
-c30b046e
+c30b0478
 6fe0c96c
 243a60b6
-20400470
+2040047a
 202060a2
 6fe0c659
 c1ff8000
@@ -1143,13 +1153,13 @@
 58000000
 67e24847
 20205a73
-20400455
-2020029f
+20400454
+202002ac
 6fe44713
 c4150000
-c31f8488
-2040048a
-20400484
+c31f8492
+20400494
+2040048e
 6848c65a
 20406ef3
 6848c65a
@@ -1158,28 +1168,28 @@
 20406ee6
 2420dec2
 20205ebe
-20400480
+2040048a
 20405ebb
 6848c65a
 20406ef7
 6848c65a
 202055b1
 20405958
-c018049b
+c01804a5
 c018d9c6
-c02c0493
+c02c049d
 20205952
 204059e7
 6fe0c85a
-c02b849f
-c02c8498
+c02b84a9
+c02c84a2
 2020595f
 7049570b
 da604a0b
 20205995
 6fe0c85a
 1fe17ef0
-c06004a2
+c06004ac
 2020595f
 7049570d
 da604bfe
@@ -1191,7 +1201,7 @@
 20405728
 20740000
 6fe0c957
-c00684ab
+c00684b5
 202056fa
 6fe0c690
 1fe0fe01
@@ -1202,11 +1212,11 @@
 c1068000
 c1018000
 2020573e
-204004b0
+204004ba
 2040613a
 6fe0c957
 c006d785
-c00604ba
+c00604c4
 20205749
 6fe0c690
 c000576f
@@ -1216,11 +1226,11 @@
 6fe0c420
 c1800000
 6fe0c957
-c00584c4
+c00584ce
 202059f8
 20405a6d
 6fe0c659
-c07f84ca
+c07f84d4
 6848c659
 20406ee6
 24608000
@@ -1231,13 +1241,13 @@
 78547c00
 58000000
 67e34847
-204004bf
+204004c9
 58000089
 204069e4
 20405747
 20405612
 20405617
-204004d9
+204004e3
 2020560c
 2040584c
 6fe0c987
@@ -1245,7 +1255,7 @@
 6fe0c982
 243a585f
 20405888
-204004e1
+204004eb
 202057ad
 70497900
 70497a00
@@ -1254,34 +1264,34 @@
 6848c644
 6fe0c647
 98467c00
-202284f3
+202284fd
 6fe0c648
 98467c00
-202284f9
+20228503
 6848c645
 6fe0c647
 98467c00
-20228502
+2022850c
 204057fb
-20400507
+20400511
 202057e5
 6848c645
 6fe0c648
 98467c00
 2022d7d6
 204057ef
-20200503
+2020050d
 6848c645
 6fe0c647
 98467c00
-202284ff
-20400509
-202004f1
-20400509
-20400505
+20228509
+20400513
+202004fb
+20400513
+2040050f
 202057e5
-20400505
-2040050b
+2040050f
+20400515
 202057e5
 1a417e12
 202057f3
Index: output/sched.rom
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/sched.rom	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/output/sched.rom	(working copy)
@@ -1,7 +1,7 @@
 mem_patch00:
 05   #mem_patch00
 00   #mem_patch01
-33   #mem_patch02
+73   #mem_patch02
 07   #mem_patch03
 a0   #mem_patch04
 00   #mem_patch05
@@ -17,7 +17,7 @@
 bc   #mem_patch0f
 f2   #mem_patch10
 4d   #mem_patch11
-41   #mem_patch12
+61   #mem_patch12
 00   #mem_patch13
 00   #mem_patch14
 00   #mem_patch15
@@ -128,7 +128,7 @@
 #bit5 MOUSE_ENABLE_PB_BUTTON_CONNECT_GND
 #bit6 MOUSE_ENABLE_FIRE_KEY_CONNECT_GND
 #bit7 MOUSE_ENABLE_CUSTOMER_KEY_CONNECT_VIN_OR_MATRIX
-00
+01
 
 #mouse flag byte7
 #bit0 MOUSE_ENABLE_AUTO_24G_PARING
@@ -139,7 +139,7 @@
 #bit5 MOUSE_ENABLE_COMMBINATION_KEY_BY_BT_DISCOVERY
 #bit6 MOUSE_ENABLE_DPI_KEY_LONG_PRESS_DISCONVERY
 #bit7 MOUSE_ENABLE_PB_BUTTON_LONG_PRESS_DISCONVERY
-01
+09
 
 #mouse flag byte8
 #bit0 MOUSE_ENABLE_SMOOTHER
@@ -220,7 +220,7 @@
 
 #device parm
 mem_device_option:08
-mem_device_number:01   #01--only 2.4g   02--2.4g+ble
+mem_device_number:02   #01--only 2.4g   02--2.4g+ble
 
 mem_lpm_mode:01
 mem_lpm_mult:20
@@ -260,7 +260,7 @@
 mem_mouse_24g_fast_hop_count_4ms:05
 mem_mouse_24g_tsniff_4ms:80 bb 00 00
 
-mem_mouse_24g_short_sleep_set_8ms:ac 07 01	#SB:ac 07 01	SA:60 ea 00
+mem_mouse_24g_short_sleep_set_8ms:ac 07 01	#SB:ac 07 01	SA:84 e4 00
 mem_mouse_24g_long_sleep_set_8ms:00 77 01
 mem_mouse_24g_fast_hop_count_8ms:0b
 mem_mouse_24g_tsniff_8ms:00 77 01 00
Index: program/app_mouse.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/app_mouse.prog	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/app_mouse.prog	(working copy)
@@ -4450,6 +4450,7 @@
 	setarg 0
 	store 2,mem_24g_reconn_timeout	
 	call mouse_stop_discovery
+mouse_24g_pair_mode_check:
 	jam TYPE_MS,mem_24g_data_type
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_KEYBOARD,g24_pair_start
Index: program/bt.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/bt.prog	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/bt.prog	(working copy)
@@ -19,7 +19,7 @@
 //define COMPILE_WECHAT
 //define COMPLIE_TEST
 define COMPLIE_ADPCM
-
+// define YC1121SB
 INCLUDE "bt_format"
 
 org 0x0000		// start from patch ram address start
@@ -543,7 +543,8 @@
 	jam 0x00,0x8a26 
 	nop 60
 	jam 0x20,0x8a20 
-	jam 0xfd,0x8a23 
+	jam 0xfd,0x8a23
+set_sync_on_next:
 	jam 0x12,0x8a24 
 	jam 0x10,0x8a24 
 	nop 60
@@ -1275,7 +1276,11 @@
 	set0 gpio_latch,pdata			// enable gpio normal function after load gpio configuration
 	store 1,core_lpm_isogate		
 	nbranch boot_load,wake		// wakeup from hibernate
+ifdef YC1121SB
+	nop 1
+else
 	call clean_smem
+endif
 	storer alarm,4,mem_saved_gpio_in
 	rtn
 
Index: program/g24_protocol_stack/24g_transmitter.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/g24_protocol_stack/24g_transmitter.prog	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/g24_protocol_stack/24g_transmitter.prog	(working copy)
@@ -56,6 +56,7 @@
 	nrtn user
 	call g24_setgpio_lpm_before
 	call clear_wake
+g24_short_sleep_next:
 	fetch 3,mem_24g_short_sleep_set
 	branch g24_long_seep2
 
Index: program/patch.prog
===================================================================
--- /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(revision 3569)
+++ /1121s/branch/mouse/YDN_Project/YDN_mouse_public_1M/program/patch.prog	(working copy)
@@ -4,6 +4,8 @@
 //define MORE_POWER_CTRL
 //define ADC_1121SB
 //define ADC_1121SB_1V8_MODE
+//define XTAL_CALP_SET
+//define COMMBINATION_DPI
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -12,6 +14,7 @@
 	beq patch02_1,p_set_sync_on
 	beq patch02_4,p_set_lemode
 	beq patch02_5,p_rf_rx_enable
+	beq patch02_6,p_calc_freq
 	beq patch03_0,p_txon
 	beq patch03_1,p_set_tx_power
 	beq patch03_2,p_initialize_radio_cont
@@ -22,7 +25,7 @@
 	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 patch0d_7,p_mouse4_0_check_reconn_target
 	beq patch0e_3,p_mouse_setgpio_hibernate
 	beq patch0e_4,p_mouse_lpm_before_common
 ifdef ADC_1121SB	
@@ -43,6 +46,7 @@
 	beq patch11_3,p_mouse_app_initflag_check
 	beq patch11_6,p_mouse_idle
 	beq patch12_0,p_mouse_check_select_device_by_switch
+	beq patch12_5,p_mouse_24g_hibernate_set
 	beq patch12_6,p_mouse_24g_package_data
 	beq patch16_1,p_app_init	
 	beq patch18_5,p_otp_read_data
@@ -105,12 +109,28 @@
 	nop 60
 	jam 0x20,0x8a20 
 	jam 0xf5,0x8a23 
-	jam 0x12,0x8a24 
-	jam 0x10,0x8a24 
-	nop 60
-	jam 0x60,0x8a12 
-	jam 0xdd,0x8a23 
-	rtn
+	branch set_sync_on_next
+
+
+p_calc_freq:
+	setarg 2400
+	iadd temp,pdata
+	copy pdata, rega
+	fetcht 1,mem_fcomp_div
+	rshift temp,temp
+	idiv temp
+//	mul32 pdata,12,rega
+	call wait_div_end
+	quotient pdata
+	rshift8 pdata,queue
+	storer queue, 1,0x890a
+	store 1,0x8909
+	branch calc_freq+10
+
+p_set_ck2rfpll:
+	until null,lpo_edge
+	jam 0x58,0x813c
+	branch lpm_write_wait
 
 p_initialize_radio_cont:
 	jam 0,mem_le_testtype
@@ -128,6 +148,7 @@
 //	branch initialize_radio_cont+1
 	//fetch 1,mem_wdt_always_work
 	call wdt_set_disable
+	ncall p_set_ck2rfpll,wake
 
 	until null,lpo_edge
 	jam 0x5f,0x813b 
@@ -186,9 +207,12 @@
 	rtn
 	
 p_set_xtal_cap:
+ifndef XTAL_CALP_SET 
 	rtn wake
+endif
 	until null,lpo_edge
 	fetch 1,mem_xtal_c_sel
+p_set_xtal_cap_next:
 	store 1,core_xtal_cap
 	branch lpm_write_wait
 	
@@ -881,6 +905,10 @@
 	//call xtal_fast_wake
 //	fetch 2,mem_cb_before_lpm_sleep
 //	call callback_func
+ifdef XTAL_CALP_SET
+	setarg 0x12
+	call p_set_xtal_cap_next
+endif
 p_lpm_sleep_skip_cb_function:
 	fetch 4,mem_sleep_counter_all	// sleep total time, 32k unit
 	iadd temp,pdata
@@ -937,10 +965,7 @@
 	arg 0x01f8,temp
 	iand temp,pdata
 	branch p_g24_reconn_dispatch_next,blank
-	fetch 2,mem_24g_reconn_count
-	increase 1,pdata
-	store 2,mem_24g_reconn_count
-	rtn
+	branch g24_reconn_dispatch+5
 
 p_g24_reconn_dispatch_next:
 	call g24_reconn_data_prep
@@ -959,7 +984,7 @@
 
 p_g24_reconn_mode_judge:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,g24_pair_start
+	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,mouse_24g_pair_mode_check
 	branch g24_reconn_receiver_addr
 
 p_g24_reconn_device_fail:
@@ -1092,16 +1117,14 @@
 	branch soft_reset+2
 
 p_mouse_wheel_init_set:
-	call p_clear_wake
-//	call mouse_matrix_public_gpio_reset
-	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
-	call gpio_set_high_impedance
-	fetcht 1,mem_whee_b_data_gpio
-	call gpio_set_high_impedance
-p_mouse_puchk_disable_check:
-	fetch 1,mem_24g_abort_pac
-	rtn blank
-	branch p_mouse_puchk_disable
+	call p_mouse_puchk_disable
+	call mouse_matrix_public_gpio_reset
+	branch mouse_wheel_gpio_init
+//	fetcht 1,mem_whee_a_data_gpio		//reinit gpio pu after disable wheel wakeup
+//	call gpio_config_input
+//	fetcht 1,mem_whee_b_data_gpio
+//	branch gpio_config_input
+	
 	
 //p_mouse_24g_before_lpm_sleep:
 //	rtn
@@ -1117,8 +1140,10 @@
 
 p_mouse_load_device_info_check:
 	call p_mouse_store_normal_tx_power
-	call mouse_load_eeprom_info_check
+	branch mouse_load_eeprom_info_check
+
 p_mouse_app_initflag_check:
+	call mouse_load_eeprom_dpi
 	call p_mouse_load_device_flag_check
 	fetch 2,mem_store_flag
 	arg EEPROM_INIT_FLAG,temp
@@ -1156,6 +1181,7 @@
 	fetch 6,mem_device1_addr
 	store 6,mem_hci_plap
 	fetch 6,mem_device1_locall_addr
+p_mouse_le_lap_store:
 	store 6,mem_le_lap
 	rtn
 
@@ -1163,8 +1189,7 @@
 	fetch 6,mem_device2_addr
 	store 6,mem_hci_plap
 	fetch 6,mem_device2_locall_addr
-	store 6,mem_le_lap
-	rtn
+	branch p_mouse_le_lap_store
 
 p_mouse_store_remote_bdaddr:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -1233,6 +1258,9 @@
 	call g24_pair_timeout_timer
 	call g24_reconn_timeout_timer
 	call mouse_24g_long_sleep_param_update_timer
+ifdef COMMBINATION_DPI
+	call p_mouse_commbination_dpi_check_timer
+endif
 	//poll
 	call mouse_dpi_key_check_long_press
 	call mouse_bt_discovery_check
@@ -1249,6 +1277,31 @@
 	call mouse_wheel_trigger_timer
 	call mouse_store_information_delay_timer
 	branch mouse_check_no_data_timeout_timer
+
+ifdef COMMBINATION_DPI
+p_mouse_commbination_dpi_check_timer:
+	fetch 1,mem_mouse_commbination_key_dpi
+	rtneq GPIO_DISABLE
+	fetch 2,mem_mouse_discovery_timer
+	nrtn blank
+	fetch 2,mem_24g_pair_timeout
+	nrtn blank
+	fetch 2,mem_24g_reconn_timeout
+	nrtn blank
+	fetch 1,mem_mouse_multi_led_powon_timer
+	nrtn blank
+	call mouse_check_key_gpio
+	and rega,0x07,pdata
+	fetcht 1,mem_mouse_commbination_key_dpi
+	isub temp,null
+	branch p_mouse_commbination_dpi_check,zero
+	jam 0x1e,mem_commbination_dpi_timer
+	rtn
+p_mouse_commbination_dpi_check:	
+	arg mem_commbination_dpi_timer,regc
+	arg mouse_dpi_process_next,regb		//skip gost key
+	branch timer_single_step
+endif
 	
 p_mouse_le_send_conn_param_update_timer:
 	arg mem_mouse_le_send_conn_param_update_timer,regc
@@ -1416,18 +1469,11 @@
 	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_mouse4_0_check_reconn_target:
+	call mouse_device_le_reconn_led_config
+	branch mouse4_0_check_reconn_target
 
 p_mouse_24g_first_start_auto_pair_mode:	
 	call mouse_wakeup_from_power_check
@@ -1505,6 +1551,8 @@
 	lshift pdata,pdata
 	copy pdata,regb
 	copy temp,regc
+	call gpio_out_active
+	copy regc,temp
 	call mouse_gpio_config_input_pd
 	copy regc,temp
 	call gpio_get_bit
@@ -1517,8 +1565,7 @@
 	nrtn user
 	call g24_setgpio_lpm_before
 	call p_clear_wake
-	fetch 3,mem_24g_short_sleep_set
-	branch g24_long_seep2
+	branch g24_short_sleep_next
 	
 
 p_clear_wake:
@@ -1526,8 +1573,22 @@
 	store 8,mem_gpio_wakeup_cfg	//gpio5(ice)enable wake
 	store 4,mem_gpio_wakeup_cfg+8
 	rtn
+	
+p_mouse_24g_hibernate_set:
+	call ice_break
+	jam 0,mem_24g_attempt_fail_flag
+	call g24_transmit_next_packet
+	setarg -1
+	store 4,mem_24g_enter_hibernate
+	setarg 0
+	store 7,mem_mouse_key
+	jam 1,mem_sensor_shutdown_flag
+	call mouse_sensor_powerdown
+//	call mouse_setgpio_hibernate
+	branch mouse_24g_long_sleep
 
 p_mouse_setgpio_hibernate:
+	call mem_mouse_sensor_sclk_gpio
 	call mouse_set_sdio_high
 	call p_clear_wake
 	call mouse_before_hibernate_wheel_gpio_set
@@ -1539,10 +1600,10 @@
 	jam 1,mem_24g_abort_pac
 	call mouse_logo_led_off
 	call p_mouse_lpm_before_common
-//	call p_mouse_gpio_set_high_analog
+//	call p_mouse_gpio_set_high_impedance
 	branch mouse_setgpio_hibernate_next
 /*
-p_mouse_gpio_set_high_analog:
+p_mouse_gpio_set_high_impedance:
 	fetch 3,mem_mouse_set_high_impedance_bit_set
 	store 3,mem_pdatatemp
 	arg 24,loopcnt
@@ -1999,15 +2060,7 @@
 	jam 0x77,core_gpadc_ctrl
 	jam 0x41,core_gpadc_cfg0
 	jam 0x14,0x8ac6			//div2
-	jam 0x00,core_gpadc_cfg3
-	call sadc_channel
-	fetch 1,mem_adc_clkdiv
-	store 1,core_sadc_clkdiv
-	call sadc_read
-
-	jam 0x00,core_sadc_clkdiv
-	jam 0x00,0x8ac6
-	rtn
+	branch p_mouse_adc_reference_source_set
 	
 p_enable_adc_reference_source_inter1p8V_vdcdc:
 	call p_sadc_cal_write
@@ -2017,6 +2070,7 @@
 	jam 0x77,core_gpadc_ctrl
 	jam 0x41,core_gpadc_cfg0
 	jam 0x10,0x8ac6			//not div2
+p_mouse_adc_reference_source_set:
 	jam 0x00,core_gpadc_cfg3
 	call sadc_channel
 	fetch 1,mem_adc_clkdiv
