Index: output/otp.dat
===================================================================
--- /1121s/branch/mouse/YC_Project/Only_BLE_199/output/otp.dat	(revision 2729)
+++ /1121s/branch/mouse/YC_Project/Only_BLE_199/output/otp.dat	(working copy)
@@ -11,80 +11,76 @@
 00
 aa
 55
-02
+c2
 14
 c2
 84
 00
-2f
+2e
 c0
 00
 02
-8c
+bc
 c0
 01
 00
-3c
+3f
 c0
 08
 00
-45
+48
 c0
 08
 80
-47
+4a
 c0
 0a
 01
-36
+40
 c0
 0a
 80
-e8
-c0
-0b
-00
-55
+da
 c0
 0c
+01
 00
-f6
 c0
 0c
-80
-fd
+81
+07
 c0
 0d
 00
-61
+53
 c0
 12
 82
-2d
+37
 c0
 13
 81
-c1
+cb
 c0
 34
 02
-87
+b7
 c0
 34
 82
-99
+c9
 c0
 35
 02
-95
+c5
 c0
 36
 02
-52
+7b
 c0
 37
+04
 03
-c5
 c0
 37
 d4
@@ -92,111 +88,111 @@
 c0
 39
 84
-0e
+51
 c0
 3a
 02
-21
+2b
 c0
 3b
 84
-a1
+d1
 c0
 3d
 04
-5f
+8f
 c0
 3f
-83
-f0
+84
+34
 c0
 40
 84
-44
+74
 c0
 42
 03
-45
+5e
 c0
 42
 83
-91
+9a
 c0
 43
-01
-f6
+02
+00
 c0
 43
 83
-6f
+78
 c0
 44
 03
-8f
+98
 c0
 45
 03
-59
+69
 c0
 45
 82
-a6
+e8
 c0
 46
+03
 02
-c2
 c0
 46
 83
-02
+28
 c0
 47
-03
-d8
+04
+1c
 c0
 48
-04
-31
+02
+d5
 c0
 49
 84
-6a
+9a
 c0
 4a
 84
-05
+48
 c0
 4b
 04
-1a
+5d
 c0
 62
 82
-4f
+59
 c0
 6a
 82
-15
+1f
 c0
 6b
 02
-0e
+18
 c0
 6d
 00
-88
+7a
 c0
 6d
 84
-a7
+d7
 c0
 6e
-04
-e4
+05
+14
 c0
 6e
 84
-c5
+f5
 20
 20
 23
@@ -204,47 +200,63 @@
 c0
 0a
 01
-56
+60
 c0
 0d
 01
-75
+7f
 c0
 12
 01
-9a
+a4
 c0
 12
 81
-7d
+87
 c0
 13
 01
-82
+8c
 c0
 1c
 81
-94
+9e
 c0
 1d
 01
-d0
+da
 c0
 26
 01
-cc
+d6
 c0
 26
 81
-98
+a2
+c0
+48
+02
+5c
+c0
+49
+02
+70
 c0
 4b
-03
-fb
+04
+3f
+c0
+4d
+00
+e8
+c0
+4e
+80
+f5
 c0
 4f
 82
-58
+88
 c1
 7f
 80
@@ -288,7 +300,7 @@
 20
 20
 00
-3c
+3f
 70
 89
 00
@@ -329,78 +341,10 @@
 8a
 23
 f5
-70
-8a
-24
-12
-70
-8a
-24
-10
-20
-00
-00
-3c
-70
-8a
-12
-60
-70
-8a
-23
-dd
-20
-60
-00
-00
-58
-00
-09
-60
-98
-40
-fe
-00
-1f
-e2
-22
-00
-68
-48
-c0
-99
-18
-43
-04
-00
-98
-46
-fc
-00
-20
-40
-7d
-62
-18
-07
-fe
-00
-1f
-ec
-8e
-00
-60
-f0
-89
-0a
-67
-f0
-89
-09
 20
 20
 21
-da
+69
 70
 01
 bb
@@ -444,7 +388,7 @@
 20
 40
 00
-bd
+af
 20
 40
 70
@@ -476,7 +420,7 @@
 c0
 08
 00
-b2
+a4
 6f
 e0
 c4
@@ -520,7 +464,7 @@
 20
 40
 00
-a4
+96
 70
 80
 43
@@ -544,15 +488,15 @@
 20
 40
 01
-09
+13
 20
 40
 01
-34
+3e
 20
 40
 00
-9f
+91
 70
 41
 48
@@ -588,7 +532,7 @@
 20
 40
 00
-98
+8a
 70
 8a
 08
@@ -632,7 +576,7 @@
 c3
 02
 80
-99
+8b
 68
 59
 01
@@ -676,7 +620,7 @@
 c0
 0c
 00
-aa
+9c
 6f
 e0
 c4
@@ -768,11 +712,11 @@
 20
 20
 00
-7c
+6e
 20
 35
 80
-cf
+c1
 6f
 e2
 02
@@ -997,18 +941,114 @@
 20
 21
 b4
-58
-0a
-aa
-7e
-67
-f1
-8a
-0f
-20
+6f
+e0
+c7
+93
+24
+7a
 00
 00
-3c
+20
+40
+00
+ed
+20
+40
+00
+f0
+20
+20
+36
+62
+6f
+e0
+c6
+55
+c1
+7f
+80
+00
+20
+20
+5e
+78
+d8
+e0
+00
+0c
+20
+40
+7c
+ef
+24
+7a
+00
+00
+20
+40
+04
+20
+20
+20
+61
+02
+68
+48
+c6
+01
+6f
+e0
+c6
+21
+98
+46
+7c
+00
+24
+21
+00
+fa
+20
+20
+36
+81
+6f
+e2
+45
+8f
+68
+4a
+45
+e4
+98
+46
+7c
+00
+20
+22
+b2
+22
+20
+40
+02
+ad
+20
+20
+36
+9b
+58
+0a
+aa
+7e
+67
+f1
+8a
+0f
+20
+00
+00
+3c
 70
 8a
 25
@@ -1036,11 +1076,11 @@
 c0
 4f
 01
-06
+10
 c0
 55
 01
-02
+0c
 20
 20
 22
@@ -1072,7 +1112,7 @@
 20
 20
 01
-04
+0e
 20
 75
 80
@@ -1124,7 +1164,7 @@
 20
 40
 01
-26
+30
 2a
 2f
 fe
@@ -1156,7 +1196,7 @@
 20
 40
 01
-26
+30
 d8
 a0
 8a
@@ -1184,7 +1224,7 @@
 20
 21
 01
-1b
+25
 20
 20
 21
@@ -1272,7 +1312,7 @@
 c0
 08
 01
-4f
+59
 58
 00
 57
@@ -1316,7 +1356,7 @@
 c0
 08
 01
-4c
+56
 58
 00
 2b
@@ -1352,7 +1392,7 @@
 20
 20
 01
-48
+52
 58
 00
 83
@@ -1364,7 +1404,7 @@
 20
 20
 01
-3d
+47
 6f
 e0
 cb
@@ -1384,7 +1424,7 @@
 20
 40
 01
-58
+62
 20
 20
 25
@@ -1420,7 +1460,7 @@
 24
 41
 01
-52
+5c
 98
 46
 7e
@@ -1432,7 +1472,7 @@
 20
 21
 01
-6a
+74
 6f
 e0
 cb
@@ -1444,7 +1484,7 @@
 24
 41
 01
-68
+72
 70
 4b
 fb
@@ -1520,7 +1560,7 @@
 24
 36
 81
-7c
+86
 6f
 e0
 cb
@@ -1660,7 +1700,7 @@
 c5
 97
 81
-a0
+aa
 78
 3c
 fc
@@ -1704,7 +1744,7 @@
 20
 37
 01
-a9
+b3
 1b
 42
 04
@@ -1752,7 +1792,7 @@
 20
 40
 01
-b7
+c1
 6f
 e0
 81
@@ -1876,7 +1916,7 @@
 c0
 02
 01
-d3
+dd
 20
 20
 28
@@ -1892,11 +1932,11 @@
 c0
 05
 01
-d8
+e2
 c0
 09
 01
-e7
+f1
 20
 20
 2b
@@ -1924,7 +1964,7 @@
 c2
 81
 81
-e2
+ec
 6f
 e1
 43
@@ -1952,11 +1992,11 @@
 24
 22
 81
-de
+e8
 24
 34
 01
-de
+e8
 20
 20
 2d
@@ -2036,7 +2076,7 @@
 c0
 7f
 82
-01
+0b
 6f
 e0
 c8
@@ -2112,7 +2152,7 @@
 20
 40
 04
-26
+69
 20
 20
 5b
@@ -2160,7 +2200,7 @@
 20
 20
 82
-1b
+25
 d9
 00
 00
@@ -2196,7 +2236,7 @@
 20
 40
 04
-01
+44
 70
 4b
 1d
@@ -2256,11 +2296,11 @@
 20
 40
 02
-37
+41
 20
 40
 02
-33
+3d
 20
 20
 24
@@ -2272,7 +2312,7 @@
 20
 3a
 02
-1e
+28
 58
 00
 00
@@ -2280,7 +2320,7 @@
 20
 20
 02
-1f
+29
 60
 04
 40
@@ -2348,7 +2388,7 @@
 20
 22
 82
-4a
+54
 e7
 e0
 80
@@ -2368,7 +2408,7 @@
 c2
 00
 02
-44
+4e
 1a
 42
 04
@@ -2389,78 +2429,230 @@
 20
 6b
 38
-20
-40
-54
-3b
-58
-00
-4a
-1d
-67
+6f
 e1
-43
-3f
-58
-00
+45
+e0
+d8
+40
+01
+f8
+98
+41
+7e
 00
 20
-67
-e1
-43
-41
+3a
+02
+61
 20
 20
-54
-4c
-6f
-e0
-c4
-37
-24
-7a
-00
-00
-6f
-e1
-44
-e9
-c3
-85
-80
-00
-6a
-21
-45
-f0
+35
+61
 20
 40
 35
-b4
-60
-48
-c6
+7f
+20
+40
+36
+51
+24
+2c
+35
+86
 24
+37
+b5
+86
+20
+40
+36
+6e
 6f
 e0
-c6
-29
 c5
-13
+7d
+20
+3a
 02
-62
+81
 6f
-e0
-c6
-2c
-98
-46
-7c
+e2
+45
+cc
+68
+4a
+45
+8f
+98
+46
+7c
+00
+20
+22
+82
+6d
+20
+20
+35
+6e
+6f
+e4
+47
+13
+c2
+98
+60
+4e
+20
+20
+35
+49
+6f
+e0
+c5
+e3
+20
+3a
+32
+22
+6f
+e1
+45
+e0
+1f
+e0
+fe
+01
+67
+e1
+45
+e0
+2f
+ef
+fe
+09
+6f
+e0
+c5
+e2
+c0
+02
+82
+79
+20
+20
+35
+8d
+20
+20
+b5
+49
+20
+20
+32
+9c
+20
+40
+54
+3b
+58
+00
+4a
+1d
+67
+e1
+43
+3f
+58
+00
+00
+20
+67
+e1
+43
+41
+20
+20
+54
+4c
+6f
+e2
+45
+e4
+68
+4a
+45
+8f
+98
+46
+7c
+00
+20
+22
+82
+68
+6f
+e2
+45
+5f
+20
+7a
+00
 00
+20
+20
+02
+68
+6f
+e0
+c4
+37
 24
+7a
+00
+00
+6f
+e1
+44
+e9
+c3
+85
+80
+00
+6a
 21
+45
+f0
+20
+40
+35
+b4
+60
+48
+c6
+24
+6f
+e0
+c6
+29
+c5
+13
 02
+92
+6f
+e0
+c6
+2c
+98
+46
 7c
+00
+24
+21
+02
+ac
 6f
 e0
 c6
@@ -2472,7 +2664,7 @@
 24
 21
 02
-6a
+9a
 6f
 e0
 c6
@@ -2480,7 +2672,7 @@
 c0
 00
 02
-7d
+ad
 20
 60
 00
@@ -2516,7 +2708,7 @@
 c5
 13
 02
-73
+a3
 6f
 e0
 c6
@@ -2548,7 +2740,7 @@
 c0
 01
 02
-85
+b5
 c0
 00
 b7
@@ -2568,7 +2760,7 @@
 c0
 01
 82
-83
+b3
 1f
 e0
 fe
@@ -2584,7 +2776,7 @@
 c0
 01
 02
-85
+b5
 70
 41
 41
@@ -2640,7 +2832,7 @@
 20
 55
 82
-92
+c2
 20
 20
 20
@@ -2648,7 +2840,7 @@
 20
 40
 02
-1e
+28
 20
 40
 58
@@ -2673,6 +2865,10 @@
 20
 54
 2c
+20
+40
+04
+19
 6f
 e4
 47
@@ -2682,13 +2878,9 @@
 dd
 60
 c2
-89
-5d
-6e
-c2
 8a
 02
-9e
+ce
 20
 60
 00
@@ -2700,11 +2892,15 @@
 20
 40
 02
-a2
+d3
+20
+40
+5d
+cc
 20
 40
 02
-b1
+f2
 20
 20
 5d
@@ -2713,18 +2909,86 @@
 e4
 47
 13
-2f
-ef
-fe
-3e
+c4
+15
+00
+00
+6f
+e4
+47
+13
+c4
+15
+00
+00
+c3
+1f
+82
+e2
 20
 40
-dd
-d1
+02
+e4
 20
+40
+02
+de
+68
+48
+c6
+5a
 20
-5d
-cc
+40
+6e
+f3
+68
+48
+c6
+5a
+20
+20
+55
+b5
+68
+48
+c6
+5a
+20
+40
+6e
+e6
+24
+20
+de
+c2
+20
+20
+5e
+be
+20
+40
+02
+da
+20
+40
+5e
+bb
+68
+48
+c6
+5a
+20
+40
+6e
+f7
+68
+48
+c6
+5a
+20
+20
+55
+b1
 6f
 e1
 46
@@ -2739,8 +3003,8 @@
 00
 20
 22
-82
-f6
+83
+1e
 60
 49
 46
@@ -2762,10 +3026,6 @@
 46
 95
 20
-20
-5d
-ca
-20
 60
 00
 00
@@ -2795,8 +3055,8 @@
 e0
 20
 3a
-02
-bf
+03
+00
 67
 e1
 49
@@ -2807,123 +3067,15 @@
 02
 6f
 e1
-4a
-00
-9a
-66
-7c
-00
-24
-21
-02
-bf
-1a
-62
-24
-00
-20
-20
-02
-b5
-6f
-e1
-49
-de
-67
-e1
-46
-95
-20
-60
-00
-00
-6f
-e4
-47
-13
-c2
-89
-dc
-b1
-c2
-89
-5c
-b9
-c2
-8a
-02
-c7
-20
-60
-00
-00
-20
-40
-02
-c9
-20
-20
-5c
-c1
-6f
-e0
-c6
-66
-c1
-00
-00
-00
-c0
-00
-82
-ce
-c0
-01
-02
-e2
-20
-60
-00
-00
-6a
-41
-49
-ee
-1a
-42
-26
-00
-20
-40
-5d
-f3
-6f
-e3
-49
-b5
-20
-3a
-02
-da
-67
-e3
-49
-af
-1a
-60
-a6
-06
-6f
-e1
-49
-f0
+4a
+00
 9a
 66
 7c
 00
 24
-61
-00
+21
+03
 00
 1a
 62
@@ -2932,63 +3084,71 @@
 20
 20
 02
-d0
+f6
 6f
-e3
+e1
 49
-af
-68
-4b
-46
-6e
-98
-46
-7c
-00
+de
 20
-62
-80
-00
-df
 20
-00
+5e
+41
+6f
+e4
+47
+13
+c2
+89
+dc
+b1
+c2
+8a
+03
 06
-da
 20
-46
-6e
-1a
-62
-24
+60
+00
 00
 20
+40
+03
+08
+20
 20
-6b
-45
+5c
+c1
+6f
+e0
+c6
+66
+c1
+80
+80
+00
 6a
 41
 49
-f6
+ee
 1a
 42
 26
 00
 20
 40
-5e
-17
+5d
+f3
 6f
 e3
 49
-cd
+b5
 20
 3a
-02
-ee
+03
+16
 67
 e3
 49
-c7
+af
 1a
 60
 a6
@@ -2996,7 +3156,7 @@
 6f
 e1
 49
-f8
+f0
 9a
 66
 7c
@@ -3011,16 +3171,16 @@
 00
 20
 20
-02
-e4
+03
+0c
 6f
 e3
 49
-c7
+af
 68
 4b
 46
-7b
+6e
 98
 46
 7c
@@ -3036,7 +3196,7 @@
 da
 20
 46
-7b
+6e
 1a
 62
 24
@@ -3048,15 +3208,15 @@
 20
 40
 03
-2f
+55
 20
 40
 03
-47
+60
 20
 40
-02
-fa
+03
+22
 20
 20
 5c
@@ -3079,16 +3239,8 @@
 94
 c0
 03
-03
-00
-20
-60
-00
-00
-70
-46
-90
-00
+57
+42
 20
 60
 00
@@ -3104,7 +3256,7 @@
 c2
 8a
 03
-06
+2c
 20
 60
 00
@@ -3136,7 +3288,7 @@
 20
 3a
 03
-14
+3a
 67
 e0
 c9
@@ -3164,7 +3316,7 @@
 20
 20
 03
-0a
+30
 6f
 e0
 c9
@@ -3176,7 +3328,7 @@
 20
 3a
 03
-1e
+44
 6f
 e0
 c6
@@ -3184,7 +3336,7 @@
 20
 40
 03
-2c
+52
 67
 e0
 c9
@@ -3216,7 +3368,7 @@
 20
 40
 03
-2c
+52
 98
 46
 7c
@@ -3252,7 +3404,7 @@
 20
 22
 83
-1a
+40
 1a
 60
 a7
@@ -3260,7 +3412,7 @@
 20
 20
 03
-1a
+40
 c1
 80
 00
@@ -3274,65 +3426,17 @@
 00
 00
 6f
-e4
-47
-13
-c2
-9f
-03
-36
-6f
 e0
 c6
 66
 c1
 00
-00
-00
-c0
-00
-83
-36
-c0
-01
-03
-3d
-20
-60
-00
-00
-6f
-e3
-46
-6e
-68
-4b
-46
-e6
-98
-46
-7c
-00
-24
-62
 80
 00
 6f
 e3
-42
-db
-67
-e3
 46
 6e
-20
-60
-00
-00
-6f
-e3
-46
-7b
 68
 4b
 46
@@ -3349,14 +3453,10 @@
 e3
 42
 db
-1f
-e0
-ff
-00
 67
 e3
 46
-7b
+6e
 20
 60
 00
@@ -3364,7 +3464,7 @@
 20
 40
 03
-47
+60
 20
 20
 5a
@@ -3377,29 +3477,13 @@
 0a
 5c
 6f
-c2
-9f
-03
-4f
 6f
 e0
 c6
 66
 c1
 00
-00
-00
-c0
-00
-83
-4f
-c0
-01
-03
-54
-20
-60
-00
+80
 00
 6f
 e3
@@ -3422,26 +3506,6 @@
 00
 00
 6f
-e3
-46
-75
-67
-e3
-41
-16
-6f
-e3
-46
-7b
-67
-e3
-42
-db
-20
-60
-00
-00
-6f
 e4
 47
 13
@@ -3467,47 +3531,19 @@
 4a
 20
 40
-03
-61
-20
-20
-5c
-a3
-6f
-e0
-c6
-66
-c0
-00
-83
-65
-c0
-01
-03
-6a
-20
-60
-00
-00
-6f
-e3
-01
-78
-67
-e3
-46
-68
-6f
-e3
-42
-db
-67
-e3
-46
-6e
+03
+71
 20
-60
-00
+20
+5c
+a3
+6f
+e0
+c6
+66
+c1
+80
+80
 00
 6f
 e3
@@ -3516,7 +3552,7 @@
 67
 e3
 46
-75
+68
 6f
 e3
 42
@@ -3524,7 +3560,7 @@
 67
 e3
 46
-7b
+6e
 20
 60
 00
@@ -3532,7 +3568,7 @@
 20
 40
 03
-85
+8e
 20
 40
 61
@@ -3604,7 +3640,7 @@
 20
 40
 03
-88
+91
 20
 40
 56
@@ -3636,7 +3672,7 @@
 da
 40
 03
-8b
+94
 20
 20
 42
@@ -3672,19 +3708,31 @@
 c0
 20
 03
-a3
+af
 c0
 0a
 83
-a8
+b4
 c0
 19
 03
-9a
+a6
+c0
+1e
+03
+d1
+c0
+1c
+83
+e1
+c0
+1d
+03
+e6
 c0
 0a
 03
-97
+a3
 20
 20
 5a
@@ -3708,7 +3756,7 @@
 c0
 00
 83
-9e
+aa
 70
 48
 44
@@ -3716,7 +3764,7 @@
 20
 20
 03
-a0
+ac
 20
 40
 5a
@@ -3792,7 +3840,7 @@
 c2
 8d
 83
-b2
+be
 d8
 40
 00
@@ -3828,7 +3876,7 @@
 c2
 83
 83
-bc
+c8
 c2
 80
 42
@@ -3874,17 +3922,225 @@
 54
 cd
 6f
+e2
+45
+8f
+67
+e2
+45
+e8
+67
+e2
+46
+91
+20
+40
+35
+5a
+20
+40
+5c
+0b
+20
+40
+61
+8e
+20
+40
+5a
+73
+70
+47
+7d
+00
+70
+45
+fc
+00
+70
+45
+e2
+00
+6f
+e2
+45
+e8
+68
+4a
+45
+e4
+98
+46
+7c
+00
+20
+62
+80
+00
+20
+40
+03
+e3
+20
+20
+60
+42
+20
+40
+03
+e3
+20
+20
+60
+84
+6f
+e0
+ca
+07
+67
+e0
+c1
+41
+20
+20
+60
+16
+20
+40
+03
+e3
+6f
+e0
+c8
+7a
+c1
+00
+80
+00
+6f
 e0
 c6
-66
+00
+24
+3a
+5f
+f2
+6f
+e0
+c5
+e2
+c0
+02
+83
+f7
 c0
 00
+83
+f0
+c0
+01
+83
+fe
+20
+20
+60
+55
+6f
+e4
+47
+13
+c2
+98
 03
-cd
+f3
+20
+20
+60
+62
+6f
+e1
+45
+d6
+67
+e1
+45
+de
+70
+45
+e2
+05
+20
+20
+35
+34
+6f
+e4
+47
+13
+c3
+1f
+60
+59
+6f
+e0
+c7
+1b
+c0
+00
+e0
+59
+20
+40
+60
+18
+70
+46
+66
+01
+20
+20
+54
+91
+6f
+e4
+47
+13
+c3
+1f
+60
+59
+c2
+89
+e0
+59
+c2
+8a
+60
+59
+20
+20
+03
+f3
+6f
+e0
+c6
+66
+c0
+00
+04
+11
 20
 20
 54
 91
+20
+40
+54
+ac
+20
+34
+04
+0d
 70
 46
 66
@@ -3906,6 +4162,22 @@
 35
 34
 6f
+e0
+c6
+66
+c0
+00
+60
+67
+20
+40
+5a
+a8
+20
+20
+03
+fb
+6f
 e4
 47
 13
@@ -3931,8 +4203,8 @@
 13
 c2
 98
-03
-c8
+04
+08
 20
 20
 60
@@ -3959,8 +4231,8 @@
 aa
 20
 40
-03
-de
+04
+22
 20
 20
 5e
@@ -3995,8 +4267,8 @@
 49
 20
 40
-03
-e5
+04
+29
 20
 20
 56
@@ -4023,8 +4295,8 @@
 54
 c0
 7f
-83
-ec
+84
+30
 20
 20
 56
@@ -4043,8 +4315,8 @@
 49
 20
 20
-03
-f0
+04
+34
 1a
 62
 7e
@@ -4104,15 +4376,11 @@
 20
 40
 04
-01
-6f
-e1
-c6
-08
+44
 20
 20
 36
-22
+1b
 58
 00
 00
@@ -4172,7 +4440,7 @@
 20
 40
 04
-01
+44
 20
 40
 56
@@ -4208,7 +4476,7 @@
 20
 40
 02
-21
+2b
 20
 20
 54
@@ -4236,7 +4504,7 @@
 24
 5a
 04
-2f
+72
 6f
 e4
 47
@@ -4244,7 +4512,7 @@
 c3
 0b
 04
-24
+67
 6f
 e0
 c9
@@ -4256,7 +4524,7 @@
 20
 40
 04
-26
+69
 20
 20
 60
@@ -4300,87 +4568,11 @@
 20
 40
 04
-01
+44
 20
 20
 02
-40
-6f
-e4
-47
-13
-c4
-15
-00
-00
-c3
-1f
-84
-3e
-20
-40
-04
-40
-20
-40
-04
-3a
-68
-48
-c6
-5a
-20
-40
-6e
-f3
-68
-48
-c6
-5a
-20
-20
-55
-b5
-68
-48
-c6
-5a
-20
-40
-6e
-e6
-24
-20
-de
-c2
-20
-20
-5e
-be
-20
-40
-04
-36
-20
-40
-5e
-bb
-68
-48
-c6
-5a
-20
-40
-6e
-f7
-68
-48
-c6
-5a
-20
-20
-55
-b1
+4a
 20
 40
 59
@@ -4396,7 +4588,7 @@
 c0
 2c
 04
-49
+79
 20
 20
 59
@@ -4412,7 +4604,7 @@
 c0
 2c
 84
-4d
+7d
 20
 20
 59
@@ -4444,7 +4636,7 @@
 c0
 05
 84
-55
+85
 20
 20
 59
@@ -4460,7 +4652,7 @@
 c0
 7f
 84
-5b
+8b
 68
 48
 c6
@@ -4504,7 +4696,7 @@
 20
 40
 04
-50
+80
 58
 00
 00
@@ -4528,7 +4720,7 @@
 20
 40
 04
-6d
+9d
 20
 20
 56
@@ -4572,7 +4764,7 @@
 20
 40
 04
-75
+a5
 20
 20
 57
@@ -4608,7 +4800,7 @@
 20
 22
 84
-87
+b7
 6f
 e0
 c6
@@ -4620,7 +4812,7 @@
 20
 22
 84
-8d
+bd
 68
 48
 c6
@@ -4636,7 +4828,7 @@
 20
 22
 84
-96
+c6
 20
 40
 57
@@ -4644,7 +4836,7 @@
 20
 40
 04
-9b
+cb
 20
 20
 57
@@ -4672,7 +4864,7 @@
 20
 20
 04
-97
+c7
 68
 48
 c6
@@ -4688,23 +4880,23 @@
 20
 22
 84
-93
+c3
 20
 40
 04
-9d
+cd
 20
 20
 04
-85
+b5
 20
 40
 04
-9d
+cd
 20
 40
 04
-99
+c9
 20
 20
 57
@@ -4712,11 +4904,11 @@
 20
 40
 04
-99
+c9
 20
 40
 04
-9f
+cf
 20
 20
 57
@@ -4904,11 +5096,11 @@
 c0
 00
 84
-c9
+f9
 c0
 01
-04
-d0
+05
+00
 20
 60
 00
@@ -4939,8 +5131,8 @@
 c0
 20
 20
-04
-d6
+05
+06
 58
 00
 03
@@ -4988,7 +5180,7 @@
 20
 40
 04
-b8
+e8
 6f
 f0
 8a
@@ -5023,8 +5215,8 @@
 00
 20
 40
-04
-db
+05
+0b
 20
 40
 6f
@@ -5051,8 +5243,8 @@
 00
 20
 40
-04
-db
+05
+0b
 6f
 e0
 c4
@@ -5083,8 +5275,8 @@
 03
 20
 40
-04
-fd
+05
+2d
 68
 59
 01
@@ -5127,14 +5319,14 @@
 29
 c3
 02
-84
-fd
+85
+2d
 20
 60
 00
 00
-4d
-f4
+0a
+92
 aa
 55
 40
@@ -5143,7 +5335,7 @@
 40
 05
 00
-73
+33
 07
 a0
 00
@@ -5191,8 +5383,8 @@
 00
 00
 00
-40
-80
+45
+a4
 00
 00
 00
@@ -5439,13 +5631,6 @@
 55
 01
 00
-81
-46
-34
-aa
-55
-01
-00
 28
 47
 03
@@ -5866,30 +6051,18 @@
 00
 fa
 49
-b9
-1a
-ea
+e9
+1c
 1a
+1d
 aa
 55
-18
+0c
 00
-e2
+e6
 49
-eb
-1a
-b2
-1b
-b3
 1b
-2a
-1c
-2b
-1c
-de
-1c
-df
-1c
+1d
 92
 1d
 93
@@ -6407,8 +6580,8 @@
 aa
 aa
 55
-d9
-5a
-4e
-b7
+3a
+53
+c1
+47
 20
Index: output/program.lis
===================================================================
--- /1121s/branch/mouse/YC_Project/Only_BLE_199/output/program.lis	(revision 2677)
+++ /1121s/branch/mouse/YC_Project/Only_BLE_199/output/program.lis	(working copy)
@@ -1,1691 +1,1771 @@
               include "bt_format "
               org 0x0000
-0000 c284002f bbit1 8 ,pf_patch_ext 
-0001 c000028c beq patch00_0 ,p_soft_reset 
-0002 c001003c beq patch00_2 ,p_main_loop 
-0003 c0080045 beq patch02_0 ,p_shutdown_radio 
-0004 c0088047 beq patch02_1 ,p_set_sync_on 
-0005 c00a0136 beq patch02_4 ,p_set_lemode 
-0006 c00a80e8 beq patch02_5 ,p_rf_rx_enable 
-0007 c00b0055 beq patch02_6 ,p_calc_freq 
-0008 c00c00f6 beq patch03_0 ,p_txon 
-0009 c00c80fd beq patch03_1 ,p_set_tx_power 
-000a c00d0061 beq patch03_2 ,p_initialize_radio_cont 
-000b c012822d beq patch04_5 ,p_lpm_sleep 
-000c c01381c1 beq patch04_7 ,p_lpm_adjust_clk 
-000d c0340287 beq patch0d_0 ,p_mouse_cb_fuction 
-000e c0348299 beq patch0d_1 ,p_mouse_load_device_info_check 
-000f c0350295 beq patch0d_2 ,p_mouse_default_init 
-0010 c0360252 beq patch0d_4 ,p_mouse_param_init 
-0011 c03703c5 beq patch0d_6 ,p_mouse_start_work 
-0012 c037d4b6 beq patch0d_7 ,mouse4_0_check_reconn_target 
-0013 c039840e beq patch0e_3 ,p_mouse_setgpio_hibernate 
-0014 c03a0221 beq patch0e_4 ,p_mouse_lpm_before_common 
-0015 c03b84a1 beq patch0e_7 ,p_mouse_adc_read_start 
-0016 c03d045f beq patch0f_2 ,p_mouse_motion 
-0017 c03f83f0 beq patch0f_7 ,p_mouse_3io6key_check 
-0018 c0408444 beq patch10_1 ,p_mouse_init_sensor 
-0019 c0420345 beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
-001a c0428391 beq patch10_5 ,p_mouse_priority_bb_event 
-001b c04301f6 beq patch10_6 ,p_mouse_le 
-001c c043836f beq patch10_7 ,p_mouse_bb_event_timer 
-001d c044038f beq patch11_0 ,p_mouse_start_discovery 
-001e c0450359 beq patch11_2 ,p_mouse_store_remote_bdaddr 
-001f c04582a6 beq patch11_3 ,p_mouse_app_initflag_check 
-0020 c04602c2 beq patch11_4 ,p_mouse_store_device_info 
-0021 c0468302 beq patch11_5 ,p_mouse_store_dpi_info_check 
-0022 c04703d8 beq patch11_6 ,p_mouse_idle 
-0023 c0480431 beq patch12_0 ,p_mouse_check_select_device_by_switch 
-0024 c049846a beq patch12_3 ,p_mouse_drawing_optima 
-0025 c04a8405 beq patch12_5 ,p_mouse_24g_hibernate_set 
-0026 c04b041a beq patch12_6 ,p_mouse_24g_package_data 
-0027 c062824f beq patch18_5 ,p_otp_read_data 
-0028 c06a8215 beq patch1a_5 ,p_gpio_set_wake_by_current_state 
-0029 c06b020e beq patch1a_6 ,p_gpio_set_wake 
-002a c06d0088 beq patch1b_2 ,p_sadc_calibration 
-002b c06d84a7 beq patch1b_3 ,p_adc_init_data 
-002c c06e04e4 beq patch1b_4 ,p_enable_adc 
-002d c06e84c5 beq patch1b_5 ,p_vdd_calculate_by_mode 
-002e 2020235a branch assert 
+0000 c284002e bbit1 8 ,pf_patch_ext 
+0001 c00002bc beq patch00_0 ,p_soft_reset 
+0002 c001003f beq patch00_2 ,p_main_loop 
+0003 c0080048 beq patch02_0 ,p_shutdown_radio 
+0004 c008804a beq patch02_1 ,p_set_sync_on 
+0005 c00a0140 beq patch02_4 ,p_set_lemode 
+0006 c00a80da beq patch02_5 ,p_rf_rx_enable 
+0007 c00c0100 beq patch03_0 ,p_txon 
+0008 c00c8107 beq patch03_1 ,p_set_tx_power 
+0009 c00d0053 beq patch03_2 ,p_initialize_radio_cont 
+000a c0128237 beq patch04_5 ,p_lpm_sleep 
+000b c01381cb beq patch04_7 ,p_lpm_adjust_clk 
+000c c03402b7 beq patch0d_0 ,p_mouse_cb_fuction 
+000d c03482c9 beq patch0d_1 ,p_mouse_load_device_info_check 
+000e c03502c5 beq patch0d_2 ,p_mouse_default_init 
+000f c036027b beq patch0d_4 ,p_mouse_param_init 
+0010 c0370403 beq patch0d_6 ,p_mouse_start_work 
+0011 c037d4b6 beq patch0d_7 ,mouse4_0_check_reconn_target 
+0012 c0398451 beq patch0e_3 ,p_mouse_setgpio_hibernate 
+0013 c03a022b beq patch0e_4 ,p_mouse_lpm_before_common 
+0014 c03b84d1 beq patch0e_7 ,p_mouse_adc_read_start 
+0015 c03d048f beq patch0f_2 ,p_mouse_motion 
+0016 c03f8434 beq patch0f_7 ,p_mouse_3io6key_check 
+0017 c0408474 beq patch10_1 ,p_mouse_init_sensor 
+0018 c042035e beq patch10_4 ,p_mouse_buletooth_fast_conn_end 
+0019 c042839a beq patch10_5 ,p_mouse_priority_bb_event 
+001a c0430200 beq patch10_6 ,p_mouse_le 
+001b c0438378 beq patch10_7 ,p_mouse_bb_event_timer 
+001c c0440398 beq patch11_0 ,p_mouse_start_discovery 
+001d c0450369 beq patch11_2 ,p_mouse_store_remote_bdaddr 
+001e c04582e8 beq patch11_3 ,p_mouse_app_initflag_check 
+001f c0460302 beq patch11_4 ,p_mouse_store_device_info 
+0020 c0468328 beq patch11_5 ,p_mouse_store_dpi_info_check 
+0021 c047041c beq patch11_6 ,p_mouse_idle 
+0022 c04802d5 beq patch12_0 ,p_mouse_check_select_device_by_switch 
+0023 c049849a beq patch12_3 ,p_mouse_drawing_optima 
+0024 c04a8448 beq patch12_5 ,p_mouse_24g_hibernate_set 
+0025 c04b045d beq patch12_6 ,p_mouse_24g_package_data 
+0026 c0628259 beq patch18_5 ,p_otp_read_data 
+0027 c06a821f beq patch1a_5 ,p_gpio_set_wake_by_current_state 
+0028 c06b0218 beq patch1a_6 ,p_gpio_set_wake 
+0029 c06d007a beq patch1b_2 ,p_sadc_calibration 
+002a c06d84d7 beq patch1b_3 ,p_adc_init_data 
+002b c06e0514 beq patch1b_4 ,p_enable_adc 
+002c c06e84f5 beq patch1b_5 ,p_vdd_calculate_by_mode 
+002d 2020235a branch assert 
 
 pf_patch_ext:
-002f c00a0156 beq patch22_4 ,p_le_slave_match 
-0030 c00d0175 beq patch23_2 ,p_le_got_first_packet_new 
-0031 c012019a beq patch24_4 ,p_le_receive_rxon 
-0032 c012817d beq patch24_5 ,p_le_rx_dec 
-0033 c0130182 beq patch24_6 ,p_le_rx_nopayload 
-0034 c01c8194 beq patch27_1 ,p_le_parse 
-0035 c01d01d0 beq patch27_2 ,p_le_parse_l2cap 
-0036 c02601cc beq patch29_4 ,p_le_adv_not_match 
-0037 c0268198 beq patch29_5 ,p_le_init_adv 
-0038 c04b03fb beq patch32_6 ,p_g24_short_sleep 
-0039 c04f8258 beq patch33_7 ,p_power_ctrl_start 
-003a c17f8000 rtneq patch3f_7 
-003b 2020235a branch assert 
+002e c00a0160 beq patch22_4 ,p_le_slave_match 
+002f c00d017f beq patch23_2 ,p_le_got_first_packet_new 
+0030 c01201a4 beq patch24_4 ,p_le_receive_rxon 
+0031 c0128187 beq patch24_5 ,p_le_rx_dec 
+0032 c013018c beq patch24_6 ,p_le_rx_nopayload 
+0033 c01c819e beq patch27_1 ,p_le_parse 
+0034 c01d01da beq patch27_2 ,p_le_parse_l2cap 
+0035 c02601d6 beq patch29_4 ,p_le_adv_not_match 
+0036 c02681a2 beq patch29_5 ,p_le_init_adv 
+0037 c048025c beq patch32_0 ,p_g24_reconn_dispatch 
+0038 c0490270 beq patch32_2 ,p_g24_reconn_device_fail 
+0039 c04b043f beq patch32_6 ,p_g24_short_sleep 
+003a c04d00e8 beq patch33_2 ,p_mouse_g24_retransmit 
+003b c04e80f5 beq patch33_5 ,p_g24_transmit_hop_process 
+003c c04f8288 beq patch33_7 ,p_power_ctrl_start 
+003d c17f8000 rtneq patch3f_7 
+003e 2020235a branch assert 
 
 p_main_loop:
-003c 20407552 call sp_calc_sequence_256 
-003d 20407448 call sp_calc_sequence_256_check 
-003e 20402a45 call le_advertising_dispatch 
-003f 2040202a call idle_dispatch 
-0040 204042ad call app_process_idle 
-0041 20402018 call connection_dispatch 
-0042 2040310f call g24_dispatch 
-0043 2040248c call lpm_dispatch 
-0044 2020003c branch p_main_loop 
+003f 20407552 call sp_calc_sequence_256 
+0040 20407448 call sp_calc_sequence_256_check 
+0041 20402a45 call le_advertising_dispatch 
+0042 2040202a call idle_dispatch 
+0043 204042ad call app_process_idle 
+0044 20402018 call connection_dispatch 
+0045 2040310f call g24_dispatch 
+0046 2040248c call lpm_dispatch 
+0047 2020003f branch p_main_loop 
 
 p_shutdown_radio:
-0045 70890000 jam 0 ,0x8900 
-0046 20202153 branch shutdown_radio + 1 
+0048 70890000 jam 0 ,0x8900 
+0049 20202153 branch shutdown_radio + 1 
 
 p_set_sync_on:
-0047 708a0f60 jam 0x60 ,0x8a0f 
-0048 708a10aa jam 0xaa ,0x8a10 
-0049 708a127a jam 0x7a ,0x8a12 
-004a 708a2500 jam 0x00 ,0x8a25 
-004b 708a2600 jam 0x00 ,0x8a26 
-004c 2000003c nop 60 
-004d 708a2020 jam 0x20 ,0x8a20 
-004e 708a23f5 jam 0xf5 ,0x8a23 
-004f 708a2412 jam 0x12 ,0x8a24 
-0050 708a2410 jam 0x10 ,0x8a24 
-0051 2000003c nop 60 
-0052 708a1260 jam 0x60 ,0x8a12 
-0053 708a23dd jam 0xdd ,0x8a23 
-0054 20600000 rtn 
-
-p_calc_freq:
-0055 58000960 setarg 2400 
-0056 9840fe00 iadd temp ,pdata 
-0057 1fe22200 copy pdata ,rega 
-0058 6848c099 fetcht 1 ,mem_fcomp_div 
-0059 18430400 rshift temp ,temp 
-005a 9846fc00 idiv temp 
-005b 20407d62 call wait_div_end 
-005c 1807fe00 quotient pdata 
-005d 1fec8e00 rshift8 pdata ,queue 
-005e 60f0890a storer queue ,1 ,0x890a 
-005f 67f08909 store 1 ,0x8909 
-0060 202021da branch calc_freq + 10 
+004a 708a0f60 jam 0x60 ,0x8a0f 
+004b 708a10aa jam 0xaa ,0x8a10 
+004c 708a127a jam 0x7a ,0x8a12 
+004d 708a2500 jam 0x00 ,0x8a25 
+004e 708a2600 jam 0x00 ,0x8a26 
+004f 2000003c nop 60 
+0050 708a2020 jam 0x20 ,0x8a20 
+0051 708a23f5 jam 0xf5 ,0x8a23 
+0052 20202169 branch set_sync_on_next 
 
 p_initialize_radio_cont:
-0061 7001bb00 jam 0 ,mem_le_testtype 
-0062 7001bc00 jam 0 ,mem_cmd_le_create_conn 
+0053 7001bb00 jam 0 ,mem_le_testtype 
+0054 7001bc00 jam 0 ,mem_cmd_le_create_conn 
+0055 37d98200 until null ,lpo_edge 
+0056 7089460d jam 0x0d ,0x8946 
+0057 70896f10 jam 0x10 ,0x896f 
+0058 708a13cd jam 0xcd ,0x8a13 
+0059 708a0610 jam 0x10 ,0x8a06 
+005a 708a844a jam 0x4a ,0x8a84 
+005b 708a8540 jam 0x40 ,0x8a85 
+005c 708a16fe jam 0xfe ,0x8a16 
+005d 204000af call p_set_otp_config 
+005e 204070d7 call wdt_set_disable 
+005f 37d98200 until null ,lpo_edge 
+0060 70813b5f jam 0x5f ,0x813b 
+0061 37d98200 until null ,lpo_edge 
+0062 70813c88 jam 0x88 ,0x813c 
 0063 37d98200 until null ,lpo_edge 
-0064 7089460d jam 0x0d ,0x8946 
-0065 70896f10 jam 0x10 ,0x896f 
-0066 708a13cd jam 0xcd ,0x8a13 
-0067 708a0610 jam 0x10 ,0x8a06 
-0068 708a844a jam 0x4a ,0x8a84 
-0069 708a8540 jam 0x40 ,0x8a85 
-006a 708a16fe jam 0xfe ,0x8a16 
-006b 204000bd call p_set_otp_config 
-006c 204070d7 call wdt_set_disable 
-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 
+0064 6fe0c099 fetch 1 ,mem_fcomp_div 
+0065 c00800a4 beq xtal_16m ,p_initialize_radio_16m 
+0066 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0067 1fe1fe04 or_into 0x04 ,pdata 
+0068 67f08a02 store 1 ,0x8a02 
+0069 70890f01 jam 0x01 ,0x890f 
+006a 708a8024 jam 0x24 ,0x8a80 
+006b 708a8162 jam 0x62 ,0x8a81 
+006c 58e61212 setarg 0xe61212 
+006d 67f18a73 store 3 ,0x8a73 
 
 p_initialize_radio2:
-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 20400109 call p_rx_dcoc 
-0085 20400134 call p_rfpll_aac_ghpc 
-0086 2040009f call p_set_xtal_cap 
-0087 7041480c jam system_clk_12m ,mem_system_clk 
+006e 708a8660 jam 0x60 ,0x8a86 
+006f 708a8b3b jam 0x3b ,0x8a8b 
+0070 20400096 call p_dpll_on 
+0071 70804300 jam 0 ,core_config 
+0072 70804205 jam clksel_dpll ,core_clksel 
+0073 58557474 setarg 0x557474 
+0074 67f18968 store 3 ,0x8968 
+0075 7089606e jam 0x6e ,0x8960 
+0076 20400113 call p_rx_dcoc 
+0077 2040013e call p_rfpll_aac_ghpc 
+0078 20400091 call p_set_xtal_cap 
+0079 7041480c jam system_clk_12m ,mem_system_clk 
 
 p_sadc_calibration:
-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 
+007a 20758000 rtn wake 
+007b 708a0777 jam 0x77 ,core_gpadc_ctrl 
+007c 708a08c9 jam 0xc9 ,core_gpadc_cfg0 
+007d 708a0b01 jam 0x01 ,core_gpadc_cfg3 
+007e 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+007f 67f080cd store 1 ,core_sadc_clkdiv 
+0080 20000bb8 nop 3000 
+0081 2040008a call p_sadc_read 
+0082 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0083 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+0084 df200008 arg 8 ,loopcnt 
+0085 20406f58 call sadc_cal_read + 1 
+0086 6fe0c419 fetch 1 ,mem_spi_write_addr 
+0087 67e0c433 store 1 ,mem_adc_cal_c7 
+0088 6240c419 storer regb ,1 ,mem_spi_write_addr 
+0089 20600000 rtn 
 
 p_sadc_read:
-0098 7080cc03 jam 0x03 ,core_sadc_ctrl 
+008a 7080cc03 jam 0x03 ,core_sadc_ctrl 
 
 p_sadc_read_wait:
-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 
+008b 6ff08129 fetch 1 ,core_perf_status 
+008c c302808b bbit0 saradc_done ,p_sadc_read_wait 
+008d 68590164 fetcht 2 ,core_sadc_data 
+008e 6049440a storet 2 ,mem_adc_current_value 
+008f 7080cc00 jam 0x00 ,core_sadc_ctrl 
+0090 20600000 rtn 
 
 p_set_xtal_cap:
-009f 20758000 rtn wake 
-00a0 37d98200 until null ,lpo_edge 
-00a1 6fe0c11c fetch 1 ,mem_xtal_c_sel 
+0091 20758000 rtn wake 
+0092 37d98200 until null ,lpo_edge 
+0093 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 
+0094 67f0813a store 1 ,core_xtal_cap 
+0095 202023e2 branch lpm_write_wait 
 
 p_dpll_on:
-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 
+0096 6fe0c099 fetch 1 ,mem_fcomp_div 
+0097 c00c009c beq xtal_24m ,p_dpll_on_24m 
+0098 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+0099 1fe1fe06 or_into 0x06 ,pdata 
+009a 67f08a02 store 1 ,0x8a02 
+009b 708a05e0 jam 0xe0 ,0x8a05 
 
 p_dpll_on_24m:
-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 
+009c 708a00d8 jam 0xd8 ,0x8a00 
+009d 2000003c nop 60 
+009e 708a01a0 jam 0xa0 ,0x8a01 
+009f 708a00df jam 0xdf ,0x8a00 
+00a0 708a01fa jam 0xfa ,0x8a01 
+00a1 20000014 nop 20 
+00a2 708a009f jam 0x9f ,0x8a00 
+00a3 20600000 rtn 
 
 p_initialize_radio_16m:
-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 
+00a4 6fe0c438 fetch 1 ,mem_ring_ibias_trim 
+00a5 1fe1fe06 or_into 0x06 ,pdata 
+00a6 67f08a02 store 1 ,0x8a02 
+00a7 70890f00 jam 0x00 ,0x890f 
+00a8 708a8023 jam 0x23 ,0x8a80 
+00a9 708a81b0 jam 0xb0 ,0x8a81 
+00aa 58e40909 setarg 0xe40909 
+00ab 67f18a73 store 3 ,0x8a73 
+00ac 708a762a jam 0x2a ,0x8a76 
+00ad 70890204 jam 0x04 ,0x8902 
+00ae 2020006e branch p_initialize_radio2 
 
 p_set_otp_config:
-00bd 203580cf branch p_set_otp_config_wake ,wake 
-00be 6fe2020d fetch 4 ,mem_otp_core_ldo 
-00bf 207a0000 rtn blank 
+00af 203580c1 branch p_set_otp_config_wake ,wake 
+00b0 6fe2020d fetch 4 ,mem_otp_core_ldo 
+00b1 207a0000 rtn blank 
+00b2 37d98200 until null ,lpo_edge 
+00b3 6ff08136 fetch 1 ,0x8136 
+00b4 1fe17ef0 and pdata ,0xf0 ,pdata 
+00b5 6848820d fetcht 1 ,mem_otp_core_ldo 
+00b6 9841fe00 ior temp ,pdata 
+00b7 1fe0fffd increase -3 ,pdata 
+00b8 67f08136 store 1 ,0x8136 
+00b9 37d98200 until null ,lpo_edge 
+00ba 6ff08138 fetch 1 ,0x8138 
+00bb 1fe17e07 and pdata ,0x7 ,pdata 
+00bc 6848820e fetcht 1 ,mem_otp_verf_bg 
+00bd 18498400 lshift3 temp ,temp 
+00be 9841fe00 ior temp ,pdata 
+00bf 67f08138 store 1 ,0x8138 
 00c0 37d98200 until null ,lpo_edge 
-00c1 6ff08136 fetch 1 ,0x8136 
-00c2 1fe17ef0 and pdata ,0xf0 ,pdata 
-00c3 6848820d fetcht 1 ,mem_otp_core_ldo 
-00c4 9841fe00 ior temp ,pdata 
-00c5 1fe0fffd increase -3 ,pdata 
-00c6 67f08136 store 1 ,0x8136 
-00c7 37d98200 until null ,lpo_edge 
-00c8 6ff08138 fetch 1 ,0x8138 
-00c9 1fe17e07 and pdata ,0x7 ,pdata 
-00ca 6848820e fetcht 1 ,mem_otp_verf_bg 
-00cb 18498400 lshift3 temp ,temp 
-00cc 9841fe00 ior temp ,pdata 
-00cd 67f08138 store 1 ,0x8138 
-00ce 37d98200 until null ,lpo_edge 
 
 p_set_otp_config_wake:
-00cf 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
-00d0 207a0000 rtn blank 
-00d1 67e1020f store 2 ,mem_otp_charge_pump 
+00c1 6fe1415b fetch 2 ,mem_otp_charge_pump_x 
+00c2 207a0000 rtn blank 
+00c3 67e1020f store 2 ,mem_otp_charge_pump 
 
 p_set_otp_config2:
-00d2 6ff08acb fetch 1 ,0x8acb 
-00d3 1fe17ef0 and pdata ,0xf0 ,pdata 
-00d4 6848820f fetcht 1 ,mem_otp_charge_pump 
-00d5 6048c15b storet 1 ,mem_otp_charge_pump_x 
-00d6 9841fe00 ior temp ,pdata 
-00d7 67f08acb store 1 ,0x8acb 
-00d8 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00d9 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
-00da 2feffe03 isolate1 3 ,pdata 
-00db 6ff08a06 fetch 1 ,0x8a06 
-00dc 7920fe07 setflag true ,7 ,pdata 
-00dd 67f08a06 store 1 ,0x8a06 
-00de 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
-00df 1fe10407 and pdata ,7 ,temp 
-00e0 18520400 lshift4 temp ,temp 
-00e1 18438400 lshift temp ,temp 
-00e2 6048c438 storet 1 ,mem_ring_ibias_trim 
-00e3 6ff08a02 fetch 1 ,0x8a02 
-00e4 1fe17e1f and pdata ,0x1f ,pdata 
-00e5 9841fe00 ior temp ,pdata 
-00e6 67f08a02 store 1 ,0x8a02 
-00e7 20600000 rtn 
+00c4 6ff08acb fetch 1 ,0x8acb 
+00c5 1fe17ef0 and pdata ,0xf0 ,pdata 
+00c6 6848820f fetcht 1 ,mem_otp_charge_pump 
+00c7 6048c15b storet 1 ,mem_otp_charge_pump_x 
+00c8 9841fe00 ior temp ,pdata 
+00c9 67f08acb store 1 ,0x8acb 
+00ca 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00cb 67e0c15c store 1 ,mem_otp_dpll_ibais_x 
+00cc 2feffe03 isolate1 3 ,pdata 
+00cd 6ff08a06 fetch 1 ,0x8a06 
+00ce 7920fe07 setflag true ,7 ,pdata 
+00cf 67f08a06 store 1 ,0x8a06 
+00d0 6fe08210 fetch 1 ,mem_otp_dpll_ibais 
+00d1 1fe10407 and pdata ,7 ,temp 
+00d2 18520400 lshift4 temp ,temp 
+00d3 18438400 lshift temp ,temp 
+00d4 6048c438 storet 1 ,mem_ring_ibias_trim 
+00d5 6ff08a02 fetch 1 ,0x8a02 
+00d6 1fe17e1f and pdata ,0x1f ,pdata 
+00d7 9841fe00 ior temp ,pdata 
+00d8 67f08a02 store 1 ,0x8a02 
+00d9 20600000 rtn 
 
 p_rf_rx_enable:
-00e8 2040686f call rf_debug_rx_gpio_high 
-00e9 204021ba call rf_rx_agc_set 
-00ea 18002a08 force 8 ,radio_ctrl 
-00eb 18002a00 force 0 ,radio_ctrl 
-00ec 580aaada setarg 0x0aaada 
-00ed 67f18a0f store 3 ,0x8a0f 
-00ee 708a2540 jam 0x40 ,0x8a25 
-00ef 708a2610 jam 0x10 ,0x8a26 
-00f0 2000003c nop 60 
-00f1 708a01fb jam 0xfb ,0x8a01 
-00f2 708a25ff jam 0xff ,0x8a25 
-00f3 708a2630 jam 0x30 ,0x8a26 
-00f4 708a16fe jam 0xfe ,0x8a16 
-00f5 202021b4 branch rf_rx_enable + 14 
+00da 2040686f call rf_debug_rx_gpio_high 
+00db 204021ba call rf_rx_agc_set 
+00dc 18002a08 force 8 ,radio_ctrl 
+00dd 18002a00 force 0 ,radio_ctrl 
+00de 580aaada setarg 0x0aaada 
+00df 67f18a0f store 3 ,0x8a0f 
+00e0 708a2540 jam 0x40 ,0x8a25 
+00e1 708a2610 jam 0x10 ,0x8a26 
+00e2 2000003c nop 60 
+00e3 708a01fb jam 0xfb ,0x8a01 
+00e4 708a25ff jam 0xff ,0x8a25 
+00e5 708a2630 jam 0x30 ,0x8a26 
+00e6 708a16fe jam 0xfe ,0x8a16 
+00e7 202021b4 branch rf_rx_enable + 14 
+
+p_mouse_g24_retransmit:
+00e8 6fe0c793 fetch 1 ,mem_mouse_need_soft_reset 
+00e9 247a0000 nrtn blank 
+00ea 204000ed call p_mouse_retransmit_select_device_by_pb_button 
+00eb 204000f0 call p_mouse_select_device_by_dpi_button_once 
+00ec 20203662 branch g24_retransmit0 
+
+p_mouse_retransmit_select_device_by_pb_button:
+00ed 6fe0c655 fetch 1 ,mem_config_select_device_button_gpio 
+00ee c17f8000 rtneq gpio_disable 
+00ef 20205e78 branch mouse_retransmit_select_device_by_pb_button 
+
+p_mouse_select_device_by_dpi_button_once:
+00f0 d8e0000c arg 12 ,queue 
+00f1 20407cef call timer_check 
+00f2 247a0000 nrtn blank 
+00f3 20400420 call p_mouse_dpi_check_retransmit 
+00f4 20206102 branch mouse_g24_retransmit_event_set 
+
+p_g24_transmit_hop_process:
+00f5 6848c601 fetcht 1 ,mem_24g_retry 
+00f6 6fe0c621 fetch 1 ,mem_24g_fast_hop_count 
+00f7 98467c00 isub temp ,null 
+00f8 242100fa nbranch p_g24_tx_fast_hop ,positive 
+00f9 20203681 branch g24_transmit_hop_process + 5 
+
+p_g24_tx_fast_hop:
+00fa 6fe2458f fetch 4 ,mem_24g_addr 
+00fb 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+00fc 98467c00 isub temp ,null 
+00fd 2022b222 branch g24_ch ,zero 
+00fe 204002ad call p_power_ctrl_txpower_incrs 
+00ff 2020369b branch g24_tx_fast_hop + 1 
 
 p_txon:
-00f6 580aaa7e setarg 0x0aaa7e 
-00f7 67f18a0f store 3 ,0x8a0f 
-00f8 2000003c nop 60 
-00f9 708a2500 jam 0x00 ,0x8a25 
-00fa 708a260d jam 0x0d ,0x8a26 
-00fb 708a16f6 jam 0xf6 ,0x8a16 
-00fc 20202203 branch txon + 7 
+0100 580aaa7e setarg 0x0aaa7e 
+0101 67f18a0f store 3 ,0x8a0f 
+0102 2000003c nop 60 
+0103 708a2500 jam 0x00 ,0x8a25 
+0104 708a260d jam 0x0d ,0x8a26 
+0105 708a16f6 jam 0xf6 ,0x8a16 
+0106 20202203 branch txon + 7 
 
 p_set_tx_power:
-00fd 6fe0c141 fetch 1 ,mem_tx_power 
-00fe c0032225 beq tx_power_6db ,set_tx_power_7db 
-00ff c04f0106 beq tx_power_f30db ,p_set_tx_power_f30db 
-0100 c0550102 beq tx_power_factory ,p_set_tx_power_factory 
-0101 2020220e branch set_tx_power + 2 
+0107 6fe0c141 fetch 1 ,mem_tx_power 
+0108 c0032225 beq tx_power_6db ,set_tx_power_7db 
+0109 c04f0110 beq tx_power_f30db ,p_set_tx_power_f30db 
+010a c055010c beq tx_power_factory ,p_set_tx_power_factory 
+010b 2020220e branch set_tx_power + 2 
 
 p_set_tx_power_factory:
-0102 708a1417 jam 0x17 ,0x8a14 
-0103 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
+010c 708a1417 jam 0x17 ,0x8a14 
+010d 6fe1ca08 fetch 3 ,mem_tx_power_factory_param_new 
 
 p_mouse_tx_power_set:
-0104 67f18a60 store 3 ,0x8a60 
-0105 2020221a branch set_tx_power_8a63_28 
+010e 67f18a60 store 3 ,0x8a60 
+010f 2020221a branch set_tx_power_8a63_28 
 
 p_set_tx_power_f30db:
-0106 708a1417 jam 0x17 ,0x8a14 
-0107 58250300 setarg 0x250300 
-0108 20200104 branch p_mouse_tx_power_set 
+0110 708a1417 jam 0x17 ,0x8a14 
+0111 58250300 setarg 0x250300 
+0112 2020010e branch p_mouse_tx_power_set 
 
 p_rx_dcoc:
-0109 20758000 rtn wake 
-010a 20402160 call set_sync_on 
-010b d8400027 arg 39 ,temp 
-010c 2040216f call set_freq_rx 
-010d 204021a6 call rf_rx_enable 
-010e 708a257f jam 0x7f ,0x8a25 
-010f 708a301a jam 0x1a ,0x8a30 
-0110 708a3178 jam 0x78 ,0x8a31 
-0111 708a8fb2 jam 0xb2 ,0x8a8f 
-0112 708ac200 jam 0 ,0x8ac2 
-0113 708ac300 jam 0 ,0x8ac3 
-0114 d8e00006 arg 6 ,queue 
-0115 20400126 call p_rx_dcoc_avg 
-0116 2a2ffe0d isolate1 13 ,rega 
-0117 2040211d call qset_start 
-0118 2a4ffe0d isolate1 13 ,regb 
-0119 2040211e call qset_p 
-011a d8e00005 arg 5 ,queue 
+0113 20758000 rtn wake 
+0114 20402160 call set_sync_on 
+0115 d8400027 arg 39 ,temp 
+0116 2040216f call set_freq_rx 
+0117 204021a6 call rf_rx_enable 
+0118 708a257f jam 0x7f ,0x8a25 
+0119 708a301a jam 0x1a ,0x8a30 
+011a 708a3178 jam 0x78 ,0x8a31 
+011b 708a8fb2 jam 0xb2 ,0x8a8f 
+011c 708ac200 jam 0 ,0x8ac2 
+011d 708ac300 jam 0 ,0x8ac3 
+011e d8e00006 arg 6 ,queue 
+011f 20400130 call p_rx_dcoc_avg 
+0120 2a2ffe0d isolate1 13 ,rega 
+0121 2040211d call qset_start 
+0122 2a4ffe0d isolate1 13 ,regb 
+0123 2040211e call qset_p 
+0124 d8e00005 arg 5 ,queue 
 
 p_rx_dcoc_loop2:
-011b 2040211c call qset1_p 
-011c 2040211e call qset_p 
-011d 20400126 call p_rx_dcoc_avg 
-011e d8a08ac2 arg 0x8ac2 ,contw 
-011f 1a31fe00 rshift4 rega ,pdata 
-0120 20402117 call qsetxor 
-0121 1a51fe00 rshift4 regb ,pdata 
-0122 20402117 call qsetxor 
-0123 18e08fff increase -1 ,queue 
-0124 2021011b branch p_rx_dcoc_loop2 ,positive 
-0125 2020214f branch rx_dcoc_loop2 + 10 
+0125 2040211c call qset1_p 
+0126 2040211e call qset_p 
+0127 20400130 call p_rx_dcoc_avg 
+0128 d8a08ac2 arg 0x8ac2 ,contw 
+0129 1a31fe00 rshift4 rega ,pdata 
+012a 20402117 call qsetxor 
+012b 1a51fe00 rshift4 regb ,pdata 
+012c 20402117 call qsetxor 
+012d 18e08fff increase -1 ,queue 
+012e 20210125 branch p_rx_dcoc_loop2 ,positive 
+012f 2020214f branch rx_dcoc_loop2 + 10 
 
 p_rx_dcoc_avg:
-0126 2000003c nop 60 
-0127 58000f00 setarg mem_dcoc_buf 
-0128 67f10982 store 2 ,0x8982 
-0129 58000ff0 setarg mem_dcoc_buf_end 
-012a 67f10984 store 2 ,0x8984 
-012b 70898109 jam 0x9 ,0x8981 
-012c 70898103 jam 0x3 ,0x8981 
-012d 70898006 jam 0x6 ,0x8980 
-012e 2000003c nop 60 
-012f da200000 arg 0 ,rega 
-0130 da400000 arg 0 ,regb 
-0131 df200010 arg 16 ,loopcnt 
-0132 d8c00f00 arg mem_dcoc_buf ,contr 
-0133 2020212d branch rx_dcoc_loop 
+0130 2000003c nop 60 
+0131 58000f00 setarg mem_dcoc_buf 
+0132 67f10982 store 2 ,0x8982 
+0133 58000ff0 setarg mem_dcoc_buf_end 
+0134 67f10984 store 2 ,0x8984 
+0135 70898109 jam 0x9 ,0x8981 
+0136 70898103 jam 0x3 ,0x8981 
+0137 70898006 jam 0x6 ,0x8980 
+0138 2000003c nop 60 
+0139 da200000 arg 0 ,rega 
+013a da400000 arg 0 ,regb 
+013b df200010 arg 16 ,loopcnt 
+013c d8c00f00 arg mem_dcoc_buf ,contr 
+013d 2020212d branch rx_dcoc_loop 
 
 p_rfpll_aac_ghpc:
-0134 20758000 rtn wake 
-0135 20202272 branch rfpll_aac_ghpc + 1 
+013e 20758000 rtn wake 
+013f 20202272 branch rfpll_aac_ghpc + 1 
 
 p_set_lemode:
-0136 708a8211 jam 0x11 ,0x8a82 
-0137 708a8d12 jam 0x12 ,0x8a8d 
-0138 708a8e0a jam 0x0a ,0x8a8e 
-0139 6fe0c099 fetch 1 ,mem_fcomp_div 
-013a c008014f beq xtal_16m ,p_set_lemode_2m_16m 
-013b 58005762 setarg 0x5762 
-013c 67f10907 store 2 ,0x8907 
+0140 708a8211 jam 0x11 ,0x8a82 
+0141 708a8d12 jam 0x12 ,0x8a8d 
+0142 708a8e0a jam 0x0a ,0x8a8e 
+0143 6fe0c099 fetch 1 ,mem_fcomp_div 
+0144 c0080159 beq xtal_16m ,p_set_lemode_2m_16m 
+0145 58005762 setarg 0x5762 
+0146 67f10907 store 2 ,0x8907 
 
 p_set_lemode_2m:
-013d 70890103 jam 3 ,0x8901 
-013e 70893003 jam 3 ,0x8930 
-013f c6168000 rtnmark1 mark_ble_2m 
-0140 70890101 jam 1 ,0x8901 
-0141 708a8207 jam 0x07 ,0x8a82 
-0142 708a8d44 jam 0x44 ,0x8a8d 
-0143 708a8e0a jam 0x0a ,0x8a8e 
-0144 6fe0c099 fetch 1 ,mem_fcomp_div 
-0145 c008014c beq xtal_16m ,p_set_lemode_1m_16m 
-0146 58002bb1 setarg 0x2bb1 
-0147 67f10907 store 2 ,0x8907 
+0147 70890103 jam 3 ,0x8901 
+0148 70893003 jam 3 ,0x8930 
+0149 c6168000 rtnmark1 mark_ble_2m 
+014a 70890101 jam 1 ,0x8901 
+014b 708a8207 jam 0x07 ,0x8a82 
+014c 708a8d44 jam 0x44 ,0x8a8d 
+014d 708a8e0a jam 0x0a ,0x8a8e 
+014e 6fe0c099 fetch 1 ,mem_fcomp_div 
+014f c0080156 beq xtal_16m ,p_set_lemode_1m_16m 
+0150 58002bb1 setarg 0x2bb1 
+0151 67f10907 store 2 ,0x8907 
 
 p_set_lemode_1m:
-0148 c6978000 rtnmark0 mark_ble_lr 
-0149 70893024 jam 0x24 ,0x8930 
-014a 70890105 jam 5 ,0x8901 
-014b 20600000 rtn 
+0152 c6978000 rtnmark0 mark_ble_lr 
+0153 70893024 jam 0x24 ,0x8930 
+0154 70890105 jam 5 ,0x8901 
+0155 20600000 rtn 
 
 p_set_lemode_1m_16m:
-014c 58004189 setarg 0x4189 
-014d 67f10907 store 2 ,0x8907 
-014e 20200148 branch p_set_lemode_1m 
+0156 58004189 setarg 0x4189 
+0157 67f10907 store 2 ,0x8907 
+0158 20200152 branch p_set_lemode_1m 
 
 p_set_lemode_2m_16m:
-014f 58008312 setarg 0x8312 
-0150 67f10907 store 2 ,0x8907 
-0151 2020013d branch p_set_lemode_2m 
+0159 58008312 setarg 0x8312 
+015a 67f10907 store 2 ,0x8907 
+015b 20200147 branch p_set_lemode_2m 
 
 p_le_check_retransmit_timesout:
-0152 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-0153 da600100 arg 256 ,regc 
-0154 9a60fe00 iadd regc ,pdata 
-0155 20600000 rtn 
+015c 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+015d da600100 arg 256 ,regc 
+015e 9a60fe00 iadd regc ,pdata 
+015f 20600000 rtn 
 
 p_le_slave_match:
-0156 20400158 call p_le_check_retransmit 
-0157 20202563 branch le_slave_match + 1 
+0160 20400162 call p_le_check_retransmit 
+0161 20202563 branch le_slave_match + 1 
 
 p_le_check_retransmit:
-0158 6fe0cbfa fetch 1 ,mem_le_conn_first_rcv 
-0159 207a0000 rtn blank 
-015a 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-015b 247a0000 nrtn blank 
-015c 6848cbfa fetcht 1 ,mem_le_conn_first_rcv 
-015d 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-015e 98467c00 isub temp ,null 
-015f 24410152 ncall p_le_check_retransmit_timesout ,positive 
-0160 98467e00 isub temp ,pdata 
-0161 1fe67c64 sub pdata ,100 ,null 
-0162 2021016a branch p_le_check_retransmit_count ,positive 
-0163 6fe0cbfc fetch 1 ,mem_le_retransmit_cnt 
-0164 1fe67c14 sub pdata ,20 ,null 
-0165 24410168 ncall p_app_ble_disconnect ,positive 
-0166 704bfb01 jam 1 ,mem_le_check_retransmit_flag 
-0167 20600000 rtn 
+0162 6fe0cbfa fetch 1 ,mem_le_conn_first_rcv 
+0163 207a0000 rtn blank 
+0164 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
+0165 247a0000 nrtn blank 
+0166 6848cbfa fetcht 1 ,mem_le_conn_first_rcv 
+0167 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+0168 98467c00 isub temp ,null 
+0169 2441015c ncall p_le_check_retransmit_timesout ,positive 
+016a 98467e00 isub temp ,pdata 
+016b 1fe67c64 sub pdata ,100 ,null 
+016c 20210174 branch p_le_check_retransmit_count ,positive 
+016d 6fe0cbfc fetch 1 ,mem_le_retransmit_cnt 
+016e 1fe67c14 sub pdata ,20 ,null 
+016f 24410172 ncall p_app_ble_disconnect ,positive 
+0170 704bfb01 jam 1 ,mem_le_check_retransmit_flag 
+0171 20600000 rtn 
 
 p_app_ble_disconnect:
-0168 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
-0169 2020431f branch app_ble_disconnect 
+0172 704bfd01 jam 1 ,mem_le_check_retransmit_discon_flag 
+0173 2020431f branch app_ble_disconnect 
 
 p_le_check_retransmit_count:
-016a 6848817f fetcht 1 ,mem_le_arq 
-016b 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
-016c 1fe37e00 rshift pdata ,pdata 
-016d 9842fe00 ixor temp ,pdata 
-016e 2feffe02 isolate1 nesn ,pdata 
-016f 58000000 setarg 0 
-0170 6848cbfc fetcht 1 ,mem_le_retransmit_cnt 
-0171 7920fe00 setflag true ,0 ,pdata 
-0172 98408400 iadd temp ,temp 
-0173 6048cbfc storet 1 ,mem_le_retransmit_cnt 
-0174 20600000 rtn 
+0174 6848817f fetcht 1 ,mem_le_arq 
+0175 6fe0804c fetch 1 ,mem_le_rxbuf_data_header 
+0176 1fe37e00 rshift pdata ,pdata 
+0177 9842fe00 ixor temp ,pdata 
+0178 2feffe02 isolate1 nesn ,pdata 
+0179 58000000 setarg 0 
+017a 6848cbfc fetcht 1 ,mem_le_retransmit_cnt 
+017b 7920fe00 setflag true ,0 ,pdata 
+017c 98408400 iadd temp ,temp 
+017d 6048cbfc storet 1 ,mem_le_retransmit_cnt 
+017e 20600000 rtn 
 
 p_le_got_first_packet_new:
-0175 6fe08005 fetch 1 ,mem_le_conn_rcv 
-0176 1fe0fe01 increase 1 ,pdata 
-0177 67e08005 store 1 ,mem_le_conn_rcv 
-0178 2436817c nbranch p_le_got_first_packet_new + 7 ,match 
-0179 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-017a 1fe0fe01 increase 1 ,pdata 
-017b 67e0cbf9 store 1 ,mem_le_conn_rcv_new 
-017c 2020259b branch le_got_first_packet + 4 
+017f 6fe08005 fetch 1 ,mem_le_conn_rcv 
+0180 1fe0fe01 increase 1 ,pdata 
+0181 67e08005 store 1 ,mem_le_conn_rcv 
+0182 24368186 nbranch p_le_got_first_packet_new + 7 ,match 
+0183 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+0184 1fe0fe01 increase 1 ,pdata 
+0185 67e0cbf9 store 1 ,mem_le_conn_rcv_new 
+0186 2020259b branch le_got_first_packet + 4 
 
 p_le_rx_dec:
-017d 2040281c call le_check_retransmit 
-017e 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
-017f 1a20a3fc increase -4 ,rega 
-0180 242126fa nbranch le_crc_fail_consecutive ,positive 
-0181 2020268e branch le_rx_dec + 6 
+0187 2040281c call le_check_retransmit 
+0188 6a20804d fetchr rega ,1 ,mem_le_rxbuf_data_length 
+0189 1a20a3fc increase -4 ,rega 
+018a 242126fa nbranch le_crc_fail_consecutive ,positive 
+018b 2020268e branch le_rx_dec + 6 
 
 p_le_rx_nopayload:
-0182 09800018 parse demod ,bucket ,24 
-0183 1fef7e00 rshift32 pdata ,pdata 
-0184 1ff17e00 rshift16 pdata ,pdata 
-0185 e7e18005 istore 3 ,contw 
-0186 78287c00 enable swfine 
-0187 2040270d call le_set_until_tx_timer 
-0188 202326f6 branch le_crc_fail ,crc_failed 
-0189 c59926af bmark0 mark_ble_encryption ,le_rx_match 
-018a 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
-018b 203a26af branch le_rx_match ,blank 
-018c 1fe0fffc increase -4 ,pdata 
-018d 67e0804d store 1 ,mem_le_rxbuf_data_length 
-018e 204072cb call wait_ccm_done 
-018f 6ff08108 fetch 1 ,core_misc_status 
-0190 c303a6fa bbit0 7 ,le_crc_fail_consecutive 
-0191 1800700c force regidx_result ,regext_index 
-0192 65e20154 storer regext ,4 ,mem_le_peer_mic 
-0193 202026af branch le_rx_match 
+018c 09800018 parse demod ,bucket ,24 
+018d 1fef7e00 rshift32 pdata ,pdata 
+018e 1ff17e00 rshift16 pdata ,pdata 
+018f e7e18005 istore 3 ,contw 
+0190 78287c00 enable swfine 
+0191 2040270d call le_set_until_tx_timer 
+0192 202326f6 branch le_crc_fail ,crc_failed 
+0193 c59926af bmark0 mark_ble_encryption ,le_rx_match 
+0194 6fe0804d fetch 1 ,mem_le_rxbuf_data_length 
+0195 203a26af branch le_rx_match ,blank 
+0196 1fe0fffc increase -4 ,pdata 
+0197 67e0804d store 1 ,mem_le_rxbuf_data_length 
+0198 204072cb call wait_ccm_done 
+0199 6ff08108 fetch 1 ,core_misc_status 
+019a c303a6fa bbit0 7 ,le_crc_fail_consecutive 
+019b 1800700c force regidx_result ,regext_index 
+019c 65e20154 storer regext ,4 ,mem_le_peer_mic 
+019d 202026af branch le_rx_match 
 
 p_le_parse:
-0194 6fe0c334 fetch 1 ,mem_le_packet_llid 
-0195 c1000000 rtneq llid_reserved 
-0196 c001b04a beq llid_le_ll ,le_parse_ll 
-0197 202028e1 branch le_parse_l2cap 
+019e 6fe0c334 fetch 1 ,mem_le_packet_llid 
+019f c1000000 rtneq llid_reserved 
+01a0 c001b04a beq llid_le_ll ,le_parse_ll 
+01a1 202028e1 branch le_parse_l2cap 
 
 p_le_init_adv:
-0198 793f8030 set0 mark_ble_crc_fail ,mark 
-0199 20202af6 branch le_init_adv + 1 
+01a2 793f8030 set0 mark_ble_crc_fail ,mark 
+01a3 20202af6 branch le_init_adv + 1 
 
 p_le_receive_rxon:
-019a 204025c2 call le_prep 
-019b c59781a0 bmark0 mark_ble_lr ,p_le_receive_nolr 
-019c 783cfc00 pulse dewhiten_code_calc 
-019d 2000001e nop 30 
-019e 204025c2 call le_prep 
-019f 19699600 lshift3 timeup ,timeup 
+01a4 204025c2 call le_prep 
+01a5 c59781aa bmark0 mark_ble_lr ,p_le_receive_nolr 
+01a6 783cfc00 pulse dewhiten_code_calc 
+01a7 2000001e nop 30 
+01a8 204025c2 call le_prep 
+01a9 19699600 lshift3 timeup ,timeup 
 
 p_le_receive_nolr:
-01a0 7856fc00 disable match 
-01a1 7826fc00 enable decode_fec0 
-01a2 7830fc00 enable is_rx 
-01a3 78507c00 disable is_tx 
-01a4 19623600 copy timeup ,stop_watch 
-01a5 37c18400 correlate null ,timeout 
-01a6 203701a9 branch p_le_receive_on_attempt ,attempt 
-01a7 1b420400 copy clke ,temp 
-01a8 604b000f storet 6 ,mem_sync_clke 
+01aa 7856fc00 disable match 
+01ab 7826fc00 enable decode_fec0 
+01ac 7830fc00 enable is_rx 
+01ad 78507c00 disable is_tx 
+01ae 19623600 copy timeup ,stop_watch 
+01af 37c18400 correlate null ,timeout 
+01b0 203701b3 branch p_le_receive_on_attempt ,attempt 
+01b1 1b420400 copy clke ,temp 
+01b2 604b000f storet 6 ,mem_sync_clke 
 
 p_le_receive_on_attempt:
-01a9 242c26fa nbranch le_unsync_end ,sync 
-01aa 78287c00 enable swfine 
-01ab 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
-01ac d8404e20 arg param_20ms_init ,temp 
-01ad 98408400 iadd temp ,temp 
-01ae 6fe0c148 fetch 1 ,mem_system_clk 
-01af 984fb600 imul32 temp ,stop_watch 
-01b0 20406877 call rf_debug_rx_sync_line 
-01b1 20372677 branch le_receive_skip ,attempt 
-01b2 204001b7 call p_calc_clke_all_modem 
-01b3 6fe08168 fetch 1 ,mem_le_state 
-01b4 c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
-01b5 2055a477 call lpm_adjust_clk ,wake 
-01b6 20202677 branch le_receive_skip 
+01b3 242c26fa nbranch le_unsync_end ,sync 
+01b4 78287c00 enable swfine 
+01b5 6fe0c167 fetch 1 ,mem_le_tx_ifs_defference 
+01b6 d8404e20 arg param_20ms_init ,temp 
+01b7 98408400 iadd temp ,temp 
+01b8 6fe0c148 fetch 1 ,mem_system_clk 
+01b9 984fb600 imul32 temp ,stop_watch 
+01ba 20406877 call rf_debug_rx_sync_line 
+01bb 20372677 branch le_receive_skip ,attempt 
+01bc 204001c1 call p_calc_clke_all_modem 
+01bd 6fe08168 fetch 1 ,mem_le_state 
+01be c301a677 bbit0 lestate_got_first_packet ,le_receive_skip 
+01bf 2055a477 call lpm_adjust_clk ,wake 
+01c0 20202677 branch le_receive_skip 
 
 p_calc_clke_all_modem:
-01b7 684b000f fetcht 6 ,mem_sync_clke 
-01b8 1b427e00 copy clke ,pdata 
-01b9 20407d12 call clk_diff 
-01ba 1fe20400 copy pdata ,temp 
-01bb 204026ff call calc_clke_all_modem 
-01bc 1b425600 copy clke ,rege 
-01bd 1d227e00 copy clke_rt ,pdata 
-01be 9840fe00 iadd temp ,pdata 
-01bf 1fe25200 copy pdata ,clke_rt 
-01c0 20600000 rtn 
+01c1 684b000f fetcht 6 ,mem_sync_clke 
+01c2 1b427e00 copy clke ,pdata 
+01c3 20407d12 call clk_diff 
+01c4 1fe20400 copy pdata ,temp 
+01c5 204026ff call calc_clke_all_modem 
+01c6 1b425600 copy clke ,rege 
+01c7 1d227e00 copy clke_rt ,pdata 
+01c8 9840fe00 iadd temp ,pdata 
+01c9 1fe25200 copy pdata ,clke_rt 
+01ca 20600000 rtn 
 
 p_lpm_adjust_clk:
-01c1 c584a489 bmark0 mark_context ,lpm_clear_counter 
-01c2 684a40ad fetcht 4 ,mem_sleep_counter_all 
-01c3 dfe00600 arg 0x600 ,pdata 
-01c4 98467c00 isub temp ,null 
-01c5 20610000 rtn positive 
-01c6 18422200 copy temp ,rega 
-01c7 684b000f fetcht 6 ,mem_sync_clke 
-01c8 1d627e00 deposit rege 
-01c9 20407d10 call clk_diff_rt 
-01ca 1a220400 copy rega ,temp 
-01cb 2020247d branch lpm_adjust_clk + 6 
+01cb c584a489 bmark0 mark_context ,lpm_clear_counter 
+01cc 684a40ad fetcht 4 ,mem_sleep_counter_all 
+01cd dfe00600 arg 0x600 ,pdata 
+01ce 98467c00 isub temp ,null 
+01cf 20610000 rtn positive 
+01d0 18422200 copy temp ,rega 
+01d1 684b000f fetcht 6 ,mem_sync_clke 
+01d2 1d627e00 deposit rege 
+01d3 20407d10 call clk_diff_rt 
+01d4 1a220400 copy rega ,temp 
+01d5 2020247d branch lpm_adjust_clk + 6 
 
 p_le_adv_not_match:
-01cc 20402152 call shutdown_radio 
-01cd 70890000 jam 0 ,0x8900 
-01ce 793f8030 set0 mark_ble_crc_fail ,mark 
-01cf 20202ae3 branch le_adv_not_match + 1 
+01d6 20402152 call shutdown_radio 
+01d7 70890000 jam 0 ,0x8900 
+01d8 793f8030 set0 mark_ble_crc_fail ,mark 
+01d9 20202ae3 branch le_adv_not_match + 1 
 
 p_le_parse_l2cap:
-01d0 efe10006 ifetch 2 ,contr 
-01d1 c00201d3 beq le_l2cap_cid_att ,p_le_parse_att 
-01d2 202028eb branch le_parse_l2cap_next + 2 
+01da efe10006 ifetch 2 ,contr 
+01db c00201dd beq le_l2cap_cid_att ,p_le_parse_att 
+01dc 202028eb branch le_parse_l2cap_next + 2 
 
 p_le_parse_att:
-01d3 efe18006 ifetch 3 ,contr 
-01d4 67e1c397 store 3 ,mem_le_att_opcode 
-01d5 c00501d8 beq attop_read_request ,p_le_parse_att_read_request 
-01d6 c00901e7 beq attop_write_request ,p_le_parse_att_write_request 
-01d7 20202b96 branch le_parse_att2 
+01dd efe18006 ifetch 3 ,contr 
+01de 67e1c397 store 3 ,mem_le_att_opcode 
+01df c00501e2 beq attop_read_request ,p_le_parse_att_read_request 
+01e0 c00901f1 beq attop_write_request ,p_le_parse_att_write_request 
+01e1 20202b96 branch le_parse_att2 
 
 p_le_parse_att_read_request:
-01d8 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-01d9 c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-01da 20402dc7 call le_check_encrypt_state 
-01db 68494398 fetcht 2 ,mem_le_att_handle 
-01dc 6fe0c321 fetch 1 ,mem_le_configuration 
-01dd c28181e2 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+01e2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+01e3 c31dad19 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+01e4 20402dc7 call le_check_encrypt_state 
+01e5 68494398 fetcht 2 ,mem_le_att_handle 
+01e6 6fe0c321 fetch 1 ,mem_le_configuration 
+01e7 c28181ec bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-01de 6fe14398 fetch 2 ,mem_le_att_handle 
-01df c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
-01e0 68494398 fetcht 2 ,mem_le_att_handle 
-01e1 20202d1d branch le_send_att_read_response 
+01e8 6fe14398 fetch 2 ,mem_le_att_handle 
+01e9 c0182e03 beq 0x30 ,le_send_att_error_response_notfound 
+01ea 68494398 fetcht 2 ,mem_le_att_handle 
+01eb 20202d1d branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-01e2 6fe14332 fetch 2 ,mem_le_pairing_handle 
-01e3 98467c00 isub temp ,null 
-01e4 242281de nbranch p_le_send_att_read_response ,zero 
-01e5 243401de nbranch p_le_send_att_read_response ,user 
-01e6 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+01ec 6fe14332 fetch 2 ,mem_le_pairing_handle 
+01ed 98467c00 isub temp ,null 
+01ee 242281e8 nbranch p_le_send_att_read_response ,zero 
+01ef 243401e8 nbranch p_le_send_att_read_response ,user 
+01f0 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-01e7 18c22200 copy contr ,rega 
-01e8 6fe14335 fetch 2 ,mem_le_l2cap_size 
-01e9 1fe0a5fd add pdata ,-3 ,regb 
-01ea 20402929 call le_writeatt_cb 
-01eb 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01ec c07fadac beq 0xff ,le_send_att_write_response_check_auth 
-01ed 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-01ee 203a2dac branch le_send_att_write_response_check_auth ,blank 
-01ef 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-01f0 c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-01f1 5800001a setarg 0x001a 
-01f2 68494398 fetcht 2 ,mem_le_att_handle 
-01f3 98467c00 isub temp ,null 
-01f4 2422adac nbranch le_send_att_write_response_check_auth ,zero 
-01f5 20202d46 branch le_send_att_read_response_error_insufficient_auth 
+01f1 18c22200 copy contr ,rega 
+01f2 6fe14335 fetch 2 ,mem_le_l2cap_size 
+01f3 1fe0a5fd add pdata ,-3 ,regb 
+01f4 20402929 call le_writeatt_cb 
+01f5 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+01f6 c07fadac beq 0xff ,le_send_att_write_response_check_auth 
+01f7 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+01f8 203a2dac branch le_send_att_write_response_check_auth ,blank 
+01f9 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+01fa c280adac bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+01fb 5800001a setarg 0x001a 
+01fc 68494398 fetcht 2 ,mem_le_att_handle 
+01fd 98467c00 isub temp ,null 
+01fe 2422adac nbranch le_send_att_write_response_check_auth ,zero 
+01ff 20202d46 branch le_send_att_read_response_error_insufficient_auth 
 
 p_mouse_le:
-01f6 20402a28 call le_fifo_check_nearly_full 
-01f7 247a0000 nrtn blank 
-01f8 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-01f9 c07f8201 beq 0xff ,p_mouse_le_next 
-01fa 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-01fb 1fe17e03 and pdata ,0x03 ,pdata 
-01fc c1818000 rtnne 0x03 
-01fd 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
-01fe 207a0000 rtn blank 
-01ff 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-0200 247a0000 nrtn blank 
+0200 20402a28 call le_fifo_check_nearly_full 
+0201 247a0000 nrtn blank 
+0202 6fe0c78f fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+0203 c07f820b beq 0xff ,p_mouse_le_next 
+0204 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+0205 1fe17e03 and pdata ,0x03 ,pdata 
+0206 c1818000 rtnne 0x03 
+0207 6fe0cbfb fetch 1 ,mem_le_check_retransmit_flag 
+0208 207a0000 rtn blank 
+0209 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
+020a 247a0000 nrtn blank 
 
 p_mouse_le_next:
-0201 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
-0202 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
-0203 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0204 c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
-0205 c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
-0206 c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-0207 c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
-0208 20405601 call mouse_motion 
-0209 20405ab2 call mouse_check_125hz 
-020a 24740000 nrtn user 
-020b 20405abc call mouse_current_mult_update 
-020c 20400426 call p_mouse_data_xy_release 
-020d 20205b37 branch mouse_le_next + 12 
+020b 6fe0c956 fetch 1 ,mem_mouse_clear_sensor_data_flag 
+020c 205a5a71 call mouse_clear_sensor_data_by_reset ,blank 
+020d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+020e c280db5b bbit1 mouse_24g_pairing_flag ,mouse_le_send_empty_packet 
+020f c2805b5b bbit1 mouse_select_device_flag ,mouse_le_send_empty_packet 
+0210 c282db5b bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+0211 c2835b5b bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_le_send_empty_packet 
+0212 20405601 call mouse_motion 
+0213 20405ab2 call mouse_check_125hz 
+0214 24740000 nrtn user 
+0215 20405abc call mouse_current_mult_update 
+0216 20400469 call p_mouse_data_xy_release 
+0217 20205b37 branch mouse_le_next + 12 
 
 p_gpio_set_wake:
-020e 18467cff sub temp ,ui_button_gpio_disable ,null 
-020f 20628000 rtn zero 
-0210 d9000004 arg 4 ,debug 
-0211 284ffe07 isolate1 gpio_active_bit ,temp 
-0212 2020eebd branch gpio_set_wake_high ,true 
-0213 d9000003 arg 3 ,debug 
-0214 20206ebd branch gpio_set_wake_high 
+0218 18467cff sub temp ,ui_button_gpio_disable ,null 
+0219 20628000 rtn zero 
+021a d9000004 arg 4 ,debug 
+021b 284ffe07 isolate1 gpio_active_bit ,temp 
+021c 2020eebd branch gpio_set_wake_high ,true 
+021d d9000003 arg 3 ,debug 
+021e 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_wake_by_current_state:
-0215 18467cff sub temp ,gpio_disable ,null 
-0216 20628000 rtn zero 
-0217 20406ee6 call gpio_get_bit 
-0218 2020821b branch p_gpio_set_qdec_mode ,true 
+021f 18467cff sub temp ,gpio_disable ,null 
+0220 20628000 rtn zero 
+0221 20406ee6 call gpio_get_bit 
+0222 20208225 branch p_gpio_set_qdec_mode ,true 
 
 p_gpio_set_low_wake:
-0219 d9000003 arg 3 ,debug 
-021a 20206ebd branch gpio_set_wake_high 
+0223 d9000003 arg 3 ,debug 
+0224 20206ebd branch gpio_set_wake_high 
 
 p_gpio_set_qdec_mode:
-021b 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
+0225 704b1d01 jam 1 ,mem_mouse_qdec_set_flag 
 
 p_mouse_qdec_lpm_cfg:
-021c d9000006 arg 6 ,debug 
-021d 20206ebd branch gpio_set_wake_high 
+0226 d9000006 arg 6 ,debug 
+0227 20206ebd branch gpio_set_wake_high 
 
 p_mouse_puchk_disable:
-021e 58000010 setarg 0x10 
+0228 58000010 setarg 0x10 
 
 p_mouse_puchk_set:
-021f 67f08141 store 1 ,core_puwakeup 
-0220 202023e2 branch lpm_write_wait 
+0229 67f08141 store 1 ,core_puwakeup 
+022a 202023e2 branch lpm_write_wait 
 
 p_mouse_lpm_before_common:
-0221 20400401 call p_clear_wake 
-0222 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
-0223 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0224 20406ef7 call gpio_out_active 
-0225 6848c654 fetcht 1 ,mem_matrix_public_gpio 
-0226 20406ed3 call gpio_clr_wake 
-0227 2040550d call mouse_lpm_before_common + 1 
-0228 204054f9 call mouse_gpio_pd_idle 
+022b 20400444 call p_clear_wake 
+022c 704b1d00 jam 0 ,mem_mouse_qdec_set_flag 
+022d 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+022e 20406ef7 call gpio_out_active 
+022f 6848c654 fetcht 1 ,mem_matrix_public_gpio 
+0230 20406ed3 call gpio_clr_wake 
+0231 2040550d call mouse_lpm_before_common + 1 
+0232 204054f9 call mouse_gpio_pd_idle 
 
 p_mouse_wheel_set_impedance:
-0229 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
-022a 20406f0f call gpio_set_high_impedance 
-022b 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
-022c 20206f0f branch gpio_set_high_impedance 
+0233 6848c64a fetcht 1 ,mem_whee_a_data_gpio 
+0234 20406f0f call gpio_set_high_impedance 
+0235 6848c64b fetcht 1 ,mem_whee_b_data_gpio 
+0236 20206f0f branch gpio_set_high_impedance 
 
 p_lpm_sleep:
 
 p_lpm_sleep_skip_cb_function:
-022d 6fe240ad fetch 4 ,mem_sleep_counter_all 
-022e 9840fe00 iadd temp ,pdata 
-022f 67e240ad store 4 ,mem_sleep_counter_all 
-0230 20400237 call p_lpm_save_context 
-0231 20400233 call p_mouse_puchk_set_check 
-0232 20202425 branch lpm_sleep_skip_cb_function + 4 
+0237 6fe240ad fetch 4 ,mem_sleep_counter_all 
+0238 9840fe00 iadd temp ,pdata 
+0239 67e240ad store 4 ,mem_sleep_counter_all 
+023a 20400241 call p_lpm_save_context 
+023b 2040023d call p_mouse_puchk_set_check 
+023c 20202425 branch lpm_sleep_skip_cb_function + 4 
 
 p_mouse_puchk_set_check:
-0233 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
-0234 203a021e branch p_mouse_puchk_disable ,blank 
+023d 6fe0cb1d fetch 1 ,mem_mouse_qdec_set_flag 
+023e 203a0228 branch p_mouse_puchk_disable ,blank 
 
 p_mouse_puchk_enable:
-0235 58000080 setarg 0x80 
-0236 2020021f branch p_mouse_puchk_set 
+023f 58000080 setarg 0x80 
+0240 20200229 branch p_mouse_puchk_set 
 
 p_lpm_save_context:
-0237 600440e7 storer mark ,8 ,mem_saved_mark 
-0238 d8c08070 arg core_gpio_conf ,contr 
-0239 d8a040cc arg mem_saved_gpio ,contw 
-023a 20407c8f call memcpy16 
-023b d8c080d4 arg core_gpio_conf_hi ,contr 
-023c 20407c89 call memcpy8 
-023d 6ff08080 fetch 1 ,core_spid_ctrl 
-023e 67e0c0ef store 1 ,mem_saved_spidctrl 
-023f 18422400 copy temp ,regb 
+0241 600440e7 storer mark ,8 ,mem_saved_mark 
+0242 d8c08070 arg core_gpio_conf ,contr 
+0243 d8a040cc arg mem_saved_gpio ,contw 
+0244 20407c8f call memcpy16 
+0245 d8c080d4 arg core_gpio_conf_hi ,contr 
+0246 20407c89 call memcpy8 
+0247 6ff08080 fetch 1 ,core_spid_ctrl 
+0248 67e0c0ef store 1 ,mem_saved_spidctrl 
+0249 18422400 copy temp ,regb 
 
 p_lpm_write_gpio_wakeup:
-0240 df20000c arg 12 ,loopcnt 
-0241 da200016 arg mem_gpio_wakeup_cfg ,rega 
-0242 da60814d arg core_gpio_wakeup_cfg ,regc 
-0243 37d98200 until null ,lpo_edge 
+024a df20000c arg 12 ,loopcnt 
+024b da200016 arg mem_gpio_wakeup_cfg ,rega 
+024c da60814d arg core_gpio_wakeup_cfg ,regc 
+024d 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop:
-0244 efe08011 ifetch 1 ,rega 
-0245 e8408013 ifetcht 1 ,regc 
-0246 98467c00 isub temp ,null 
-0247 2022824a branch p_lpm_write_gpio_loop_next ,zero 
-0248 e7e08013 istore 1 ,regc 
-0249 37d98200 until null ,lpo_edge 
+024e efe08011 ifetch 1 ,rega 
+024f e8408013 ifetcht 1 ,regc 
+0250 98467c00 isub temp ,null 
+0251 20228254 branch p_lpm_write_gpio_loop_next ,zero 
+0252 e7e08013 istore 1 ,regc 
+0253 37d98200 until null ,lpo_edge 
 
 p_lpm_write_gpio_loop_next:
-024a 1a20a201 increase 1 ,rega 
-024b 1a60a601 increase 1 ,regc 
-024c c2000244 loop p_lpm_write_gpio_loop 
-024d 1a420400 copy regb ,temp 
-024e 20600000 rtn 
+0254 1a20a201 increase 1 ,rega 
+0255 1a60a601 increase 1 ,regc 
+0256 c200024e loop p_lpm_write_gpio_loop 
+0257 1a420400 copy regb ,temp 
+0258 20600000 rtn 
 
 p_otp_read_data:
-024f 20406b3a call enable_otp_read 
-0250 20406b75 call otp_read_data + 1 
-0251 20206b38 branch otp_disable_chgpump 
+0259 20406b3a call enable_otp_read 
+025a 20406b75 call otp_read_data + 1 
+025b 20206b38 branch otp_disable_chgpump 
+
+p_g24_reconn_dispatch:
+025c 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+025d d84001f8 arg 0x01f8 ,temp 
+025e 98417e00 iand temp ,pdata 
+025f 203a0261 branch p_g24_reconn_dispatch_next ,blank 
+0260 20203561 branch g24_reconn_dispatch + 5 
+
+p_g24_reconn_dispatch_next:
+0261 2040357f call g24_reconn_data_prep 
+0262 20403651 call g24_transmit_receive_ack 
+0263 242c3586 nbranch g24_reconn_device_fail ,sync 
+0264 2437b586 nbranch g24_reconn_device_fail ,user3 
+0265 2040366e call g24_ackpayload_parse 
+0266 6fe0c57d fetch 1 ,mem_24g_rxdata_length 
+0267 203a0281 branch p_recv_addr_zero_skip ,blank 
+
+p_g24_reconn_dispatch_next_2:
+0268 6fe245cc fetch 4 ,mem_24g_pair_addr 
+0269 684a458f fetcht 4 ,mem_24g_addr 
+026a 98467c00 isub temp ,null 
+026b 2022826d branch p_g24_reconn_mode_judge ,zero 
+026c 2020356e branch g24_reconn_dispatch_next + 9 
+
+p_g24_reconn_mode_judge:
+026d 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+026e c298604e bbit1 mouse_enable_auto_24g_paring ,mouse_24g_pair_mode_check 
+026f 20203549 branch g24_reconn_receiver_addr 
+
+p_g24_reconn_device_fail:
+0270 6fe0c5e3 fetch 1 ,mem_24g_fast_conn_enable 
+0271 203a3222 branch g24_ch ,blank 
+0272 6fe145e0 fetch 2 ,mem_24g_reconn_count 
+0273 1fe0fe01 increase 1 ,pdata 
+0274 67e145e0 store 2 ,mem_24g_reconn_count 
+0275 2feffe09 isolate1 9 ,pdata 
+0276 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+0277 c0028279 beq pair_and_receiver ,p_g24_reconn_pair_and_receiver 
+0278 2020358d branch g24_reconn_device_fail + 7 
+
+p_g24_reconn_pair_and_receiver:
+0279 2020b549 branch g24_reconn_receiver_addr ,true 
+027a 2020329c branch g24_pair_init_param 
 
 p_mouse_param_init:
-0252 2040543b call mouse_param_common_init 
-0253 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
-0254 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
-0255 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
-0256 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
-0257 2020544c branch mouse_param_init + 2 
+027b 2040543b call mouse_param_common_init 
+027c 58004a1d setarg mem_le_tx_buffer0_omemalloc_new 
+027d 67e1433f store 2 ,mem_ble_l2cap_tx_buff0_ptr 
+027e 58000020 setarg mouse_ble_l2cap_txbuff_size_new 
+027f 67e14341 store 2 ,mem_ble_l2cap_tx_buff_size_ptr 
+0280 2020544c branch mouse_param_init + 2 
+
+p_recv_addr_zero_skip:
+0281 6fe245e4 fetch 4 ,mem_24g_fast_conn_addr 
+0282 684a458f fetcht 4 ,mem_24g_addr 
+0283 98467c00 isub temp ,null 
+0284 20228268 branch p_g24_reconn_dispatch_next_2 ,zero 
+0285 6fe2455f fetch 4 ,mem_24g_rxpayload + 2 
+0286 207a0000 rtn blank 
+0287 20200268 branch p_g24_reconn_dispatch_next_2 
 
 p_power_ctrl_start:
-0258 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
-0259 247a0000 nrtn blank 
-025a 6fe144e9 fetch 2 ,mem_ui_state_map 
-025b c3858000 rtnbit1 ui_state_ble_adv 
-025c 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
-025d 204035b4 call rssi_average 
-025e 6048c624 storet 1 ,mem_rssi_avg_received 
-025f 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
-0260 c5130262 bmark1 mark_24g ,p_power_ctrl_start_next 
-0261 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
+0288 6fe0c437 fetch 1 ,mem_power_ctrl_disable 
+0289 247a0000 nrtn blank 
+028a 6fe144e9 fetch 2 ,mem_ui_state_map 
+028b c3858000 rtnbit1 ui_state_ble_adv 
+028c 6a2145f0 fetchr rega ,2 ,mem_rssi_signal_buf_ptr 
+028d 204035b4 call rssi_average 
+028e 6048c624 storet 1 ,mem_rssi_avg_received 
+028f 6fe0c629 fetch 1 ,mem_rssi_dis_max_24g 
+0290 c5130292 bmark1 mark_24g ,p_power_ctrl_start_next 
+0291 6fe0c62c fetch 1 ,mem_rssi_dis_max_ble 
 
 p_power_ctrl_start_next:
-0262 98467c00 isub temp ,null 
-0263 2421027c nbranch p_power_ctrl_txpower_incrs_force ,positive 
-0264 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0265 1fe67c02 sub pdata ,2 ,null 
-0266 2421026a nbranch p_power_ctrl_txpower_decrs_check ,positive 
-0267 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0268 c000027d beq 0 ,p_power_ctrl_txpower_incrs 
-0269 20600000 rtn 
+0292 98467c00 isub temp ,null 
+0293 242102ac nbranch p_power_ctrl_txpower_incrs_force ,positive 
+0294 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0295 1fe67c02 sub pdata ,2 ,null 
+0296 2421029a nbranch p_power_ctrl_txpower_decrs_check ,positive 
+0297 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0298 c00002ad beq 0 ,p_power_ctrl_txpower_incrs 
+0299 20600000 rtn 
 
 p_power_ctrl_txpower_decrs_check:
-026a 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-026b 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
-026c 98467c00 isub temp ,null 
-026d 24628000 nrtn zero 
-026e 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+029a 6fe0c626 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+029b 6848c627 fetcht 1 ,mem_power_ctrl_pac_succ_cnt_init 
+029c 98467c00 isub temp ,null 
+029d 24628000 nrtn zero 
+029e 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_decrs:
-026f 6848c624 fetcht 1 ,mem_rssi_avg_received 
-0270 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
-0271 c5130273 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
-0272 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
+029f 6848c624 fetcht 1 ,mem_rssi_avg_received 
+02a0 6fe0c628 fetch 1 ,mem_rssi_dis_min_24g 
+02a1 c51302a3 bmark1 mark_24g ,p_power_ctrl_txpower_decrs_next 
+02a2 6fe0c62b fetch 1 ,mem_rssi_dis_min_ble 
 
 p_power_ctrl_txpower_decrs_next:
-0273 98467c00 isub temp ,null 
-0274 24610000 nrtn positive 
-0275 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-0276 c0003715 beq 0 ,power_ctrl_decrs_level0 
-0277 1fe0ffff increase -1 ,pdata 
-0278 67e0c625 store 1 ,mem_power_ctrl_level 
-0279 c0010285 beq 2 ,p_power_ctrl_decrs_level2 
-027a c000b70b beq 1 ,power_ctrl_decrs_level1 
-027b 20203715 branch power_ctrl_decrs_level0 
+02a3 98467c00 isub temp ,null 
+02a4 24610000 nrtn positive 
+02a5 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+02a6 c0003715 beq 0 ,power_ctrl_decrs_level0 
+02a7 1fe0ffff increase -1 ,pdata 
+02a8 67e0c625 store 1 ,mem_power_ctrl_level 
+02a9 c00102b5 beq 2 ,p_power_ctrl_decrs_level2 
+02aa c000b70b beq 1 ,power_ctrl_decrs_level1 
+02ab 20203715 branch power_ctrl_decrs_level0 
 
 p_power_ctrl_txpower_incrs_force:
-027c 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+02ac 70462600 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 p_power_ctrl_txpower_incrs:
-027d 6fe0c625 fetch 1 ,mem_power_ctrl_level 
-027e c0018283 beq 3 ,p_power_ctrl_incrs_level3 
-027f 1fe0fe01 increase 1 ,pdata 
-0280 67e0c625 store 1 ,mem_power_ctrl_level 
-0281 c000b70b beq 1 ,power_ctrl_incrs_level1 
-0282 c0010285 beq 2 ,p_power_ctrl_incrs_level2 
+02ad 6fe0c625 fetch 1 ,mem_power_ctrl_level 
+02ae c00182b3 beq 3 ,p_power_ctrl_incrs_level3 
+02af 1fe0fe01 increase 1 ,pdata 
+02b0 67e0c625 store 1 ,mem_power_ctrl_level 
+02b1 c000b70b beq 1 ,power_ctrl_incrs_level1 
+02b2 c00102b5 beq 2 ,p_power_ctrl_incrs_level2 
 
 p_power_ctrl_incrs_level3:
-0283 70414105 jam tx_power_5db ,mem_tx_power 
-0284 20600000 rtn 
+02b3 70414105 jam tx_power_5db ,mem_tx_power 
+02b4 20600000 rtn 
 
 p_power_ctrl_decrs_level2:
 
 p_power_ctrl_incrs_level2:
-0285 70414103 jam tx_power_3db ,mem_tx_power 
-0286 20600000 rtn 
+02b5 70414103 jam tx_power_3db ,mem_tx_power 
+02b6 20600000 rtn 
 
 p_mouse_cb_fuction:
-0287 58006235 setarg mouse_24g_short_sleep 
-0288 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
-0289 5800622b setarg mouse_24g_long_sleep 
-028a 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
-028b 202053f3 branch mouse_cb_fuction + 7 
+02b7 58006235 setarg mouse_24g_short_sleep 
+02b8 67e145f8 store 2 ,mem_cb_24g_transmit_short_sleep 
+02b9 5800622b setarg mouse_24g_long_sleep 
+02ba 67e145fa store 2 ,mem_cb_24g_transmit_long_sleep 
+02bb 202053f3 branch mouse_cb_fuction + 7 
 
 p_soft_reset:
-028c 2435a002 nbranch soft_reset + 1 ,wake 
-028d 37d98200 until null ,lpo_edge 
-028e 37d98200 until null ,lpo_edge 
-028f 20800000 clear_stack 
-0290 20558292 call p_mouse_wheel_init_set ,wake 
-0291 20202003 branch soft_reset + 2 
+02bc 2435a002 nbranch soft_reset + 1 ,wake 
+02bd 37d98200 until null ,lpo_edge 
+02be 37d98200 until null ,lpo_edge 
+02bf 20800000 clear_stack 
+02c0 205582c2 call p_mouse_wheel_init_set ,wake 
+02c1 20202003 branch soft_reset + 2 
 
 p_mouse_wheel_init_set:
-0292 2040021e call p_mouse_puchk_disable 
-0293 204058df call mouse_matrix_public_gpio_reset 
-0294 20206004 branch mouse_wheel_gpio_init 
+02c2 20400228 call p_mouse_puchk_disable 
+02c3 204058df call mouse_matrix_public_gpio_reset 
+02c4 20206004 branch mouse_wheel_gpio_init 
 
 p_mouse_default_init:
-0295 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0296 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
-0297 2040df08 call mouse_customer_key_enable ,true 
-0298 2020542c branch mouse_default_parm_init 
+02c5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02c6 2feffe16 isolate1 mouse_enable_keyboard ,pdata 
+02c7 2040df08 call mouse_customer_key_enable ,true 
+02c8 2020542c branch mouse_default_parm_init 
 
 p_mouse_load_device_info_check:
-0299 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-029a c289dd60 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
-029b c2895d6e bbit1 mouse_enable_flash ,mouse_load_flash_info_check 
-029c c28a029e bbit1 mouse_enable_otp ,p_mouse_load_otp_info_check 
-029d 20600000 rtn 
+02c9 20400419 call p_mouse_store_normal_tx_power 
+02ca 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02cb c289dd60 bbit1 mouse_enable_eeprom ,mouse_load_eeprom_info_check 
+02cc c28a02ce bbit1 mouse_enable_otp ,p_mouse_load_otp_info_check 
+02cd 20600000 rtn 
 
 p_mouse_load_otp_info_check:
-029e 20405e43 call mouse_read_otp_dpi 
-029f 204002a2 call p_mouse_read_otp_device_info 
-02a0 204002b1 call p_mouse_read_otp_le_addr_increase_count_info 
-02a1 20205daa branch mouse_otp_load_app_initflag 
-
-p_mouse_read_otp_device_info:
-02a2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02a3 2feffe3e isolate1 mouse_enable_24g_first_auto_pairing ,pdata 
-02a4 2040ddd1 call mouse_read_otp_le_device1 ,true 
-02a5 20205dcc branch mouse_read_otp_device_info 
+02ce 20405e43 call mouse_read_otp_dpi 
+02cf 204002d3 call p_mouse_select_device_by_switch_check 
+02d0 20405dcc call mouse_read_otp_device_info 
+02d1 204002f2 call p_mouse_read_otp_le_addr_increase_count_info 
+02d2 20205daa branch mouse_otp_load_app_initflag 
+
+p_mouse_select_device_by_switch_check:
+02d3 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02d4 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+
+p_mouse_check_select_device_by_switch:
+02d5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+02d6 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
+02d7 c31f82e2 bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
+
+p_mouse_switch_gpio_connect_vin_check:
+02d8 204002e4 call p_mouse_switch_gpio_pd_set 
+02d9 204002de call p_mouse_switch_gpio_connect_vin 
+
+p_mouse_switch_gpio_pu_set:
+02da 6848c65a fetcht 1 ,mem_device_switch_gpio 
+02db 20406ef3 call gpio_out_inactive 
+02dc 6848c65a fetcht 1 ,mem_device_switch_gpio 
+02dd 202055b5 branch mouse_gpio_config_input_pu 
+
+p_mouse_switch_gpio_connect_vin:
+02de 6848c65a fetcht 1 ,mem_device_switch_gpio 
+02df 20406ee6 call gpio_get_bit 
+02e0 2420dec2 nbranch mouse_check_select_24g_device ,true 
+02e1 20205ebe branch mouse_select_btdevice 
+
+p_mouse_switch_gpio_connect_gnd:
+02e2 204002da call p_mouse_switch_gpio_pu_set 
+02e3 20405ebb call mouse_switch_gpio_connect_gnd 
+
+p_mouse_switch_gpio_pd_set:
+02e4 6848c65a fetcht 1 ,mem_device_switch_gpio 
+02e5 20406ef7 call gpio_out_active 
+02e6 6848c65a fetcht 1 ,mem_device_switch_gpio 
+02e7 202055b1 branch mouse_gpio_config_input_pd 
 
 p_mouse_app_initflag_check:
-02a6 6fe1468e fetch 2 ,mem_store_flag 
-02a7 d840aa55 arg eeprom_init_flag ,temp 
-02a8 98467c00 isub temp ,null 
-02a9 202282f6 branch p_mouse_load_device_info ,zero 
-02aa 6049468e storet 2 ,mem_store_flag 
-02ab 20405c9c call mouse_ble_init_address 
-02ac 20405c8c call mouse_load_default_dpi 
-02ad 58001122 setarg 0x1122 
-02ae 67e14695 store 2 ,mem_random_addr_increase_count 
-02af 20205dca branch mouse_device_flag_load_end 
-02b0 20600000 rtn 
+02e8 6fe1468e fetch 2 ,mem_store_flag 
+02e9 d840aa55 arg eeprom_init_flag ,temp 
+02ea 98467c00 isub temp ,null 
+02eb 2022831e branch p_mouse_load_device_info ,zero 
+02ec 6049468e storet 2 ,mem_store_flag 
+02ed 20405c9c call mouse_ble_init_address 
+02ee 20405c8c call mouse_load_default_dpi 
+02ef 58001122 setarg 0x1122 
+02f0 67e14695 store 2 ,mem_random_addr_increase_count 
+02f1 20600000 rtn 
 
 p_mouse_read_otp_le_addr_increase_count_info:
-02b1 6fe0c666 fetch 1 ,mem_device_flag 
-02b2 c1000000 rtneq mode_24g_device 
-02b3 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
-02b4 1a422600 copy regb ,regc 
+02f2 6fe0c666 fetch 1 ,mem_device_flag 
+02f3 c1000000 rtneq mode_24g_device 
+02f4 6a4149fe fetchr regb ,2 ,mem_otp_offset_le_addr_increase_count 
+02f5 1a422600 copy regb ,regc 
 
 p_mouse_read_otp_le_addr_increase_count_loop:
-02b5 20405e3d call mouse_read_otp_le_addr_increase_count_common 
-02b6 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
-02b7 203a02bf branch p_mouse_le_addr_increase_count_load ,blank 
-02b8 67e149de store 2 ,mem_random_addr_increase_count_last 
-02b9 1a60a602 increase 2 ,regc 
-02ba 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
-02bb 9a667c00 isub regc ,null 
-02bc 242102bf nbranch p_mouse_le_addr_increase_count_load ,positive 
-02bd 1a622400 copy regc ,regb 
-02be 202002b5 branch p_mouse_read_otp_le_addr_increase_count_loop 
+02f6 20405e3d call mouse_read_otp_le_addr_increase_count_common 
+02f7 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
+02f8 203a0300 branch p_mouse_le_addr_increase_count_load ,blank 
+02f9 67e149de store 2 ,mem_random_addr_increase_count_last 
+02fa 1a60a602 increase 2 ,regc 
+02fb 6fe14a00 fetch 2 ,mem_otp_offset_le_addr_increase_count_end 
+02fc 9a667c00 isub regc ,null 
+02fd 24210300 nbranch p_mouse_le_addr_increase_count_load ,positive 
+02fe 1a622400 copy regc ,regb 
+02ff 202002f6 branch p_mouse_read_otp_le_addr_increase_count_loop 
 
 p_mouse_le_addr_increase_count_load:
-02bf 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
-02c0 67e14695 store 2 ,mem_random_addr_increase_count 
-02c1 20600000 rtn 
+0300 6fe149de fetch 2 ,mem_random_addr_increase_count_last 
+0301 20205e41 branch mouse_le_addr_increase_store 
 
 p_mouse_store_device_info:
-02c2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02c3 c289dcb1 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
-02c4 c2895cb9 bbit1 mouse_enable_flash ,mouse_store_flash_device_info 
-02c5 c28a02c7 bbit1 mouse_enable_otp ,p_mouse_store_otp_device_info 
-02c6 20600000 rtn 
+0302 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0303 c289dcb1 bbit1 mouse_enable_eeprom ,mouse_store_eeprom_device_info 
+0304 c28a0306 bbit1 mouse_enable_otp ,p_mouse_store_otp_device_info 
+0305 20600000 rtn 
 
 p_mouse_store_otp_device_info:
-02c7 204002c9 call p_mouse_write_otp_locall_addr 
-02c8 20205cc1 branch mouse_store_otp_device_info + 1 
+0306 20400308 call p_mouse_write_otp_locall_addr 
+0307 20205cc1 branch mouse_store_otp_device_info + 1 
 
 p_mouse_write_otp_locall_addr:
-02c9 6fe0c666 fetch 1 ,mem_device_flag 
-02ca c1000000 rtneq mode_24g_device 
-02cb c00082ce beq mode_bt_device1 ,p_mouse_write_otp_le_locall_addr1 
-02cc c00102e2 beq mode_bt_device2 ,p_mouse_write_otp_le_locall_addr2 
-02cd 20600000 rtn 
+0308 6fe0c666 fetch 1 ,mem_device_flag 
+0309 c1808000 rtnne mode_bt_device1 
 
 p_mouse_write_otp_le_locall_addr1:
-02ce 6a4149ee fetchr regb ,2 ,mem_otp_offset_le_locall_addr1 
-02cf 1a422600 copy regb ,regc 
+030a 6a4149ee fetchr regb ,2 ,mem_otp_offset_le_locall_addr1 
+030b 1a422600 copy regb ,regc 
 
 p_mouse_write_otp_le_locall_addr1_loop:
-02d0 20405df3 call mouse_read_otp_le_locall_addr1_common 
-02d1 6fe349b5 fetch 6 ,mem_mouse_le_locall_addr1_temp 
-02d2 203a02da branch p_mouse_le_local_addr1_store ,blank 
-02d3 67e349af store 6 ,mem_mouse_le_locall_addr1_last 
-02d4 1a60a606 increase 6 ,regc 
-02d5 6fe149f0 fetch 2 ,mem_otp_offset_le_locall_addr1_end 
-02d6 9a667c00 isub regc ,null 
-02d7 24610000 nrtn positive 
-02d8 1a622400 copy regc ,regb 
-02d9 202002d0 branch p_mouse_write_otp_le_locall_addr1_loop 
+030c 20405df3 call mouse_read_otp_le_locall_addr1_common 
+030d 6fe349b5 fetch 6 ,mem_mouse_le_locall_addr1_temp 
+030e 203a0316 branch p_mouse_le_local_addr1_store ,blank 
+030f 67e349af store 6 ,mem_mouse_le_locall_addr1_last 
+0310 1a60a606 increase 6 ,regc 
+0311 6fe149f0 fetch 2 ,mem_otp_offset_le_locall_addr1_end 
+0312 9a667c00 isub regc ,null 
+0313 24610000 nrtn positive 
+0314 1a622400 copy regc ,regb 
+0315 2020030c branch p_mouse_write_otp_le_locall_addr1_loop 
 
 p_mouse_le_local_addr1_store:
-02da 6fe349af fetch 6 ,mem_mouse_le_locall_addr1_last 
-02db 684b466e fetcht 6 ,mem_device1_locall_addr 
-02dc 98467c00 isub temp ,null 
-02dd 20628000 rtn zero 
-02de df200006 arg 6 ,loopcnt 
-02df da20466e arg mem_device1_locall_addr ,rega 
-02e0 1a622400 copy regc ,regb 
-02e1 20206b45 branch otp_write 
-
-p_mouse_write_otp_le_locall_addr2:
-02e2 6a4149f6 fetchr regb ,2 ,mem_otp_offset_le_locall_addr2 
-02e3 1a422600 copy regb ,regc 
-
-p_mouse_write_otp_le_locall_addr2_loop:
-02e4 20405e17 call mouse_read_otp_le_locall_addr2_common 
-02e5 6fe349cd fetch 6 ,mem_mouse_le_locall_addr2_temp 
-02e6 203a02ee branch p_mouse_le_local_addr2_store ,blank 
-02e7 67e349c7 store 6 ,mem_mouse_le_locall_addr2_last 
-02e8 1a60a606 increase 6 ,regc 
-02e9 6fe149f8 fetch 2 ,mem_otp_offset_le_locall_addr2_end 
-02ea 9a667c00 isub regc ,null 
-02eb 24610000 nrtn positive 
-02ec 1a622400 copy regc ,regb 
-02ed 202002e4 branch p_mouse_write_otp_le_locall_addr2_loop 
-
-p_mouse_le_local_addr2_store:
-02ee 6fe349c7 fetch 6 ,mem_mouse_le_locall_addr2_last 
-02ef 684b467b fetcht 6 ,mem_device2_locall_addr 
-02f0 98467c00 isub temp ,null 
-02f1 20628000 rtn zero 
-02f2 df200006 arg 6 ,loopcnt 
-02f3 da20467b arg mem_device2_locall_addr ,rega 
-02f4 1a622400 copy regc ,regb 
-02f5 20206b45 branch otp_write 
+0316 6fe349af fetch 6 ,mem_mouse_le_locall_addr1_last 
+0317 684b466e fetcht 6 ,mem_device1_locall_addr 
+0318 98467c00 isub temp ,null 
+0319 20628000 rtn zero 
+031a df200006 arg 6 ,loopcnt 
+031b da20466e arg mem_device1_locall_addr ,rega 
+031c 1a622400 copy regc ,regb 
+031d 20206b45 branch otp_write 
 
 p_mouse_load_device_info:
-02f6 2040032f call p_mouse_le_locall_addr_init_check 
-02f7 20400347 call p_mouse_select_reconn_device 
-02f8 204002fa call p_mouse_otp_load_dpi 
-02f9 20205c90 branch mouse_load_device_info + 1 
+031e 20400355 call p_mouse_le_locall_addr_init_check 
+031f 20400360 call p_mouse_select_reconn_device 
+0320 20400322 call p_mouse_otp_load_dpi 
+0321 20205c90 branch mouse_load_device_info + 1 
 
 p_mouse_otp_load_dpi:
-02fa 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-02fb c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-02fc 6fe0c690 fetch 1 ,mem_mouse_dpi 
-02fd c0005c94 beq 0 ,mouse_otp_load_dpi 
-02fe c0030300 beq 6 ,p_mouse_dpi_reinit 
-02ff 20600000 rtn 
-
-p_mouse_dpi_reinit:
-0300 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
-0301 20600000 rtn 
+0322 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0323 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+0324 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0325 c0005c94 beq 0 ,mouse_otp_load_dpi 
+0326 c0035742 beq 6 ,mouse_dpi_reinit_set 
+0327 20600000 rtn 
 
 p_mouse_store_dpi_info_check:
-0302 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0303 c289dcb5 bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
-0304 c28a0306 bbit1 mouse_enable_otp ,p_mouse_store_otp_dpi 
-0305 20600000 rtn 
+0328 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0329 c289dcb5 bbit1 mouse_enable_eeprom ,mouse_store_eerpom_dpi 
+032a c28a032c bbit1 mouse_enable_otp ,p_mouse_store_otp_dpi 
+032b 20600000 rtn 
 
 p_mouse_store_otp_dpi:
-0306 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0307 c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
-0308 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
-0309 1a422600 copy regb ,regc 
+032c 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+032d c4078000 rtnbit0 mouse_enable_load_and_store_dpi 
+032e 6a4149fa fetchr regb ,2 ,mem_otp_offset_dpi 
+032f 1a422600 copy regb ,regc 
 
 p_mouse_otp_store_dpi_loop:
-030a 20405e51 call mouse_read_otp_dpi_common 
-030b 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
-030c 203a0314 branch p_mouse_otp_dpi_store ,blank 
-030d 67e0c9d3 store 1 ,mem_mouse_dpi_last 
-030e 1a60a601 increase 1 ,regc 
-030f 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
-0310 9a667c00 isub regc ,null 
-0311 24610000 nrtn positive 
-0312 1a622400 copy regc ,regb 
-0313 2020030a branch p_mouse_otp_store_dpi_loop 
+0330 20405e51 call mouse_read_otp_dpi_common 
+0331 6fe0c9d4 fetch 1 ,mem_mouse_dpi_temp 
+0332 203a033a branch p_mouse_otp_dpi_store ,blank 
+0333 67e0c9d3 store 1 ,mem_mouse_dpi_last 
+0334 1a60a601 increase 1 ,regc 
+0335 6fe149fc fetch 2 ,mem_otp_offset_dpi_end 
+0336 9a667c00 isub regc ,null 
+0337 24610000 nrtn positive 
+0338 1a622400 copy regc ,regb 
+0339 20200330 branch p_mouse_otp_store_dpi_loop 
 
 p_mouse_otp_dpi_store:
-0314 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
-0315 1fe17ef0 and pdata ,0xf0 ,pdata 
-0316 203a031e branch p_mouse_dpi_store_last_check ,blank 
-0317 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0318 2040032c call p_mouse_dpi_otp_store_judge 
-0319 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+033a 6fe0c9d3 fetch 1 ,mem_mouse_dpi_last 
+033b 1fe17ef0 and pdata ,0xf0 ,pdata 
+033c 203a0344 branch p_mouse_dpi_store_last_check ,blank 
+033d 6fe0c690 fetch 1 ,mem_mouse_dpi 
+033e 20400352 call p_mouse_dpi_otp_store_judge 
+033f 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
 
 p_mouse_dpi_store_end:
-031a df200001 arg 1 ,loopcnt 
-031b 1a622400 copy regc ,regb 
-031c da2049d5 arg mem_mouse_otp_dpi_value ,rega 
-031d 20206b45 branch otp_write 
+0340 df200001 arg 1 ,loopcnt 
+0341 1a622400 copy regc ,regb 
+0342 da2049d5 arg mem_mouse_otp_dpi_value ,rega 
+0343 20206b45 branch otp_write 
 
 p_mouse_dpi_store_last_check:
-031e 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
-031f 6fe0c690 fetch 1 ,mem_mouse_dpi 
-0320 2040032c call p_mouse_dpi_otp_store_judge 
-0321 98467c00 isub temp ,null 
-0322 20628000 rtn zero 
-0323 1ff27e00 lshift4 pdata ,pdata 
-0324 9840fe00 iadd temp ,pdata 
-0325 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
-0326 1a627e00 copy regc ,pdata 
-0327 684949fa fetcht 2 ,mem_otp_offset_dpi 
-0328 98467c00 isub temp ,null 
-0329 2022831a branch p_mouse_dpi_store_end ,zero 
-032a 1a60a7ff increase -1 ,regc 
-032b 2020031a branch p_mouse_dpi_store_end 
+0344 6848c9d3 fetcht 1 ,mem_mouse_dpi_last 
+0345 6fe0c690 fetch 1 ,mem_mouse_dpi 
+0346 20400352 call p_mouse_dpi_otp_store_judge 
+0347 98467c00 isub temp ,null 
+0348 20628000 rtn zero 
+0349 1ff27e00 lshift4 pdata ,pdata 
+034a 9840fe00 iadd temp ,pdata 
+034b 67e0c9d5 store 1 ,mem_mouse_otp_dpi_value 
+034c 1a627e00 copy regc ,pdata 
+034d 684949fa fetcht 2 ,mem_otp_offset_dpi 
+034e 98467c00 isub temp ,null 
+034f 20228340 branch p_mouse_dpi_store_end ,zero 
+0350 1a60a7ff increase -1 ,regc 
+0351 20200340 branch p_mouse_dpi_store_end 
 
 p_mouse_dpi_otp_store_judge:
-032c c1800000 rtnne mouse_dpi_level1 
-032d 1fe0fe06 increase 6 ,pdata 
-032e 20600000 rtn 
+0352 c1800000 rtnne mouse_dpi_level1 
+0353 1fe0fe06 increase 6 ,pdata 
+0354 20600000 rtn 
 
 p_mouse_le_locall_addr_init_check:
-032f 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0330 c29f0336 bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_le_addr1_init_check 
-0331 6fe0c666 fetch 1 ,mem_device_flag 
-0332 c1000000 rtneq mode_24g_device 
-0333 c0008336 beq mode_bt_device1 ,p_mouse_le_addr1_init_check 
-0334 c001033d beq mode_bt_device2 ,p_mouse_le_addr2_init_check 
-0335 20600000 rtn 
+0355 6fe0c666 fetch 1 ,mem_device_flag 
+0356 c1008000 rtneq mode_bt_device1 
 
 p_mouse_le_addr1_init_check:
-0336 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0337 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-0338 98467c00 isub temp ,null 
-0339 24628000 nrtn zero 
-033a 6fe342db fetch 6 ,mem_le_lap 
-033b 67e3466e store 6 ,mem_device1_locall_addr 
-033c 20600000 rtn 
-
-p_mouse_le_addr2_init_check:
-033d 6fe3467b fetch 6 ,mem_device2_locall_addr 
-033e 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
-033f 98467c00 isub temp ,null 
-0340 24628000 nrtn zero 
-0341 6fe342db fetch 6 ,mem_le_lap 
-0342 1fe0ff00 add pdata ,0x0100 ,pdata 
-0343 67e3467b store 6 ,mem_device2_locall_addr 
-0344 20600000 rtn 
+0357 6fe3466e fetch 6 ,mem_device1_locall_addr 
+0358 684b46e6 fetcht 6 ,mem_mouse_compare_addr 
+0359 98467c00 isub temp ,null 
+035a 24628000 nrtn zero 
+035b 6fe342db fetch 6 ,mem_le_lap 
+035c 67e3466e store 6 ,mem_device1_locall_addr 
+035d 20600000 rtn 
 
 p_mouse_buletooth_fast_conn_end:
-0345 20400347 call p_mouse_select_reconn_device 
-0346 20205a9c branch mouse_buletooth_fast_conn_end + 2 
+035e 20400360 call p_mouse_select_reconn_device 
+035f 20205a9c branch mouse_buletooth_fast_conn_end + 2 
 
 p_mouse_select_reconn_device:
-0347 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0348 c30a5c6f bbit0 mouse_enable_otp ,mouse_select_reconn_device 
-0349 c29f034f bbit1 mouse_enable_24g_first_auto_pairing ,p_mouse_load_le_device1 
+0360 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0361 c30a5c6f bbit0 mouse_enable_otp ,mouse_select_reconn_device 
 
 p_mouse_select_reconn_device_start:
-034a 6fe0c666 fetch 1 ,mem_device_flag 
-034b c1000000 rtneq mode_24g_device 
-034c c000834f beq mode_bt_device1 ,p_mouse_load_le_device1 
-034d c0010354 beq mode_bt_device2 ,p_mouse_load_le_device2 
-034e 20600000 rtn 
+0362 6fe0c666 fetch 1 ,mem_device_flag 
+0363 c1008000 rtneq mode_bt_device1 
 
 p_mouse_load_le_device1:
-034f 6fe34668 fetch 6 ,mem_device1_addr 
-0350 67e34116 store 6 ,mem_hci_plap 
-0351 6fe3466e fetch 6 ,mem_device1_locall_addr 
-0352 67e342db store 6 ,mem_le_lap 
-0353 20600000 rtn 
-
-p_mouse_load_le_device2:
-0354 6fe34675 fetch 6 ,mem_device2_addr 
-0355 67e34116 store 6 ,mem_hci_plap 
-0356 6fe3467b fetch 6 ,mem_device2_locall_addr 
-0357 67e342db store 6 ,mem_le_lap 
-0358 20600000 rtn 
+0364 6fe34668 fetch 6 ,mem_device1_addr 
+0365 67e34116 store 6 ,mem_hci_plap 
+0366 6fe3466e fetch 6 ,mem_device1_locall_addr 
+
+p_mouse_le_lap_store:
+0367 67e342db store 6 ,mem_le_lap 
+0368 20600000 rtn 
 
 p_mouse_store_remote_bdaddr:
-0359 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-035a c4010000 rtnbit0 mouse_store_eeprom_flag 
-035b c30a5c43 bbit0 mouse_enable_otp ,mouse_store_remote_bdaddr + 1 
-035c d8e00002 arg mouse_store_eeprom_flag ,queue 
-035d 20405f04 call mouse_disable_function_flag 
-035e 20405c4a call mouse_check_device_addr 
-035f 20400361 call p_mouse_before_store_reconn_info 
-0360 20205ca3 branch mouse_store_device_info_delay 
+0369 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+036a c4010000 rtnbit0 mouse_store_eeprom_flag 
+036b c30a5c43 bbit0 mouse_enable_otp ,mouse_store_remote_bdaddr + 1 
+036c d8e00002 arg mouse_store_eeprom_flag ,queue 
+036d 20405f04 call mouse_disable_function_flag 
+036e 20405c4a call mouse_check_device_addr 
+036f 20400371 call p_mouse_before_store_reconn_info 
+0370 20205ca3 branch mouse_store_device_info_delay 
 
 p_mouse_before_store_reconn_info:
-0361 6fe0c666 fetch 1 ,mem_device_flag 
-0362 c0008365 beq mode_bt_device1 ,p_mouse_store_le_device1 
-0363 c001036a beq mode_bt_device2 ,p_mouse_store_le_device2 
-0364 20600000 rtn 
+0371 6fe0c666 fetch 1 ,mem_device_flag 
+0372 c1808000 rtnne mode_bt_device1 
 
 p_mouse_store_le_device1:
-0365 6fe30178 fetch 6 ,mem_le_plap 
-0366 67e34668 store 6 ,mem_device1_addr 
-0367 6fe342db fetch 6 ,mem_le_lap 
-0368 67e3466e store 6 ,mem_device1_locall_addr 
-0369 20600000 rtn 
-
-p_mouse_store_le_device2:
-036a 6fe30178 fetch 6 ,mem_le_plap 
-036b 67e34675 store 6 ,mem_device2_addr 
-036c 6fe342db fetch 6 ,mem_le_lap 
-036d 67e3467b store 6 ,mem_device2_locall_addr 
-036e 20600000 rtn 
+0373 6fe30178 fetch 6 ,mem_le_plap 
+0374 67e34668 store 6 ,mem_device1_addr 
+0375 6fe342db fetch 6 ,mem_le_lap 
+0376 67e3466e store 6 ,mem_device1_locall_addr 
+0377 20600000 rtn 
 
 p_mouse_bb_event_timer:
-036f 20400385 call p_mouse_le_send_conn_param_update_timer 
-0370 2040614d call mouse_low_voltage_led_timer 
-0371 2040553d call mouse_adc_read 
-0372 20406110 call mouse_logo_led_on_timer 
-0373 204061b1 call mouse_led_multi_timer 
-0374 2040611e call mouse_dpi_led_blink_delay_timer 
-0375 2040328e call g24_pair_timeout_timer 
-0376 20403531 call g24_reconn_timeout_timer 
-0377 20405fdd call mouse_24g_long_sleep_param_update_timer 
-0378 2040572c call mouse_dpi_key_check_long_press 
-0379 20405b9b call mouse_bt_discovery_check 
-037a 20405bab call mouse_commbination_key_process 
-037b 20405bce call mouse_check_discovery_timeout_timer 
-037c 20405bd3 call mouse_check_direct_timeout_timer 
-037d 20405be1 call mouse_le_enable_att_list_timer 
-037e 20405bee call mouse_le_battery_updata_timer 
-037f 20405be4 call mouse_le_send_smp_security_request_timer 
-0380 20405bfb call mouse_check_reconnect_delay_long_sleep 
-0381 20400388 call p_mouse_current_mult_update_timer 
-0382 204056b6 call mouse_wheel_trigger_timer 
-0383 20405c0e call mouse_store_information_delay_timer 
-0384 20205c05 branch mouse_check_no_data_timeout_timer 
+0378 2040038e call p_mouse_le_send_conn_param_update_timer 
+0379 2040614d call mouse_low_voltage_led_timer 
+037a 2040553d call mouse_adc_read 
+037b 20406110 call mouse_logo_led_on_timer 
+037c 204061b1 call mouse_led_multi_timer 
+037d 2040611e call mouse_dpi_led_blink_delay_timer 
+037e 2040328e call g24_pair_timeout_timer 
+037f 20403531 call g24_reconn_timeout_timer 
+0380 20405fdd call mouse_24g_long_sleep_param_update_timer 
+0381 2040572c call mouse_dpi_key_check_long_press 
+0382 20405b9b call mouse_bt_discovery_check 
+0383 20405bab call mouse_commbination_key_process 
+0384 20405bce call mouse_check_discovery_timeout_timer 
+0385 20405bd3 call mouse_check_direct_timeout_timer 
+0386 20405be1 call mouse_le_enable_att_list_timer 
+0387 20405bee call mouse_le_battery_updata_timer 
+0388 20405be4 call mouse_le_send_smp_security_request_timer 
+0389 20405bfb call mouse_check_reconnect_delay_long_sleep 
+038a 20400391 call p_mouse_current_mult_update_timer 
+038b 204056b6 call mouse_wheel_trigger_timer 
+038c 20405c0e call mouse_store_information_delay_timer 
+038d 20205c05 branch mouse_check_no_data_timeout_timer 
 
 p_mouse_le_send_conn_param_update_timer:
-0385 da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
-0386 da405aef arg mouse_updata_le_param ,regb 
-0387 202042e0 branch timer_single_step 
+038e da604a05 arg mem_mouse_le_send_conn_param_update_timer ,regc 
+038f da405aef arg mouse_updata_le_param ,regb 
+0390 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_update_timer:
-0388 da60477e arg mem_mouse_current_mult_timer ,regc 
-0389 da40038b arg p_mouse_current_mult_reinit ,regb 
-038a 202042e0 branch timer_single_step 
+0391 da60477e arg mem_mouse_current_mult_timer ,regc 
+0392 da400394 arg p_mouse_current_mult_reinit ,regb 
+0393 202042e0 branch timer_single_step 
 
 p_mouse_current_mult_reinit:
-038b 6fe0c96b fetch 1 ,mem_lpm_mult_init 
-038c 67e0c0c0 store 1 ,mem_lpm_mult 
-038d 70477d03 jam 3 ,mem_mouse_long_mult_flag 
-038e 20600000 rtn 
+0394 6fe0c96b fetch 1 ,mem_lpm_mult_init 
+0395 67e0c0c0 store 1 ,mem_lpm_mult 
+0396 70477d03 jam 3 ,mem_mouse_long_mult_flag 
+0397 20600000 rtn 
 
 p_mouse_start_discovery:
-038f 204059ed call mouse_sensor_powerdown 
-0390 20205c1b branch mouse_start_discovery + 1 
+0398 204059ed call mouse_sensor_powerdown 
+0399 20205c1b branch mouse_start_discovery + 1 
 
 p_mouse_priority_bb_event:
-0391 1a627e00 copy regc ,pdata 
-0392 c02003a3 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0393 c00a83a8 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0394 c019039a beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0395 c00a0397 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0396 20205ac3 branch mouse_priority_bb_event + 2 
+039a 1a627e00 copy regc ,pdata 
+039b c02003af beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+039c c00a83b4 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+039d c01903a6 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+039e c01e03d1 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+039f c01c83e1 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+03a0 c01d03e6 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+03a1 c00a03a3 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+03a2 20205ac3 branch mouse_priority_bb_event + 2 
 
 p_mouse_le_bb_event_connected:
-0397 58000000 setarg 0 
-0398 67e24bfa store 4 ,mem_le_conn_first_rcv 
-0399 20205ad0 branch mouse_le_bb_event_connected 
+03a3 58000000 setarg 0 
+03a4 67e24bfa store 4 ,mem_le_conn_first_rcv 
+03a5 20205ad0 branch mouse_le_bb_event_connected 
 
 p_mouse_le_ll_start_encryt:
-039a 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
-039b c000839e beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-039c 70484414 jam 20 ,mem_le_start_encrypt_timer 
-039d 202003a0 branch p_mouse_le_ll_reconn_start_encryt_new 
+03a6 6fe0c795 fetch 1 ,mem_mouse_le_reconnect_flag 
+03a7 c00083aa beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+03a8 70484414 jam 20 ,mem_le_start_encrypt_timer 
+03a9 202003ac branch p_mouse_le_ll_reconn_start_encryt_new 
 
 p_mouse_le_ll_reconn_start_encryt:
-039e 20405aef call mouse_updata_le_param 
-039f 70484405 jam 5 ,mem_le_start_encrypt_timer 
+03aa 20405aef call mouse_updata_le_param 
+03ab 70484405 jam 5 ,mem_le_start_encrypt_timer 
 
 p_mouse_le_ll_reconn_start_encryt_new:
-03a0 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
-03a1 67e0cbfa store 1 ,mem_le_conn_first_rcv 
-03a2 20205af6 branch mouse_le_ll_enable_start_enc_flag 
+03ac 6fe0cbf9 fetch 1 ,mem_le_conn_rcv_new 
+03ad 67e0cbfa store 1 ,mem_le_conn_first_rcv 
+03ae 20205af6 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-03a3 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
-03a4 247a0000 nrtn blank 
-03a5 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
-03a6 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
-03a7 20600000 rtn 
+03af 6fe0ca04 fetch 1 ,mem_mouse_le_send_conn_param_update 
+03b0 247a0000 nrtn blank 
+03b1 704a0401 jam 1 ,mem_mouse_le_send_conn_param_update 
+03b2 704a051e jam 30 ,mem_mouse_le_send_conn_param_update_timer 
+03b3 20600000 rtn 
 
 p_mouse_le_bb_disconnected:
-03a8 58000000 setarg 0 
-03a9 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
-03aa 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
-03ab 58000000 setarg 0 
-03ac 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
-03ad 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
-03ae d8400006 arg le_interval_7_5ms ,temp 
-03af 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03b0 c28d83b2 bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
-03b1 d8400007 arg le_interval_8_75ms ,temp 
+03b4 58000000 setarg 0 
+03b5 67e0ca04 store 1 ,mem_mouse_le_send_conn_param_update 
+03b6 67e0ca05 store 1 ,mem_mouse_le_send_conn_param_update_timer 
+03b7 58000000 setarg 0 
+03b8 67e147c0 store 2 ,mem_le_battery_level_updata_timer 
+03b9 70479400 jam 0 ,mem_mouse_le_bb_connected_flag 
+03ba d8400006 arg le_interval_7_5ms ,temp 
+03bb 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03bc c28d83be bbit1 mouse_enable_bt_125hz ,p_mouse_le_bb_disconnected_next 
+03bd d8400007 arg le_interval_8_75ms ,temp 
 
 p_mouse_le_bb_disconnected_next:
-03b2 604942d3 storet 2 ,mem_le_interval_min 
-03b3 604942d5 storet 2 ,mem_le_interval_min + 2 
-03b4 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
-03b5 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
-03b6 204029cb call le_clr_config_more_data 
+03be 604942d3 storet 2 ,mem_le_interval_min 
+03bf 604942d5 storet 2 ,mem_le_interval_min + 2 
+03c0 7047c200 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
+03c1 70495600 jam 0 ,mem_mouse_clear_sensor_data_flag 
+03c2 204029cb call le_clr_config_more_data 
 
 p_mouse_bb_disconnected:
-03b7 20405b7b call mouse_bb_discon_clear_stack 
-03b8 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-03b9 c28383bc bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
-03ba c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-03bb 20205c1a branch mouse_start_discovery 
+03c3 20405b7b call mouse_bb_discon_clear_stack 
+03c4 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03c5 c28383c8 bbit1 app_disc_ble ,p_mouse4_0_event_bb_disconn 
+03c6 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03c7 20205c1a branch mouse_start_discovery 
 
 p_mouse4_0_event_bb_disconn:
-03bc 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
-03bd c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
-03be 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
-03bf 1fe17e03 and pdata ,0x03 ,pdata 
-03c0 20405b21 call mouse_le_clean_connect_flag 
-03c1 c081d4a9 bne 0x03 ,mouse_start_reconnect 
-03c2 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
-03c3 243a54a9 nbranch mouse_start_reconnect ,blank 
-03c4 202054cd branch mouse_app_enter_hibernate 
+03c8 6fe143ef fetch app_disc_rsn_size ,mem_app_disconn_reason 
+03c9 c28042fc bbit1 app_disc_by_button ,app_disconn_reason_clear 
+03ca 6fe0c843 fetch 1 ,mem_le_connect_status_flag 
+03cb 1fe17e03 and pdata ,0x03 ,pdata 
+03cc 20405b21 call mouse_le_clean_connect_flag 
+03cd c081d4a9 bne 0x03 ,mouse_start_reconnect 
+03ce 6fe0cbfd fetch 1 ,mem_le_check_retransmit_discon_flag 
+03cf 243a54a9 nbranch mouse_start_reconnect ,blank 
+03d0 202054cd branch mouse_app_enter_hibernate 
+
+p_mouse_24g_attempt_success:
+03d1 6fe2458f fetch 4 ,mem_24g_addr 
+03d2 67e245e8 store 4 ,mem_24g_receiver_addr 
+03d3 67e24691 store 4 ,mem_mouse_24g_addr 
+03d4 2040355a call g24_ch_syncword_crc8_init 
+03d5 20405c0b call mouse_no_data_timer_init 
+03d6 2040618e call mouse_device_poweron_led_config 
+03d7 20405a73 call mouse_init_sensor_reset 
+03d8 70477d00 jam 0 ,mem_mouse_long_mult_flag 
+03d9 7045fc00 jam 0 ,mem_24g_conn_sm 
+03da 7045e200 jam 0 ,mem_24g_reconn_type 
+03db 6fe245e8 fetch 4 ,mem_24g_receiver_addr 
+03dc 684a45e4 fetcht 4 ,mem_24g_fast_conn_addr 
+03dd 98467c00 isub temp ,null 
+03de 20628000 rtn zero 
+03df 204003e3 call p_mouse_fetch_normal_tx_power 
+03e0 20206042 branch mouse_24g_first_store_reconn_info 
+
+p_mouse_24g_pairing_complete:
+03e1 204003e3 call p_mouse_fetch_normal_tx_power 
+03e2 20206084 branch mouse_24g_pairing_complete 
+
+p_mouse_fetch_normal_tx_power:
+03e3 6fe0ca07 fetch 1 ,mem_normal_tx_power 
+03e4 67e0c141 store 1 ,mem_tx_power 
+03e5 20206016 branch mouse_soft_agc_disable 
+
+p_mouse_24g_attempt_fail:
+03e6 204003e3 call p_mouse_fetch_normal_tx_power 
+03e7 6fe0c87a fetch 1 ,mem_mouse_dpi_button_state 
+03e8 c1008000 rtneq dpi_button_state_down 
+03e9 6fe0c600 fetch 1 ,mem_24g_attempt_fail_flag 
+03ea 243a5ff2 nbranch mouse_24g_hibernate_set ,blank 
+03eb 6fe0c5e2 fetch 1 ,mem_24g_reconn_type 
+03ec c00283f7 beq pair_and_receiver ,p_mouse_24g_auto_pair_attempt_fail 
+03ed c00083f0 beq fast_conn_and_receiver ,p_mouse_24g_fast_conn_attempt_fail 
+03ee c00183fe beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+03ef 20206055 branch mouse_24g_attempt_fail + 2 
+
+p_mouse_24g_fast_conn_attempt_fail:
+03f0 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03f1 c29803f3 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_start_auto_pair 
+03f2 20206062 branch mouse_24g_fast_conn_attempt_fail + 3 
+
+p_mouse_24g_start_auto_pair:
+03f3 6fe145d6 fetch 2 ,mem_24g_pair_timeout_init 
+03f4 67e145de store 2 ,mem_24g_reconn_timeout 
+03f5 7045e205 jam pair_and_receiver ,mem_24g_reconn_type 
+03f6 20203534 branch g24_reconn_start 
+
+p_mouse_24g_auto_pair_attempt_fail:
+03f7 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03f8 c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+03f9 6fe0c71b fetch 1 ,mem_device_number 
+03fa c000e059 beq 1 ,mouse_24g_attempt_fail_enter_hibernate 
+
+p_mouse_24g_first_bluetooth_reconnect:
+03fb 20406018 call mouse_24g_stop 
+03fc 70466601 jam mode_bt_device1 ,mem_device_flag 
+03fd 20205491 branch mouse_le_fast_conn_judge 
+
+p_mouse_reconn_dongle_attempt_fail:
+03fe 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+03ff c31f6059 bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate 
+0400 c289e059 bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate 
+0401 c28a6059 bbit1 mouse_enable_otp ,mouse_24g_attempt_fail_enter_hibernate 
+0402 202003f3 branch p_mouse_24g_start_auto_pair 
 
 p_mouse_start_work:
-03c5 6fe0c666 fetch 1 ,mem_device_flag 
-03c6 c00003cd beq mode_24g_device ,p_mouse_24g_start_mode 
-03c7 20205491 branch mouse_le_fast_conn_judge 
+0403 6fe0c666 fetch 1 ,mem_device_flag 
+0404 c0000411 beq mode_24g_device ,p_mouse_24g_start_mode 
+0405 20205491 branch mouse_le_fast_conn_judge 
+
+p_mouse_24g_first_start_auto_pair_mode:
+0406 204054ac call mouse_wakeup_from_power_check 
+0407 2034040d branch p_mouse_24g_first_start_reconn ,user 
 
 p_mouse_24g_reconn_general_dongle:
-03c8 70466600 jam mode_24g_device ,mem_device_flag 
-03c9 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
-03ca 67e145de store 2 ,mem_24g_reconn_timeout 
-03cb 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
-03cc 20203534 branch g24_reconn_start 
+0408 70466600 jam mode_24g_device ,mem_device_flag 
+0409 6fe14721 fetch 2 ,mem_mouse_24g_power_on_fast_conn_timer 
+040a 67e145de store 2 ,mem_24g_reconn_timeout 
+040b 7045e201 jam fast_conn_and_receiver ,mem_24g_reconn_type 
+040c 20203534 branch g24_reconn_start 
+
+p_mouse_24g_first_start_reconn:
+040d 6fe0c666 fetch 1 ,mem_device_flag 
+040e c0006067 beq mode_24g_device ,mouse_24g_reconn_dongle_start 
+040f 20405aa8 call mouse_bluetooth_fast_conn_disable 
+0410 202003fb branch p_mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_24g_start_mode:
-03cd 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03ce c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-03cf 20406195 call mouse_device_24g_pair_led_config 
-03d0 204054ac call mouse_wakeup_from_power_check 
-03d1 20346067 branch mouse_24g_reconn_dongle_start ,user 
-03d2 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03d3 c29803c8 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
-03d4 20206023 branch mouse_24g_start_mode + 7 
+0411 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0412 c308e02a bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+0413 20406195 call mouse_device_24g_pair_led_config 
+0414 204054ac call mouse_wakeup_from_power_check 
+0415 20346067 branch mouse_24g_reconn_dongle_start ,user 
+0416 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0417 c2980408 bbit1 mouse_enable_auto_24g_paring ,p_mouse_24g_reconn_general_dongle 
+0418 20206023 branch mouse_24g_start_mode + 7 
 
 p_mouse_store_normal_tx_power:
-03d5 6fe0c141 fetch 1 ,mem_tx_power 
-03d6 67e0ca07 store 1 ,mem_normal_tx_power 
-03d7 20600000 rtn 
+0419 6fe0c141 fetch 1 ,mem_tx_power 
+041a 67e0ca07 store 1 ,mem_normal_tx_power 
+041b 20600000 rtn 
 
 p_mouse_idle:
-03d8 2040620e call mouse_low_voltage_led_no_enter_lpm 
-03d9 204078aa call ui_check_paring_button 
-03da 204003de call p_mouse_dpi_check 
-03db 20205e61 branch mouse_idle + 4 
+041c 2040620e call mouse_low_voltage_led_no_enter_lpm 
+041d 204078aa call ui_check_paring_button 
+041e 20400422 call p_mouse_dpi_check 
+041f 20205e61 branch mouse_idle + 4 
 
 p_mouse_dpi_check_retransmit:
-03dc 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03dd c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
+0420 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0421 c4140000 rtnbit0 mouse_enable_select_device_by_dpi_button 
 
 p_mouse_dpi_check:
-03de 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03df c17f8000 rtneq gpio_disable 
-03e0 da200000 arg 0 ,rega 
-03e1 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
-03e2 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03e3 204003e5 call p_mouse_dpi_key_check 
-03e4 202056c1 branch mouse_dpi_check_next 
+0422 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0423 c17f8000 rtneq gpio_disable 
+0424 da200000 arg 0 ,rega 
+0425 70497705 jam mouse_dpi_key ,mem_mouse_key_temp 
+0426 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0427 20400429 call p_mouse_dpi_key_check 
+0428 202056c1 branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03e5 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-03e6 c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03e7 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
-03e8 1fe22600 copy pdata ,regc 
-03e9 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
-03ea c07f83ec beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03eb 202056ce branch mouse_dpi_key_check_next 
+0429 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+042a c295d6de bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+042b 6fe0c974 fetch 1 ,mem_mouse_dpikey_press_status 
+042c 1fe22600 copy pdata ,regc 
+042d 6fe0c654 fetch 1 ,mem_matrix_public_gpio 
+042e c07f8430 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+042f 202056ce branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03ec 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
-03ed 20405946 call mouse_gpio_config_output_low 
-03ee 6848c649 fetcht 1 ,mem_dpi_button_gpio 
-03ef 202003f0 branch p_mouse_3io6key_check 
+0430 6fe0c649 fetch 1 ,mem_dpi_button_gpio 
+0431 20405946 call mouse_gpio_config_output_low 
+0432 6848c649 fetcht 1 ,mem_dpi_button_gpio 
+0433 20200434 branch p_mouse_3io6key_check 
 
 p_mouse_3io6key_check:
-03f0 1a627e00 copy regc ,pdata 
-03f1 67e0c978 store 1 ,mem_mouse_key_status 
-03f2 1fe3fe00 lshift pdata ,pdata 
-03f3 1fe22400 copy pdata ,regb 
-03f4 18422600 copy temp ,regc 
-03f5 204055b1 call mouse_gpio_config_input_pd 
-03f6 1a620400 copy regc ,temp 
-03f7 20406ee6 call gpio_get_bit 
-03f8 7d20a400 nsetflag true ,0 ,regb 
-03f9 2040593d call mouse_check_press 
-03fa 20205929 branch mouse_check_key_connect_gnd_1 
+0434 1a627e00 copy regc ,pdata 
+0435 67e0c978 store 1 ,mem_mouse_key_status 
+0436 1fe3fe00 lshift pdata ,pdata 
+0437 1fe22400 copy pdata ,regb 
+0438 18422600 copy temp ,regc 
+0439 204055b1 call mouse_gpio_config_input_pd 
+043a 1a620400 copy regc ,temp 
+043b 20406ee6 call gpio_get_bit 
+043c 7d20a400 nsetflag true ,0 ,regb 
+043d 2040593d call mouse_check_press 
+043e 20205929 branch mouse_check_key_connect_gnd_1 
 
 p_g24_short_sleep:
-03fb 204036b4 call g24_lpm_wait 
-03fc 24740000 nrtn user 
-03fd 204036be call g24_setgpio_lpm_before 
-03fe 20400401 call p_clear_wake 
-03ff 6fe1c608 fetch 3 ,mem_24g_short_sleep_set 
-0400 20203622 branch g24_long_seep2 
+043f 204036b4 call g24_lpm_wait 
+0440 24740000 nrtn user 
+0441 204036be call g24_setgpio_lpm_before 
+0442 20400444 call p_clear_wake 
+0443 2020361b branch g24_short_sleep_next 
 
 p_clear_wake:
-0401 58000000 setarg 0 
-0402 67e40016 store 8 ,mem_gpio_wakeup_cfg 
-0403 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
-0404 20600000 rtn 
+0444 58000000 setarg 0 
+0445 67e40016 store 8 ,mem_gpio_wakeup_cfg 
+0446 67e2001e store 4 ,mem_gpio_wakeup_cfg + 8 
+0447 20600000 rtn 
 
 p_mouse_24g_hibernate_set:
-0405 70460000 jam 0 ,mem_24g_attempt_fail_flag 
-0406 20403647 call g24_transmit_next_packet 
-0407 5fffffff setarg -1 
-0408 67e245af store 4 ,mem_24g_enter_hibernate 
-0409 58000000 setarg 0 
-040a 67e3c846 store 7 ,mem_mouse_key 
-040b 70473f01 jam 1 ,mem_sensor_shutdown_flag 
-040c 204059ed call mouse_sensor_powerdown 
-040d 2020622b branch mouse_24g_long_sleep 
+0448 70460000 jam 0 ,mem_24g_attempt_fail_flag 
+0449 20403647 call g24_transmit_next_packet 
+044a 5fffffff setarg -1 
+044b 67e245af store 4 ,mem_24g_enter_hibernate 
+044c 58000000 setarg 0 
+044d 67e3c846 store 7 ,mem_mouse_key 
+044e 70473f01 jam 1 ,mem_sensor_shutdown_flag 
+044f 204059ed call mouse_sensor_powerdown 
+0450 2020622b branch mouse_24g_long_sleep 
 
 p_mouse_setgpio_hibernate:
-040e 20405a92 call mouse_set_sdio_high 
-040f 20400401 call p_clear_wake 
-0410 204056a9 call mouse_before_hibernate_wheel_gpio_set 
-0411 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0412 20405943 call mouse_gpio_config_output_high 
-0413 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0414 204055ab call mouse_gpio_set_pupd_by_input 
-0415 d8400015 arg 21 ,temp 
-0416 204055b5 call mouse_gpio_config_input_pu 
-0417 2040611a call mouse_logo_led_off 
-0418 20400221 call p_mouse_lpm_before_common 
-0419 202054e2 branch mouse_setgpio_hibernate_next 
+0451 20405a92 call mouse_set_sdio_high 
+0452 20400444 call p_clear_wake 
+0453 204056a9 call mouse_before_hibernate_wheel_gpio_set 
+0454 6fe0c64d fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0455 20405943 call mouse_gpio_config_output_high 
+0456 6848c65a fetcht 1 ,mem_device_switch_gpio 
+0457 204055ab call mouse_gpio_set_pupd_by_input 
+0458 d8400015 arg 21 ,temp 
+0459 204055b5 call mouse_gpio_config_input_pu 
+045a 2040611a call mouse_logo_led_off 
+045b 2040022b call p_mouse_lpm_before_common 
+045c 202054e2 branch mouse_setgpio_hibernate_next 
 
 p_mouse_24g_package_data:
-041a c6930000 rtnmark0 mark_24g 
-041b 20405601 call mouse_motion 
-041c 24740000 nrtn user 
-041d 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
-041e 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
-041f 245a042f ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-0420 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0421 c30b0424 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-0422 6fe0c96c fetch 1 ,mem_customer_key 
-0423 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
+045d c6930000 rtnmark0 mark_24g 
+045e 20405601 call mouse_motion 
+045f 24740000 nrtn user 
+0460 6fe0c77c fetch 1 ,mem_mouse_24g_long_sleep_flag 
+0461 70477c00 jam 0 ,mem_mouse_24g_long_sleep_flag 
+0462 245a0472 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+0463 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
+0464 c30b0467 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+0465 6fe0c96c fetch 1 ,mem_customer_key 
+0466 243a60b6 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-0424 20400426 call p_mouse_data_xy_release 
-0425 202060a2 branch mouse_24g_mouse_package_data + 1 
+0467 20400469 call p_mouse_data_xy_release 
+0468 202060a2 branch mouse_24g_mouse_package_data + 1 
 
 p_mouse_data_xy_release:
-0426 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-0427 c1ff8000 rtnne gpio_disable 
-0428 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
-0429 207a0000 rtn blank 
-042a 1fe0ffff increase -1 ,pdata 
-042b 67e0c77d store 1 ,mem_mouse_long_mult_flag 
-042c 58000000 setarg 0 
-042d 67e24847 store 4 ,mem_mouse_x 
-042e 20205a73 branch mouse_init_sensor_reset 
+0469 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+046a c1ff8000 rtnne gpio_disable 
+046b 6fe0c77d fetch 1 ,mem_mouse_long_mult_flag 
+046c 207a0000 rtn blank 
+046d 1fe0ffff increase -1 ,pdata 
+046e 67e0c77d store 1 ,mem_mouse_long_mult_flag 
+046f 58000000 setarg 0 
+0470 67e24847 store 4 ,mem_mouse_x 
+0471 20205a73 branch mouse_init_sensor_reset 
 
 p_mouse_24g_short_sleep_clear_wake:
-042f 20400401 call p_clear_wake 
-0430 20200240 branch p_lpm_write_gpio_wakeup 
-
-p_mouse_check_select_device_by_switch:
-0431 6fe44713 fetch mouse_flag_len ,mem_mouse_flag 
-0432 c4150000 rtnbit0 mouse_enable_select_device_by_switch_gpio 
-0433 c31f843e bbit0 mouse_enable_switch_gpio_connect_vin ,p_mouse_switch_gpio_connect_gnd 
-
-p_mouse_switch_gpio_connect_vin_check:
-0434 20400440 call p_mouse_switch_gpio_pd_set 
-0435 2040043a call p_mouse_switch_gpio_connect_vin 
-
-p_mouse_switch_gpio_pu_set:
-0436 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0437 20406ef3 call gpio_out_inactive 
-0438 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0439 202055b5 branch mouse_gpio_config_input_pu 
-
-p_mouse_switch_gpio_connect_vin:
-043a 6848c65a fetcht 1 ,mem_device_switch_gpio 
-043b 20406ee6 call gpio_get_bit 
-043c 2420dec2 nbranch mouse_check_select_24g_device ,true 
-043d 20205ebe branch mouse_select_btdevice 
-
-p_mouse_switch_gpio_connect_gnd:
-043e 20400436 call p_mouse_switch_gpio_pu_set 
-043f 20405ebb call mouse_switch_gpio_connect_gnd 
-
-p_mouse_switch_gpio_pd_set:
-0440 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0441 20406ef7 call gpio_out_active 
-0442 6848c65a fetcht 1 ,mem_device_switch_gpio 
-0443 202055b1 branch mouse_gpio_config_input_pd 
+0472 20400444 call p_clear_wake 
+0473 2020024a branch p_lpm_write_gpio_wakeup 
 
 p_mouse_init_sensor:
-0444 20405958 call mouse_read_sensor_id 
-0445 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
-0446 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
-0447 c02c0449 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
-0448 20205952 branch mouse_init_sensor + 5 
+0474 20405958 call mouse_read_sensor_id 
+0475 c018595f beq p32xx_id1 ,mouse_init_p32xx_id2_judge 
+0476 c018d9c6 beq p3065_id1 ,mouse_init_p3065 
+0477 c02c0479 beq pka8g2_id1 ,p_mouse_ka8g2_id2_judge 
+0478 20205952 branch mouse_init_sensor + 5 
 
 p_mouse_ka8g2_id2_judge:
-0449 204059e7 call mouse_sensor_poweron 
-044a 6fe0c85a fetch 1 ,mem_sensor_id2 
-044b c02c844d beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
-044c 2020595f branch mouse_init_p32xx_id2_judge 
+0479 204059e7 call mouse_sensor_poweron 
+047a 6fe0c85a fetch 1 ,mem_sensor_id2 
+047b c02c847d beq pka8g2_id2 ,p_mouse_ka8g2_init_param 
+047c 2020595f branch mouse_init_p32xx_id2_judge 
 
 p_mouse_ka8g2_init_param:
-044d 7049570b jam ka8g2 ,mem_config_sensor_type 
-044e da604a0b arg mem_sensor_ka8g2_init_new ,regc 
-044f 20205995 branch mouse_sensor_wr_seq 
+047d 7049570b jam ka8g2 ,mem_config_sensor_type 
+047e da604a0b arg mem_sensor_ka8g2_init_new ,regc 
+047f 20205995 branch mouse_sensor_wr_seq 
 
 p_mouse_check_sensor_data:
-0450 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
-0451 c1800000 rtnne flash_sm_no_buys 
-0452 6fe0c957 fetch 1 ,mem_config_sensor_type 
-0453 c0058455 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
-0454 202059f8 branch mouse_check_sensor_data + 2 
+0480 6fe0c420 fetch 1 ,mem_spi_write_flash_sm 
+0481 c1800000 rtnne flash_sm_no_buys 
+0482 6fe0c957 fetch 1 ,mem_config_sensor_type 
+0483 c0058485 beq ka8g2 ,p_mouse_pka8g2_sensor_motion 
+0484 202059f8 branch mouse_check_sensor_data + 2 
 
 p_mouse_pka8g2_sensor_motion:
-0455 20405a6d call mouse_clear_sensor_data 
-0456 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
-0457 c07f845b beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
-0458 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
-0459 20406ee6 call gpio_get_bit 
-045a 24608000 nrtn true 
+0485 20405a6d call mouse_clear_sensor_data 
+0486 6fe0c659 fetch 1 ,mem_sensor_motion_gpio 
+0487 c07f848b beq gpio_disable ,p_mouse_pka8g2_sensor_motion_1 
+0488 6848c659 fetcht 1 ,mem_sensor_motion_gpio 
+0489 20406ee6 call gpio_get_bit 
+048a 24608000 nrtn true 
 
 p_mouse_pka8g2_sensor_motion_1:
-045b 58000000 setarg pan_reg_pid_l 
-045c 204069e5 call twspi_read 
-045d c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
-045e 20205a2f branch mouse_p3212_sensor_motion_2 
+048b 58000000 setarg pan_reg_pid_l 
+048c 204069e5 call twspi_read 
+048d c0ac5955 bne pka8g2_id1 ,mouse_twspi_reset 
+048e 20205a2f branch mouse_p3212_sensor_motion_2 
 
 p_mouse_motion:
-045f 78547c00 disable user 
-0460 58000000 setarg 0 
-0461 67e34847 store 6 ,mem_mouse_x 
-0462 20400450 call p_mouse_check_sensor_data 
-0463 58000089 setarg 0x0089 
-0464 204069e4 call twspi_write 
-0465 20405747 call mouse_setting_sensor_type 
-0466 20405612 call mouse_zwheel 
-0467 20405617 call mouse_t_zwheel 
-0468 2040046d call p_mouse_key 
-0469 2020560c branch mouse_motion + 11 
+048f 78547c00 disable user 
+0490 58000000 setarg 0 
+0491 67e34847 store 6 ,mem_mouse_x 
+0492 20400480 call p_mouse_check_sensor_data 
+0493 58000089 setarg 0x0089 
+0494 204069e4 call twspi_write 
+0495 20405747 call mouse_setting_sensor_type 
+0496 20405612 call mouse_zwheel 
+0497 20405617 call mouse_t_zwheel 
+0498 2040049d call p_mouse_key 
+0499 2020560c branch mouse_motion + 11 
 
 p_mouse_drawing_optima:
-046a 6fe0c957 fetch 1 ,mem_config_sensor_type 
-046b c1058000 rtneq ka8g2 
-046c 20205f27 branch mouse_drawing_optima + 1 
+049a 6fe0c957 fetch 1 ,mem_config_sensor_type 
+049b c1058000 rtneq ka8g2 
+049c 20205f27 branch mouse_drawing_optima + 1 
 
 p_mouse_key:
-046d 2040584c call mouse_check_firekey_gpio 
-046e 6fe0c987 fetch 1 ,mem_fire_key_flag 
-046f 243a5860 nbranch fire_key_press ,blank 
-0470 6fe0c982 fetch 1 ,mem_fire_key_status 
-0471 243a585f nbranch fire_key_process ,blank 
-0472 20405888 call mouse_check_key_gpio 
-0473 20400475 call p_mouse_ghost_key_check 
-0474 202057ad branch mouse_key + 7 
+049d 2040584c call mouse_check_firekey_gpio 
+049e 6fe0c987 fetch 1 ,mem_fire_key_flag 
+049f 243a5860 nbranch fire_key_press ,blank 
+04a0 6fe0c982 fetch 1 ,mem_fire_key_status 
+04a1 243a585f nbranch fire_key_process ,blank 
+04a2 20405888 call mouse_check_key_gpio 
+04a3 204004a5 call p_mouse_ghost_key_check 
+04a4 202057ad branch mouse_key + 7 
 
 p_mouse_ghost_key_check:
-0475 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
-0476 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
-0477 70497b00 jam 0 ,mem_mouse_ghost_flag 
-0478 1fe22400 copy pdata ,regb 
-0479 6848c644 fetcht 1 ,mem_lbutton_gpio 
-047a 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-047b 98467c00 isub temp ,null 
-047c 20228487 branch p_mouse_matrix_ghost_key_l_bk ,zero 
-047d 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-047e 98467c00 isub temp ,null 
-047f 2022848d branch p_mouse_matrix_ghost_key_l_fw ,zero 
-0480 6848c645 fetcht 1 ,mem_mbutton_gpio 
-0481 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-0482 98467c00 isub temp ,null 
-0483 20228496 branch p_mouse_ghost_key_mbk_rfw ,zero 
+04a5 70497900 jam 0 ,mem_mouse_matrix_key_cow_count 
+04a6 70497a00 jam 0 ,mem_mouse_matrix_key_row_count 
+04a7 70497b00 jam 0 ,mem_mouse_ghost_flag 
+04a8 1fe22400 copy pdata ,regb 
+04a9 6848c644 fetcht 1 ,mem_lbutton_gpio 
+04aa 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04ab 98467c00 isub temp ,null 
+04ac 202284b7 branch p_mouse_matrix_ghost_key_l_bk ,zero 
+04ad 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04ae 98467c00 isub temp ,null 
+04af 202284bd branch p_mouse_matrix_ghost_key_l_fw ,zero 
+04b0 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04b1 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04b2 98467c00 isub temp ,null 
+04b3 202284c6 branch p_mouse_ghost_key_mbk_rfw ,zero 
 
 p_mouse_ghost_key_mfw_rbk:
-0484 204057fb call mouse_ghost_key_check_m_fw 
+04b4 204057fb call mouse_ghost_key_check_m_fw 
 
 p_mouse_ghost_key_rbk:
-0485 2040049b call p_mouse_ghost_key_check_r_bk 
-0486 202057e5 branch mouse_ghost_key_check_next 
+04b5 204004cb call p_mouse_ghost_key_check_r_bk 
+04b6 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_matrix_ghost_key_l_bk:
-0487 6848c645 fetcht 1 ,mem_mbutton_gpio 
-0488 6fe0c648 fetch 1 ,mem_fw_button_gpio 
-0489 98467c00 isub temp ,null 
-048a 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
+04b7 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04b8 6fe0c648 fetch 1 ,mem_fw_button_gpio 
+04b9 98467c00 isub temp ,null 
+04ba 2022d7d6 branch mouse_ghost_key_lbk_mfw ,zero 
 
 p_mouse_ghost_key_lbk_rfw:
-048b 204057ef call mouse_ghost_key_check_l_bk 
-048c 20200497 branch p_mouse_ghost_key_rfw 
+04bb 204057ef call mouse_ghost_key_check_l_bk 
+04bc 202004c7 branch p_mouse_ghost_key_rfw 
 
 p_mouse_matrix_ghost_key_l_fw:
-048d 6848c645 fetcht 1 ,mem_mbutton_gpio 
-048e 6fe0c647 fetch 1 ,mem_bk_button_gpio 
-048f 98467c00 isub temp ,null 
-0490 20228493 branch p_mouse_ghost_key_lfw_mbk ,zero 
+04bd 6848c645 fetcht 1 ,mem_mbutton_gpio 
+04be 6fe0c647 fetch 1 ,mem_bk_button_gpio 
+04bf 98467c00 isub temp ,null 
+04c0 202284c3 branch p_mouse_ghost_key_lfw_mbk ,zero 
 
 p_mouse_ghost_key_lfw_rbk:
-0491 2040049d call p_mouse_ghost_key_check_l_fw 
-0492 20200485 branch p_mouse_ghost_key_rbk 
+04c1 204004cd call p_mouse_ghost_key_check_l_fw 
+04c2 202004b5 branch p_mouse_ghost_key_rbk 
 
 p_mouse_ghost_key_lfw_mbk:
-0493 2040049d call p_mouse_ghost_key_check_l_fw 
-0494 20400499 call p_mouse_ghost_key_check_m_bk 
-0495 202057e5 branch mouse_ghost_key_check_next 
+04c3 204004cd call p_mouse_ghost_key_check_l_fw 
+04c4 204004c9 call p_mouse_ghost_key_check_m_bk 
+04c5 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_mbk_rfw:
-0496 20400499 call p_mouse_ghost_key_check_m_bk 
+04c6 204004c9 call p_mouse_ghost_key_check_m_bk 
 
 p_mouse_ghost_key_rfw:
-0497 2040049f call p_mouse_ghost_key_check_r_fw 
-0498 202057e5 branch mouse_ghost_key_check_next 
+04c7 204004cf call p_mouse_ghost_key_check_r_fw 
+04c8 202057e5 branch mouse_ghost_key_check_next 
 
 p_mouse_ghost_key_check_m_bk:
-0499 1a417e12 and regb ,mouse_m_bk_button ,pdata 
-049a 202057f3 branch mouse_ghost_key_check_m_bk + 1 
+04c9 1a417e12 and regb ,mouse_m_bk_button ,pdata 
+04ca 202057f3 branch mouse_ghost_key_check_m_bk + 1 
 
 p_mouse_ghost_key_check_r_bk:
-049b 1a417e0a and regb ,mouse_r_bk_button ,pdata 
-049c 202057f6 branch mouse_ghost_key_check_r_bk + 1 
+04cb 1a417e0a and regb ,mouse_r_bk_button ,pdata 
+04cc 202057f6 branch mouse_ghost_key_check_r_bk + 1 
 
 p_mouse_ghost_key_check_l_fw:
-049d 1a417e11 and regb ,mouse_l_fw_button ,pdata 
-049e 202057f9 branch mouse_ghost_key_check_l_fw + 1 
+04cd 1a417e11 and regb ,mouse_l_fw_button ,pdata 
+04ce 202057f9 branch mouse_ghost_key_check_l_fw + 1 
 
 p_mouse_ghost_key_check_r_fw:
-049f 1a417e12 and regb ,mouse_r_fw_button ,pdata 
-04a0 202057ff branch mouse_ghost_key_check_r_fw + 1 
+04cf 1a417e12 and regb ,mouse_r_fw_button ,pdata 
+04d0 202057ff branch mouse_ghost_key_check_r_fw + 1 
 
 p_mouse_adc_read_start:
-04a1 20406f82 call enable_adc 
-04a2 20406fb0 call vdd_calculate_by_mode 
-04a3 1fe6fc0a div pdata ,10 
-04a4 20407d5f call get_div_result 
-04a5 67e14633 store 2 ,mem_mouse_vdd_now_vol 
-04a6 20205553 branch mouse_adc_data_process 
+04d1 20406f82 call enable_adc 
+04d2 20406fb0 call vdd_calculate_by_mode 
+04d3 1fe6fc0a div pdata ,10 
+04d4 20407d5f call get_div_result 
+04d5 67e14633 store 2 ,mem_mouse_vdd_now_vol 
+04d6 20205553 branch mouse_adc_data_process 
 
 p_adc_init_data:
-04a7 6fe401fd fetch 8 ,mem_otp_adc 
-04a8 203a6f79 branch adc_init_cal_data_default ,blank 
-04a9 67e443fd store 8 ,mem_reference_inter1p8v_2v_adc_io_data 
-04aa 20406b3a call enable_otp_read 
-04ab 20406aad call loadcode_check_otp_lock 
-04ac dfe00fc0 arg otp_offset_adc_param_l_c0 ,pdata 
-04ad 9a40a400 iadd regb ,regb 
-04ae df20000a arg 10 ,loopcnt 
-04af da2001fd arg mem_otp_temp ,rega 
-04b0 20406b74 call otp_read_data 
-04b1 20406b37 call disable_otp 
-04b2 6fe401fd fetch 8 ,mem_otp_temp 
-04b3 207a0000 rtn blank 
-04b4 67e4414e store 8 ,mem_adc_reference3v_gpio1v_ft_data 
-04b5 efe10006 ifetch 2 ,contr 
-04b6 e7e10005 istore 2 ,contw 
-04b7 20600000 rtn 
+04d7 6fe401fd fetch 8 ,mem_otp_adc 
+04d8 203a6f79 branch adc_init_cal_data_default ,blank 
+04d9 67e443fd store 8 ,mem_reference_inter1p8v_2v_adc_io_data 
+04da 20406b3a call enable_otp_read 
+04db 20406aad call loadcode_check_otp_lock 
+04dc dfe00fc0 arg otp_offset_adc_param_l_c0 ,pdata 
+04dd 9a40a400 iadd regb ,regb 
+04de df20000a arg 10 ,loopcnt 
+04df da2001fd arg mem_otp_temp ,rega 
+04e0 20406b74 call otp_read_data 
+04e1 20406b37 call disable_otp 
+04e2 6fe401fd fetch 8 ,mem_otp_temp 
+04e3 207a0000 rtn blank 
+04e4 67e4414e store 8 ,mem_adc_reference3v_gpio1v_ft_data 
+04e5 efe10006 ifetch 2 ,contr 
+04e6 e7e10005 istore 2 ,contw 
+04e7 20600000 rtn 
 
 p_sadc_cal_write:
-04b8 6ff080cc fetch 1 ,core_sadc_ctrl 
-04b9 79207e01 set1 1 ,pdata 
-04ba 67f080cc store 1 ,core_sadc_ctrl 
-04bb 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
-04bc 6fe0c433 fetch 1 ,mem_adc_cal_c7 
-04bd 67e0c419 store 1 ,mem_spi_write_addr 
-04be df200008 arg 8 ,loopcnt 
-04bf 20406f67 call sadc_cal_write + 4 
-04c0 6240c419 storer regb ,1 ,mem_spi_write_addr 
-04c1 6ff08a0a fetch 1 ,core_gpadc_cfg2 
-04c2 793ffe04 set0 4 ,pdata 
-04c3 67f08a0a store 1 ,core_gpadc_cfg2 
-04c4 20600000 rtn 
+04e8 6ff080cc fetch 1 ,core_sadc_ctrl 
+04e9 79207e01 set1 1 ,pdata 
+04ea 67f080cc store 1 ,core_sadc_ctrl 
+04eb 6a40c419 fetchr regb ,1 ,mem_spi_write_addr 
+04ec 6fe0c433 fetch 1 ,mem_adc_cal_c7 
+04ed 67e0c419 store 1 ,mem_spi_write_addr 
+04ee df200008 arg 8 ,loopcnt 
+04ef 20406f67 call sadc_cal_write + 4 
+04f0 6240c419 storer regb ,1 ,mem_spi_write_addr 
+04f1 6ff08a0a fetch 1 ,core_gpadc_cfg2 
+04f2 793ffe04 set0 4 ,pdata 
+04f3 67f08a0a store 1 ,core_gpadc_cfg2 
+04f4 20600000 rtn 
 
 p_vdd_calculate_by_mode:
 
 p_vdd_reference_inter3v_calculate:
-04c5 6fe0c407 fetch 1 ,mem_adc_config_flag 
-04c6 c00084c9 beq adc_config_hvin ,p_vdd_reference_inter3v_calculate_by_mode_vdcdc 
-04c7 c00104d0 beq adc_config_gpio ,p_vdd_reference_inter3v_calculate_by_mode_gpio 
-04c8 20600000 rtn 
+04f5 6fe0c407 fetch 1 ,mem_adc_config_flag 
+04f6 c00084f9 beq adc_config_hvin ,p_vdd_reference_inter3v_calculate_by_mode_vdcdc 
+04f7 c0010500 beq adc_config_gpio ,p_vdd_reference_inter3v_calculate_by_mode_gpio 
+04f8 20600000 rtn 
 
 p_vdd_reference_inter3v_calculate_by_mode_vdcdc:
-04c9 580003e8 setarg 1000 
-04ca 67e14405 store 2 ,mem_reference_voltage 
-04cb 68494152 fetcht 2 ,mem_adc_reference3v_vdcdc3p6v_ft_data 
-04cc 6fe14154 fetch 2 ,mem_adc_reference3v_vdcdc4p6v_ft_data 
-04cd da600e10 arg 3600 ,regc 
-04ce 20406fc0 call vdd_calculate 
-04cf 202004d6 branch p_mul1v_div1v_to_cal 
+04f9 580003e8 setarg 1000 
+04fa 67e14405 store 2 ,mem_reference_voltage 
+04fb 68494152 fetcht 2 ,mem_adc_reference3v_vdcdc3p6v_ft_data 
+04fc 6fe14154 fetch 2 ,mem_adc_reference3v_vdcdc4p6v_ft_data 
+04fd da600e10 arg 3600 ,regc 
+04fe 20406fc0 call vdd_calculate 
+04ff 20200506 branch p_mul1v_div1v_to_cal 
 
 p_vdd_reference_inter3v_calculate_by_mode_gpio:
-04d0 580003e8 setarg 1000 
-04d1 67e14405 store 2 ,mem_reference_voltage 
-04d2 6849414e fetcht 2 ,mem_adc_reference3v_gpio1v_ft_data 
-04d3 6fe14150 fetch 2 ,mem_adc_reference3v_gpio2v_ft_data 
-04d4 da6003e8 arg 1000 ,regc 
-04d5 20406fc0 call vdd_calculate 
+0500 580003e8 setarg 1000 
+0501 67e14405 store 2 ,mem_reference_voltage 
+0502 6849414e fetcht 2 ,mem_adc_reference3v_gpio1v_ft_data 
+0503 6fe14150 fetch 2 ,mem_adc_reference3v_gpio2v_ft_data 
+0504 da6003e8 arg 1000 ,regc 
+0505 20406fc0 call vdd_calculate 
 
 p_mul1v_div1v_to_cal:
-04d6 68494156 fetcht 2 ,mem_adc_reference3v_inter1v_ft_data 
-04d7 984ffe00 imul32 temp ,pdata 
-04d8 68494158 fetcht 2 ,mem_adc_reference3v_inter1v_now_data 
-04d9 9846fc00 idiv temp 
-04da 20207d5f branch get_div_result 
+0506 68494156 fetcht 2 ,mem_adc_reference3v_inter1v_ft_data 
+0507 984ffe00 imul32 temp ,pdata 
+0508 68494158 fetcht 2 ,mem_adc_reference3v_inter1v_now_data 
+0509 9846fc00 idiv temp 
+050a 20207d5f branch get_div_result 
 
 p_enable_adc_init_config:
-04db 204004b8 call p_sadc_cal_write 
-04dc 6ff08a09 fetch 1 ,core_gpadc_cfg1 
-04dd 793ffe07 set0 7 ,pdata 
-04de 67f08a09 store 1 ,core_gpadc_cfg1 
-04df 708a0777 jam 0x77 ,core_gpadc_ctrl 
-04e0 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
-04e1 708a0d61 jam 0x61 ,core_vtest_ctrl0 
-04e2 708a0b00 jam 0x00 ,core_gpadc_cfg3 
-04e3 20600000 rtn 
+050b 204004e8 call p_sadc_cal_write 
+050c 6ff08a09 fetch 1 ,core_gpadc_cfg1 
+050d 793ffe07 set0 7 ,pdata 
+050e 67f08a09 store 1 ,core_gpadc_cfg1 
+050f 708a0777 jam 0x77 ,core_gpadc_ctrl 
+0510 708a08c1 jam 0xc1 ,core_gpadc_cfg0 
+0511 708a0d61 jam 0x61 ,core_vtest_ctrl0 
+0512 708a0b00 jam 0x00 ,core_gpadc_cfg3 
+0513 20600000 rtn 
 
 p_enable_adc:
 
 p_enable_adc_reference_source_inter3v:
-04e4 204004db call p_enable_adc_init_config 
-04e5 20406f90 call sadc_channel 
-04e6 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-04e7 67f080cd store 1 ,core_sadc_clkdiv 
-04e8 20406f97 call sadc_read 
-04e9 708a0d60 jam 0x60 ,core_vtest_ctrl0 
-04ea 7080cd00 jam 0x00 ,core_sadc_clkdiv 
+0514 2040050b call p_enable_adc_init_config 
+0515 20406f90 call sadc_channel 
+0516 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+0517 67f080cd store 1 ,core_sadc_clkdiv 
+0518 20406f97 call sadc_read 
+0519 708a0d60 jam 0x60 ,core_vtest_ctrl0 
+051a 7080cd00 jam 0x00 ,core_sadc_clkdiv 
 
 p_read_adc_inter1v:
-04eb 204004db call p_enable_adc_init_config 
-04ec 6fe0c409 fetch 1 ,mem_adc_clkdiv 
-04ed 67f080cd store 1 ,core_sadc_clkdiv 
-04ee 708a0b50 jam 0x50 ,core_gpadc_cfg3 
-04ef 708a0ec0 jam 0xc0 ,core_vtest_ctrl1 
-04f0 df00000b arg 0xb ,regext_index 
-04f1 6de1440a fetchr regext ,2 ,mem_adc_current_value 
-04f2 7080cc03 jam 0x03 ,core_sadc_ctrl 
-04f3 204004fd call p_sar_adc_read_wait 
-04f4 68590164 fetcht 2 ,core_sadc_data 
-04f5 60494158 storet 2 ,mem_adc_reference3v_inter1v_now_data 
-04f6 20406f9c call sadc_read_wait + 4 
-04f7 df00000b arg 0xb ,regext_index 
-04f8 65e1440a storer regext ,2 ,mem_adc_current_value 
-04f9 708a0d60 jam 0x60 ,core_vtest_ctrl0 
-04fa 7080cd00 jam 0x00 ,core_sadc_clkdiv 
-04fb 7080cc00 jam 0x00 ,core_sadc_ctrl 
-04fc 20600000 rtn 
+051b 2040050b call p_enable_adc_init_config 
+051c 6fe0c409 fetch 1 ,mem_adc_clkdiv 
+051d 67f080cd store 1 ,core_sadc_clkdiv 
+051e 708a0b50 jam 0x50 ,core_gpadc_cfg3 
+051f 708a0ec0 jam 0xc0 ,core_vtest_ctrl1 
+0520 df00000b arg 0xb ,regext_index 
+0521 6de1440a fetchr regext ,2 ,mem_adc_current_value 
+0522 7080cc03 jam 0x03 ,core_sadc_ctrl 
+0523 2040052d call p_sar_adc_read_wait 
+0524 68590164 fetcht 2 ,core_sadc_data 
+0525 60494158 storet 2 ,mem_adc_reference3v_inter1v_now_data 
+0526 20406f9c call sadc_read_wait + 4 
+0527 df00000b arg 0xb ,regext_index 
+0528 65e1440a storer regext ,2 ,mem_adc_current_value 
+0529 708a0d60 jam 0x60 ,core_vtest_ctrl0 
+052a 7080cd00 jam 0x00 ,core_sadc_clkdiv 
+052b 7080cc00 jam 0x00 ,core_sadc_ctrl 
+052c 20600000 rtn 
 
 p_sar_adc_read_wait:
-04fd 6ff08129 fetch 1 ,core_perf_status 
-04fe c30284fd bbit0 saradc_done ,p_sar_adc_read_wait 
-04ff 20600000 rtn 
+052d 6ff08129 fetch 1 ,core_perf_status 
+052e c302852d bbit0 saradc_done ,p_sar_adc_read_wait 
+052f 20600000 rtn 
               org 0x2000
 
 start:
@@ -2180,6 +2260,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 
@@ -9114,6 +9196,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 
 
@@ -20483,6 +20567,8 @@
 573f c38e0000 rtnbit1 mouse_enable_dpi_level_4 
 5740 6fe0c690 fetch 1 ,mem_mouse_dpi 
 5741 c1818000 rtnne mouse_dpi_level4 
+
+mouse_dpi_reinit_set:
 5742 70469000 jam mouse_dpi_level1 ,mem_mouse_dpi 
 5743 20600000 rtn 
 
@@ -21291,6 +21377,8 @@
 596f 204059da call mouse_sensor_reset 
 5970 20407c95 call delay_10ms 
 5971 da6048d6 arg mem_sensor_8650_init ,regc 
+
+mouse_sensor_init_end:
 5972 20405995 call mouse_sensor_wr_seq 
 5973 20205747 branch mouse_setting_sensor_type 
 
@@ -22994,6 +23082,8 @@
 
 mouse_le_addr_increase_count_load:
 5e40 6fe149e0 fetch 2 ,mem_random_addr_increase_count_temp 
+
+mouse_le_addr_increase_store:
 5e41 67e14695 store 2 ,mem_random_addr_increase_count 
 5e42 20600000 rtn 
 
Index: program/app_mouse.prog
===================================================================
--- /1121s/branch/mouse/YC_Project/Only_BLE_199/program/app_mouse.prog	(revision 2677)
+++ /1121s/branch/mouse/YC_Project/Only_BLE_199/program/app_mouse.prog	(working copy)
@@ -1197,6 +1197,7 @@
 	rtnbit1 MOUSE_ENABLE_DPI_LEVEL_4
 	fetch 1,mem_mouse_dpi
 	rtnne MOUSE_DPI_LEVEL4
+mouse_dpi_reinit_set:
 	jam MOUSE_DPI_LEVEL1,mem_mouse_dpi
 	rtn
 	
@@ -1997,6 +1998,7 @@
 	call mouse_sensor_reset
 	call delay_10ms
 	arg mem_sensor_8650_init,regc
+mouse_sensor_init_end:
 	call mouse_sensor_wr_seq
 	branch mouse_setting_sensor_type
 
@@ -3716,6 +3718,7 @@
 	
 mouse_le_addr_increase_count_load:
 	fetch 2,mem_random_addr_increase_count_temp
+mouse_le_addr_increase_store:
 	store 2,mem_random_addr_increase_count
 	rtn
 
Index: program/bt.prog
===================================================================
--- /1121s/branch/mouse/YC_Project/Only_BLE_199/program/bt.prog	(revision 2677)
+++ /1121s/branch/mouse/YC_Project/Only_BLE_199/program/bt.prog	(working copy)
@@ -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
Index: program/g24_protocol_stack/24g_transmitter.prog
===================================================================
--- /1121s/branch/mouse/YC_Project/Only_BLE_199/program/g24_protocol_stack/24g_transmitter.prog	(revision 2677)
+++ /1121s/branch/mouse/YC_Project/Only_BLE_199/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/YC_Project/Only_BLE_199/program/patch.prog	(revision 2677)
+++ /1121s/branch/mouse/YC_Project/Only_BLE_199/program/patch.prog	(working copy)
@@ -8,6 +8,8 @@
 //define ADC_1121SB_1V8_MODE
 //define XTAL_CALP_SET
 //define COMMBINATION_DPI
+//define XTAL_FREQ_16M
+define MULTI_MODE
 
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
@@ -16,7 +18,9 @@
 	beq patch02_1,p_set_sync_on
 	beq patch02_4,p_set_lemode
 	beq patch02_5,p_rf_rx_enable
+ifdef XTAL_FREQ_16M
 	beq patch02_6,p_calc_freq
+endif
 	beq patch03_0,p_txon
 	beq patch03_1,p_set_tx_power
 	beq patch03_2,p_initialize_radio_cont
@@ -52,7 +56,9 @@
 	beq patch11_4,p_mouse_store_device_info
 	beq patch11_5,p_mouse_store_dpi_info_check
 	beq patch11_6,p_mouse_idle
+ifdef MULTI_MODE
 	beq patch12_0,p_mouse_check_select_device_by_switch
+endif
 	beq patch12_3,p_mouse_drawing_optima
 	beq patch12_5,p_mouse_24g_hibernate_set
 	beq patch12_6,p_mouse_24g_package_data
@@ -77,11 +83,11 @@
 	beq patch27_2,p_le_parse_l2cap
 	beq patch29_4,p_le_adv_not_match
 	beq patch29_5,p_le_init_adv
-//	beq patch32_0,p_g24_reconn_dispatch
-//	beq patch32_2,p_g24_reconn_device_fail
+	beq patch32_0,p_g24_reconn_dispatch
+	beq patch32_2,p_g24_reconn_device_fail
 	beq patch32_6,p_g24_short_sleep
-//	beq patch33_2,p_mouse_g24_retransmit
-//	beq patch33_5,p_g24_transmit_hop_process
+	beq patch33_2,p_mouse_g24_retransmit
+	beq patch33_5,p_g24_transmit_hop_process
 ifdef POWER_CTRL
 	beq patch33_7,p_power_ctrl_start
 endif
@@ -116,13 +122,9 @@
 	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
 
+ifdef XTAL_FREQ_16M
 p_calc_freq:
 	setarg 2400
 	iadd temp,pdata
@@ -137,6 +139,7 @@
 	storer queue, 1,0x890a
 	store 1,0x8909
 	branch calc_freq+10
+endif
 
 p_initialize_radio_cont:
 	jam 0,mem_le_testtype
@@ -318,7 +321,7 @@
 	jam 0x30,0x8a26
 	jam 0xfe,0x8a16
 	branch rf_rx_enable+14
-/*
+
 p_mouse_g24_retransmit:
 	fetch 1,mem_mouse_need_soft_reset
 	nrtn blank
@@ -356,7 +359,7 @@
 	call p_power_ctrl_txpower_incrs
 	branch g24_tx_fast_hop+1
 endif
-*/	
+	
 p_txon:
 	setarg 0x0aaa7e
 	store 3,0x8a0f
@@ -853,16 +856,13 @@
 	call enable_otp_read			//read enable
 	call otp_read_data+1
 	branch otp_disable_chgpump	//disable otp
-/*
+
 p_g24_reconn_dispatch:
 	fetch 2,mem_24g_reconn_count
 	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
@@ -899,6 +899,14 @@
 	branch g24_reconn_receiver_addr,true
 	branch g24_pair_init_param
 
+p_mouse_param_init:
+	call mouse_param_common_init
+	setarg mem_le_tx_buffer0_omemalloc_new
+	store 2,mem_ble_l2cap_tx_buff0_ptr
+	setarg MOUSE_BLE_L2CAP_TXBUFF_SIZE_NEW
+	store 2,mem_ble_l2cap_tx_buff_size_ptr
+	branch mouse_param_init+2
+
 p_recv_addr_zero_skip:
 	fetch 4,mem_24g_fast_conn_addr
 	fetcht 4,mem_24g_addr
@@ -907,15 +915,6 @@
 	fetch 4,mem_24g_rxpayload+2
 	rtn blank
 	branch p_g24_reconn_dispatch_next_2
-*/
-
-p_mouse_param_init:
-	call mouse_param_common_init
-	setarg mem_le_tx_buffer0_omemalloc_new
-	store 2,mem_ble_l2cap_tx_buff0_ptr
-	setarg MOUSE_BLE_L2CAP_TXBUFF_SIZE_NEW
-	store 2,mem_ble_l2cap_tx_buff_size_ptr
-	branch mouse_param_init+2
 
 ifdef POWER_CTRL
 p_power_ctrl_start:
@@ -1106,41 +1105,56 @@
 endif
 
 p_mouse_load_device_info_check:
-//	call p_mouse_store_normal_tx_power
+	call p_mouse_store_normal_tx_power
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_EEPROM,mouse_load_eeprom_info_check
-	bbit1 MOUSE_ENABLE_FLASH,mouse_load_flash_info_check
+//	bbit1 MOUSE_ENABLE_FLASH,mouse_load_flash_info_check
 	bbit1 MOUSE_ENABLE_OTP,p_mouse_load_otp_info_check
 	rtn
 
 p_mouse_load_otp_info_check:
-//	call p_mouse_device_flag_temp_store
 	call mouse_read_otp_dpi
 //	call mouse_read_otp_device_flag
-	
-//	call p_mouse_device_flag_check		//reinit to load info
-
-//	call p_mouse_select_device_by_switch_check
-
-	call p_mouse_read_otp_device_info
+ifdef MULTI_MODE
+	call p_mouse_select_device_by_switch_check
+endif	
+	call mouse_read_otp_device_info
 	call p_mouse_read_otp_le_addr_increase_count_info
 	branch mouse_otp_load_app_initflag
 
-/*
+ifdef MULTI_MODE
 p_mouse_select_device_by_switch_check:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
-	call p_mouse_check_select_device_by_switch
-p_mouse_device_flag_temp_store:		//can remove:before start work check once again
-	fetch 1,mem_device_flag
-	store 1,mem_mouse_device_flag_temp
-	rtn	
-*/
-p_mouse_read_otp_device_info:
+p_mouse_check_select_device_by_switch:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	isolate1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,pdata
-	call mouse_read_otp_le_device1,true
-	branch mouse_read_otp_device_info
+	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
+	bbit0 MOUSE_ENABLE_SWITCH_GPIO_CONNECT_VIN,p_mouse_switch_gpio_connect_gnd
+p_mouse_switch_gpio_connect_vin_check:
+	call p_mouse_switch_gpio_pd_set
+	call p_mouse_switch_gpio_connect_vin
+p_mouse_switch_gpio_pu_set:
+	fetcht 1,mem_device_switch_gpio
+	call gpio_out_inactive
+	fetcht 1,mem_device_switch_gpio
+	branch mouse_gpio_config_input_pu
+	
+p_mouse_switch_gpio_connect_vin:
+	fetcht 1,mem_device_switch_gpio
+	call gpio_get_bit
+	nbranch mouse_check_select_24g_device,true
+	branch mouse_select_btdevice
+
+p_mouse_switch_gpio_connect_gnd:
+	call p_mouse_switch_gpio_pu_set
+	call mouse_switch_gpio_connect_gnd
+p_mouse_switch_gpio_pd_set:
+	fetcht 1,mem_device_switch_gpio
+	call gpio_out_active
+	fetcht 1,mem_device_switch_gpio
+	branch mouse_gpio_config_input_pd
+
+endif
 
 p_mouse_app_initflag_check:
 	fetch 2,mem_store_flag
@@ -1150,29 +1164,11 @@
 //	call mouse_app_initflag_check_next
 	storet 2,mem_store_flag
 	call mouse_ble_init_address
-//	fetch 1,mem_device_flag_temp
-//	store 1,mem_device_flag
 	call mouse_load_default_dpi
-	
 	setarg 0x1122
 	store 2,mem_random_addr_increase_count
-//p_mouse_device_flag_temp_load:
-//	fetch 1,mem_mouse_device_flag_temp		//reinit device flag
-	branch mouse_device_flag_load_end
 	rtn
 
-/*
-p_mouse_device_flag_check:
-	fetch 1,mem_device_flag
-	sub pdata,0,null
-	branch p_mouse_device_flag_temp_load,zero
-	sub pdata,4,null
-	branch p_mouse_24g_init,zero
-	rtn positive
-p_mouse_24g_init:
-	jam MODE_24G_DEVICE,mem_device_flag
-	rtn
-*/
 p_mouse_read_otp_le_addr_increase_count_info:
 	fetch 1,mem_device_flag
 	rtneq MODE_24G_DEVICE
@@ -1192,85 +1188,23 @@
 
 p_mouse_le_addr_increase_count_load:
 	fetch 2,mem_random_addr_increase_count_last
-	store 2,mem_random_addr_increase_count
-	rtn
+	branch mouse_le_addr_increase_store
 
 
 p_mouse_store_device_info:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit1 MOUSE_ENABLE_EEPROM,mouse_store_eeprom_device_info
-	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
+//	bbit1 MOUSE_ENABLE_FLASH,mouse_store_flash_device_info
 	bbit1 MOUSE_ENABLE_OTP,p_mouse_store_otp_device_info
 	rtn
 
 p_mouse_store_otp_device_info:
 	call p_mouse_write_otp_locall_addr
-//	call p_mouse_write_otp_device_flag
 	branch mouse_store_otp_device_info+1
 
 p_mouse_write_otp_locall_addr:
 	fetch 1,mem_device_flag
-	rtneq MODE_24G_DEVICE
-	beq MODE_BT_DEVICE1,p_mouse_write_otp_le_locall_addr1
-	beq MODE_BT_DEVICE2,p_mouse_write_otp_le_locall_addr2
-	rtn
-
-/*
-p_mouse_write_otp_device_flag:
-	fetchr regb,2,mem_otp_offset_device_flag
-	copy regb,regc
-p_mouse_write_otp_device_flag_loop:
-	call mouse_read_otp_device_flag_common
-	fetch 1,mem_device_flag_temp
-	branch p_mouse_device_flag_store,blank
-	store 1,mem_device_flag_last
-	increase 1,regc
-	fetch 2,mem_otp_offset_device_flag_end
-	isub regc,null
-	nrtn positive
-	copy regc,regb
-	branch p_mouse_write_otp_device_flag_loop
-
-p_mouse_device_flag_store:
-	fetch 1,mem_device_flag_last
-	and pdata,0xf0,pdata
-	branch p_mouse_device_flag_store_check,blank
-	fetch 1,mem_device_flag
-	
-	call p_mouse_device_flag_otp_store_judge			// add device_flag check
-	
-	store 1,mem_device_flag_value
-p_mouse_device_flag_store_end:	
-	arg 1,loopcnt
-	copy regc,regb
-	arg mem_device_flag_value,rega
-	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
-/*
-p_mouse_device_flag_store_check:
-	fetcht 1,mem_device_flag_last
-	fetch 1,mem_device_flag
-	call p_mouse_device_flag_otp_store_judge
-	isub temp,null
-	rtn zero
-	lshift4 pdata,pdata
-	iadd temp,pdata
-	store 1,mem_device_flag_value
-	
-	copy regc,pdata
-	fetcht 2,mem_otp_offset_device_flag
-	isub temp,null
-	branch p_mouse_device_flag_store_end,zero
-	
-	increase -1,regc
-	branch p_mouse_device_flag_store_end
-
-p_mouse_device_flag_otp_store_judge:
-	rtnne MODE_24G_DEVICE
-	increase 4,pdata
-	rtn
-*/
-/**************store le local addr start**********/
-
+	rtnne MODE_BT_DEVICE1
 p_mouse_write_otp_le_locall_addr1:
 	fetchr regb,2,mem_otp_offset_le_locall_addr1
 	copy regb,regc
@@ -1296,31 +1230,6 @@
 	copy regc,regb
 	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
 
-p_mouse_write_otp_le_locall_addr2:
-	fetchr regb,2,mem_otp_offset_le_locall_addr2
-	copy regb,regc
-p_mouse_write_otp_le_locall_addr2_loop:
-	call mouse_read_otp_le_locall_addr2_common
-	fetch 6,mem_mouse_le_locall_addr2_temp
-	branch p_mouse_le_local_addr2_store,blank	
-	store 6,mem_mouse_le_locall_addr2_last
-	increase 6,regc
-	fetch 2,mem_otp_offset_le_locall_addr2_end
-	isub regc,null
-	nrtn positive	//if read end,retention last value
-	copy regc,regb
-	branch p_mouse_write_otp_le_locall_addr2_loop
-
-p_mouse_le_local_addr2_store:
-	fetch 6,mem_mouse_le_locall_addr2_last
-	fetcht 6,mem_device2_locall_addr
-	isub temp,null
-	rtn zero
-	arg 6,loopcnt
-	arg mem_device2_locall_addr,rega
-	copy regc,regb
-	branch otp_write			/* regb = otp address, rega pointers data, loopcnt is count */
-
 /**************store le local addr end**********/
 
 p_mouse_load_device_info:
@@ -1334,11 +1243,7 @@
 	rtnbit0 MOUSE_ENABLE_LOAD_AND_STORE_DPI
 	fetch 1,mem_mouse_dpi
 	beq 0,mouse_otp_load_dpi
-	beq 6,p_mouse_dpi_reinit
-	rtn
-	
-p_mouse_dpi_reinit:
-	jam MOUSE_DPI_LEVEL1,mem_mouse_dpi
+	beq 6,mouse_dpi_reinit_set
 	rtn
 
 p_mouse_store_dpi_info_check:
@@ -1403,14 +1308,8 @@
 	rtn
 
 p_mouse_le_locall_addr_init_check:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_le_addr1_init_check
 	fetch 1,mem_device_flag
-	rtneq MODE_24G_DEVICE
-	beq MODE_BT_DEVICE1,p_mouse_le_addr1_init_check
-	beq MODE_BT_DEVICE2,p_mouse_le_addr2_init_check
-	rtn
-
+	rtneq MODE_BT_DEVICE1
 p_mouse_le_addr1_init_check:
 	fetch 6,mem_device1_locall_addr
 	fetcht 6,mem_mouse_compare_addr
@@ -1420,16 +1319,6 @@
 	store 6,mem_device1_locall_addr
 	rtn
 
-p_mouse_le_addr2_init_check:
-	fetch 6,mem_device2_locall_addr
-	fetcht 6,mem_mouse_compare_addr
-	isub temp,null
-	nrtn zero
-	fetch 6,mem_le_lap
-	add pdata,0x0100,pdata
-	store 6,mem_device2_locall_addr
-	rtn
-
 p_mouse_buletooth_fast_conn_end:
 	call p_mouse_select_reconn_device
 	branch mouse_buletooth_fast_conn_end+2
@@ -1437,25 +1326,14 @@
 p_mouse_select_reconn_device:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_OTP,mouse_select_reconn_device			//linkkey 16 byte delete,need add
-	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_load_le_device1
 p_mouse_select_reconn_device_start:
 	fetch 1,mem_device_flag
-	rtneq MODE_24G_DEVICE
-	beq MODE_BT_DEVICE1,p_mouse_load_le_device1
-	beq MODE_BT_DEVICE2,p_mouse_load_le_device2
-	rtn
-	
+	rtneq MODE_BT_DEVICE1
 p_mouse_load_le_device1:
 	fetch 6,mem_device1_addr
 	store 6,mem_hci_plap
 	fetch 6,mem_device1_locall_addr
-	store 6,mem_le_lap
-	rtn
-
-p_mouse_load_le_device2:
-	fetch 6,mem_device2_addr
-	store 6,mem_hci_plap
-	fetch 6,mem_device2_locall_addr
+p_mouse_le_lap_store:
 	store 6,mem_le_lap
 	rtn
 
@@ -1471,10 +1349,7 @@
 
 p_mouse_before_store_reconn_info:
 	fetch 1,mem_device_flag
-	beq MODE_BT_DEVICE1,p_mouse_store_le_device1
-	beq MODE_BT_DEVICE2,p_mouse_store_le_device2
-	rtn
-
+	rtnne MODE_BT_DEVICE1
 p_mouse_store_le_device1:
 	fetch 6,mem_le_plap
 	store 6,mem_device1_addr
@@ -1482,14 +1357,6 @@
 	store 6,mem_device1_locall_addr
 	rtn
 
-p_mouse_store_le_device2:
-	fetch 6,mem_le_plap
-	store 6,mem_device2_addr
-	fetch 6,mem_le_lap
-	store 6,mem_device2_locall_addr
-	rtn
-
-
 p_mouse_bb_event_timer:
 	call p_mouse_le_send_conn_param_update_timer
 	call mouse_low_voltage_led_timer
@@ -1571,9 +1438,9 @@
 	beq BT_EVT_LE_PARSE_CONN_PAPA_UPDATE_RSP,p_mouse_le_conn_param_update_rsp_recieved
 	beq BT_EVT_LE_DISCONNECTED,p_mouse_le_bb_disconnected
 	beq BT_EVT_LE_START_ENC,p_mouse_le_ll_start_encryt
-//	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
-//	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
-//	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
+	beq BT_EVT_24G_ATTEMPT_SUCCESS,p_mouse_24g_attempt_success
+	beq BT_EVT_24G_PAIRING_COMPLETE,p_mouse_24g_pairing_complete
+	beq BT_EVT_24G_ATTEMPT_FAIL,p_mouse_24g_attempt_fail
 	beq BT_EVT_LE_CONNECTED,p_mouse_le_bb_event_connected
 	branch mouse_priority_bb_event+2
 
@@ -1638,7 +1505,7 @@
 	fetch 1,mem_le_check_retransmit_discon_flag
 	nbranch mouse_start_reconnect,blank
 	branch mouse_app_enter_hibernate
-/*
+
 p_mouse_24g_attempt_success:
 	fetch 4,mem_24g_addr
 	store 4,mem_24g_receiver_addr
@@ -1681,7 +1548,7 @@
 
 p_mouse_24g_fast_conn_attempt_fail:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
-	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_start_auto_pair
+//	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_start_auto_pair
 	bbit1 MOUSE_ENABLE_AUTO_24G_PARING,p_mouse_24g_start_auto_pair
 	branch mouse_24g_fast_conn_attempt_fail+3
 
@@ -1692,7 +1559,7 @@
 	branch g24_reconn_start
 
 p_mouse_24g_auto_pair_attempt_fail:
-	fetch MOUSE_FLAG_LEN,mem_mouse_flag 
+	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
 	fetch 1,mem_device_number
 	beq 1,mouse_24g_attempt_fail_enter_hibernate		//24g first mode and only 2.4g device
@@ -1706,9 +1573,9 @@
 	bbit0 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,mouse_24g_attempt_fail_enter_hibernate
 	bbit1 MOUSE_ENABLE_EEPROM,mouse_24g_attempt_fail_enter_hibernate
 	bbit1 MOUSE_ENABLE_OTP,mouse_24g_attempt_fail_enter_hibernate
-	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
+//	bbit1 MOUSE_ENABLE_FLASH,mouse_24g_attempt_fail_enter_hibernate
 	branch p_mouse_24g_start_auto_pair
-*/
+
 p_mouse_start_work:
 //	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 //	bbit1 MOUSE_ENABLE_24G_FIRST_AUTO_PAIRING,p_mouse_24g_first_start_auto_pair_mode
@@ -1716,9 +1583,9 @@
 	beq MODE_24G_DEVICE,p_mouse_24g_start_mode
 	branch mouse_le_fast_conn_judge
 
-//p_mouse_24g_first_start_auto_pair_mode:	
-//	call mouse_wakeup_from_power_check
-//	branch p_mouse_24g_first_start_reconn,user 
+p_mouse_24g_first_start_auto_pair_mode:	
+	call mouse_wakeup_from_power_check
+	branch p_mouse_24g_first_start_reconn,user 
 p_mouse_24g_reconn_general_dongle:
 	jam MODE_24G_DEVICE,mem_device_flag
 	fetch 2,mem_mouse_24g_power_on_fast_conn_timer
@@ -1726,11 +1593,11 @@
 	jam FAST_CONN_AND_RECEIVER,mem_24g_reconn_type
 	branch g24_reconn_start
 
-//p_mouse_24g_first_start_reconn:
-//	fetch 1,mem_device_flag
-//	beq MODE_24G_DEVICE,mouse_24g_reconn_dongle_start
-//	call mouse_bluetooth_fast_conn_disable
-//	branch p_mouse_24g_first_bluetooth_reconnect
+p_mouse_24g_first_start_reconn:
+	fetch 1,mem_device_flag
+	beq MODE_24G_DEVICE,mouse_24g_reconn_dongle_start
+	call mouse_bluetooth_fast_conn_disable
+	branch p_mouse_24g_first_bluetooth_reconnect
 
 p_mouse_24g_start_mode:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -1798,8 +1665,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:
@@ -1890,7 +1756,7 @@
 p_mouse_24g_short_sleep_clear_wake:
 	call p_clear_wake
 	branch p_lpm_write_gpio_wakeup
-
+/*
 p_mouse_check_select_device_by_switch:
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 	rtnbit0 MOUSE_ENABLE_SELECT_DEVICE_BY_SWITCH_GPIO
@@ -1918,7 +1784,7 @@
 	call gpio_out_active
 	fetcht 1,mem_device_switch_gpio
 	branch mouse_gpio_config_input_pd
-	
+*/	
 p_mouse_init_sensor:
 	call mouse_read_sensor_id
 	beq P32XX_ID1,mouse_init_p32xx_id2_judge
@@ -2249,15 +2115,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
@@ -2267,11 +2125,12 @@
 	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
 	store 1,core_sadc_clkdiv
-	call  sadc_read
+	call sadc_read
 	
 	jam 0x00,core_sadc_clkdiv
 	jam 0x00,0x8ac6
Index: sched/mouse.dat
===================================================================
--- /1121s/branch/mouse/YC_Project/Only_BLE_199/sched/mouse.dat	(revision 2729)
+++ /1121s/branch/mouse/YC_Project/Only_BLE_199/sched/mouse.dat	(working copy)
@@ -167,8 +167,8 @@
 mem_device2_type:
 34
 #ff ff ff ff ff ff			#eeprom need
-mem_device3_type:
-34
+#mem_device3_type:
+#34
 #ff ff ff ff ff ff			#eeprom need
 
 #bit0:mouse_key_l    bit1:mouse_key_r  bit2:mouse_key_m
@@ -260,28 +260,19 @@
 mem_eeprom_block_size:80
 
 #otp write info offset
-mem_otp_offset_dpi:b9 1a										#6841 begin		3level:99count	----------info begin	
-mem_otp_offset_dpi_end:ea 1a								#6890 end
-
-mem_otp_offset_device_flag:eb 1a							#6891 begin		400 count
-mem_otp_offset_device_flag_end:b2 1b						#7090 end
-
-mem_otp_offset_24g_addr:b3 1b								#7091 begin		30 count
-mem_otp_offset_24g_addr_end:2a 1c						#7210 end
-
-mem_otp_offset_le_addr1:2b 1c								#7211 begin		30 count
-mem_otp_offset_le_addr1_end:de 1c							#7390 end
+mem_otp_offset_dpi:e9 1c										#7401 begin		3level:99count	----------info begin	
+mem_otp_offset_dpi_end:1a 1d								#7450 end
 
-mem_otp_offset_le_locall_addr1:df 1c						#7391 begin		30 count
-mem_otp_offset_le_locall_addr1_end:92 1d				#7570 end
+mem_otp_offset_24g_addr:1b 1d								#7451 begin		30 count
+mem_otp_offset_24g_addr_end:92 1d						#7570 end
 
-mem_otp_offset_le_addr2:93 1d								#7571 begin		30 count
-mem_otp_offset_le_addr2_end:46 1e						#7750 end
+mem_otp_offset_le_addr1:93 1d								#7571 begin		30 count
+mem_otp_offset_le_addr1_end:46 1e						#7750 end
 
-mem_otp_offset_le_locall_addr2:47 1e						#7751 begin		30 count
-mem_otp_offset_le_locall_addr2_end:fa 1e					#7930  end
+mem_otp_offset_le_locall_addr1:47 1e						#7751 begin		30 count
+mem_otp_offset_le_locall_addr1_end:fa 1e					#7930 end
 
-mem_otp_offset_le_addr_increase_count:fb 1e			#7931 begin		100 count
+mem_otp_offset_le_addr_increase_count:fb 1e			#7931 begin		89 count
 mem_otp_offset_le_addr_increase_count_end:ac 1f		#8108 end					----------info over	
 
 mem_otp_offset_app_initflag:ae 1f		#8110 end
