Index: format/app_mouse.format
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/format/app_mouse.format	(revision 6235)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/format/app_mouse.format	(working copy)
@@ -332,6 +332,7 @@
 1 mem_mouse_dpi_long_press_flag
 1 mem_mouse_store_info_delay_timer
 1 mem_mouse_dpi_check_flag
+1 mem_mouse_bt_reconnect_flag
 )
 
 (
Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/flash.dat	(revision 6237)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-fa
+76
 1f
 20
 20
@@ -11,7 +11,7 @@
 20
 40
 03
-25
+26
 68
 00
 c1
@@ -19,7 +19,7 @@
 60
 00
 cd
-39
+3a
 20
 40
 06
@@ -39,7 +39,7 @@
 20
 40
 02
-a1
+a3
 20
 40
 07
@@ -59,7 +59,7 @@
 60
 02
 4c
-b9
+ba
 20
 40
 58
@@ -95,15 +95,15 @@
 58
 00
 02
-ef
+f0
 60
 01
 4d
-b3
+b4
 58
 00
 03
-13
+14
 60
 01
 41
@@ -119,7 +119,7 @@
 58
 00
 03
-40
+41
 60
 01
 41
@@ -135,7 +135,7 @@
 58
 00
 03
-82
+83
 60
 01
 41
@@ -143,7 +143,7 @@
 58
 00
 03
-63
+64
 60
 01
 41
@@ -175,7 +175,7 @@
 60
 01
 4d
-c5
+c6
 24
 55
 80
@@ -183,7 +183,7 @@
 20
 40
 02
-64
+66
 20
 40
 03
@@ -219,7 +219,7 @@
 20
 20
 03
-11
+12
 58
 00
 01
@@ -227,7 +227,7 @@
 60
 01
 4d
-c5
+c6
 20
 60
 00
@@ -451,7 +451,7 @@
 20
 40
 03
-00
+01
 20
 40
 74
@@ -579,7 +579,7 @@
 68
 00
 cd
-d6
+d7
 c2
 80
 80
@@ -591,7 +591,7 @@
 68
 00
 cd
-c2
+c3
 c0
 00
 80
@@ -615,7 +615,7 @@
 68
 00
 cc
-92
+93
 c1
 ff
 80
@@ -631,7 +631,7 @@
 60
 01
 cc
-b1
+b2
 70
 4b
 44
@@ -643,7 +643,7 @@
 c0
 00
 82
-f2
+f3
 20
 40
 00
@@ -691,7 +691,7 @@
 68
 00
 cc
-ae
+af
 20
 5a
 00
@@ -715,7 +715,7 @@
 68
 00
 cd
-c2
+c3
 c1
 00
 80
@@ -731,7 +731,7 @@
 68
 01
 cc
-b1
+b2
 20
 20
 2d
@@ -763,7 +763,7 @@
 68
 00
 cd
-c2
+c3
 c0
 00
 ff
@@ -838,11 +838,11 @@
 00
 70
 4c
-ae
+af
 01
 70
 4d
-b7
+b8
 00
 20
 40
@@ -851,7 +851,7 @@
 60
 00
 cc
-1e
+1f
 58
 00
 00
@@ -859,23 +859,23 @@
 60
 03
 cc
-1f
+20
 68
 02
 4c
-b9
+ba
 60
 02
 4c
-26
+27
 70
 4c
-82
+83
 0c
 68
 00
 cc
-83
+84
 79
 20
 7e
@@ -883,7 +883,7 @@
 60
 00
 cc
-83
+84
 20
 40
 01
@@ -894,16 +894,16 @@
 97
 70
 4d
-b8
+b9
 01
 70
 4d
-ba
+bb
 00
 68
 00
 cc
-83
+84
 1f
 e1
 7e
@@ -911,7 +911,7 @@
 60
 00
 cc
-83
+84
 20
 60
 00
@@ -919,7 +919,7 @@
 68
 00
 cc
-83
+84
 c4
 02
 00
@@ -927,7 +927,7 @@
 68
 00
 cc
-83
+84
 79
 3f
 fe
@@ -935,11 +935,11 @@
 60
 00
 cc
-83
+84
 60
 00
 cc
-3e
+3f
 20
 40
 05
@@ -954,7 +954,7 @@
 c2
 70
 4d
-b5
+b6
 00
 20
 20
@@ -962,15 +962,15 @@
 e0
 70
 4d
-ba
+bb
 02
 70
 4d
-b8
+b9
 01
 70
 4d
-b7
+b8
 00
 20
 20
@@ -979,7 +979,7 @@
 68
 00
 cd
-b9
+ba
 c0
 01
 80
@@ -987,7 +987,7 @@
 68
 00
 cc
-83
+84
 2f
 ec
 00
@@ -999,7 +999,7 @@
 68
 00
 cd
-b9
+ba
 c0
 00
 80
@@ -1015,7 +1015,7 @@
 68
 00
 cc
-92
+93
 c1
 ff
 80
@@ -1039,7 +1039,7 @@
 68
 00
 cd
-b8
+b9
 c1
 80
 80
@@ -1047,18 +1047,18 @@
 68
 00
 cd
-ba
+bb
 c1
 80
 00
 00
 70
 4d
-b9
+ba
 01
 70
 4c
-c7
+c8
 04
 20
 20
@@ -1067,7 +1067,7 @@
 68
 00
 cd
-ba
+bb
 20
 3a
 01
@@ -1079,23 +1079,23 @@
 60
 00
 cd
-ba
+bb
 70
 4d
-b9
+ba
 02
 70
 4c
-c7
+c8
 04
 68
 08
 cc
-8d
+8e
 68
 00
 cc
-aa
+ab
 1f
 e1
 7e
@@ -1107,7 +1107,7 @@
 58
 00
 4c
-93
+94
 9a
 20
 fe
@@ -1123,7 +1123,7 @@
 60
 00
 cc
-8c
+8d
 18
 40
 84
@@ -1135,26 +1135,26 @@
 60
 08
 cc
-8d
+8e
 20
 60
 00
 00
 70
 4d
-b9
+ba
 03
 68
 00
 cd
-b7
+b8
 24
 3a
 01
 43
 70
 4c
-c7
+c8
 02
 20
 20
@@ -1163,7 +1163,7 @@
 68
 00
 cc
-92
+93
 c0
 ff
 81
@@ -1178,7 +1178,7 @@
 b7
 70
 4c
-87
+88
 01
 20
 60
@@ -1187,7 +1187,7 @@
 68
 01
 4d
-b3
+b4
 20
 40
 7f
@@ -1199,7 +1199,7 @@
 68
 03
 cc
-1f
+20
 20
 7a
 00
@@ -1210,7 +1210,7 @@
 e7
 70
 4c
-ae
+af
 00
 1a
 20
@@ -1219,7 +1219,7 @@
 60
 00
 cc
-82
+83
 20
 40
 00
@@ -1227,7 +1227,7 @@
 60
 00
 cc
-1e
+1f
 e8
 a8
 80
@@ -1263,7 +1263,7 @@
 d8
 a0
 4c
-24
+25
 df
 20
 00
@@ -1299,7 +1299,7 @@
 68
 00
 cd
-b7
+b8
 c0
 80
 80
@@ -1307,7 +1307,7 @@
 68
 00
 cd
-b5
+b6
 1f
 e0
 fe
@@ -1315,7 +1315,7 @@
 60
 00
 cd
-b5
+b6
 c0
 02
 00
@@ -1326,11 +1326,11 @@
 0f
 70
 4c
-c7
+c8
 02
 70
 4c
-8b
+8c
 00
 d9
 60
@@ -1367,7 +1367,7 @@
 68
 00
 cc
-81
+82
 1f
 e0
 fe
@@ -1375,7 +1375,7 @@
 60
 00
 cc
-81
+82
 20
 40
 00
@@ -1383,7 +1383,7 @@
 68
 00
 cc
-92
+93
 c0
 ff
 81
@@ -1399,11 +1399,11 @@
 60
 02
 4c
-87
+88
 60
 00
 cd
-b6
+b7
 20
 60
 00
@@ -1415,7 +1415,7 @@
 d8
 a0
 4c
-1e
+1f
 20
 20
 7e
@@ -1435,7 +1435,7 @@
 68
 02
 4c
-aa
+ab
 98
 00
 12
@@ -1467,7 +1467,7 @@
 68
 00
 cc
-ae
+af
 24
 7a
 00
@@ -1475,7 +1475,7 @@
 68
 01
 4c
-88
+89
 1f
 e0
 fe
@@ -1483,11 +1483,11 @@
 60
 01
 4c
-88
+89
 68
 00
 cc
-89
+8a
 c2
 82
 2d
@@ -1495,7 +1495,7 @@
 68
 00
 cc
-92
+93
 c0
 ff
 81
@@ -1511,7 +1511,7 @@
 68
 00
 cc
-88
+89
 c1
 ff
 80
@@ -1523,7 +1523,7 @@
 60
 01
 4c
-88
+89
 20
 20
 2d
@@ -1543,7 +1543,7 @@
 68
 00
 cc
-8b
+8c
 1f
 e6
 7c
@@ -1559,7 +1559,7 @@
 60
 00
 cc
-8b
+8c
 c0
 03
 00
@@ -1579,7 +1579,7 @@
 68
 00
 cc
-80
+81
 20
 7a
 00
@@ -1591,11 +1591,11 @@
 d8
 c0
 4b
-fe
+ff
 d8
 a0
 4c
-60
+61
 20
 20
 7f
@@ -1606,20 +1606,20 @@
 04
 70
 4c
-81
+82
 00
 70
 4c
-8c
+8d
 4e
 68
 02
 4c
-8e
+8f
 60
 02
 4c
-aa
+ab
 da
 20
 00
@@ -1631,7 +1631,7 @@
 d8
 c0
 4c
-aa
+ab
 e8
 c0
 80
@@ -1651,15 +1651,15 @@
 60
 01
 4d
-33
+34
 68
 00
 cd
-33
+34
 68
 08
 cd
-34
+35
 98
 40
 fe
@@ -1667,7 +1667,7 @@
 60
 00
 cd
-35
+36
 20
 60
 00
@@ -1678,7 +1678,7 @@
 8f
 70
 4c
-92
+93
 01
 20
 60
@@ -1714,7 +1714,7 @@
 26
 70
 4d
-d6
+d7
 00
 20
 40
@@ -1731,7 +1731,7 @@
 60
 08
 cc
-82
+83
 18
 42
 72
@@ -1739,7 +1739,7 @@
 d8
 a0
 4c
-1e
+1f
 20
 20
 2d
@@ -1747,7 +1747,7 @@
 68
 00
 cb
-fd
+fe
 1f
 e9
 7e
@@ -1755,7 +1755,7 @@
 60
 00
 cc
-80
+81
 20
 60
 00
@@ -1763,7 +1763,7 @@
 68
 00
 cc
-82
+83
 1f
 e0
 fe
@@ -1771,19 +1771,19 @@
 60
 00
 cc
-84
+85
 68
 00
 cc
-83
+84
 60
 00
 cc
-3e
+3f
 68
 00
 cc
-82
+83
 1f
 e9
 fe
@@ -1791,7 +1791,7 @@
 68
 08
 cc
-81
+82
 18
 41
 04
@@ -1807,7 +1807,7 @@
 68
 08
 cc
-be
+bf
 98
 40
 fe
@@ -1819,7 +1819,7 @@
 68
 00
 cc
-82
+83
 98
 00
 72
@@ -1827,7 +1827,7 @@
 d8
 c0
 4c
-1e
+1f
 20
 20
 7f
@@ -1839,7 +1839,7 @@
 68
 00
 cc
-8c
+8d
 20
 20
 53
@@ -1871,7 +1871,7 @@
 68
 01
 4c
-85
+86
 98
 00
 36
@@ -1907,11 +1907,11 @@
 60
 00
 cd
-36
+37
 68
 08
 cd
-35
+36
 98
 46
 7c
@@ -1927,15 +1927,15 @@
 60
 00
 cb
-fc
+fd
 68
 00
 cb
-fc
+fd
 68
 08
 cc
-83
+84
 a8
 40
 0e
@@ -1987,7 +1987,7 @@
 60
 00
 cd
-bd
+be
 1a
 22
 0a
@@ -2035,7 +2035,7 @@
 68
 00
 cd
-bd
+be
 1f
 e2
 22
@@ -2043,11 +2043,11 @@
 68
 08
 cd
-3d
+3e
 58
 00
 4d
-44
+45
 98
 40
 8a
@@ -2071,7 +2071,7 @@
 60
 08
 cd
-3d
+3e
 20
 60
 00
@@ -2107,7 +2107,7 @@
 68
 02
 4c
-aa
+ab
 98
 00
 12
@@ -2123,7 +2123,7 @@
 68
 08
 cc
-8c
+8d
 20
 40
 29
@@ -2179,7 +2179,7 @@
 68
 00
 cd
-35
+36
 08
 00
 86
@@ -2187,7 +2187,7 @@
 68
 00
 cc
-84
+85
 98
 00
 72
@@ -2195,7 +2195,7 @@
 d8
 c0
 4c
-3e
+3f
 e8
 c0
 80
@@ -2275,7 +2275,7 @@
 20
 40
 02
-f6
+f7
 20
 40
 00
@@ -2323,7 +2323,7 @@
 20
 35
 82
-a1
+a3
 20
 40
 00
@@ -2347,11 +2347,11 @@
 20
 20
 02
-ea
+ec
 20
 40
 02
-c7
+c9
 68
 00
 cb
@@ -2387,7 +2387,7 @@
 c0
 1a
 02
-5f
+60
 20
 40
 04
@@ -2411,7 +2411,7 @@
 68
 00
 cd
-39
+3a
 60
 00
 c1
@@ -2420,6 +2420,10 @@
 60
 00
 00
+70
+4b
+fc
+01
 68
 03
 41
@@ -2433,6 +2437,10 @@
 42
 74
 70
+4b
+6e
+01
+70
 11
 c6
 12
@@ -2455,7 +2463,7 @@
 20
 40
 02
-a1
+a3
 20
 40
 40
@@ -2467,7 +2475,7 @@
 c0
 18
 02
-6b
+6d
 20
 40
 40
@@ -2479,11 +2487,11 @@
 20
 20
 02
-66
+68
 20
 40
 03
-09
+0a
 68
 00
 c6
@@ -2495,7 +2503,7 @@
 c0
 78
 02
-70
+72
 20
 20
 40
@@ -2535,7 +2543,7 @@
 20
 20
 02
-72
+74
 df
 20
 00
@@ -2595,7 +2603,7 @@
 20
 40
 02
-d7
+d9
 20
 40
 44
@@ -2615,7 +2623,7 @@
 20
 22
 82
-c7
+c9
 60
 09
 47
@@ -2635,35 +2643,35 @@
 60
 02
 4c
-aa
+ab
 20
 40
 02
-d7
+d9
 20
 40
 02
-a3
+a5
 20
 40
 02
-b2
+b4
 20
 40
 02
-c1
+c3
 20
 40
 02
-b6
+b8
 20
 40
 02
-a7
+a9
 20
 40
 02
-b2
+b4
 d8
 40
 00
@@ -2687,15 +2695,15 @@
 20
 40
 02
-b6
+b8
 20
 40
 02
-a7
+a9
 20
 40
 02
-d0
+d2
 70
 42
 12
@@ -2715,7 +2723,7 @@
 20
 40
 02
-b2
+b4
 20
 40
 65
@@ -2723,11 +2731,11 @@
 20
 40
 02
-aa
+ac
 c2
 80
 02
-a7
+a9
 20
 60
 00
@@ -2771,11 +2779,11 @@
 20
 40
 02
-aa
+ac
 c3
 00
 82
-b2
+b4
 20
 60
 00
@@ -2851,11 +2859,11 @@
 20
 40
 02
-d7
+d9
 20
 40
 02
-c1
+c3
 20
 40
 65
@@ -2863,7 +2871,7 @@
 20
 40
 02
-e1
+e3
 20
 40
 43
@@ -2879,7 +2887,7 @@
 60
 02
 4c
-aa
+ab
 20
 60
 00
@@ -2891,7 +2899,7 @@
 20
 40
 02
-7b
+7d
 20
 40
 69
@@ -2919,7 +2927,7 @@
 20
 20
 02
-d1
+d3
 70
 4b
 75
@@ -2943,7 +2951,7 @@
 68
 03
 4d
-c7
+c8
 60
 03
 44
@@ -2955,7 +2963,7 @@
 20
 40
 02
-d7
+d9
 d8
 40
 00
@@ -2995,11 +3003,7 @@
 60
 02
 4c
-aa
-20
-40
-02
-92
+ab
 70
 11
 c6
@@ -3022,7 +3026,7 @@
 00
 70
 4d
-c2
+c3
 01
 58
 00
@@ -3031,7 +3035,7 @@
 60
 01
 4d
-c3
+c4
 20
 60
 00
@@ -3047,7 +3051,7 @@
 20
 40
 02
-fe
+ff
 d8
 c0
 19
@@ -3055,7 +3059,7 @@
 20
 40
 02
-fe
+ff
 d8
 c0
 1a
@@ -3063,7 +3067,7 @@
 20
 40
 02
-fe
+ff
 d8
 c0
 1b
@@ -3087,7 +3091,7 @@
 20
 40
 02
-fe
+ff
 d8
 a0
 19
@@ -3095,7 +3099,7 @@
 20
 40
 02
-fe
+ff
 d8
 a0
 1a
@@ -3103,7 +3107,7 @@
 20
 40
 02
-fe
+ff
 d8
 a0
 1b
@@ -3111,11 +3115,11 @@
 20
 20
 02
-fe
+ff
 20
 40
 02
-a1
+a3
 58
 00
 80
@@ -3135,7 +3139,7 @@
 20
 40
 02
-72
+74
 68
 00
 c7
@@ -3167,7 +3171,7 @@
 c0
 7f
 83
-1a
+1b
 68
 00
 c6
@@ -3187,7 +3191,7 @@
 20
 5a
 02
-61
+63
 68
 02
 46
@@ -3207,7 +3211,7 @@
 20
 40
 03
-3b
+3c
 da
 20
 46
@@ -3219,7 +3223,7 @@
 20
 54
 03
-2a
+2b
 20
 60
 00
@@ -3271,7 +3275,7 @@
 20
 34
 03
-32
+33
 20
 60
 00
@@ -3359,7 +3363,7 @@
 20
 5a
 02
-61
+63
 68
 02
 46
@@ -3383,7 +3387,7 @@
 20
 40
 03
-3b
+3c
 68
 00
 cb
@@ -3391,7 +3395,7 @@
 c0
 00
 83
-52
+53
 68
 00
 cb
@@ -3479,7 +3483,7 @@
 20
 40
 03
-66
+67
 20
 20
 3e
@@ -3495,7 +3499,7 @@
 20
 20
 83
-7a
+7b
 68
 00
 c6
@@ -3539,7 +3543,7 @@
 c0
 00
 03
-78
+79
 60
 00
 cb
@@ -3563,7 +3567,7 @@
 20
 20
 03
-75
+76
 68
 00
 c6
@@ -3603,7 +3607,7 @@
 c0
 0a
 03
-93
+94
 c0
 0a
 83
@@ -3667,7 +3671,7 @@
 20
 40
 02
-63
+65
 20
 40
 41
@@ -3695,7 +3699,7 @@
 24
 42
 82
-d9
+db
 20
 40
 34
@@ -3711,7 +3715,7 @@
 24
 3a
 03
-a0
+a1
 70
 4b
 6d
@@ -3722,10 +3726,6 @@
 00
 70
 4b
-6c
-00
-70
-4b
 6f
 01
 70
@@ -3743,7 +3743,7 @@
 20
 20
 03
-25
+26
 70
 11
 c6
@@ -3807,7 +3807,7 @@
 20
 40
 02
-63
+65
 58
 00
 00
@@ -3911,7 +3911,7 @@
 20
 40
 02
-a1
+a3
 58
 00
 08
@@ -3923,7 +3923,7 @@
 20
 40
 02
-64
+66
 20
 20
 03
@@ -4023,7 +4023,7 @@
 da
 40
 02
-92
+94
 20
 20
 33
@@ -4243,7 +4243,7 @@
 20
 20
 02
-dd
+df
 da
 60
 4b
@@ -4263,7 +4263,7 @@
 60
 01
 cc
-b1
+b2
 70
 4b
 42
@@ -4275,7 +4275,7 @@
 da
 60
 4d
-ce
+cf
 da
 40
 04
@@ -4286,7 +4286,7 @@
 74
 70
 4d
-cd
+ce
 01
 68
 00
@@ -4302,7 +4302,7 @@
 00
 70
 4d
-ce
+cf
 01
 68
 00
@@ -4314,7 +4314,7 @@
 00
 70
 4d
-ce
+cf
 00
 20
 20
@@ -4492,14 +4492,14 @@
 00
 c6
 da
-68
-00
-c6
-db
 70
 4b
 f9
 00
+68
+00
+c6
+db
 c1
 00
 80
@@ -4522,10 +4522,10 @@
 ca
 20
 40
-40
-83
-1f
-e1
+05
+29
+1a
+21
 7e
 07
 c0
@@ -5679,7 +5679,7 @@
 20
 40
 02
-63
+65
 20
 20
 42
@@ -5843,7 +5843,7 @@
 20
 5a
 03
-2e
+2f
 20
 20
 56
@@ -5903,7 +5903,7 @@
 68
 00
 cd
-bb
+bc
 1f
 e6
 7c
@@ -5915,7 +5915,7 @@
 68
 00
 cd
-bb
+bc
 c1
 00
 00
@@ -5927,7 +5927,7 @@
 60
 00
 cd
-bb
+bc
 20
 60
 00
@@ -6623,7 +6623,7 @@
 da
 20
 4d
-44
+45
 20
 40
 02
@@ -6631,7 +6631,7 @@
 60
 08
 cd
-bc
+bd
 58
 00
 00
@@ -6655,7 +6655,7 @@
 68
 00
 cd
-bb
+bc
 1f
 e6
 7c
@@ -6667,7 +6667,7 @@
 68
 00
 cd
-bb
+bc
 c0
 00
 07
@@ -7107,7 +7107,7 @@
 20
 20
 02
-92
+94
 20
 40
 58
@@ -7122,11 +7122,11 @@
 bf
 70
 4d
-be
+bf
 01
 70
 4d
-bb
+bc
 00
 20
 60
@@ -7135,7 +7135,7 @@
 68
 00
 cd
-bb
+bc
 1f
 e0
 fe
@@ -7143,14 +7143,14 @@
 60
 00
 cd
-bb
+bc
 20
 60
 00
 00
 70
 4d
-bb
+bc
 03
 20
 60
@@ -7159,19 +7159,19 @@
 68
 00
 cd
-bb
+bc
 c1
 99
 00
 00
 70
 4d
-bb
+bc
 00
 68
 08
 cd
-bc
+bd
 58
 00
 00
@@ -7195,7 +7195,7 @@
 68
 00
 cd
-be
+bf
 c0
 00
 07
@@ -7207,7 +7207,7 @@
 60
 00
 cd
-be
+bf
 c0
 00
 07
@@ -7222,12 +7222,12 @@
 00
 70
 4d
-bb
+bc
 00
 68
 00
 cd
-be
+bf
 c0
 01
 07
@@ -7239,7 +7239,7 @@
 60
 00
 cd
-be
+bf
 c0
 00
 87
@@ -7519,7 +7519,7 @@
 20
 40
 02
-d7
+d9
 68
 01
 cb
@@ -7555,7 +7555,7 @@
 20
 40
 02
-a1
+a3
 58
 00
 1f
@@ -7599,7 +7599,7 @@
 20
 40
 07
-ee
+cd
 58
 00
 00
@@ -7607,15 +7607,15 @@
 20
 40
 07
-e4
+c3
 20
 5a
 07
-e0
+bf
 24
 5a
 07
-e2
+c1
 58
 00
 00
@@ -7623,11 +7623,11 @@
 20
 40
 07
-e9
+c8
 20
 5a
 07
-e0
+bf
 68
 00
 cb
@@ -7667,7 +7667,7 @@
 20
 40
 07
-ab
+8a
 68
 01
 11
@@ -7703,7 +7703,7 @@
 20
 40
 07
-b3
+92
 68
 01
 11
@@ -7721,142 +7721,10 @@
 46
 9d
 20
-40
-07
-ee
-58
-00
-00
-14
-20
-40
-07
-e4
-20
-7a
-00
-00
-68
-00
-c6
-9b
-60
-00
-91
-c5
-68
-00
-c6
-9c
-1f
-e6
-7c
-00
-20
-42
-87
-9e
-24
-42
-87
-a4
-60
-00
-c6
-9b
-60
-00
-cb
-0c
-68
-00
-c6
-9d
-60
-00
-91
-c5
-68
-00
-c6
-9e
-1f
-e6
-7c
-00
-20
-42
-87
-9e
-24
-42
-87
-a4
-60
-00
-c6
-9d
-60
-00
-cb
-0e
-20
-60
-00
-00
-68
-00
-91
-c5
-1f
-e6
-7c
-70
-24
-61
-00
-00
-1f
-ef
-fe
-09
-1f
-e9
-7e
-00
-20
 60
 00
 00
 68
-00
-91
-c5
-1f
-e6
-7c
-90
-20
-61
-00
-00
-20
-40
-07
-dc
-1f
-ef
-fe
-09
-1f
-e9
-7e
-00
-20
-20
-07
-d9
-68
 01
 11
 be
@@ -7887,7 +7755,7 @@
 20
 20
 07
-bb
+9a
 68
 01
 11
@@ -7919,7 +7787,7 @@
 20
 20
 07
-bb
+9a
 60
 01
 91
@@ -7931,7 +7799,7 @@
 20
 20
 87
-c5
+a4
 68
 00
 91
@@ -7939,7 +7807,7 @@
 c0
 7f
 87
-cc
+ab
 68
 00
 91
@@ -7967,7 +7835,7 @@
 c0
 00
 07
-c9
+a8
 68
 01
 91
@@ -7975,7 +7843,7 @@
 20
 20
 07
-c1
+a0
 70
 11
 c4
@@ -7987,7 +7855,7 @@
 20
 20
 07
-c1
+a0
 68
 00
 91
@@ -7995,7 +7863,7 @@
 20
 40
 07
-d7
+b6
 60
 00
 91
@@ -8007,7 +7875,7 @@
 20
 3a
 07
-d5
+b4
 58
 00
 00
@@ -8031,11 +7899,11 @@
 20
 20
 07
-d2
+b1
 20
 40
 07
-dc
+bb
 1f
 e3
 7e
@@ -8043,7 +7911,7 @@
 20
 40
 07
-dd
+bc
 1f
 e6
 7e
@@ -8131,7 +7999,7 @@
 20
 40
 07
-f5
+d4
 1f
 e2
 22
@@ -8143,7 +8011,7 @@
 20
 40
 07
-f5
+d4
 1f
 e2
 24
@@ -8163,7 +8031,7 @@
 c0
 7f
 87
-fb
+da
 68
 00
 91
@@ -8187,9 +8055,9 @@
 20
 20
 07
-f9
-91
-5e
+d8
+38
+ad
 aa
 55
 08
@@ -8271,7 +8139,7 @@
 55
 01
 00
-bf
+c0
 4d
 00
 aa
@@ -8450,9 +8318,9 @@
 00
 a0
 40
-b0
-af
-13
+00
+02
+03
 01
 20
 20
@@ -8666,10 +8534,10 @@
 00
 a0
 44
-81
-10
+11
+12
 0b
-2e
+0e
 8e
 ed
 aa
@@ -8709,7 +8577,7 @@
 00
 a8
 46
-28
+64
 00
 70
 17
@@ -9069,35 +8937,35 @@
 55
 01
 00
-c8
+c9
 4c
 01
 aa
 55
 01
 00
-83
+84
 4c
 01
 aa
 55
 01
 00
-c7
+c8
 4c
 04
 aa
 55
 01
 00
-be
+bf
 4c
 00
 aa
 55
 02
 00
-85
+86
 4c
 c0
 12
@@ -9105,7 +8973,7 @@
 55
 03
 00
-a7
+a8
 4c
 19
 19
@@ -9114,7 +8982,7 @@
 55
 10
 00
-93
+94
 4c
 00
 13
@@ -9136,14 +9004,14 @@
 55
 01
 00
-92
+93
 4c
 ff
 aa
 55
 04
 00
-8e
+8f
 4c
 20
 15
@@ -9153,7 +9021,7 @@
 55
 06
 00
-c7
+c8
 4d
 0f
 0f
@@ -9181,7 +9049,7 @@
 55
 03
 00
-b1
+b2
 4c
 80
 4f
@@ -9326,15 +9194,15 @@
 00
 53
 4b
-7f
-31
+fb
+30
 00
 55
 aa
 aa
 55
-e8
-32
+35
+31
 ff
 20
 20
@@ -9363,7 +9231,7 @@
 68
 01
 4d
-c3
+c4
 1f
 e0
 fe
@@ -9371,11 +9239,11 @@
 60
 01
 4d
-c3
+c4
 68
 09
 4d
-c5
+c6
 98
 46
 7c
@@ -9390,7 +9258,7 @@
 94
 70
 4d
-c2
+c3
 00
 58
 00
@@ -9399,7 +9267,7 @@
 60
 01
 4d
-c3
+c4
 58
 00
 00
@@ -9407,19 +9275,19 @@
 60
 01
 4d
-c5
+c6
 70
 4c
-bd
+be
 00
 68
 00
 cc
-a8
+a9
 60
 00
 cc
-a7
+a8
 20
 60
 00
@@ -9427,7 +9295,7 @@
 68
 00
 cc
-a9
+aa
 20
 20
 00
@@ -9435,7 +9303,7 @@
 68
 00
 cc
-bd
+be
 1f
 e0
 fe
@@ -9443,7 +9311,7 @@
 60
 00
 cc
-bd
+be
 c0
 02
 00
@@ -9463,7 +9331,7 @@
 68
 0a
 4c
-a3
+a4
 1c
 42
 7e
@@ -9483,11 +9351,11 @@
 68
 02
 4c
-a3
+a4
 68
 08
 cc
-a7
+a8
 98
 40
 84
@@ -9511,7 +9379,7 @@
 60
 02
 4c
-a3
+a4
 20
 20
 7f
@@ -9719,7 +9587,7 @@
 20
 40
 02
-92
+94
 20
 20
 41
@@ -9759,7 +9627,7 @@
 20
 40
 02
-92
+94
 20
 40
 3e
@@ -9771,7 +9639,7 @@
 20
 40
 02
-d0
+d2
 68
 10
 80
@@ -9987,7 +9855,7 @@
 20
 40
 03
-25
+26
 20
 40
 58
@@ -9999,7 +9867,7 @@
 20
 40
 02
-92
+94
 68
 00
 cb
@@ -10123,7 +9991,7 @@
 68
 00
 cc
-87
+88
 c0
 00
 ff
@@ -10131,7 +9999,7 @@
 68
 00
 cc
-92
+93
 c0
 00
 80
@@ -10150,7 +10018,7 @@
 8c
 70
 4c
-92
+93
 11
 70
 11
@@ -10162,7 +10030,7 @@
 13
 70
 4c
-92
+93
 12
 70
 11
@@ -10174,7 +10042,7 @@
 13
 70
 4c
-92
+93
 13
 70
 11
@@ -10183,7 +10051,7 @@
 68
 00
 cc
-83
+84
 1f
 e1
 7e
@@ -10195,7 +10063,7 @@
 68
 02
 4c
-b9
+ba
 60
 02
 11
@@ -10231,7 +10099,7 @@
 68
 00
 cc
-92
+93
 c1
 7f
 80
@@ -10254,7 +10122,7 @@
 00
 70
 4c
-92
+93
 02
 20
 20
@@ -10262,7 +10130,7 @@
 5b
 70
 4c
-92
+93
 03
 20
 20
@@ -10270,7 +10138,7 @@
 5b
 70
 4c
-92
+93
 ff
 70
 0a
@@ -10283,7 +10151,7 @@
 68
 02
 4c
-62
+63
 20
 40
 01
@@ -10415,7 +10283,7 @@
 20
 40
 02
-87
+89
 70
 4b
 f3
@@ -10451,11 +10319,11 @@
 24
 22
 82
-d9
+db
 20
 20
 02
-db
+dd
 1a
 22
 04
@@ -10659,7 +10527,7 @@
 20
 20
 02
-92
+94
 68
 00
 80
@@ -10879,7 +10747,7 @@
 68
 00
 cd
-cd
+ce
 c0
 00
 ad
@@ -10891,7 +10759,7 @@
 68
 00
 cc
-83
+84
 60
 00
 91
@@ -10899,7 +10767,7 @@
 68
 02
 4c
-b9
+ba
 60
 02
 11
@@ -10939,11 +10807,11 @@
 68
 02
 4c
-aa
+ab
 68
 0a
 4d
-c7
+c8
 98
 46
 7c
@@ -10955,14 +10823,14 @@
 68
 00
 cc
-80
+81
 c1
 84
 00
 00
 70
 4d
-d6
+d7
 00
 20
 40
@@ -10971,11 +10839,11 @@
 68
 02
 4c
-aa
+ab
 68
 0a
 4c
-8e
+8f
 98
 46
 7c
@@ -10987,11 +10855,11 @@
 68
 02
 4c
-aa
+ab
 68
 0a
 4c
-b9
+ba
 98
 46
 7c
@@ -11015,11 +10883,11 @@
 20
 20
 02
-f2
+f3
 68
 02
 4c
-62
+63
 20
 20
 01
@@ -11027,7 +10895,7 @@
 68
 00
 cd
-c0
+c1
 1f
 e0
 fe
@@ -11039,7 +10907,7 @@
 60
 00
 cd
-c0
+c1
 c0
 00
 00
@@ -11059,19 +10927,19 @@
 68
 02
 4c
-b9
+ba
 60
 02
 4c
-aa
+ab
 68
 00
 cd
-d0
+d1
 60
 00
 cc
-8d
+8e
 20
 40
 00
@@ -11079,7 +10947,7 @@
 60
 08
 cd
-d0
+d1
 20
 60
 00
@@ -11099,19 +10967,19 @@
 68
 02
 4d
-c7
+c8
 60
 02
 4c
-aa
+ab
 68
 00
 cd
-d1
+d2
 60
 00
 cc
-8d
+8e
 20
 40
 00
@@ -11119,7 +10987,7 @@
 60
 08
 cd
-d1
+d2
 20
 60
 00
@@ -11147,7 +11015,7 @@
 20
 40
 02
-63
+65
 d8
 e0
 00
@@ -11178,7 +11046,7 @@
 00
 70
 4d
-c2
+c3
 00
 20
 40
@@ -11191,7 +11059,7 @@
 20
 40
 02
-c7
+c9
 68
 00
 cb
@@ -11207,7 +11075,7 @@
 20
 40
 02
-63
+65
 70
 4b
 42
@@ -11247,7 +11115,7 @@
 68
 02
 4c
-aa
+ab
 60
 02
 47
@@ -11263,7 +11131,7 @@
 20
 20
 02
-92
+94
 58
 00
 00
@@ -11271,7 +11139,7 @@
 60
 01
 cd
-cd
+ce
 20
 60
 00
@@ -11279,7 +11147,7 @@
 68
 00
 cd
-cd
+ce
 c0
 00
 ad
@@ -11303,7 +11171,7 @@
 68
 00
 cd
-d6
+d7
 79
 3f
 fe
@@ -11311,7 +11179,7 @@
 60
 00
 cd
-d6
+d7
 70
 4b
 42
@@ -11327,11 +11195,11 @@
 20
 20
 02
-f2
+f3
 68
 02
 4c
-62
+63
 20
 20
 01
@@ -11343,7 +11211,7 @@
 68
 00
 cc
-83
+84
 60
 00
 91
@@ -11351,7 +11219,7 @@
 68
 02
 4c
-b9
+ba
 60
 02
 11
@@ -11411,7 +11279,7 @@
 20
 34
 02
-ed
+ee
 79
 20
 00
@@ -11419,7 +11287,7 @@
 68
 00
 cd
-d6
+d7
 79
 20
 7e
@@ -11427,7 +11295,7 @@
 60
 00
 cd
-d6
+d7
 20
 40
 01
@@ -11447,7 +11315,7 @@
 d8
 c0
 4c
-aa
+ab
 20
 40
 7f
@@ -11483,7 +11351,7 @@
 68
 00
 cd
-d6
+d7
 79
 20
 7e
@@ -11491,7 +11359,7 @@
 60
 00
 cd
-d6
+d7
 58
 00
 00
@@ -11499,10 +11367,10 @@
 60
 01
 4d
-ce
+cf
 70
 4d
-cd
+ce
 00
 20
 60
@@ -11551,7 +11419,7 @@
 60
 01
 4c
-af
+b0
 20
 40
 42
@@ -11559,7 +11427,7 @@
 20
 20
 02
-ed
+ee
 00
 00
 00
@@ -11683,7 +11551,7 @@
 20
 40
 02
-d9
+db
 20
 40
 34
@@ -11723,7 +11591,7 @@
 20
 40
 02
-c7
+c9
 68
 00
 c2
@@ -12163,7 +12031,7 @@
 c0
 09
 00
-0d
+15
 20
 60
 00
@@ -12187,27 +12055,55 @@
 c2
 83
 80
-16
+1d
 c0
 01
 80
-23
+2a
 c0
 18
 80
-35
+3c
 c0
 0b
 80
-37
+3e
+c0
+03
+80
+0e
 20
 20
 60
 10
-70
+20
+40
+61
+52
+68
+00
+cb
+fc
+20
+7a
+00
+00
+68
+00
+80
 4b
-6e
-01
+79
+3f
+fe
+03
+60
+00
+80
+4b
+20
+20
+03
+d0
 70
 47
 a1
@@ -12247,11 +12143,11 @@
 c0
 42
 00
-1a
+21
 c0
 41
 80
-1d
+24
 20
 20
 60
@@ -12259,7 +12155,7 @@
 20
 40
 00
-20
+27
 68
 00
 80
@@ -12271,7 +12167,7 @@
 20
 40
 00
-20
+27
 68
 00
 80
@@ -12323,7 +12219,7 @@
 c0
 17
 00
-2c
+33
 20
 20
 60
@@ -12380,34 +12276,6 @@
 20
 61
 a4
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
 20
 20
 00
@@ -12668,5 +12536,5 @@
 55
 00
 00
-23
-d7
+f8
+9c
Index: output/memmap.format
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/memmap.format	(revision 6235)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/memmap.format	(working copy)
@@ -1852,130 +1852,131 @@
 0x4bf9 mem_mouse_dpi_long_press_flag
 0x4bfa mem_mouse_store_info_delay_timer
 0x4bfb mem_mouse_dpi_check_flag
-0x4bfc mem_24g_rxbuf
-0x4c1e mem_24g_txbuf
-0x4c3e mem_24g_txpayload
-0x4c60 mem_24g_rxpayload
-0x4c80 mem_24g_rxdata_length
-0x4c81 mem_24g_pid
-0x4c82 mem_24g_datalen
-0x4c83 mem_24g_data_type
-0x4c84 mem_24g_txlen
-0x4c85 mem_24g_rx_window
-0x4c87 mem_24g_ensure
-0x4c88 mem_24g_txfail_cnt
-0x4c8a mem_24g_get_ack_fail
-0x4c8b mem_24g_retry
-0x4c8c mem_24g_ch
-0x4c8d mem_24g_current_ch_number
-0x4c8e mem_24g_paring_addr
-0x4c92 mem_24g_pairing_sm
-0x4c93 mem_24g_ch_map1
-0x4c97 mem_24g_ch_map2
-0x4c9b mem_24g_ch_map3
-0x4c9f mem_24g_ch_map4
-0x4ca3 mem_24g_tx_btclk
-0x4ca7 mem_24g_interval
-0x4ca8 mem_24g_interval_min
-0x4ca9 mem_24g_interval_max
-0x4caa mem_24g_addr
-0x4cae mem_24g_abort_pac
-0x4caf mem_24g_check_dongle_times
-0x4cb1 mem_24g_enter_hibernate
-0x4cb9 mem_24g_device_addr
-0x4cbd mem_24g_pac_index
-0x4cbe mem_24g_no_ack
-0x4cbf mem_24g_sta_crc
-0x4cc2 mem_24g_last_crc
-0x4cc5 mem_24g_sta_pid
-0x4cc6 mem_24g_last_pid
-0x4cc7 mem_24g_max_retry
-0x4cc8 mem_24g_mode
-0x4cc9 mem_24g_rxdata_temp
-0x4ceb mem_24g_rx_addr
-0x4cef mem_dongle_mode_init
-0x4cf0 mem_dongle_work_mode
-0x4cf1 mem_dongle_ms_bind_step
-0x4cf2 mem_dongle_kb_bind_step
-0x4cf3 mem_dongle_bind_device_status
-0x4cf4 mem_24g_bind_payload
-0x4cfc mem_24g_abort_packet
-0x4cfd mem_24g_rf_laststa
-0x4cfe mem_24g_hop_btclk
-0x4d02 mem_24g_hop_interval
-0x4d03 mem_24g_mode_switch
-0x4d04 mem_24g_ackpayload_enable
-0x4d05 mem_24g_hop_packet
-0x4d06 mem_24g_pair_mode
-0x4d07 mem_24g_nodata_timer_enable
-0x4d08 mem_24g_time_slice
-0x4d09 mem_24g_kb_data_sta_data
-0x4d11 mem_24g_kb_data_last_data
-0x4d19 mem_24g_kb_multikey_sta_data
-0x4d1c mem_24g_kb_multikey_last_data
-0x4d1f mem_24g_kb_blank_data_enable
-0x4d20 mem_24g_kb_mul_blank_data_enable
-0x4d21 mem_24g_ms_blank_data_enable
-0x4d22 mem_24g_kb_addr
-0x4d26 mem_24g_ms_addr
-0x4d2a mem_24g_dg_last_ch
-0x4d2b mem_24g_dg_ch_number
-0x4d2c mem_24g_dg_config_ch_once
-0x4d2d mem_24g_kb_last_ch
-0x4d2e mem_24g_kb_ch_number
-0x4d2f mem_24g_kb_config_ch_once
-0x4d30 mem_24g_ms_last_ch
-0x4d31 mem_24g_ms_ch_number
-0x4d32 mem_24g_ms_config_ch_once
-0x4d33 mem_24g_syncword
-0x4d35 mem_24g_syncword_crc8
-0x4d36 mem_24g_get_syncword_crc8
-0x4d37 mem_24g_ota_sta_pid
-0x4d39 mem_tx_power_temp
-0x4d3a mem_rssi_hex
-0x4d3b mem_rssi_noise_avg
-0x4d3c mem_rssi_noise_index
-0x4d3d mem_rssi_signal_index
-0x4d3e mem_rssi_noise_dg_avg
-0x4d3f mem_rssi_noise_kb_avg
-0x4d40 mem_rssi_noise_ms_avg
-0x4d41 mem_rssi_noise_dg_index
-0x4d42 mem_rssi_noise_kb_index
-0x4d43 mem_rssi_noise_ms_index
-0x4d44 mem_rssi_signal_buf
-0x4d4c mem_queue_ele_num
-0x4d4d mem_queue_read
-0x4d4f mem_queue_write
-0x4d51 mem_queue_start
-0x4d51 mem_data_ele0
-0x4d71 mem_data_ele1
-0x4d91 mem_data_ele2
-0x4db1 mem_queue_end
-0x4db1 mem_queue_temp
-0x4db3 mem_cb_24g_data
-0x4db5 mem_24g_hop_fastly_cnt
-0x4db6 mem_24g_hop_pac_retry
-0x4db7 mem_24g_rf_hop_ch
-0x4db8 mem_24g_rf_last_sta
-0x4db9 mem_24g_rf_work_stage
-0x4dba mem_24g_sync_cnt
-0x4dbb mem_power_ctrl_pac_succ_cnt
-0x4dbc mem_rssi_avg_received
-0x4dbd mem_rssi_hex_received
-0x4dbe mem_power_ctrl_level
-0x4dbf mem_seqi
-0x4dc0 mem_24g_auto_paring_switch
-0x4dc1 mem_24g_paccnt
-0x4dc2 mem_24g_transmit_by_interrupt
-0x4dc3 mem_24g_transmit_by_interrupt_exit_count
-0x4dc5 mem_24g_transmit_by_interrupt_exit_count_init
-0x4dc7 mem_24g_allpowerful_addr
-0x4dcd mem_24g_stop_g24_mode
-0x4dce mem_24g_stop_g24_mode_timeout
-0x4dd0 mem_24g_pair_current_ch_num
-0x4dd1 mem_24g_powerful_current_ch_num
-0x4dd2 mem_24g_search_dongle_action
-0x4dd3 mem_24g_search_dongle_count
-0x4dd4 mem_24g_search_dongle_ch
-0x4dd5 mem_24g_search_dongle_wait
-0x4dd6 mem_24g_conn_sm
+0x4bfc mem_mouse_bt_reconnect_flag
+0x4bfd mem_24g_rxbuf
+0x4c1f mem_24g_txbuf
+0x4c3f mem_24g_txpayload
+0x4c61 mem_24g_rxpayload
+0x4c81 mem_24g_rxdata_length
+0x4c82 mem_24g_pid
+0x4c83 mem_24g_datalen
+0x4c84 mem_24g_data_type
+0x4c85 mem_24g_txlen
+0x4c86 mem_24g_rx_window
+0x4c88 mem_24g_ensure
+0x4c89 mem_24g_txfail_cnt
+0x4c8b mem_24g_get_ack_fail
+0x4c8c mem_24g_retry
+0x4c8d mem_24g_ch
+0x4c8e mem_24g_current_ch_number
+0x4c8f mem_24g_paring_addr
+0x4c93 mem_24g_pairing_sm
+0x4c94 mem_24g_ch_map1
+0x4c98 mem_24g_ch_map2
+0x4c9c mem_24g_ch_map3
+0x4ca0 mem_24g_ch_map4
+0x4ca4 mem_24g_tx_btclk
+0x4ca8 mem_24g_interval
+0x4ca9 mem_24g_interval_min
+0x4caa mem_24g_interval_max
+0x4cab mem_24g_addr
+0x4caf mem_24g_abort_pac
+0x4cb0 mem_24g_check_dongle_times
+0x4cb2 mem_24g_enter_hibernate
+0x4cba mem_24g_device_addr
+0x4cbe mem_24g_pac_index
+0x4cbf mem_24g_no_ack
+0x4cc0 mem_24g_sta_crc
+0x4cc3 mem_24g_last_crc
+0x4cc6 mem_24g_sta_pid
+0x4cc7 mem_24g_last_pid
+0x4cc8 mem_24g_max_retry
+0x4cc9 mem_24g_mode
+0x4cca mem_24g_rxdata_temp
+0x4cec mem_24g_rx_addr
+0x4cf0 mem_dongle_mode_init
+0x4cf1 mem_dongle_work_mode
+0x4cf2 mem_dongle_ms_bind_step
+0x4cf3 mem_dongle_kb_bind_step
+0x4cf4 mem_dongle_bind_device_status
+0x4cf5 mem_24g_bind_payload
+0x4cfd mem_24g_abort_packet
+0x4cfe mem_24g_rf_laststa
+0x4cff mem_24g_hop_btclk
+0x4d03 mem_24g_hop_interval
+0x4d04 mem_24g_mode_switch
+0x4d05 mem_24g_ackpayload_enable
+0x4d06 mem_24g_hop_packet
+0x4d07 mem_24g_pair_mode
+0x4d08 mem_24g_nodata_timer_enable
+0x4d09 mem_24g_time_slice
+0x4d0a mem_24g_kb_data_sta_data
+0x4d12 mem_24g_kb_data_last_data
+0x4d1a mem_24g_kb_multikey_sta_data
+0x4d1d mem_24g_kb_multikey_last_data
+0x4d20 mem_24g_kb_blank_data_enable
+0x4d21 mem_24g_kb_mul_blank_data_enable
+0x4d22 mem_24g_ms_blank_data_enable
+0x4d23 mem_24g_kb_addr
+0x4d27 mem_24g_ms_addr
+0x4d2b mem_24g_dg_last_ch
+0x4d2c mem_24g_dg_ch_number
+0x4d2d mem_24g_dg_config_ch_once
+0x4d2e mem_24g_kb_last_ch
+0x4d2f mem_24g_kb_ch_number
+0x4d30 mem_24g_kb_config_ch_once
+0x4d31 mem_24g_ms_last_ch
+0x4d32 mem_24g_ms_ch_number
+0x4d33 mem_24g_ms_config_ch_once
+0x4d34 mem_24g_syncword
+0x4d36 mem_24g_syncword_crc8
+0x4d37 mem_24g_get_syncword_crc8
+0x4d38 mem_24g_ota_sta_pid
+0x4d3a mem_tx_power_temp
+0x4d3b mem_rssi_hex
+0x4d3c mem_rssi_noise_avg
+0x4d3d mem_rssi_noise_index
+0x4d3e mem_rssi_signal_index
+0x4d3f mem_rssi_noise_dg_avg
+0x4d40 mem_rssi_noise_kb_avg
+0x4d41 mem_rssi_noise_ms_avg
+0x4d42 mem_rssi_noise_dg_index
+0x4d43 mem_rssi_noise_kb_index
+0x4d44 mem_rssi_noise_ms_index
+0x4d45 mem_rssi_signal_buf
+0x4d4d mem_queue_ele_num
+0x4d4e mem_queue_read
+0x4d50 mem_queue_write
+0x4d52 mem_queue_start
+0x4d52 mem_data_ele0
+0x4d72 mem_data_ele1
+0x4d92 mem_data_ele2
+0x4db2 mem_queue_end
+0x4db2 mem_queue_temp
+0x4db4 mem_cb_24g_data
+0x4db6 mem_24g_hop_fastly_cnt
+0x4db7 mem_24g_hop_pac_retry
+0x4db8 mem_24g_rf_hop_ch
+0x4db9 mem_24g_rf_last_sta
+0x4dba mem_24g_rf_work_stage
+0x4dbb mem_24g_sync_cnt
+0x4dbc mem_power_ctrl_pac_succ_cnt
+0x4dbd mem_rssi_avg_received
+0x4dbe mem_rssi_hex_received
+0x4dbf mem_power_ctrl_level
+0x4dc0 mem_seqi
+0x4dc1 mem_24g_auto_paring_switch
+0x4dc2 mem_24g_paccnt
+0x4dc3 mem_24g_transmit_by_interrupt
+0x4dc4 mem_24g_transmit_by_interrupt_exit_count
+0x4dc6 mem_24g_transmit_by_interrupt_exit_count_init
+0x4dc8 mem_24g_allpowerful_addr
+0x4dce mem_24g_stop_g24_mode
+0x4dcf mem_24g_stop_g24_mode_timeout
+0x4dd1 mem_24g_pair_current_ch_num
+0x4dd2 mem_24g_powerful_current_ch_num
+0x4dd3 mem_24g_search_dongle_action
+0x4dd4 mem_24g_search_dongle_count
+0x4dd5 mem_24g_search_dongle_ch
+0x4dd6 mem_24g_search_dongle_wait
+0x4dd7 mem_24g_conn_sm
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/program.lis	(revision 6237)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/program.lis	(working copy)
@@ -7,19 +7,19 @@
 p_zcode:
 
 p_wake_from_power:
-0001 20400325 call p_mouse_data_init 
+0001 20400326 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
-0003 6000cd39 store 1 ,mem_tx_power_temp 
+0003 6000cd3a store 1 ,mem_tx_power_temp 
 0004 204006f3 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000c6da store 1 ,mem_combination_ui_button_count 
 0007 20400466 call p_mouse_bt_discovery_button_up_init 
-0008 204002a1 call p_mouse_spi_init 
+0008 204002a3 call p_mouse_spi_init 
 0009 20400774 call p_drawing_optima_init 
 000a 20400016 call p_mouse_cb_fuction 
 000b 20400029 call p_mouse_wakeup_from_power 
 000c 680240a0 fetch 4 ,mem_lap 
-000d 60024cb9 store 4 ,mem_24g_device_addr 
+000d 60024cba store 4 ,mem_24g_device_addr 
 000e 20405810 call le_set_config_fixed_ltk 
 000f 20405839 call le_set_justwork 
 0010 2040582c call le_set_fixed_ltk 
@@ -32,19 +32,19 @@
 0015 20200747 branch p_zcode_entrance 
 
 p_mouse_cb_fuction:
-0016 580002ef setarg p_mouse_g24_package_data 
-0017 60014db3 store 2 ,mem_cb_24g_data 
-0018 58000313 setarg p_mouse_le 
+0016 580002f0 setarg p_mouse_g24_package_data 
+0017 60014db4 store 2 ,mem_cb_24g_data 
+0018 58000314 setarg p_mouse_le 
 0019 600141ef store 2 ,mem_cb_le_process 
 001a 58000637 setarg p_le_mouse_bb_event_connect_complete 
 001b 600141f9 store 2 ,mem_cb_att_write 
-001c 58000340 setarg p_mouse_bt 
+001c 58000341 setarg p_mouse_bt 
 001d 600141f1 store 2 ,mem_cb_bt_process 
 001e 58000236 setarg p_mouse_before_lpm 
 001f 600141ed store 2 ,mem_cb_before_lpm 
-0020 58000382 setarg p_mouse_priority_bb_event 
+0020 58000383 setarg p_mouse_priority_bb_event 
 0021 600141f5 store 2 ,mem_cb_bb_event_process 
-0022 58000363 setarg p_mouse_idle 
+0022 58000364 setarg p_mouse_idle 
 0023 600141f3 store 2 ,mem_cb_idle_process 
 0024 580003cb setarg p_mouse_before_hibernate 
 0025 600141eb store 2 ,mem_cb_before_hibernate 
@@ -54,9 +54,9 @@
 
 p_mouse_wakeup_from_power:
 0029 58000019 setarg 25 
-002a 60014dc5 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+002a 60014dc6 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 002b 24558036 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
-002c 20400264 call p_mouse_init_sunt 
+002c 20400266 call p_mouse_init_sunt 
 002d 204003d0 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
@@ -67,11 +67,11 @@
 0032 6800c241 fetch 1 ,mem_power_on_flag 
 0033 c3810000 rtnbit1 2 
 0034 704b770a jam ble_poweron_reconn_timer ,mem_mouse_poweron_bt_start_reconn_timer 
-0035 20200311 branch p_mouse_dpi_config_default 
+0035 20200312 branch p_mouse_dpi_config_default 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 0036 58000177 setarg 375 
-0037 60014dc5 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0037 60014dc6 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0038 20600000 rtn 
 0039 20000001 nop 1 
 003a 20000001 nop 1 
@@ -133,7 +133,7 @@
 006c d8a009ae arg mem_sp_state ,contw 
 006d df20000c arg 12 ,loopcnt 
 006e 20407ed4 call clear_mem 
-006f 20400300 call p_mouse_le_txbuff_load 
+006f 20400301 call p_mouse_le_txbuff_load 
 0070 204074c1 call init_memp 
 0071 20406a03 call rfcomm_init 
 0072 20405cf6 call init_lmp 
@@ -175,10 +175,10 @@
 
 p_g24_dispatch:
 008e c6930000 rtnmark0 mark_24g 
-008f 6800cdd6 fetch 1 ,mem_24g_conn_sm 
+008f 6800cdd7 fetch 1 ,mem_24g_conn_sm 
 0090 c28080a5 bbit1 state_24g_pair ,p_g24_pair_dispatch 
 0091 c28100a7 bbit1 state_24g_reconn ,p_g24_reconn_dispatch 
-0092 6800cdc2 fetch 1 ,mem_24g_transmit_by_interrupt 
+0092 6800cdc3 fetch 1 ,mem_24g_transmit_by_interrupt 
 0093 c00080a9 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
 
 p_g24_transmit_process:
@@ -188,14 +188,14 @@
 
 p_g24_transmit_start:
 0097 2040014b call p_g24_transmit_packet 
-0098 6800cc92 fetch 1 ,mem_24g_pairing_sm 
+0098 6800cc93 fetch 1 ,mem_24g_pairing_sm 
 0099 c1ff8000 rtnne state_24g_pairing_success 
 009a 20400672 call power_ctrl_start 
 009b 58017700 setarg g24_long_sleep_step1 
-009c 6001ccb1 store 3 ,mem_24g_enter_hibernate 
+009c 6001ccb2 store 3 ,mem_24g_enter_hibernate 
 009d 704b4414 jam 20 ,mem_24g_long_sleep_param_update_timer 
 009e 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
-009f c00082f2 beq on ,p_g24_transmit_by_interrupt_enable 
+009f c00082f3 beq on ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 00a0 204000b7 call p_g24_lpm_wait 
@@ -217,19 +217,19 @@
 00aa 20200747 branch p_zcode_entrance 
 
 p_g24_nodata_transmit:
-00ab 6800ccae fetch 1 ,mem_24g_abort_pac 
+00ab 6800ccaf fetch 1 ,mem_24g_abort_pac 
 00ac 205a00d0 call p_g24_send_abort_packet ,blank 
 00ad 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
 00ae 247a0000 nrtn blank 
 00af 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
 00b0 c1008000 rtneq on 
-00b1 6800cdc2 fetch 1 ,mem_24g_transmit_by_interrupt 
+00b1 6800cdc3 fetch 1 ,mem_24g_transmit_by_interrupt 
 00b2 c1008000 rtneq g24_tx_timer_int_enable 
 
 p_g24_long_sleep:
 00b3 204000b7 call p_g24_lpm_wait 
 00b4 24740000 nrtn user 
-00b5 6801ccb1 fetch 3 ,mem_24g_enter_hibernate 
+00b5 6801ccb2 fetch 3 ,mem_24g_enter_hibernate 
 00b6 20202d8c branch g24_lpm_long_sleep_next 
 
 p_g24_lpm_wait:
@@ -239,7 +239,7 @@
 00ba 203a7fe9 branch disable_user ,blank 
 00bb 6800c091 fetch 1 ,mem_lpm_mode 
 00bc 203a7fe9 branch disable_user ,blank 
-00bd 6800cdc2 fetch 1 ,mem_24g_transmit_by_interrupt 
+00bd 6800cdc3 fetch 1 ,mem_24g_transmit_by_interrupt 
 00be c000ffe9 beq g24_tx_timer_int_enable ,disable_user 
 
 p_mouse_setgpio_lpm:
@@ -264,69 +264,69 @@
 00cf 20600000 rtn 
 
 p_g24_send_abort_packet:
-00d0 704cae01 jam 1 ,mem_24g_abort_pac 
-00d1 704db700 jam 0 ,mem_24g_rf_hop_ch 
+00d0 704caf01 jam 1 ,mem_24g_abort_pac 
+00d1 704db800 jam 0 ,mem_24g_rf_hop_ch 
 00d2 204000e0 call p_g24_transmit_rf_ctrl_clear 
-00d3 6000cc1e store 1 ,mem_24g_txbuf 
+00d3 6000cc1f store 1 ,mem_24g_txbuf 
 00d4 58000000 setarg 0 
-00d5 6003cc1f store 7 ,mem_24g_txbuf + 1 
-00d6 68024cb9 fetch 4 ,mem_24g_device_addr 
-00d7 60024c26 store 4 ,mem_24g_txbuf + 8 
-00d8 704c820c jam 12 ,mem_24g_datalen 
-00d9 6800cc83 fetch 1 ,mem_24g_data_type 
+00d5 6003cc20 store 7 ,mem_24g_txbuf + 1 
+00d6 68024cba fetch 4 ,mem_24g_device_addr 
+00d7 60024c27 store 4 ,mem_24g_txbuf + 8 
+00d8 704c830c jam 12 ,mem_24g_datalen 
+00d9 6800cc84 fetch 1 ,mem_24g_data_type 
 00da 79207e03 set1 bit_abort ,pdata 
-00db 6000cc83 store 1 ,mem_24g_data_type 
+00db 6000cc84 store 1 ,mem_24g_data_type 
 00dc 20400124 call p_g24_txdata_enable_tx 
 00dd 20200097 branch p_g24_transmit_start 
 
 p_g24_transmit_rf_sta_init:
-00de 704db801 jam 1 ,mem_24g_rf_last_sta 
-00df 704dba00 jam 0 ,mem_24g_sync_cnt 
+00de 704db901 jam 1 ,mem_24g_rf_last_sta 
+00df 704dbb00 jam 0 ,mem_24g_sync_cnt 
 
 p_g24_transmit_rf_ctrl_clear:
-00e0 6800cc83 fetch 1 ,mem_24g_data_type 
+00e0 6800cc84 fetch 1 ,mem_24g_data_type 
 00e1 1fe17e07 and_into bits_data ,pdata 
-00e2 6000cc83 store 1 ,mem_24g_data_type 
+00e2 6000cc84 store 1 ,mem_24g_data_type 
 00e3 20600000 rtn 
 
 p_g24_hop_enable_packet:
-00e4 6800cc83 fetch 1 ,mem_24g_data_type 
+00e4 6800cc84 fetch 1 ,mem_24g_data_type 
 00e5 c4020000 rtnbit0 bit_hop 
 
 p_g24_hop_ch_disable:
-00e6 6800cc83 fetch 1 ,mem_24g_data_type 
+00e6 6800cc84 fetch 1 ,mem_24g_data_type 
 00e7 793ffe04 set0 bit_hop ,pdata 
-00e8 6000cc83 store 1 ,mem_24g_data_type 
-00e9 6000cc3e store 1 ,mem_24g_txpayload 
+00e8 6000cc84 store 1 ,mem_24g_data_type 
+00e9 6000cc3f store 1 ,mem_24g_txpayload 
 00ea 204005c2 call power_ctrl_pac_succ_decrs 
 00eb 2020010f branch p_g24_ch 
 
 p_g24_rf_hop_fastly_exit:
 00ec 204005c2 call power_ctrl_pac_succ_decrs 
-00ed 704db500 jam 0 ,mem_24g_hop_fastly_cnt 
+00ed 704db600 jam 0 ,mem_24g_hop_fastly_cnt 
 00ee 202000e0 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_hop_pac_succ_wo_hop:
-00ef 704dba02 jam 2 ,mem_24g_sync_cnt 
+00ef 704dbb02 jam 2 ,mem_24g_sync_cnt 
 
 p_g24_transmit_hop_pac_succ:
-00f0 704db801 jam 1 ,mem_24g_rf_last_sta 
-00f1 704db700 jam 0 ,mem_24g_rf_hop_ch 
+00f0 704db901 jam 1 ,mem_24g_rf_last_sta 
+00f1 704db800 jam 0 ,mem_24g_rf_hop_ch 
 00f2 202000e0 branch p_g24_transmit_rf_ctrl_clear 
 
 p_g24_transmit_succ_rf_config:
-00f3 6800cdb9 fetch 1 ,mem_24g_rf_work_stage 
+00f3 6800cdba fetch 1 ,mem_24g_rf_work_stage 
 00f4 c00180f0 beq 3 ,p_g24_transmit_hop_pac_succ 
-00f5 6800cc83 fetch 1 ,mem_24g_data_type 
+00f5 6800cc84 fetch 1 ,mem_24g_data_type 
 00f6 2fec0004 isolate0 bit_hop ,pdata 
 00f7 202080de branch p_g24_transmit_rf_sta_init ,true 
-00f8 6800cdb9 fetch 1 ,mem_24g_rf_work_stage 
+00f8 6800cdba fetch 1 ,mem_24g_rf_work_stage 
 00f9 c00080ef beq 1 ,p_g24_transmit_hop_pac_succ_wo_hop 
 00fa c00100f0 beq 2 ,p_g24_transmit_hop_pac_succ 
 00fb 20600000 rtn 
 
 p_g24_rf_sta_check:
-00fc 6800cc92 fetch 1 ,mem_24g_pairing_sm 
+00fc 6800cc93 fetch 1 ,mem_24g_pairing_sm 
 00fd c1ff8000 rtnne state_24g_pairing_success 
 00fe 20400101 call p_g24_rf_laststa_synccnt_check 
 00ff 24560109 ncall p_g24_rf_sync_cnt_check ,user2 
@@ -334,46 +334,46 @@
 
 p_g24_rf_laststa_synccnt_check:
 0101 78567c00 disable user2 
-0102 6800cdb8 fetch 1 ,mem_24g_rf_last_sta 
+0102 6800cdb9 fetch 1 ,mem_24g_rf_last_sta 
 0103 c1808000 rtnne 1 
-0104 6800cdba fetch 1 ,mem_24g_sync_cnt 
+0104 6800cdbb fetch 1 ,mem_24g_sync_cnt 
 0105 c1800000 rtnne 0 
-0106 704db901 jam 1 ,mem_24g_rf_work_stage 
-0107 704cc704 jam 4 ,mem_24g_max_retry 
+0106 704dba01 jam 1 ,mem_24g_rf_work_stage 
+0107 704cc804 jam 4 ,mem_24g_max_retry 
 0108 20207feb branch enable_user2 
 
 p_g24_rf_sync_cnt_check:
-0109 6800cdba fetch 1 ,mem_24g_sync_cnt 
+0109 6800cdbb fetch 1 ,mem_24g_sync_cnt 
 010a 203a011c branch p_g24_rf_hop_attemp ,blank 
 010b 1fe0ffff increase -1 ,pdata 
-010c 6000cdba store 1 ,mem_24g_sync_cnt 
-010d 704db902 jam 2 ,mem_24g_rf_work_stage 
-010e 704cc704 jam 4 ,mem_24g_max_retry 
+010c 6000cdbb store 1 ,mem_24g_sync_cnt 
+010d 704dba02 jam 2 ,mem_24g_rf_work_stage 
+010e 704cc804 jam 4 ,mem_24g_max_retry 
 
 p_g24_ch:
-010f 6808cc8d fetcht 1 ,mem_24g_current_ch_number 
-0110 6800ccaa fetch 1 ,mem_24g_addr 
+010f 6808cc8e fetcht 1 ,mem_24g_current_ch_number 
+0110 6800ccab fetch 1 ,mem_24g_addr 
 0111 1fe17e03 and_into 0x03 ,pdata 
 0112 1fefa204 mul32 pdata ,4 ,rega 
-0113 58004c93 setarg mem_24g_ch_map1 
+0113 58004c94 setarg mem_24g_ch_map1 
 0114 9a20fe00 iadd rega ,pdata 
 0115 98408c00 iadd temp ,contr 
 0116 e8c08000 ifetch 1 ,contr 
-0117 6000cc8c store 1 ,mem_24g_ch 
+0117 6000cc8d store 1 ,mem_24g_ch 
 0118 18408401 increase 1 ,temp 
 0119 18410403 and_into 3 ,temp 
-011a 6008cc8d storet 1 ,mem_24g_current_ch_number 
+011a 6008cc8e storet 1 ,mem_24g_current_ch_number 
 011b 20600000 rtn 
 
 p_g24_rf_hop_attemp:
-011c 704db903 jam 3 ,mem_24g_rf_work_stage 
-011d 6800cdb7 fetch 1 ,mem_24g_rf_hop_ch 
+011c 704dba03 jam 3 ,mem_24g_rf_work_stage 
+011d 6800cdb8 fetch 1 ,mem_24g_rf_hop_ch 
 011e 243a0143 nbranch p_g24_rf_hop_attemp_again ,blank 
-011f 704cc702 jam 2 ,mem_24g_max_retry 
+011f 704cc802 jam 2 ,mem_24g_max_retry 
 0120 2020010f branch p_g24_ch 
 
 p_g24_txdata_prep:
-0121 6800cc92 fetch 1 ,mem_24g_pairing_sm 
+0121 6800cc93 fetch 1 ,mem_24g_pairing_sm 
 0122 c0ff81a4 bne state_24g_pairing_success ,p_g24_pairing_sm 
 
 p_g24_txdata_prep_packeage_data:
@@ -381,23 +381,23 @@
 
 p_g24_txdata_enable_tx:
 0124 204001b7 call p_g24_transmit_prep 
-0125 704c8701 jam ensure_on_24g ,mem_24g_ensure 
+0125 704c8801 jam ensure_on_24g ,mem_24g_ensure 
 0126 20600000 rtn 
 
 p_g24_package_data:
-0127 68014db3 fetch 2 ,mem_cb_24g_data 
+0127 68014db4 fetch 2 ,mem_cb_24g_data 
 0128 20407f9c call callback_func 
 0129 2034012d branch p_g24_accumulate_mouse_data ,user 
-012a 6803cc1f fetch 7 ,mem_24g_txbuf + 1 
+012a 6803cc20 fetch 7 ,mem_24g_txbuf + 1 
 012b 207a0000 rtn blank 
 012c 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-012d 704cae00 jam 0 ,mem_24g_abort_pac 
+012d 704caf00 jam 0 ,mem_24g_abort_pac 
 012e 1a20fe01 add rega ,1 ,pdata 
-012f 6000cc82 store 1 ,mem_24g_datalen 
+012f 6000cc83 store 1 ,mem_24g_datalen 
 0130 204000e0 call p_g24_transmit_rf_ctrl_clear 
-0131 6000cc1e store 1 ,mem_24g_txbuf 
+0131 6000cc1f store 1 ,mem_24g_txbuf 
 0132 e8a88000 ifetcht 1 ,contw 
 0133 ea408000 ifetch 1 ,regb 
 0134 9841fe00 ior temp ,pdata 
@@ -406,7 +406,7 @@
 0137 ea420000 ifetch 4 ,regb 
 0138 e0a20000 istore 4 ,contw 
 0139 1a40a404 increase 4 ,regb 
-013a d8a04c24 arg mem_24g_txbuf + 6 ,contw 
+013a d8a04c25 arg mem_24g_txbuf + 6 ,contw 
 013b df200002 arg 2 ,loopcnt 
 
 p_g24_accumulation_loop:
@@ -419,19 +419,19 @@
 0142 20600000 rtn 
 
 p_g24_rf_hop_attemp_again:
-0143 6800cdb7 fetch 1 ,mem_24g_rf_hop_ch 
+0143 6800cdb8 fetch 1 ,mem_24g_rf_hop_ch 
 0144 c08080e0 bne 1 ,p_g24_transmit_rf_ctrl_clear 
 
 p_g24_rf_hop_fastly:
-0145 6800cdb5 fetch 1 ,mem_24g_hop_fastly_cnt 
+0145 6800cdb6 fetch 1 ,mem_24g_hop_fastly_cnt 
 0146 1fe0fe01 increase 1 ,pdata 
-0147 6000cdb5 store 1 ,mem_24g_hop_fastly_cnt 
+0147 6000cdb6 store 1 ,mem_24g_hop_fastly_cnt 
 0148 c00200ec beq 4 ,p_g24_rf_hop_fastly_exit 
 0149 2040010f call p_g24_ch 
-014a 704cc702 jam 2 ,mem_24g_max_retry 
+014a 704cc802 jam 2 ,mem_24g_max_retry 
 
 p_g24_transmit_packet:
-014b 704c8b00 jam 0 ,mem_24g_retry 
+014b 704c8c00 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
 014c d9600d00 arg param_rx_setup ,timeup 
@@ -444,30 +444,30 @@
 0153 204006f6 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
-0154 6800cc81 fetch 1 ,mem_24g_pid 
+0154 6800cc82 fetch 1 ,mem_24g_pid 
 0155 1fe0fe01 increase 1 ,pdata 
-0156 6000cc81 store 1 ,mem_24g_pid 
+0156 6000cc82 store 1 ,mem_24g_pid 
 0157 204000e4 call p_g24_hop_enable_packet 
-0158 6800cc92 fetch 1 ,mem_24g_pairing_sm 
+0158 6800cc93 fetch 1 ,mem_24g_pairing_sm 
 0159 c0ff81a6 bne state_24g_pairing_success ,p_g24_paring_mode_start 
 015a 204000f3 call p_g24_transmit_succ_rf_config 
 
 p_g24_transmit_abandon:
 015b 58000000 setarg 0 
-015c 60024c87 store 4 ,mem_24g_ensure 
-015d 6000cdb6 store 1 ,mem_24g_hop_pac_retry 
+015c 60024c88 store 4 ,mem_24g_ensure 
+015d 6000cdb7 store 1 ,mem_24g_hop_pac_retry 
 015e 20600000 rtn 
 
 p_g24_txbuf_clear:
 015f df200004 arg 4 ,loopcnt 
-0160 d8a04c1e arg mem_24g_txbuf ,contw 
+0160 d8a04c1f arg mem_24g_txbuf ,contw 
 0161 20207ec6 branch memset0 
 
 p_g24_transmit_receive_ack:
 0162 7857fc00 disable user3 
 0163 2040020c call p_g24_transmit 
 0164 18002a00 force 0 ,radio_ctrl 
-0165 68024caa fetch 4 ,mem_24g_addr 
+0165 68024cab fetch 4 ,mem_24g_addr 
 0166 98001200 iforce access 
 0167 68088017 fetcht 1 ,mem_last_freq 
 0168 2040291f call set_freq_rx 
@@ -477,25 +477,25 @@
 016c 20600000 rtn 
 
 p_g24_retransmit:
-016d 6800ccae fetch 1 ,mem_24g_abort_pac 
+016d 6800ccaf fetch 1 ,mem_24g_abort_pac 
 016e 247a0000 nrtn blank 
-016f 68014c88 fetch 2 ,mem_24g_txfail_cnt 
+016f 68014c89 fetch 2 ,mem_24g_txfail_cnt 
 0170 1fe0fe01 increase 1 ,pdata 
-0171 60014c88 store 2 ,mem_24g_txfail_cnt 
-0172 6800cc89 fetch 1 ,mem_24g_txfail_cnt + 1 
+0171 60014c89 store 2 ,mem_24g_txfail_cnt 
+0172 6800cc8a fetch 1 ,mem_24g_txfail_cnt + 1 
 0173 c2822dd4 bbit1 4 ,g24_stop_24g_mode 
-0174 6800cc92 fetch 1 ,mem_24g_pairing_sm 
+0174 6800cc93 fetch 1 ,mem_24g_pairing_sm 
 0175 c0ff8178 bne state_24g_pairing_success ,p_g24_tx_paring_retry 
 0176 20400180 call p_g24_tx_hop_ch_process 
 0177 2020014c branch p_g24_transmit_loop 
 
 p_g24_tx_paring_retry:
-0178 6800cc88 fetch 1 ,mem_24g_txfail_cnt 
+0178 6800cc89 fetch 1 ,mem_24g_txfail_cnt 
 0179 c1ff8000 rtnne 0xff 
 
 p_g24_tx_attempt_fail:
 017a 58000000 setarg 0 
-017b 60014c88 store 2 ,mem_24g_txfail_cnt 
+017b 60014c89 store 2 ,mem_24g_txfail_cnt 
 017c 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
@@ -504,55 +504,55 @@
 017f 2020010f branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
-0180 6800cc8b fetch 1 ,mem_24g_retry 
+0180 6800cc8c fetch 1 ,mem_24g_retry 
 0181 1fe67c0b sub pdata ,11 ,null 
 0182 2421017d nbranch p_g24_tx_fast_hop ,positive 
 0183 1fe0fe01 increase 1 ,pdata 
-0184 6000cc8b store 1 ,mem_24g_retry 
+0184 6000cc8c store 1 ,mem_24g_retry 
 0185 c00300e6 beq 6 ,p_g24_hop_ch_disable 
 0186 c00600e6 beq 12 ,p_g24_hop_ch_disable 
 0187 20600000 rtn 
 
 p_g24_ackpayload_parse:
 0188 204001b3 call p_g24_read_len_pid_crc 
-0189 6800cc80 fetch 1 ,mem_24g_rxdata_length 
+0189 6800cc81 fetch 1 ,mem_24g_rxdata_length 
 018a 207a0000 rtn blank 
 018b 98007200 iforce loopcnt 
-018c d8c04bfe arg mem_24g_rxbuf + 2 ,contr 
-018d d8a04c60 arg mem_24g_rxpayload ,contw 
+018c d8c04bff arg mem_24g_rxbuf + 2 ,contr 
+018d d8a04c61 arg mem_24g_rxpayload ,contw 
 018e 20207f01 branch memcpy 
 
 p_g24_pair_init:
 018f 7041de04 jam tx_power_f5db ,mem_tx_power 
-0190 704c8100 jam 0 ,mem_24g_pid 
-0191 704c8c4e jam g24_pair_ch ,mem_24g_ch 
-0192 68024c8e fetch 4 ,mem_24g_paring_addr 
+0190 704c8200 jam 0 ,mem_24g_pid 
+0191 704c8d4e jam g24_pair_ch ,mem_24g_ch 
+0192 68024c8f fetch 4 ,mem_24g_paring_addr 
 
 p_g24_update_addr_and_synccrc8:
-0193 60024caa store 4 ,mem_24g_addr 
+0193 60024cab store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
 0194 da200000 arg 0 ,rega 
 0195 df200004 arg 4 ,loopcnt 
-0196 d8c04caa arg mem_24g_addr ,contr 
+0196 d8c04cab arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
 0197 e8c08000 ifetch 1 ,contr 
 0198 9a20a200 iadd rega ,rega 
 0199 c2000197 loop p_g24_syncword_crc8_loop 
 019a 1a227e00 copy rega ,pdata 
-019b 60014d33 store 2 ,mem_24g_syncword 
-019c 6800cd33 fetch 1 ,mem_24g_syncword 
-019d 6808cd34 fetcht 1 ,mem_24g_syncword + 1 
+019b 60014d34 store 2 ,mem_24g_syncword 
+019c 6800cd34 fetch 1 ,mem_24g_syncword 
+019d 6808cd35 fetcht 1 ,mem_24g_syncword + 1 
 019e 9840fe00 iadd temp ,pdata 
-019f 6000cd35 store 1 ,mem_24g_syncword_crc8 
+019f 6000cd36 store 1 ,mem_24g_syncword_crc8 
 01a0 20600000 rtn 
 
 p_g24_start_pairing_sm1:
 01a1 2040018f call p_g24_pair_init 
 
 p_g24_set_pairing_sm_1:
-01a2 704c9201 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
+01a2 704c9301 jam state_24g_pairing_1 ,mem_24g_pairing_sm 
 01a3 20600000 rtn 
 
 p_g24_pairing_sm:
@@ -571,7 +571,7 @@
 
 p_g24_check_51cmd_stop_24g:
 01aa 793f8026 set0 mark_24g ,mark 
-01ab 704dd600 jam state_24g_stop ,mem_24g_conn_sm 
+01ab 704dd700 jam state_24g_stop ,mem_24g_conn_sm 
 01ac 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
@@ -579,40 +579,40 @@
 01ae 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-01af 6008cc82 storet 1 ,mem_24g_datalen 
+01af 6008cc83 storet 1 ,mem_24g_datalen 
 01b0 18427200 copy temp ,loopcnt 
-01b1 d8a04c1e arg mem_24g_txbuf ,contw 
+01b1 d8a04c1f arg mem_24g_txbuf ,contw 
 01b2 20202d51 branch g24_put_data_in_buff2 
 
 p_g24_read_len_pid_crc:
-01b3 6800cbfd fetch 1 ,mem_24g_rxbuf + 1 
+01b3 6800cbfe fetch 1 ,mem_24g_rxbuf + 1 
 01b4 1fe97e00 rshift3 pdata ,pdata 
-01b5 6000cc80 store 1 ,mem_24g_rxdata_length 
+01b5 6000cc81 store 1 ,mem_24g_rxdata_length 
 01b6 20600000 rtn 
 
 p_g24_transmit_prep:
-01b7 6800cc82 fetch 1 ,mem_24g_datalen 
+01b7 6800cc83 fetch 1 ,mem_24g_datalen 
 01b8 1fe0fe02 increase 2 ,pdata 
-01b9 6000cc84 store 1 ,mem_24g_txlen 
-01ba 6800cc83 fetch 1 ,mem_24g_data_type 
-01bb 6000cc3e store 1 ,mem_24g_txpayload 
-01bc 6800cc82 fetch 1 ,mem_24g_datalen 
+01b9 6000cc85 store 1 ,mem_24g_txlen 
+01ba 6800cc84 fetch 1 ,mem_24g_data_type 
+01bb 6000cc3f store 1 ,mem_24g_txpayload 
+01bc 6800cc83 fetch 1 ,mem_24g_datalen 
 01bd 1fe9fe00 lshift3 pdata ,pdata 
-01be 6808cc81 fetcht 1 ,mem_24g_pid 
+01be 6808cc82 fetcht 1 ,mem_24g_pid 
 01bf 18410403 and temp ,0x03 ,temp 
 01c0 18438400 lshift temp ,temp 
 01c1 9841fe00 ior temp ,pdata 
-01c2 6808ccbe fetcht 1 ,mem_24g_no_ack 
+01c2 6808ccbf fetcht 1 ,mem_24g_no_ack 
 01c3 9840fe00 iadd temp ,pdata 
 01c4 e0a08000 istore 1 ,contw 
-01c5 6800cc82 fetch 1 ,mem_24g_datalen 
+01c5 6800cc83 fetch 1 ,mem_24g_datalen 
 01c6 98007200 iforce loopcnt 
-01c7 d8c04c1e arg mem_24g_txbuf ,contr 
+01c7 d8c04c1f arg mem_24g_txbuf ,contr 
 01c8 20207f01 branch memcpy 
 
 p_g24_prep:
 01c9 20402dee call g24_prep 
-01ca 6800cc8c fetch 1 ,mem_24g_ch 
+01ca 6800cc8d fetch 1 ,mem_24g_ch 
 01cb 202053da branch le_prep2 
 
 p_g24_receive_rxon:
@@ -622,7 +622,7 @@
 01cf 7830fc00 enable is_rx 
 01d0 78507c00 disable is_tx 
 01d1 78287c00 enable swfine 
-01d2 68014c85 fetch 2 ,mem_24g_rx_window 
+01d2 68014c86 fetch 2 ,mem_24g_rx_window 
 01d3 98003600 iforce stop_watch 
 01d4 37c18400 correlate null ,timeout 
 01d5 242c0209 nbranch p_g24_sync_timeout ,sync 
@@ -631,14 +631,14 @@
 01d8 7823fc00 enable enable_white 
 01d9 7824fc00 enable enable_crc 
 01da 20400206 call p_g24_receive_byte 
-01db 6000cd36 store 1 ,mem_24g_get_syncword_crc8 
-01dc 6808cd35 fetcht 1 ,mem_24g_syncword_crc8 
+01db 6000cd37 store 1 ,mem_24g_get_syncword_crc8 
+01dc 6808cd36 fetcht 1 ,mem_24g_syncword_crc8 
 01dd 98467c00 isub temp ,null 
 01de 24228209 nbranch p_g24_end_of_packet ,zero 
 01df 20400206 call p_g24_receive_byte 
-01e0 6000cbfc store 1 ,mem_24g_rxbuf 
-01e1 6800cbfc fetch 1 ,mem_24g_rxbuf 
-01e2 6808cc83 fetcht 1 ,mem_24g_data_type 
+01e0 6000cbfd store 1 ,mem_24g_rxbuf 
+01e1 6800cbfd fetch 1 ,mem_24g_rxbuf 
+01e2 6808cc84 fetcht 1 ,mem_24g_data_type 
 01e3 a8400e00 icompare bits_data ,temp 
 01e4 24208209 nbranch p_g24_end_of_packet ,true 
 
@@ -657,7 +657,7 @@
 p_g24rx_nopayload:
 01ed 18a22200 copy contw ,rega 
 01ee 20400206 call p_g24_receive_byte 
-01ef 6000cdbd store 1 ,mem_rssi_hex_received 
+01ef 6000cdbe store 1 ,mem_rssi_hex_received 
 01f0 1a220a00 copy rega ,contw 
 01f1 09800018 parse demod ,bucket ,24 
 01f2 78287c00 enable swfine 
@@ -669,18 +669,18 @@
 01f8 20230209 branch p_g24_end_of_packet ,crc_failed 
 01f9 7837fc00 enable user3 
 01fa 204054ba call lerx_nopayload2 
-01fb 6800cdbd fetch 1 ,mem_rssi_hex_received 
+01fb 6800cdbe fetch 1 ,mem_rssi_hex_received 
 
 p_rssi_signal:
 01fc 1fe22200 copy pdata ,rega 
-01fd 6808cd3d fetcht 1 ,mem_rssi_signal_index 
-01fe 58004d44 setarg mem_rssi_signal_buf 
+01fd 6808cd3e fetcht 1 ,mem_rssi_signal_index 
+01fe 58004d45 setarg mem_rssi_signal_buf 
 01ff 98408a00 iadd temp ,contw 
 0200 1a227e00 copy rega ,pdata 
 0201 e0a08000 istore 1 ,contw 
 0202 18408401 increase 1 ,temp 
 0203 18410407 and_into rssi_buf_len_signal ,temp 
-0204 6008cd3d storet 1 ,mem_rssi_signal_index 
+0204 6008cd3e storet 1 ,mem_rssi_signal_index 
 0205 20600000 rtn 
 
 p_g24_receive_byte:
@@ -697,11 +697,11 @@
 
 p_g24_transmit:
 020c 204053c4 call le_enable 
-020d 68024caa fetch 4 ,mem_24g_addr 
+020d 68024cab fetch 4 ,mem_24g_addr 
 020e 98001200 iforce access 
 020f 204001c9 call p_g24_prep 
 0210 20402918 call set_sync_on 
-0211 6808cc8c fetcht 1 ,mem_24g_ch 
+0211 6808cc8d fetcht 1 ,mem_24g_ch 
 0212 20402933 call set_freq_tx 
 0213 79202a00 set1 txgfsk ,radio_ctrl 
 0214 782efc00 enable encode_fec0 
@@ -715,11 +715,11 @@
 021c 782dfc00 enable encode_fec1 
 021d 7823fc00 enable enable_white 
 021e 7824fc00 enable enable_crc 
-021f 6800cd35 fetch 1 ,mem_24g_syncword_crc8 
+021f 6800cd36 fetch 1 ,mem_24g_syncword_crc8 
 0220 08008608 inject mod ,8 
-0221 6800cc84 fetch 1 ,mem_24g_txlen 
+0221 6800cc85 fetch 1 ,mem_24g_txlen 
 0222 98007200 iforce loopcnt 
-0223 d8c04c3e arg mem_24g_txpayload ,contr 
+0223 d8c04c3f arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
 0224 e8c08000 ifetch 1 ,contr 
@@ -747,7 +747,7 @@
 
 p_mouse_before_lpm:
 0236 c6130000 rtnmark1 mark_24g 
-0237 204002f6 call p_mouse_le_txbuff_save 
+0237 204002f7 call p_mouse_le_txbuff_save 
 0238 204000bf call p_mouse_setgpio_lpm 
 0239 6800c040 fetch 1 ,mem_context 
 023a c300023d bbit0 state_inconn ,p_clear_wake 
@@ -763,7 +763,7 @@
 0240 2040296c call initialize_radio 
 0241 20403416 call app_lpm_mult_enable 
 0242 204074b9 call enable_authrom 
-0243 203582a1 branch p_mouse_spi_init ,wake 
+0243 203582a3 branch p_mouse_spi_init ,wake 
 
 p_device_wake_from_power:
 0244 20400001 call p_wake_from_power 
@@ -773,10 +773,10 @@
 0246 6800c241 fetch 1 ,mem_power_on_flag 
 0247 c281024a bbit1 2 ,p_mouse_wakeup_from_hibernate 
 0248 704b76ff jam latest_mode_null ,mem_mouse_latest_mode 
-0249 202002ea branch p_mouse_start_24g_pair 
+0249 202002ec branch p_mouse_start_24g_pair 
 
 p_mouse_wakeup_from_hibernate:
-024a 204002c7 call p_mouse_load_flash_device_info 
+024a 204002c9 call p_mouse_load_flash_device_info 
 024b 6800cb76 fetch 1 ,mem_mouse_latest_mode 
 024c c0008250 beq latest_mode_bt ,p_mouse_check_reconn_target 
 024d c00101a8 beq latest_mode_24g ,p_g24_start_24g_mode 
@@ -787,7 +787,7 @@
 0250 20400259 call p_mouse_tx_power_init 
 0251 6800c210 fetch 1 ,mem_xrecord_mode 
 0252 c019825c beq rec_3_mode ,p_mouse3_0_check_reconn_target 
-0253 c01a025f beq rec_4_mode ,p_mouse4_0_check_reconn_target 
+0253 c01a0260 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
 0254 20400489 call p_mouse_fast_conn_adv_switch_timer_reinit 
 0255 70016d06 jam 6 ,mem_connection_options 
 0256 2040041f call p_mouse_check_fast_conn_adv_start 
@@ -795,462 +795,462 @@
 0258 20207ddd branch check_51cmd_start_discovery 
 
 p_mouse_tx_power_init:
-0259 6800cd39 fetch 1 ,mem_tx_power_temp 
+0259 6800cd3a fetch 1 ,mem_tx_power_temp 
 025a 6000c1de store 1 ,mem_tx_power 
 025b 20600000 rtn 
 
 p_mouse3_0_check_reconn_target:
-025c 680341d0 fetch 6 ,mem_hci_plap 
-025d 203a33eb branch app_bt_start_discovery_short ,blank 
-025e 20204274 branch mouse3_0_check_reconn_target + 3 
+025c 704bfc01 jam 1 ,mem_mouse_bt_reconnect_flag 
+025d 680341d0 fetch 6 ,mem_hci_plap 
+025e 203a33eb branch app_bt_start_discovery_short ,blank 
+025f 20204274 branch mouse3_0_check_reconn_target + 3 
 
 p_mouse4_0_check_reconn_target:
-025f 7011c612 jam zcode_12 ,mem_zcode_temp_param0 
-0260 20200747 branch p_zcode_entrance 
+0260 704b6e01 jam 1 ,mem_le_send_security_request_flag 
+0261 7011c612 jam zcode_12 ,mem_zcode_temp_param0 
+0262 20200747 branch p_zcode_entrance 
 
 p_mouse_clear_sensor_data:
-0261 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
-0262 20405814 call le_set_config_more_data 
+0263 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0264 20405814 call le_set_config_more_data 
 
 p_mouse_init_sensor_reset:
-0263 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
+0265 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
 
 p_mouse_init_sunt:
-0264 204002a1 call p_mouse_spi_init 
-0265 204040c0 call mouse_spi_sdio_gpio_pollup 
+0266 204002a3 call p_mouse_spi_init 
+0267 204040c0 call mouse_spi_sdio_gpio_pollup 
 
 p_mouse_init_sensor:
-0266 204040d9 call mouse_read_sensor_id 
-0267 c018026b beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-0268 204040d1 call mouse_twspi_reset 
-0269 200003e8 nop 1000 
-026a 20200266 branch p_mouse_init_sensor 
+0268 204040d9 call mouse_read_sensor_id 
+0269 c018026d beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+026a 204040d1 call mouse_twspi_reset 
+026b 200003e8 nop 1000 
+026c 20200268 branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-026b 20400309 call p_mouse_sensor_poweron 
-026c 6800c6de fetch 1 ,mem_sensor_id2 
-026d 1fe17ef0 and pdata ,0xf0 ,pdata 
-026e c0780270 beq p3204_tjdu_id2 ,p_mouse_3204_tjdu_init_parm 
-026f 202040e1 branch mouse_init_p32xx_id2_judge + 1 
+026d 2040030a call p_mouse_sensor_poweron 
+026e 6800c6de fetch 1 ,mem_sensor_id2 
+026f 1fe17ef0 and pdata ,0xf0 ,pdata 
+0270 c0780272 beq p3204_tjdu_id2 ,p_mouse_3204_tjdu_init_parm 
+0271 202040e1 branch mouse_init_p32xx_id2_judge + 1 
 
 p_mouse_3204_tjdu_init_parm:
-0270 7046e008 jam p3204_tjdu ,mem_config_sensor_type 
-0271 da604bb9 arg mem_sensor_3204_tjdu_init1 ,regc 
+0272 7046e008 jam p3204_tjdu ,mem_config_sensor_type 
+0273 da604bb9 arg mem_sensor_3204_tjdu_init1 ,regc 
 
 p_sensor_wr_seq:
-0272 ea610000 ifetch 2 ,regc 
-0273 d840ffff arg 0xffff ,temp 
-0274 98467c00 isub temp ,null 
-0275 20628000 rtn zero 
-0276 20406413 call twspi_write 
-0277 1a60a602 increase 2 ,regc 
-0278 20200272 branch p_sensor_wr_seq 
+0274 ea610000 ifetch 2 ,regc 
+0275 d840ffff arg 0xffff ,temp 
+0276 98467c00 isub temp ,null 
+0277 20628000 rtn zero 
+0278 20406413 call twspi_write 
+0279 1a60a602 increase 2 ,regc 
+027a 20200274 branch p_sensor_wr_seq 
 
 p_mouse_delay_50ms:
-0279 df200032 arg 50 ,loopcnt 
-027a 20207ec2 branch delay_ms_wait 
+027b df200032 arg 50 ,loopcnt 
+027c 20207ec2 branch delay_ms_wait 
 
 p_spid_init_flash:
-027b 70808640 jam 0x40 ,core_spid_ctrl 
-027c 70808700 jam 0x0 ,core_spid_delay 
-027d 68108081 hfetch 1 ,core_gpio_sel1 
-027e 1fe17eec and pdata ,0xec ,pdata 
-027f 1fe1fe08 or pdata ,0x08 ,pdata 
-0280 60108081 hstore 1 ,core_gpio_sel1 
-0281 58000000 setarg 0 
-0282 600201f5 store 4 ,mem_spid_tbuf 
-0283 6810807f hfetch 1 ,core_gpio_pd3 
-0284 793ffe00 set0 0 ,pdata 
-0285 6010807f hstore 1 ,core_gpio_pd3 
-0286 20600000 rtn 
+027d 70808640 jam 0x40 ,core_spid_ctrl 
+027e 70808700 jam 0x0 ,core_spid_delay 
+027f 68108081 hfetch 1 ,core_gpio_sel1 
+0280 1fe17eec and pdata ,0xec ,pdata 
+0281 1fe1fe08 or pdata ,0x08 ,pdata 
+0282 60108081 hstore 1 ,core_gpio_sel1 
+0283 58000000 setarg 0 
+0284 600201f5 store 4 ,mem_spid_tbuf 
+0285 6810807f hfetch 1 ,core_gpio_pd3 
+0286 793ffe00 set0 0 ,pdata 
+0287 6010807f hstore 1 ,core_gpio_pd3 
+0288 20600000 rtn 
 
 p_mouse_load_flash_info_check:
-0287 204002d7 call p_flash_release_deep_power_down 
-0288 20404423 call mouse_load_flash_flag 
-0289 68014778 fetch 2 ,mem_store_flag 
-028a d840aa55 arg eeprom_init_flag ,temp 
-028b 98467c00 isub temp ,null 
-028c 202282c7 branch p_mouse_load_flash_device_info ,zero 
-028d 60094778 storet 2 ,mem_store_flag 
-028e 2040441c call mouse_ble_init_address 
-028f 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
-0290 6002477b store 4 ,mem_mouse_24g_addr 
-0291 60024caa store 4 ,mem_24g_addr 
+0289 204002d9 call p_flash_release_deep_power_down 
+028a 20404423 call mouse_load_flash_flag 
+028b 68014778 fetch 2 ,mem_store_flag 
+028c d840aa55 arg eeprom_init_flag ,temp 
+028d 98467c00 isub temp ,null 
+028e 202282c9 branch p_mouse_load_flash_device_info ,zero 
+028f 60094778 storet 2 ,mem_store_flag 
+0290 2040441c call mouse_ble_init_address 
+0291 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
+0292 6002477b store 4 ,mem_mouse_24g_addr 
+0293 60024cab store 4 ,mem_24g_addr 
 
 p_mouse_store_flash_device_info:
-0292 204002d7 call p_flash_release_deep_power_down 
-0293 204002a3 call p_flash_erase_sector 
-0294 204002b2 call p_flash_write_enable 
-0295 204002c1 call p_mouse_information_flash_parameters 
-0296 204002b6 call p_spid_write_flash 
-0297 204002a7 call p_wait_flash_done 
+0294 204002d9 call p_flash_release_deep_power_down 
+0295 204002a5 call p_flash_erase_sector 
+0296 204002b4 call p_flash_write_enable 
+0297 204002c3 call p_mouse_information_flash_parameters 
+0298 204002b8 call p_spid_write_flash 
+0299 204002a9 call p_wait_flash_done 
 
 p_mouse_store_flash_user_data:
-0298 204002b2 call p_flash_write_enable 
-0299 d8400007 arg 7 ,temp 
-029a da204b70 arg mem_mouse_flash_start_temp ,rega 
-029b da40005f arg mouse_user_data_offect ,regb 
-029c 6801c700 fetch 3 ,mem_flash_base 
-029d 9a40fe00 iadd regb ,pdata 
-029e 204002b6 call p_spid_write_flash 
-029f 204002a7 call p_wait_flash_done 
-02a0 204002d0 call p_flash_deep_power_down 
+029a 204002b4 call p_flash_write_enable 
+029b d8400007 arg 7 ,temp 
+029c da204b70 arg mem_mouse_flash_start_temp ,rega 
+029d da40005f arg mouse_user_data_offect ,regb 
+029e 6801c700 fetch 3 ,mem_flash_base 
+029f 9a40fe00 iadd regb ,pdata 
+02a0 204002b8 call p_spid_write_flash 
+02a1 204002a9 call p_wait_flash_done 
+02a2 204002d2 call p_flash_deep_power_down 
 
 p_mouse_spi_init:
-02a1 70421276 jam 0x76 ,mem_spi_init_clk 
-02a2 20203d36 branch mouse_spi_init 
+02a3 70421276 jam 0x76 ,mem_spi_init_clk 
+02a4 20203d36 branch mouse_spi_init 
 
 p_flash_erase_sector:
-02a3 6801c700 fetch 3 ,mem_flash_base 
-02a4 6001c232 store 3 ,mem_spi_write_addr 
-02a5 204002b2 call p_flash_write_enable 
-02a6 2040652b call flash_erase_sector + 3 
+02a5 6801c700 fetch 3 ,mem_flash_base 
+02a6 6001c232 store 3 ,mem_spi_write_addr 
+02a7 204002b4 call p_flash_write_enable 
+02a8 2040652b call flash_erase_sector + 3 
 
 p_wait_flash_done:
-02a7 204002aa call p_flash_read_status 
-02a8 c28002a7 bbit1 flash_status_wip ,p_wait_flash_done 
-02a9 20600000 rtn 
+02a9 204002ac call p_flash_read_status 
+02aa c28002a9 bbit1 flash_status_wip ,p_wait_flash_done 
+02ab 20600000 rtn 
 
 p_flash_read_status:
-02aa 580001fa setarg mem_spid_rbuf 
-02ab 6011008c hstore 2 ,core_spid_rxaddr 
-02ac 18000401 force 1 ,temp 
-02ad 58000005 setarg flash_read_satus 
-02ae 600081f5 store 1 ,mem_spid_tbuf 
-02af 580001f5 setarg mem_spid_tbuf 
-02b0 6011008a hstore 2 ,core_spid_txaddr 
-02b1 202064f6 branch spid_read_regs + 2 
+02ac 580001fa setarg mem_spid_rbuf 
+02ad 6011008c hstore 2 ,core_spid_rxaddr 
+02ae 18000401 force 1 ,temp 
+02af 58000005 setarg flash_read_satus 
+02b0 600081f5 store 1 ,mem_spid_tbuf 
+02b1 580001f5 setarg mem_spid_tbuf 
+02b2 6011008a hstore 2 ,core_spid_txaddr 
+02b3 202064f6 branch spid_read_regs + 2 
 
 p_flash_write_enable:
-02b2 2040650b call spid_unlock_flash 
-02b3 204002aa call p_flash_read_status 
-02b4 c30082b2 bbit0 flash_status_wel ,p_flash_write_enable 
-02b5 20600000 rtn 
+02b4 2040650b call spid_unlock_flash 
+02b5 204002ac call p_flash_read_status 
+02b6 c30082b4 bbit0 flash_status_wel ,p_flash_write_enable 
+02b7 20600000 rtn 
 
 p_spid_write_flash:
-02b6 1fe22600 copy pdata ,regc 
-02b7 1a227e00 copy rega ,pdata 
-02b8 1fe0fffc increase -4 ,pdata 
-02b9 1fe22400 copy pdata ,regb 
-02ba ea420000 ifetch 4 ,regb 
-02bb 60024b47 store 4 ,mem_write_flash_head_temp 
-02bc 1a627e00 copy regc ,pdata 
-02bd 20406552 call spid_write_flash 
-02be 68024b47 fetch 4 ,mem_write_flash_head_temp 
-02bf e2420000 istore 4 ,regb 
-02c0 20600000 rtn 
+02b8 1fe22600 copy pdata ,regc 
+02b9 1a227e00 copy rega ,pdata 
+02ba 1fe0fffc increase -4 ,pdata 
+02bb 1fe22400 copy pdata ,regb 
+02bc ea420000 ifetch 4 ,regb 
+02bd 60024b47 store 4 ,mem_write_flash_head_temp 
+02be 1a627e00 copy regc ,pdata 
+02bf 20406552 call spid_write_flash 
+02c0 68024b47 fetch 4 ,mem_write_flash_head_temp 
+02c1 e2420000 istore 4 ,regb 
+02c2 20600000 rtn 
 
 p_mouse_information_flash_parameters:
-02c1 5800477f setarg mem_mouse_information_end 
-02c2 d8404720 arg mem_mouse_information_start ,temp 
-02c3 98460400 isub temp ,temp 
-02c4 6801c700 fetch 3 ,mem_flash_base 
-02c5 da204720 arg mem_mouse_information_start ,rega 
-02c6 20600000 rtn 
+02c3 5800477f setarg mem_mouse_information_end 
+02c4 d8404720 arg mem_mouse_information_start ,temp 
+02c5 98460400 isub temp ,temp 
+02c6 6801c700 fetch 3 ,mem_flash_base 
+02c7 da204720 arg mem_mouse_information_start ,rega 
+02c8 20600000 rtn 
 
 p_mouse_load_flash_device_info:
-02c7 204002d7 call p_flash_release_deep_power_down 
-02c8 204002c1 call p_mouse_information_flash_parameters 
-02c9 20406562 call spid_read_flash 
-02ca 204002e1 call p_mouse_load_flash_user_data 
-02cb 20404364 call mouse_select_btdevice 
-02cc 2040431a call mouse_select_reconn_device 
-02cd 6802477b fetch 4 ,mem_mouse_24g_addr 
-02ce 60024caa store 4 ,mem_24g_addr 
-02cf 20600000 rtn 
+02c9 204002d9 call p_flash_release_deep_power_down 
+02ca 204002c3 call p_mouse_information_flash_parameters 
+02cb 20406562 call spid_read_flash 
+02cc 204002e3 call p_mouse_load_flash_user_data 
+02cd 20404364 call mouse_select_btdevice 
+02ce 2040431a call mouse_select_reconn_device 
+02cf 6802477b fetch 4 ,mem_mouse_24g_addr 
+02d0 60024cab store 4 ,mem_24g_addr 
+02d1 20600000 rtn 
 
 p_flash_deep_power_down:
-02d0 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
+02d2 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
 
 p_spid_write_flash_cmd:
-02d1 2040027b call p_spid_init_flash 
-02d2 204069ac call delay_nop100 
-02d3 da204b47 arg mem_write_flash_head_temp ,rega 
-02d4 68088aa2 fetcht 1 ,mem_temp 
-02d5 20406556 call spid_write_flash_common 
-02d6 202069ac branch delay_nop100 
+02d3 2040027d call p_spid_init_flash 
+02d4 204069ac call delay_nop100 
+02d5 da204b47 arg mem_write_flash_head_temp ,rega 
+02d6 68088aa2 fetcht 1 ,mem_temp 
+02d7 20406556 call spid_write_flash_common 
+02d8 202069ac branch delay_nop100 
 
 p_flash_release_deep_power_down:
-02d7 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
-02d8 202002d1 branch p_spid_write_flash_cmd 
+02d9 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
+02da 202002d3 branch p_spid_write_flash_cmd 
 
 p_mouse_fast_conn_disable:
-02d9 704b755a jam 0x5a ,mem_mouse_fast_conn_flag 
-02da 20600000 rtn 
+02db 704b755a jam 0x5a ,mem_mouse_fast_conn_flag 
+02dc 20600000 rtn 
 
 p_mouse_fast_conn_le_switch_adv:
-02db 704b6901 jam 1 ,mem_le_switch_adv_timer 
-02dc 704b6801 jam 1 ,mem_le_switch_adv_flag 
+02dd 704b6901 jam 1 ,mem_le_switch_adv_timer 
+02de 704b6801 jam 1 ,mem_le_switch_adv_flag 
 
 p_mouse_fast_conn_init:
-02dd 704b75ff jam 0xff ,mem_mouse_fast_conn_flag 
-02de 68034dc7 fetch 6 ,mem_24g_allpowerful_addr 
-02df 600344a0 store 6 ,mem_le_lap 
-02e0 20600000 rtn 
+02df 704b75ff jam 0xff ,mem_mouse_fast_conn_flag 
+02e0 68034dc8 fetch 6 ,mem_24g_allpowerful_addr 
+02e1 600344a0 store 6 ,mem_le_lap 
+02e2 20600000 rtn 
 
 p_mouse_load_flash_user_data:
-02e1 204002d7 call p_flash_release_deep_power_down 
-02e2 d8400007 arg 7 ,temp 
-02e3 da204b70 arg mem_mouse_flash_start_temp ,rega 
-02e4 da40005f arg mouse_user_data_offect ,regb 
-02e5 6801c700 fetch 3 ,mem_flash_base 
-02e6 9a40fe00 iadd regb ,pdata 
-02e7 20206562 branch spid_read_flash 
+02e3 204002d9 call p_flash_release_deep_power_down 
+02e4 d8400007 arg 7 ,temp 
+02e5 da204b70 arg mem_mouse_flash_start_temp ,rega 
+02e6 da40005f arg mouse_user_data_offect ,regb 
+02e7 6801c700 fetch 3 ,mem_flash_base 
+02e8 9a40fe00 iadd regb ,pdata 
+02e9 20206562 branch spid_read_flash 
 
 p_mouse_start_24g_mode:
-02e8 6800c241 fetch 1 ,mem_power_on_flag 
-02e9 c28101a8 bbit1 2 ,p_g24_start_24g_mode 
+02ea 6800c241 fetch 1 ,mem_power_on_flag 
+02eb c28101a8 bbit1 2 ,p_g24_start_24g_mode 
 
 p_mouse_start_24g_pair:
-02ea 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
-02eb 60024caa store 4 ,mem_24g_addr 
-02ec 20400292 call p_mouse_store_flash_device_info 
+02ec 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
+02ed 60024cab store 4 ,mem_24g_addr 
 
 p_g24_auto_pair_start:
-02ed 7011c641 jam zcode_41 ,mem_zcode_temp_param0 
-02ee 20200747 branch p_zcode_entrance 
+02ee 7011c641 jam zcode_41 ,mem_zcode_temp_param0 
+02ef 20200747 branch p_zcode_entrance 
 
 p_mouse_g24_package_data:
-02ef 20404401 call mouse_g24_package_data 
-02f0 6801469f fetch 2 ,mem_mouse_z 
-02f1 207a0000 rtn blank 
+02f0 20404401 call mouse_g24_package_data 
+02f1 6801469f fetch 2 ,mem_mouse_z 
+02f2 207a0000 rtn blank 
 
 p_g24_transmit_by_interrupt_enable:
-02f2 704dc201 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-02f3 58000000 setarg 0 
-02f4 60014dc3 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-02f5 20600000 rtn 
+02f3 704dc301 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+02f4 58000000 setarg 0 
+02f5 60014dc4 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+02f6 20600000 rtn 
 
 p_mouse_le_txbuff_save:
-02f6 d8c01800 arg mem_le_tx_buffer0 ,contr 
-02f7 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
-02f8 204002fe call p_mouse_le_txbuff_copy 
-02f9 d8c01900 arg mem_le_tx_buffer1 ,contr 
-02fa 204002fe call p_mouse_le_txbuff_copy 
-02fb d8c01a00 arg mem_le_tx_buffer2 ,contr 
-02fc 204002fe call p_mouse_le_txbuff_copy 
-02fd d8c01b00 arg mem_le_tx_buffer3 ,contr 
+02f7 d8c01800 arg mem_le_tx_buffer0 ,contr 
+02f8 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
+02f9 204002ff call p_mouse_le_txbuff_copy 
+02fa d8c01900 arg mem_le_tx_buffer1 ,contr 
+02fb 204002ff call p_mouse_le_txbuff_copy 
+02fc d8c01a00 arg mem_le_tx_buffer2 ,contr 
+02fd 204002ff call p_mouse_le_txbuff_copy 
+02fe d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-02fe df20001b arg 27 ,loopcnt 
-02ff 20207f01 branch memcpy 
+02ff df20001b arg 27 ,loopcnt 
+0300 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-0300 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
-0301 d8a01800 arg mem_le_tx_buffer0 ,contw 
-0302 204002fe call p_mouse_le_txbuff_copy 
-0303 d8a01900 arg mem_le_tx_buffer1 ,contw 
-0304 204002fe call p_mouse_le_txbuff_copy 
-0305 d8a01a00 arg mem_le_tx_buffer2 ,contw 
-0306 204002fe call p_mouse_le_txbuff_copy 
-0307 d8a01b00 arg mem_le_tx_buffer3 ,contw 
-0308 202002fe branch p_mouse_le_txbuff_copy 
+0301 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
+0302 d8a01800 arg mem_le_tx_buffer0 ,contw 
+0303 204002ff call p_mouse_le_txbuff_copy 
+0304 d8a01900 arg mem_le_tx_buffer1 ,contw 
+0305 204002ff call p_mouse_le_txbuff_copy 
+0306 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+0307 204002ff call p_mouse_le_txbuff_copy 
+0308 d8a01b00 arg mem_le_tx_buffer3 ,contw 
+0309 202002ff branch p_mouse_le_txbuff_copy 
 
 p_mouse_sensor_poweron:
-0309 204002a1 call p_mouse_spi_init 
-030a 58008006 setarg 0x8006 
-030b 20406413 call twspi_write 
-030c 20002ee0 nop 12000 
-030d da604ba1 arg mem_sensor_poweron_init ,regc 
-030e 20400272 call p_sensor_wr_seq 
+030a 204002a3 call p_mouse_spi_init 
+030b 58008006 setarg 0x8006 
+030c 20406413 call twspi_write 
+030d 20002ee0 nop 12000 
+030e da604ba1 arg mem_sensor_poweron_init ,regc 
+030f 20400274 call p_sensor_wr_seq 
 
 p_mouse_dpi_config:
-030f 6800c77a fetch 1 ,mem_mouse_dpi 
-0310 c0ff84fc bne 0xff ,p_mouse_seting_dpi 
+0310 6800c77a fetch 1 ,mem_mouse_dpi 
+0311 c0ff84fc bne 0xff ,p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
-0311 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-0312 202004fc branch p_mouse_seting_dpi 
+0312 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0313 202004fc branch p_mouse_seting_dpi 
 
 p_mouse_le:
-0313 20405892 call le_fifo_check_nearly_full 
-0314 247a0000 nrtn blank 
-0315 6800cb75 fetch 1 ,mem_mouse_fast_conn_flag 
-0316 c07f831a beq 0xff ,p_mouse_le_next 
-0317 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0318 1fe17e03 and pdata ,0x03 ,pdata 
-0319 c1818000 rtnne 0x03 
+0314 20405892 call le_fifo_check_nearly_full 
+0315 247a0000 nrtn blank 
+0316 6800cb75 fetch 1 ,mem_mouse_fast_conn_flag 
+0317 c07f831b beq 0xff ,p_mouse_le_next 
+0318 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0319 1fe17e03 and pdata ,0x03 ,pdata 
+031a c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-031a 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-031b 205a0261 call p_mouse_clear_sensor_data ,blank 
-031c 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-031d c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-031e 20403f97 call mouse_motion 
-031f 24740000 nrtn user 
-0320 2040033b call p_mouse_wheel_trigger 
+031b 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+031c 205a0263 call p_mouse_clear_sensor_data ,blank 
+031d 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+031e c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+031f 20403f97 call mouse_motion 
+0320 24740000 nrtn user 
+0321 2040033c call p_mouse_wheel_trigger 
 
 p_mouse_data_push:
-0321 da20469a arg mem_mouse_key ,rega 
-0322 20407e3d call queue_push 
-0323 2054032a call p_mouse_queue_increase ,user 
-0324 20600000 rtn 
+0322 da20469a arg mem_mouse_key ,rega 
+0323 20407e3d call queue_push 
+0324 2054032b call p_mouse_queue_increase ,user 
+0325 20600000 rtn 
 
 p_mouse_data_init:
-0325 7047a207 jam 7 ,mem_mouse_data_queue 
-0326 7047a304 jam 4 ,mem_mouse_data_queue + 1 
-0327 580047a2 setarg mem_mouse_data_queue 
-0328 60014218 store 2 ,mem_queue_ptr 
-0329 20207e38 branch queue_init 
+0326 7047a207 jam 7 ,mem_mouse_data_queue 
+0327 7047a304 jam 4 ,mem_mouse_data_queue + 1 
+0328 580047a2 setarg mem_mouse_data_queue 
+0329 60014218 store 2 ,mem_queue_ptr 
+032a 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-032a 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-032b 1fe0fe01 increase 1 ,pdata 
-032c 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-032d 20600000 rtn 
+032b 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+032c 1fe0fe01 increase 1 ,pdata 
+032d 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+032e 20600000 rtn 
 
 p_mouse_data_pull:
-032e da20469a arg mem_mouse_key ,rega 
-032f 20407e54 call queue_pop 
-0330 20340332 branch p_mouse_fill_data_le ,user 
-0331 20600000 rtn 
+032f da20469a arg mem_mouse_key ,rega 
+0330 20407e54 call queue_pop 
+0331 20340333 branch p_mouse_fill_data_le ,user 
+0332 20600000 rtn 
 
 p_mouse_fill_data_le:
-0332 20405652 call le_clear_md 
-0333 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-0334 1fe67c01 sub pdata ,1 ,null 
-0335 24415650 ncall le_set_md ,positive 
-0336 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-0337 207a0000 rtn blank 
-0338 1fe0ffff increase -1 ,pdata 
-0339 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-033a 20203f90 branch mouse_fill_data_le 
+0333 20405652 call le_clear_md 
+0334 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+0335 1fe67c01 sub pdata ,1 ,null 
+0336 24415650 ncall le_set_md ,positive 
+0337 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+0338 207a0000 rtn blank 
+0339 1fe0ffff increase -1 ,pdata 
+033a 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+033b 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-033b 6801469f fetch 2 ,mem_mouse_z 
-033c 207a0000 rtn blank 
-033d 70480601 jam 1 ,mem_mouse_wheel_trigger 
-033e 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
-033f 20600000 rtn 
+033c 6801469f fetch 2 ,mem_mouse_z 
+033d 207a0000 rtn blank 
+033e 70480601 jam 1 ,mem_mouse_wheel_trigger 
+033f 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
+0340 20600000 rtn 
 
 p_mouse_bt:
-0340 20770000 rtn attempt 
-0341 6800c1e2 fetch 1 ,mem_app_handshake_flag 
-0342 207a0000 rtn blank 
-0343 20405271 call l2cap_malloc_is_fifo_nearly_full 
-0344 247a0000 nrtn blank 
-0345 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-0346 205a0261 call p_mouse_clear_sensor_data ,blank 
-0347 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0348 c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
-0349 c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
-034a 20403f97 call mouse_motion 
-034b 24740000 nrtn user 
-034c 2040033b call p_mouse_wheel_trigger 
-034d 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
-034e c0008352 beq 1 ,p_mouse_send_data_boot_mode 
-034f 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
-0350 207a0000 rtn blank 
-0351 20203f81 branch mouse_send_data 
+0341 20770000 rtn attempt 
+0342 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+0343 207a0000 rtn blank 
+0344 20405271 call l2cap_malloc_is_fifo_nearly_full 
+0345 247a0000 nrtn blank 
+0346 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+0347 205a0263 call p_mouse_clear_sensor_data ,blank 
+0348 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0349 c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+034a c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+034b 20403f97 call mouse_motion 
+034c 24740000 nrtn user 
+034d 2040033c call p_mouse_wheel_trigger 
+034e 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
+034f c0008353 beq 1 ,p_mouse_send_data_boot_mode 
+0350 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
+0351 207a0000 rtn blank 
+0352 20203f81 branch mouse_send_data 
 
 p_mouse_send_data_boot_mode:
-0352 6800c69a fetch 1 ,mem_mouse_key 
-0353 6000cb04 store 1 ,mem_mouse_bt_boot_data 
-0354 6800c69b fetch 1 ,mem_mouse_x 
-0355 e0a08000 istore 1 ,contw 
-0356 6800c69d fetch 1 ,mem_mouse_y 
-0357 e0a08000 istore 1 ,contw 
-0358 6801469f fetch 2 ,mem_mouse_z 
-0359 e0a10000 istore 2 ,contw 
-035a da200007 arg 7 ,rega 
-035b 20404d63 call hid_malloc_tx_buff 
-035c 6801424e fetch 2 ,mem_hid_int_remote_cid 
-035d e0a10000 istore 2 ,contw 
-035e 580002a1 setarg 0x02a1 
-035f e0a10000 istore 2 ,contw 
-0360 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
-0361 e0a28000 istore 5 ,contw 
-0362 20600000 rtn 
+0353 6800c69a fetch 1 ,mem_mouse_key 
+0354 6000cb04 store 1 ,mem_mouse_bt_boot_data 
+0355 6800c69b fetch 1 ,mem_mouse_x 
+0356 e0a08000 istore 1 ,contw 
+0357 6800c69d fetch 1 ,mem_mouse_y 
+0358 e0a08000 istore 1 ,contw 
+0359 6801469f fetch 2 ,mem_mouse_z 
+035a e0a10000 istore 2 ,contw 
+035b da200007 arg 7 ,rega 
+035c 20404d63 call hid_malloc_tx_buff 
+035d 6801424e fetch 2 ,mem_hid_int_remote_cid 
+035e e0a10000 istore 2 ,contw 
+035f 580002a1 setarg 0x02a1 
+0360 e0a10000 istore 2 ,contw 
+0361 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
+0362 e0a28000 istore 5 ,contw 
+0363 20600000 rtn 
 
 p_mouse_idle:
-0363 20407e34 call ui_check_paring_button 
-0364 20400366 call p_mouse_dpi_check 
-0365 20203ee0 branch mouse_wheel_check 
+0364 20407e34 call ui_check_paring_button 
+0365 20400367 call p_mouse_dpi_check 
+0366 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-0366 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0367 2040681d call gpio_get_bit 
-0368 2020837a branch p_mouse_dpi_down ,true 
+0367 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+0368 2040681d call gpio_get_bit 
+0369 2020837b branch p_mouse_dpi_down ,true 
 
 p_mouse_dpi_up:
-0369 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-036a c1008000 rtneq dpi_button_state_up 
-036b 7046b601 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
+036a 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+036b c1008000 rtneq dpi_button_state_up 
+036c 7046b601 jam dpi_button_state_up ,mem_mouse_dpi_button_state 
 
 p_mouse_dpi_up_next:
-036c 6800cbf9 fetch 1 ,mem_mouse_dpi_long_press_flag 
-036d c1008000 rtneq 1 
-036e 6800cbfb fetch 1 ,mem_mouse_dpi_check_flag 
-036f 207a0000 rtn blank 
-0370 704bfa05 jam 0x05 ,mem_mouse_store_info_delay_timer 
-0371 204004fc call p_mouse_seting_dpi 
+036d 6800cbf9 fetch 1 ,mem_mouse_dpi_long_press_flag 
+036e c1008000 rtneq 1 
+036f 6800cbfb fetch 1 ,mem_mouse_dpi_check_flag 
+0370 207a0000 rtn blank 
+0371 704bfa05 jam 0x05 ,mem_mouse_store_info_delay_timer 
+0372 204004fc call p_mouse_seting_dpi 
 
 p_mouse_dpi_led_enable:
-0372 6800c77a fetch 1 ,mem_mouse_dpi 
-0373 c0000378 beq 0 ,p_mouse_blink_level_1 
-0374 6000cbf4 store 1 ,mem_mouse_dpi_blink_count 
+0373 6800c77a fetch 1 ,mem_mouse_dpi 
+0374 c0000379 beq 0 ,p_mouse_blink_level_1 
+0375 6000cbf4 store 1 ,mem_mouse_dpi_blink_count 
 
 p_mouse_dpi_down_next:
-0375 704bf301 jam 1 ,mem_mouse_dpi_blank_flag 
-0376 704bf500 jam 0 ,mem_mouse_dpi_blink_timer 
-0377 20600000 rtn 
+0376 704bf301 jam 1 ,mem_mouse_dpi_blank_flag 
+0377 704bf500 jam 0 ,mem_mouse_dpi_blink_timer 
+0378 20600000 rtn 
 
 p_mouse_blink_level_1:
-0378 704bf401 jam 1 ,mem_mouse_dpi_blink_count 
-0379 20200375 branch p_mouse_dpi_down_next 
+0379 704bf401 jam 1 ,mem_mouse_dpi_blink_count 
+037a 20200376 branch p_mouse_dpi_down_next 
 
 p_mouse_dpi_down:
-037a 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-037b c1000000 rtneq dpi_button_state_down 
-037c 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-037d 6800c77a fetch 1 ,mem_mouse_dpi 
-037e 1fe0fe01 increase 1 ,pdata 
-037f 1fe17e03 and pdata ,0x03 ,pdata 
-0380 6000c77a store 1 ,mem_mouse_dpi 
-0381 20600000 rtn 
+037b 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+037c c1000000 rtneq dpi_button_state_down 
+037d 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+037e 6800c77a fetch 1 ,mem_mouse_dpi 
+037f 1fe0fe01 increase 1 ,pdata 
+0380 1fe17e03 and pdata ,0x03 ,pdata 
+0381 6000c77a store 1 ,mem_mouse_dpi 
+0382 20600000 rtn 
 
 p_mouse_priority_bb_event:
-0382 1a627e00 copy regc ,pdata 
-0383 c00a0393 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0384 c00a83a7 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0385 c01483a9 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-0386 c01903ab beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0387 c02003ad beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0388 c00203af beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-0389 c00983af beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
-038a c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
-038b c01083b3 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
-038c c00083b5 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-038d c00103c1 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
-038e c01583c3 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
-038f c01c83c5 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0390 c01d03c7 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0391 c01e03c9 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0392 2020417d branch mouse_priority_bb_event + 1 
+0383 1a627e00 copy regc ,pdata 
+0384 c00a0394 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0385 c00a83a7 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0386 c01483a9 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+0387 c01903ab beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0388 c02003ad beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0389 c00203af beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+038a c00983af beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
+038b c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
+038c c01083b3 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
+038d c00083b5 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+038e c00103c1 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
+038f c01583c3 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
+0390 c01c83c5 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0391 c01d03c7 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0392 c01e03c9 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0393 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-0393 20400263 call p_mouse_init_sensor_reset 
-0394 204041c3 call mouse_le_bb_event_connected 
-0395 58000000 setarg 0 
-0396 6001cb68 store 3 ,mem_le_switch_adv_flag 
-0397 68034b4c fetch 6 ,mem_mouse_24g_addr_init 
-0398 680b4722 fetcht 6 ,mem_device1_addr 
-0399 98467c00 isub temp ,null 
-039a 244282d9 ncall p_mouse_fast_conn_disable ,zero 
-039b 20403410 call app_ble_store_reconn_info 
-039c 704b7601 jam latest_mode_bt ,mem_mouse_latest_mode 
-039d 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-039e 243a03a0 nbranch p_mouse_le_bb_event_connected_next ,blank 
-039f 704b6d14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+0394 20400265 call p_mouse_init_sensor_reset 
+0395 204041c3 call mouse_le_bb_event_connected 
+0396 58000000 setarg 0 
+0397 6001cb68 store 3 ,mem_le_switch_adv_flag 
+0398 68034b4c fetch 6 ,mem_mouse_24g_addr_init 
+0399 680b4722 fetcht 6 ,mem_device1_addr 
+039a 98467c00 isub temp ,null 
+039b 244282db ncall p_mouse_fast_conn_disable ,zero 
+039c 20403410 call app_ble_store_reconn_info 
+039d 704b7601 jam latest_mode_bt ,mem_mouse_latest_mode 
+039e 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+039f 243a03a1 nbranch p_mouse_le_bb_event_connected_next ,blank 
+03a0 704b6d14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 p_mouse_le_bb_event_connected_next:
-03a0 704b7700 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
-03a1 704b6c00 jam 0 ,mem_mouse_le_adv_start 
+03a1 704b7700 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
 03a2 704b6f01 jam 1 ,mem_mouse_le_bb_connected_flag 
 03a3 704b7800 jam 0 ,mem_mouse_le_not_tx_disconn 
 03a4 704b6b00 jam 0 ,mem_mouse_start_discovery_enable 
 03a5 204001aa call p_g24_check_51cmd_stop_24g 
-03a6 20200325 branch p_mouse_data_init 
+03a6 20200326 branch p_mouse_data_init 
 
 p_mouse_le_bb_disconnected:
 03a7 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
@@ -1286,7 +1286,7 @@
 
 p_mouse_bb_event_connected:
 03b5 2040041d call p_mouse_store_eeprom_enable 
-03b6 20400263 call p_mouse_init_sensor_reset 
+03b6 20400265 call p_mouse_init_sensor_reset 
 03b7 58000000 setarg 0 
 03b8 6001cb68 store 3 ,mem_le_switch_adv_flag 
 03b9 704b7601 jam latest_mode_bt ,mem_mouse_latest_mode 
@@ -1328,14 +1328,14 @@
 03cf 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
 
 p_mouse_sensor_powerdown:
-03d0 204002a1 call p_mouse_spi_init 
+03d0 204002a3 call p_mouse_spi_init 
 
 p_mouse_sensor_down:
 03d1 58000806 setarg 0x0806 
 03d2 20206413 branch twspi_write 
 
 p_mouse_sensor_enter_hibernate:
-03d3 20400264 call p_mouse_init_sunt 
+03d3 20400266 call p_mouse_init_sunt 
 03d4 202003d1 branch p_mouse_sensor_down 
 
 p_mouse_bb_event_timer:
@@ -1366,7 +1366,7 @@
 
 p_mouse_store_info_delay_timer:
 03eb da604bfa arg mem_mouse_store_info_delay_timer ,regc 
-03ec da400292 arg p_mouse_store_flash_device_info ,regb 
+03ec da400294 arg p_mouse_store_flash_device_info ,regb 
 03ed 2020336d branch timer_single_step 
 
 p_mouse_dpi_blink_timer:
@@ -1447,7 +1447,7 @@
 0420 70438f00 jam 0 ,mem_le_scan_data_len 
 0421 d8e00007 arg mouse_store_eeprom_flag ,queue 
 0422 204043d2 call mouse_disable_function_flag 
-0423 202002dd branch p_mouse_fast_conn_init 
+0423 202002df branch p_mouse_fast_conn_init 
 
 p_mouse_g24_long_sleep_param_update_timer:
 0424 da604b44 arg mem_24g_long_sleep_param_update_timer ,regc 
@@ -1456,28 +1456,28 @@
 
 p_mouse_g24_long_sleep_normal_param:
 0427 58124f80 setarg g24_long_sleep_step3 
-0428 6001ccb1 store 3 ,mem_24g_enter_hibernate 
+0428 6001ccb2 store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
 0429 704b4201 jam 1 ,mem_mouse_long_mult_flag 
 042a 20600000 rtn 
 
 p_mouse_g24_stop_mode_timeout_timer:
-042b da604dce arg mem_24g_stop_g24_mode_timeout ,regc 
+042b da604dcf arg mem_24g_stop_g24_mode_timeout ,regc 
 042c da40042e arg p_mouse_g24_stop_mode_timeout ,regb 
 042d 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_stop_mode_timeout:
-042e 704dcd01 jam 1 ,mem_24g_stop_g24_mode 
+042e 704dce01 jam 1 ,mem_24g_stop_g24_mode 
 042f 6800cb68 fetch 1 ,mem_le_switch_adv_flag 
 0430 243a0432 nbranch p_mouse_wait_g24_led_off ,blank 
 0431 20600000 rtn 
 
 p_mouse_wait_g24_led_off:
-0432 704dce01 jam 1 ,mem_24g_stop_g24_mode_timeout 
+0432 704dcf01 jam 1 ,mem_24g_stop_g24_mode_timeout 
 0433 6800cb2f fetch 1 ,mem_mouse_multi_led_blink_poweron3s_flag 
 0434 247a0000 nrtn blank 
-0435 704dce00 jam 0 ,mem_24g_stop_g24_mode_timeout 
+0435 704dcf00 jam 0 ,mem_24g_stop_g24_mode_timeout 
 0436 20200499 branch p_mouse_discovery_multi_led_blink 
 
 p_mouse_reconnect_fail_delay_hibernate:
@@ -1554,8 +1554,8 @@
 p_mouse_bt_discovery_commbination_key_up:
 0460 6800c685 fetch 1 ,mem_ui_button_timeout 
 0461 6000c6da store 1 ,mem_combination_ui_button_count 
-0462 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-0463 704bf900 jam 0 ,mem_mouse_dpi_long_press_flag 
+0462 704bf900 jam 0 ,mem_mouse_dpi_long_press_flag 
+0463 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
 0464 c1008000 rtneq dpi_button_state_up 
 0465 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
 
@@ -1565,8 +1565,8 @@
 0468 202043ca branch mouse_bt_discovery_button_down_disable 
 
 p_mouse_bt_discovery_judge:
-0469 20404083 call mouse_check_key_gpio 
-046a 1fe17e07 and_into 0x07 ,pdata 
+0469 20400529 call p_mouse_check_key_gpio 
+046a 1a217e07 and rega ,0x07 ,pdata 
 046b c001046d beq mouse_r_button ,p_mouse_bt_discovery_commbination_key_down 
 046c 20200460 branch p_mouse_bt_discovery_commbination_key_up 
 
@@ -1992,7 +1992,7 @@
 
 p_mouse_stop_discovery:
 0589 204004b3 call p_mouse_discovey_led_blink_off 
-058a 20400263 call p_mouse_init_sensor_reset 
+058a 20400265 call p_mouse_init_sensor_reset 
 058b 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
@@ -2051,7 +2051,7 @@
 
 p_in_le_tx_4:
 05b2 20405892 call le_fifo_check_nearly_full 
-05b3 205a032e call p_mouse_data_pull ,blank 
+05b3 205a032f call p_mouse_data_pull ,blank 
 05b4 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
@@ -2074,13 +2074,13 @@
 p_le_power_ctrl_pac_succ_decrs:
 
 power_ctrl_pac_succ_decrs:
-05c2 6800cdbb fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05c2 6800cdbc fetch 1 ,mem_power_ctrl_pac_succ_cnt 
 05c3 1fe67c02 sub pdata ,2 ,null 
 05c4 244106fa ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-05c5 6800cdbb fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05c5 6800cdbc fetch 1 ,mem_power_ctrl_pac_succ_cnt 
 05c6 c1000000 rtneq 0 
 05c7 1fe0ffff increase -1 ,pdata 
-05c8 6000cdbb store 1 ,mem_power_ctrl_pac_succ_cnt 
+05c8 6000cdbc store 1 ,mem_power_ctrl_pac_succ_cnt 
 05c9 20600000 rtn 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
@@ -2320,9 +2320,9 @@
 0673 c3858000 rtnbit1 ui_state_ble_adv 
 0674 c3838000 rtnbit1 ui_state_bt_reconnect 
 0675 c3830000 rtnbit1 ui_state_bt_discovery 
-0676 da204d44 arg mem_rssi_signal_buf ,rega 
+0676 da204d45 arg mem_rssi_signal_buf ,rega 
 0677 20400228 call p_rssi_average 
-0678 6008cdbc storet 1 ,mem_rssi_avg_received 
+0678 6008cdbd storet 1 ,mem_rssi_avg_received 
 0679 58000082 setarg rssi_dis_max_24g 
 067a c513067c bmark1 mark_24g ,power_ctrl_start_next 
 067b 58000080 setarg rssi_dis_max_ble 
@@ -2330,10 +2330,10 @@
 power_ctrl_start_next:
 067c 98467c00 isub temp ,null 
 067d 2421070c nbranch power_ctrl_txpower_incrs_force ,positive 
-067e 6800cdbb fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+067e 6800cdbc fetch 1 ,mem_power_ctrl_pac_succ_cnt 
 067f 1fe67c02 sub pdata ,2 ,null 
 0680 242106fc nbranch power_ctrl_txpower_decrs_check ,positive 
-0681 6800cdbb fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0681 6800cdbc fetch 1 ,mem_power_ctrl_pac_succ_cnt 
 0682 c000070d beq 0 ,power_ctrl_txpower_incrs 
 0683 20600000 rtn 
 
@@ -2493,7 +2493,7 @@
 
 p_mouse_unplug_clean_bdaddr:
 06ee 204042fb call mouse_before_store_reconn_info 
-06ef 20200292 branch p_mouse_store_flash_device_info 
+06ef 20200294 branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
 06f0 20405890 call le_fifo_check_full 
@@ -2501,27 +2501,27 @@
 06f2 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-06f3 704dbe01 jam 1 ,mem_power_ctrl_level 
-06f4 704dbb00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06f3 704dbf01 jam 1 ,mem_power_ctrl_level 
+06f4 704dbc00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 06f5 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06f6 6800cdbb fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f6 6800cdbc fetch 1 ,mem_power_ctrl_pac_succ_cnt 
 06f7 1fe0fe01 increase 1 ,pdata 
-06f8 6000cdbb store 1 ,mem_power_ctrl_pac_succ_cnt 
+06f8 6000cdbc store 1 ,mem_power_ctrl_pac_succ_cnt 
 06f9 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06fa 704dbb03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+06fa 704dbc03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
 06fb 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-06fc 6800cdbb fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06fc 6800cdbc fetch 1 ,mem_power_ctrl_pac_succ_cnt 
 06fd c1990000 rtnne 50 
-06fe 704dbb00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06fe 704dbc00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-06ff 6808cdbc fetcht 1 ,mem_rssi_avg_received 
+06ff 6808cdbd fetcht 1 ,mem_rssi_avg_received 
 0700 58000077 setarg rssi_dis_min_24g 
 0701 c5130703 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
 0702 58000075 setarg rssi_dis_min_ble 
@@ -2529,10 +2529,10 @@
 power_ctrl_txpower_decrs_next:
 0703 98467c00 isub temp ,null 
 0704 24610000 nrtn positive 
-0705 6800cdbe fetch 1 ,mem_power_ctrl_level 
+0705 6800cdbf fetch 1 ,mem_power_ctrl_level 
 0706 c0000714 beq 0 ,power_ctrl_decrs_level0 
 0707 1fe0ffff increase -1 ,pdata 
-0708 6000cdbe store 1 ,mem_power_ctrl_level 
+0708 6000cdbf store 1 ,mem_power_ctrl_level 
 0709 c0000714 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
@@ -2542,13 +2542,13 @@
 070b 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-070c 704dbb00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+070c 704dbc00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-070d 6800cdbe fetch 1 ,mem_power_ctrl_level 
+070d 6800cdbf fetch 1 ,mem_power_ctrl_level 
 070e c0010712 beq 2 ,power_ctrl_incrs_level2 
 070f 1fe0fe01 increase 1 ,pdata 
-0710 6000cdbe store 1 ,mem_power_ctrl_level 
+0710 6000cdbf store 1 ,mem_power_ctrl_level 
 0711 c000870a beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
@@ -2642,7 +2642,7 @@
 0753 9840fe00 iadd temp ,pdata 
 0754 1fe0fffb increase -5 ,pdata 
 0755 6001cb59 store 3 ,mem_flash_address 
-0756 204002d7 call p_flash_release_deep_power_down 
+0756 204002d9 call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
 0757 6801cb59 fetch 3 ,mem_flash_address 
@@ -2653,7 +2653,7 @@
 075c 680a4b5c fetcht 4 ,mem_zcode_head 
 075d 98467c00 isub temp ,null 
 075e 24228757 nbranch p_zcode_read_loop ,zero 
-075f 204002a1 call p_mouse_spi_init 
+075f 204002a3 call p_mouse_spi_init 
 0760 58001f00 setarg mem_zcode_buff 
 0761 60014199 store 2 ,mem_patch_ptr 
 0762 70419b40 jam zcode_code_size ,mem_patch_len 
@@ -2668,14 +2668,14 @@
 p_drawing_optima:
 0768 6802469b fetch 4 ,mem_mouse_x 
 0769 207a0000 rtn blank 
-076a 204007ee call p_data_abs_check 
+076a 204007cd call p_data_abs_check 
 076b 58000003 setarg 0x03 
-076c 204007e4 call p_pdata_greater_than_check 
-076d 205a07e0 call p_disable_asm ,blank 
-076e 245a07e2 ncall p_enable_asm ,blank 
+076c 204007c3 call p_pdata_greater_than_check 
+076d 205a07bf call p_disable_asm ,blank 
+076e 245a07c1 ncall p_enable_asm ,blank 
 076f 58000002 setarg 0x02 
-0770 204007e9 call p_data_less_than_check 
-0771 205a07e0 call p_disable_asm ,blank 
+0770 204007c8 call p_data_less_than_check 
+0771 205a07bf call p_disable_asm ,blank 
 0772 6800cb0b fetch 1 ,mem_mouse_asm_flag 
 0773 c0008777 beq 1 ,p_drawing_optima_modify 
 
@@ -2689,7 +2689,7 @@
 0778 600111be store 2 ,mem_data_pre 
 0779 6801469b fetch 2 ,mem_mouse_x 
 077a 600111c0 store 2 ,mem_data_current 
-077b 204007ab call p_drawing_optima_data_x 
+077b 2040078a call p_drawing_optima_data_x 
 077c 680111be fetch 2 ,mem_data_pre 
 077d 60014b0c store 2 ,mem_mouse_x_pre 
 077e 680111c0 fetch 2 ,mem_data_current 
@@ -2698,176 +2698,137 @@
 0781 600111be store 2 ,mem_data_pre 
 0782 6801469d fetch 2 ,mem_mouse_y 
 0783 600111c0 store 2 ,mem_data_current 
-0784 204007b3 call p_drawing_optima_data_y 
+0784 20400792 call p_drawing_optima_data_y 
 0785 680111be fetch 2 ,mem_data_pre 
 0786 60014b0e store 2 ,mem_mouse_y_pre 
 0787 680111c0 fetch 2 ,mem_data_current 
 0788 6001469d store 2 ,mem_mouse_y 
-0789 204007ee call p_data_abs_check 
-078a 58000014 setarg 0x14 
-078b 204007e4 call p_pdata_greater_than_check 
-078c 207a0000 rtn blank 
-078d 6800c69b fetch 1 ,mem_mouse_x 
-078e 600091c5 store 1 ,mem_data_value 
-078f 6800c69c fetch 1 ,mem_mouse_x + 1 
-0790 1fe67c00 sub pdata ,0x00 ,null 
-0791 2042879e call p_xy_pdata_offset ,zero 
-0792 244287a4 ncall p_xy_ndata_offset ,zero 
-0793 6000c69b store 1 ,mem_mouse_x 
-0794 6000cb0c store 1 ,mem_mouse_x_pre 
-0795 6800c69d fetch 1 ,mem_mouse_y 
-0796 600091c5 store 1 ,mem_data_value 
-0797 6800c69e fetch 1 ,mem_mouse_y + 1 
-0798 1fe67c00 sub pdata ,0x00 ,null 
-0799 2042879e call p_xy_pdata_offset ,zero 
-079a 244287a4 ncall p_xy_ndata_offset ,zero 
-079b 6000c69d store 1 ,mem_mouse_y 
-079c 6000cb0e store 1 ,mem_mouse_y_pre 
-079d 20600000 rtn 
-
-p_xy_pdata_offset:
-079e 680091c5 fetch 1 ,mem_data_value 
-079f 1fe67c70 sub pdata ,0x70 ,null 
-07a0 24610000 nrtn positive 
-07a1 1feffe09 mul32 pdata ,9 ,pdata 
-07a2 1fe97e00 rshift3 pdata ,pdata 
-07a3 20600000 rtn 
-
-p_xy_ndata_offset:
-07a4 680091c5 fetch 1 ,mem_data_value 
-07a5 1fe67c90 sub pdata ,0x90 ,null 
-07a6 20610000 rtn positive 
-
-p_pdata_get_1125_times:
-07a7 204007dc call p_pdata_invert 
-07a8 1feffe09 mul32 pdata ,9 ,pdata 
-07a9 1fe97e00 rshift3 pdata ,pdata 
-07aa 202007d9 branch p_pdata_get_new_value 
+0789 20600000 rtn 
 
 p_drawing_optima_data_x:
-07ab 680111be fetch 2 ,mem_data_pre 
-07ac 680911c0 fetcht 2 ,mem_data_current 
-07ad 9840fe00 iadd temp ,pdata 
-07ae 6808cbad fetcht 1 ,mem_mouse_data_xtemp 
-07af 9840fe00 iadd temp ,pdata 
-07b0 1fe10401 and pdata ,0x01 ,temp 
-07b1 6008cbad storet 1 ,mem_mouse_data_xtemp 
-07b2 202007bb branch p_drawing_optima_data 
+078a 680111be fetch 2 ,mem_data_pre 
+078b 680911c0 fetcht 2 ,mem_data_current 
+078c 9840fe00 iadd temp ,pdata 
+078d 6808cbad fetcht 1 ,mem_mouse_data_xtemp 
+078e 9840fe00 iadd temp ,pdata 
+078f 1fe10401 and pdata ,0x01 ,temp 
+0790 6008cbad storet 1 ,mem_mouse_data_xtemp 
+0791 2020079a branch p_drawing_optima_data 
 
 p_drawing_optima_data_y:
-07b3 680111be fetch 2 ,mem_data_pre 
-07b4 680911c0 fetcht 2 ,mem_data_current 
-07b5 9840fe00 iadd temp ,pdata 
-07b6 6808cbae fetcht 1 ,mem_mouse_data_ytemp 
-07b7 9840fe00 iadd temp ,pdata 
-07b8 1fe10401 and pdata ,0x01 ,temp 
-07b9 6008cbae storet 1 ,mem_mouse_data_ytemp 
-07ba 202007bb branch p_drawing_optima_data 
+0792 680111be fetch 2 ,mem_data_pre 
+0793 680911c0 fetcht 2 ,mem_data_current 
+0794 9840fe00 iadd temp ,pdata 
+0795 6808cbae fetcht 1 ,mem_mouse_data_ytemp 
+0796 9840fe00 iadd temp ,pdata 
+0797 1fe10401 and pdata ,0x01 ,temp 
+0798 6008cbae storet 1 ,mem_mouse_data_ytemp 
+0799 2020079a branch p_drawing_optima_data 
 
 p_drawing_optima_data:
-07bb 600191c2 store 3 ,mem_data_sum 
-07bc 2feffe10 isolate1 16 ,pdata 
-07bd 202087c5 branch p_data_sum_overflow ,true 
-07be 680091c3 fetch 1 ,mem_data_sum + 1 
-07bf c07f87cc beq 0xff ,p_data_sum_n 
-07c0 680091c2 fetch 1 ,mem_data_sum 
+079a 600191c2 store 3 ,mem_data_sum 
+079b 2feffe10 isolate1 16 ,pdata 
+079c 202087a4 branch p_data_sum_overflow ,true 
+079d 680091c3 fetch 1 ,mem_data_sum + 1 
+079e c07f87ab beq 0xff ,p_data_sum_n 
+079f 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-07c1 1fe37e00 rshift pdata ,pdata 
-07c2 600111be store 2 ,mem_data_pre 
-07c3 600111c0 store 2 ,mem_data_current 
-07c4 20600000 rtn 
+07a0 1fe37e00 rshift pdata ,pdata 
+07a1 600111be store 2 ,mem_data_pre 
+07a2 600111c0 store 2 ,mem_data_current 
+07a3 20600000 rtn 
 
 p_data_sum_overflow:
-07c5 680091c3 fetch 1 ,mem_data_sum + 1 
-07c6 c00007c9 beq 0 ,p_data_sum_overflow_p 
-07c7 680191c2 fetch 3 ,mem_data_sum 
-07c8 202007c1 branch p_data_store_pre 
+07a4 680091c3 fetch 1 ,mem_data_sum + 1 
+07a5 c00007a8 beq 0 ,p_data_sum_overflow_p 
+07a6 680191c2 fetch 3 ,mem_data_sum 
+07a7 202007a0 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-07c9 7011c400 jam 0 ,mem_data_sum + 2 
-07ca 680091c2 fetch 1 ,mem_data_sum 
-07cb 202007c1 branch p_data_store_pre 
+07a8 7011c400 jam 0 ,mem_data_sum + 2 
+07a9 680091c2 fetch 1 ,mem_data_sum 
+07aa 202007a0 branch p_data_store_pre 
 
 p_data_sum_n:
-07cc 680091c2 fetch 1 ,mem_data_sum 
-07cd 204007d7 call p_pdata_get_half 
-07ce 600091be store 1 ,mem_data_pre 
-07cf 600091c0 store 1 ,mem_data_current 
-07d0 203a07d5 branch p_data_zero ,blank 
-07d1 580000ff setarg 0xff 
+07ab 680091c2 fetch 1 ,mem_data_sum 
+07ac 204007b6 call p_pdata_get_half 
+07ad 600091be store 1 ,mem_data_pre 
+07ae 600091c0 store 1 ,mem_data_current 
+07af 203a07b4 branch p_data_zero ,blank 
+07b0 580000ff setarg 0xff 
 
 p_data_set_direction:
-07d2 600091bf store 1 ,mem_data_pre + 1 
-07d3 600091c1 store 1 ,mem_data_current + 1 
-07d4 20600000 rtn 
+07b1 600091bf store 1 ,mem_data_pre + 1 
+07b2 600091c1 store 1 ,mem_data_current + 1 
+07b3 20600000 rtn 
 
 p_data_zero:
-07d5 58000000 setarg 0 
-07d6 202007d2 branch p_data_set_direction 
+07b4 58000000 setarg 0 
+07b5 202007b1 branch p_data_set_direction 
 
 p_pdata_get_half:
-07d7 204007dc call p_pdata_invert 
-07d8 1fe37e00 rshift pdata ,pdata 
+07b6 204007bb call p_pdata_invert 
+07b7 1fe37e00 rshift pdata ,pdata 
 
 p_pdata_get_new_value:
-07d9 204007dd call p_rega_in_out 
-07da 1fe67e00 sub pdata ,0 ,pdata 
-07db 20600000 rtn 
+07b8 204007bc call p_rega_in_out 
+07b9 1fe67e00 sub pdata ,0 ,pdata 
+07ba 20600000 rtn 
 
 p_pdata_invert:
-07dc 1fe67e00 sub pdata ,0 ,pdata 
+07bb 1fe67e00 sub pdata ,0 ,pdata 
 
 p_rega_in_out:
-07dd 60008aae store 1 ,mem_rega 
-07de 68008aae fetch 1 ,mem_rega 
-07df 20600000 rtn 
+07bc 60008aae store 1 ,mem_rega 
+07bd 68008aae fetch 1 ,mem_rega 
+07be 20600000 rtn 
 
 p_disable_asm:
-07e0 704b0b00 jam 0 ,mem_mouse_asm_flag 
-07e1 20600000 rtn 
+07bf 704b0b00 jam 0 ,mem_mouse_asm_flag 
+07c0 20600000 rtn 
 
 p_enable_asm:
-07e2 704b0b01 jam 1 ,mem_mouse_asm_flag 
-07e3 20600000 rtn 
+07c1 704b0b01 jam 1 ,mem_mouse_asm_flag 
+07c2 20600000 rtn 
 
 p_pdata_greater_than_check:
-07e4 9a267c00 isub rega ,null 
-07e5 24217fef nbranch disable_blank ,positive 
-07e6 9a467c00 isub regb ,null 
-07e7 24217fef nbranch disable_blank ,positive 
-07e8 20207ff1 branch enable_blank 
+07c3 9a267c00 isub rega ,null 
+07c4 24217fef nbranch disable_blank ,positive 
+07c5 9a467c00 isub regb ,null 
+07c6 24217fef nbranch disable_blank ,positive 
+07c7 20207ff1 branch enable_blank 
 
 p_data_less_than_check:
-07e9 9a267c00 isub rega ,null 
-07ea 24610000 nrtn positive 
-07eb 9a467c00 isub regb ,null 
-07ec 24610000 nrtn positive 
-07ed 20207ff1 branch enable_blank 
+07c8 9a267c00 isub rega ,null 
+07c9 24610000 nrtn positive 
+07ca 9a467c00 isub regb ,null 
+07cb 24610000 nrtn positive 
+07cc 20207ff1 branch enable_blank 
 
 p_data_abs_check:
-07ee 6801469b fetch 2 ,mem_mouse_x 
-07ef 204007f5 call p_data_abs 
-07f0 1fe22200 copy pdata ,rega 
-07f1 6801469d fetch 2 ,mem_mouse_y 
-07f2 204007f5 call p_data_abs 
-07f3 1fe22400 copy pdata ,regb 
-07f4 20600000 rtn 
+07cd 6801469b fetch 2 ,mem_mouse_x 
+07ce 204007d4 call p_data_abs 
+07cf 1fe22200 copy pdata ,rega 
+07d0 6801469d fetch 2 ,mem_mouse_y 
+07d1 204007d4 call p_data_abs 
+07d2 1fe22400 copy pdata ,regb 
+07d3 20600000 rtn 
 
 p_data_abs:
-07f5 600111c0 store 2 ,mem_data_current 
-07f6 680091c1 fetch 1 ,mem_data_current + 1 
-07f7 c07f87fb beq 0xff ,p_data_reversal 
-07f8 680091c0 fetch 1 ,mem_data_current 
+07d4 600111c0 store 2 ,mem_data_current 
+07d5 680091c1 fetch 1 ,mem_data_current + 1 
+07d6 c07f87da beq 0xff ,p_data_reversal 
+07d7 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-07f9 1fe17eff and_into 0xff ,pdata 
-07fa 20600000 rtn 
+07d8 1fe17eff and_into 0xff ,pdata 
+07d9 20600000 rtn 
 
 p_data_reversal:
-07fb 680111c0 fetch 2 ,mem_data_current 
-07fc 1fe67e00 sub pdata ,0 ,pdata 
-07fd 202007f9 branch p_data_abs_store 
+07da 680111c0 fetch 2 ,mem_data_current 
+07db 1fe67e00 sub pdata ,0 ,pdata 
+07dc 202007d8 branch p_data_abs_store 
               org 0x2000
 
 start:
@@ -35564,7 +35525,7 @@
 
 z_entrance1:
 20001 c0080004 beq zcode_10 ,z_send_lmp 
-20002 c009000d beq zcode_12 ,z_mouse4_0_check_reconn_target 
+20002 c0090015 beq zcode_12 ,z_mouse4_0_check_reconn_target 
 20003 20600000 rtn 
 
 z_send_lmp:
@@ -35572,73 +35533,82 @@
 20005 204062c1 call lmo_fifo_process 
 20006 68008048 fetch 1 ,mem_lmp_to_send 
 20007 207a0000 rtn blank 
-20008 c2838016 bbit1 7 ,z_send_lmp_escape 
-20009 c0018023 beq lmp_accepted ,z_send_lmp_accepted 
-2000a c0188035 beq lmp_setup_complete ,z_send_lmp_setup_complete 
-2000b c00b8037 beq lmp_sniff_req ,z_send_lmp_sniff_req 
-2000c 20206010 branch send_lmp0 
+20008 c283801d bbit1 7 ,z_send_lmp_escape 
+20009 c001802a beq lmp_accepted ,z_send_lmp_accepted 
+2000a c018803c beq lmp_setup_complete ,z_send_lmp_setup_complete 
+2000b c00b803e beq lmp_sniff_req ,z_send_lmp_sniff_req 
+2000c c003800e beq lmp_detach ,z_send_lmp_detach 
+2000d 20206010 branch send_lmp0 
+
+z_send_lmp_detach:
+2000e 20406152 call send_lmp_detach 
+2000f 6800cbfc fetch 1 ,mem_mouse_bt_reconnect_flag 
+20010 207a0000 rtn blank 
+20011 6800804b fetch 1 ,mem_op 
+20012 793ffe03 set0 op_disconn ,pdata 
+20013 6000804b store 1 ,mem_op 
+20014 202003d0 branch p_mouse_sensor_powerdown 
 
 z_mouse4_0_check_reconn_target:
-2000d 704b6e01 jam 1 ,mem_le_send_security_request_flag 
-2000e 7047a101 jam 1 ,mem_mouse_le_reconnect_flag 
-2000f 680146a8 fetch 2 ,mem_mouse_direct_timeout 
-20010 600146ae store 2 ,mem_mouse_direct_timer 
-20011 2040041d call p_mouse_store_eeprom_enable 
-20012 20403418 call app_lpm_mult_disable 
-20013 d8c04390 arg mem_le_scan_data ,contr 
-20014 20400419 call p_le_adv_data_update 
-20015 20207df4 branch check_51cmd_adv 
+20015 7047a101 jam 1 ,mem_mouse_le_reconnect_flag 
+20016 680146a8 fetch 2 ,mem_mouse_direct_timeout 
+20017 600146ae store 2 ,mem_mouse_direct_timer 
+20018 2040041d call p_mouse_store_eeprom_enable 
+20019 20403418 call app_lpm_mult_disable 
+2001a d8c04390 arg mem_le_scan_data ,contr 
+2001b 20400419 call p_le_adv_data_update 
+2001c 20207df4 branch check_51cmd_adv 
 
 z_send_lmp_escape:
-20016 68008048 fetch 1 ,mem_lmp_to_send 
-20017 c042001a beq lmp_ext_features_res ,z_send_lmpext_features_res 
-20018 c041801d beq lmp_ext_features_req ,z_send_lmpext_features_req 
-20019 2020603f branch send_lmp_escape 
+2001d 68008048 fetch 1 ,mem_lmp_to_send 
+2001e c0420021 beq lmp_ext_features_res ,z_send_lmpext_features_res 
+2001f c0418024 beq lmp_ext_features_req ,z_send_lmpext_features_req 
+20020 2020603f branch send_lmp_escape 
 
 z_send_lmpext_features_res:
-2001a 20400020 call z_check_ssp_enable 
-2001b 68008048 fetch 1 ,mem_lmp_to_send 
-2001c 20206099 branch send_lmpext_features_res 
+20021 20400027 call z_check_ssp_enable 
+20022 68008048 fetch 1 ,mem_lmp_to_send 
+20023 20206099 branch send_lmpext_features_res 
 
 z_send_lmpext_features_req:
-2001d 20400020 call z_check_ssp_enable 
-2001e 68008048 fetch 1 ,mem_lmp_to_send 
-2001f 2020610d branch send_lmpext_features_req 
+20024 20400027 call z_check_ssp_enable 
+20025 68008048 fetch 1 ,mem_lmp_to_send 
+20026 2020610d branch send_lmpext_features_req 
 
 z_check_ssp_enable:
-20020 6800c65a fetch 1 ,mem_ssp_enable 
-20021 203a612b branch ssp_disable ,blank 
-20022 20206124 branch ssp_enable 
+20027 6800c65a fetch 1 ,mem_ssp_enable 
+20028 203a612b branch ssp_disable ,blank 
+20029 20206124 branch ssp_enable 
 
 z_send_lmp_accepted:
-20023 18007e02 force 2 ,pdata 
-20024 20406298 call msg_send_lmp 
-20025 68008049 fetch 1 ,mem_lmi_opcode 
-20026 e0a08000 istore 1 ,contw 
-20027 6000cafc store 1 ,mem_lmi_opcode_temp 
-20028 204062a7 call send_lmp_follow 
-20029 6800cafc fetch 1 ,mem_lmi_opcode_temp 
-2002a c017002c beq lmp_max_slot_req ,z_send_lmp_accepted_max_slot_req 
-2002b 20206051 branch send_lmp_accepted + 7 
+2002a 18007e02 force 2 ,pdata 
+2002b 20406298 call msg_send_lmp 
+2002c 68008049 fetch 1 ,mem_lmi_opcode 
+2002d e0a08000 istore 1 ,contw 
+2002e 6000cafc store 1 ,mem_lmi_opcode_temp 
+2002f 204062a7 call send_lmp_follow 
+20030 6800cafc fetch 1 ,mem_lmi_opcode_temp 
+20031 c0170033 beq lmp_max_slot_req ,z_send_lmp_accepted_max_slot_req 
+20032 20206051 branch send_lmp_accepted + 7 
 
 z_send_lmp_accepted_max_slot_req:
-2002c 6800caff fetch 1 ,mem_bt_rcvd_switch_req_accept 
-2002d 207a0000 rtn blank 
-2002e 704aff00 jam 0 ,mem_bt_rcvd_switch_req_accept 
-2002f 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-20030 c1810000 rtnne 2 
-20031 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-20032 1c427e00 copy clkn_bt ,pdata 
-20033 600204e9 store 4 ,mem_aurand_send_delay_time 
-20034 20600000 rtn 
+20033 6800caff fetch 1 ,mem_bt_rcvd_switch_req_accept 
+20034 207a0000 rtn blank 
+20035 704aff00 jam 0 ,mem_bt_rcvd_switch_req_accept 
+20036 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+20037 c1810000 rtnne 2 
+20038 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+20039 1c427e00 copy clkn_bt ,pdata 
+2003a 600204e9 store 4 ,mem_aurand_send_delay_time 
+2003b 20600000 rtn 
 
 z_send_lmp_setup_complete:
-20035 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
-20036 202061c3 branch send_lmp_setup_complete 
+2003c 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
+2003d 202061c3 branch send_lmp_setup_complete 
 
 z_send_lmp_sniff_req:
-20037 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
-20038 202061a4 branch send_lmp_sniff_req 
+2003e 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
+2003f 202061a4 branch send_lmp_sniff_req 
               org 0x30001
 
 z_entrance2:
@@ -35726,7 +35696,7 @@
 z_mouse_start_discovery_norandom:
 40008 68034b62 fetch 6 ,mem_le_normal_lap 
 40009 600344a0 store 6 ,mem_le_lap 
-4000a 204002d9 call p_mouse_fast_conn_disable 
+4000a 204002db call p_mouse_fast_conn_disable 
 4000b 20403418 call app_lpm_mult_disable 
 4000c 68014687 fetch 2 ,mem_discovery_timeout 
 4000d 600146ac store 2 ,mem_mouse_discovery_timer 
@@ -35736,7 +35706,7 @@
 40011 600146ae store 2 ,mem_mouse_direct_timer 
 40012 2040041d call p_mouse_store_eeprom_enable 
 40013 204043ca call mouse_bt_discovery_button_down_disable 
-40014 204002c7 call p_mouse_load_flash_device_info 
+40014 204002c9 call p_mouse_load_flash_device_info 
 40015 6800c210 fetch 1 ,mem_xrecord_mode 
 40016 1fe67c33 sub pdata ,rec_3_mode ,null 
 40017 2042801e call z3_check_51cmd_adv ,zero 
@@ -35762,18 +35732,18 @@
 
 z_g24_start_24g_mode:
 50005 2040000e call z_g24_factory_check 
-50006 203402ed branch p_g24_auto_pair_start ,user 
+50006 203402ee branch p_g24_auto_pair_start ,user 
 50007 79200026 set1 mark_24g ,mark 
-50008 6800cdd6 fetch 1 ,mem_24g_conn_sm 
+50008 6800cdd7 fetch 1 ,mem_24g_conn_sm 
 50009 79207e02 set1 state_24g_reconn ,pdata 
-5000a 6000cdd6 store 1 ,mem_24g_conn_sm 
+5000a 6000cdd7 store 1 ,mem_24g_conn_sm 
 5000b 20400194 call p_g24_syncword_crc8 
 5000c 2040010f call p_g24_ch 
 5000d 2020001b branch z_g24_auto_pair_timeout_init 
 
 z_g24_factory_check:
 5000e df200002 arg 2 ,loopcnt 
-5000f d8c04caa arg mem_24g_addr ,contr 
+5000f d8c04cab arg mem_24g_addr ,contr 
 50010 20407fe7 call enable_user 
 50011 5800ffff setarg 0xffff 
 
@@ -35786,14 +35756,14 @@
 
 z_g24_auto_pair_start:
 50017 79200026 set1 mark_24g ,mark 
-50018 6800cdd6 fetch 1 ,mem_24g_conn_sm 
+50018 6800cdd7 fetch 1 ,mem_24g_conn_sm 
 50019 79207e01 set1 state_24g_pair ,pdata 
-5001a 6000cdd6 store 1 ,mem_24g_conn_sm 
+5001a 6000cdd7 store 1 ,mem_24g_conn_sm 
 
 z_g24_auto_pair_timeout_init:
 5001b 5800003c setarg g24_first_disconn_nodata_timer 
-5001c 60014dce store 2 ,mem_24g_stop_g24_mode_timeout 
-5001d 704dcd00 jam 0 ,mem_24g_stop_g24_mode 
+5001c 60014dcf store 2 ,mem_24g_stop_g24_mode_timeout 
+5001d 704dce00 jam 0 ,mem_24g_stop_g24_mode 
 5001e 20600000 rtn 
 
 z_mouse_24g_pairing_button:
@@ -35807,9 +35777,9 @@
 50026 58000000 setarg 0 
 50027 600146ae store 2 ,mem_mouse_direct_timer 
 50028 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
-50029 60014caf store 2 ,mem_24g_check_dongle_times 
+50029 60014cb0 store 2 ,mem_24g_check_dongle_times 
 5002a 204042ca call mouse_stop_discovery 
-5002b 202002ed branch p_g24_auto_pair_start 
+5002b 202002ee branch p_g24_auto_pair_start 
               org 0x60001
 
 z_entrance5:
@@ -35818,7 +35788,7 @@
 60003 c0298025 beq zcode_53 ,z_g24_reconn_dispatch 
 
 z_mouse_24g_pairing_complete:
-60004 20400263 call p_mouse_init_sensor_reset 
+60004 20400265 call p_mouse_init_sensor_reset 
 60005 d8e00003 arg mosue_24g_pairing_flag ,queue 
 60006 204043d2 call mouse_disable_function_flag 
 60007 7046a700 jam 0 ,mem_mouse_move_flag 
@@ -35828,16 +35798,16 @@
 
 z_mouse_24g_attempt_fail:
 6000b 704bfb00 jam 0 ,mem_mouse_dpi_check_flag 
-6000c 704dc200 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+6000c 704dc300 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 6000d 20400259 call p_mouse_tx_power_init 
 6000e 204001aa call p_g24_check_51cmd_stop_24g 
-6000f 204002c7 call p_mouse_load_flash_device_info 
+6000f 204002c9 call p_mouse_load_flash_device_info 
 60010 6800cb76 fetch 1 ,mem_mouse_latest_mode 
 60011 c1810000 rtnne latest_mode_24g 
 60012 2020340a branch app_enter_hibernate 
 
 z_mouse_24g_attempt_success:
-60013 20400263 call p_mouse_init_sensor_reset 
+60013 20400265 call p_mouse_init_sensor_reset 
 60014 704b4200 jam 0 ,mem_mouse_long_mult_flag 
 60015 704b7700 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
 60016 58000000 setarg 0 
@@ -35847,43 +35817,43 @@
 6001a 20400022 call z_g24_auto_pair_timeout_clear 
 6001b 20400493 call p_mouse_null_enter_hibernate_disable 
 6001c 20403f8d call mouse_no_data_timer_init 
-6001d 68024caa fetch 4 ,mem_24g_addr 
+6001d 68024cab fetch 4 ,mem_24g_addr 
 6001e 6002477b store 4 ,mem_mouse_24g_addr 
 6001f 20404366 call mouse_cheak_select_24gdevice 
 60020 704b7602 jam latest_mode_24g ,mem_mouse_latest_mode 
-60021 20200292 branch p_mouse_store_flash_device_info 
+60021 20200294 branch p_mouse_store_flash_device_info 
 
 z_g24_auto_pair_timeout_clear:
 60022 58000000 setarg 0 
-60023 6001cdcd store 3 ,mem_24g_stop_g24_mode 
+60023 6001cdce store 3 ,mem_24g_stop_g24_mode 
 60024 20600000 rtn 
 
 z_g24_reconn_dispatch:
-60025 6800cdcd fetch 1 ,mem_24g_stop_g24_mode 
+60025 6800cdce fetch 1 ,mem_24g_stop_g24_mode 
 60026 c000add4 beq 1 ,g24_stop_24g_mode 
 60027 20400034 call z_g24_tx_attemp_data_prep 
 60028 20400162 call p_g24_transmit_receive_ack 
 60029 242c010f nbranch p_g24_ch ,sync 
 6002a 2437810f nbranch p_g24_ch ,user3 
-6002b 6800cdd6 fetch 1 ,mem_24g_conn_sm 
+6002b 6800cdd7 fetch 1 ,mem_24g_conn_sm 
 6002c 793ffe02 set0 state_24g_reconn ,pdata 
-6002d 6000cdd6 store 1 ,mem_24g_conn_sm 
+6002d 6000cdd7 store 1 ,mem_24g_conn_sm 
 
 z_g24_tx_attemp_dongle_succ:
 6002e 704b4200 jam 0 ,mem_mouse_long_mult_flag 
 6002f 20402f20 call g24_app_tx_attempt_success 
 60030 2040015f call p_g24_txbuf_clear 
-60031 202002f2 branch p_g24_transmit_by_interrupt_enable 
+60031 202002f3 branch p_g24_transmit_by_interrupt_enable 
 
 z_g24_store_dongle_addr:
-60032 68024c62 fetch 4 ,mem_24g_rxpayload + 2 
+60032 68024c63 fetch 4 ,mem_24g_rxpayload + 2 
 60033 20200193 branch p_g24_update_addr_and_synccrc8 
 
 z_g24_tx_attemp_data_prep:
 60034 70119eff jam 0xff ,mem_24g_common_temp 
-60035 6800cc83 fetch 1 ,mem_24g_data_type 
+60035 6800cc84 fetch 1 ,mem_24g_data_type 
 60036 6000919f store 1 ,mem_24g_common_temp + 1 
-60037 68024cb9 fetch 4 ,mem_24g_device_addr 
+60037 68024cba fetch 4 ,mem_24g_device_addr 
 60038 600211a0 store 4 ,mem_24g_common_temp + 2 
 60039 d8400006 arg 6 ,temp 
 6003a da20119e arg mem_24g_common_temp ,rega 
@@ -35894,12 +35864,12 @@
 z_entrance6:
 
 z_g24_pair_dispatch:
-70001 6800cdcd fetch 1 ,mem_24g_stop_g24_mode 
+70001 6800cdce fetch 1 ,mem_24g_stop_g24_mode 
 70002 c000add4 beq 1 ,g24_stop_24g_mode 
 70003 70119eff jam 0xff ,mem_24g_common_temp 
-70004 6800cc83 fetch 1 ,mem_24g_data_type 
+70004 6800cc84 fetch 1 ,mem_24g_data_type 
 70005 6000919f store 1 ,mem_24g_common_temp + 1 
-70006 68024cb9 fetch 4 ,mem_24g_device_addr 
+70006 68024cba fetch 4 ,mem_24g_device_addr 
 70007 600211a0 store 4 ,mem_24g_common_temp + 2 
 70008 d8400006 arg 6 ,temp 
 70009 da20119e arg mem_24g_common_temp ,rega 
@@ -35909,52 +35879,52 @@
 7000d 242c0026 nbranch z_g24_pair_txdata_retry ,sync 
 7000e 24378026 nbranch z_g24_pair_txdata_retry ,user3 
 7000f 20400188 call p_g24_ackpayload_parse 
-70010 68024caa fetch 4 ,mem_24g_addr 
-70011 680a4dc7 fetcht 4 ,mem_24g_allpowerful_addr 
+70010 68024cab fetch 4 ,mem_24g_addr 
+70011 680a4dc8 fetcht 4 ,mem_24g_allpowerful_addr 
 70012 98467c00 isub temp ,null 
 70013 20228016 branch z_g24_auto_pair_skip_rx_length ,zero 
-70014 6800cc80 fetch 1 ,mem_24g_rxdata_length 
+70014 6800cc81 fetch 1 ,mem_24g_rxdata_length 
 70015 c1840000 rtnne bind_ackpayload_length 
 
 z_g24_auto_pair_skip_rx_length:
-70016 704dd600 jam 0 ,mem_24g_conn_sm 
+70016 704dd700 jam 0 ,mem_24g_conn_sm 
 70017 20400259 call p_mouse_tx_power_init 
-70018 68024caa fetch 4 ,mem_24g_addr 
-70019 680a4c8e fetcht 4 ,mem_24g_paring_addr 
+70018 68024cab fetch 4 ,mem_24g_addr 
+70019 680a4c8f fetcht 4 ,mem_24g_paring_addr 
 7001a 98467c00 isub temp ,null 
 7001b 202281a1 branch p_g24_start_pairing_sm1 ,zero 
-7001c 68024caa fetch 4 ,mem_24g_addr 
-7001d 680a4cb9 fetcht 4 ,mem_24g_device_addr 
+7001c 68024cab fetch 4 ,mem_24g_addr 
+7001d 680a4cba fetcht 4 ,mem_24g_device_addr 
 7001e 98467c00 isub temp ,null 
 7001f 20428024 call z7_g24_store_dongle_addr ,zero 
 70020 704b4200 jam 0 ,mem_mouse_long_mult_flag 
 70021 20402f20 call g24_app_tx_attempt_success 
 70022 2040015f call p_g24_txbuf_clear 
-70023 202002f2 branch p_g24_transmit_by_interrupt_enable 
+70023 202002f3 branch p_g24_transmit_by_interrupt_enable 
 
 z7_g24_store_dongle_addr:
-70024 68024c62 fetch 4 ,mem_24g_rxpayload + 2 
+70024 68024c63 fetch 4 ,mem_24g_rxpayload + 2 
 70025 20200193 branch p_g24_update_addr_and_synccrc8 
 
 z_g24_pair_txdata_retry:
 
 z_g24_pair_txdata_switch:
-70026 6800cdc0 fetch 1 ,mem_24g_auto_paring_switch 
+70026 6800cdc1 fetch 1 ,mem_24g_auto_paring_switch 
 70027 1fe0fe01 increase 1 ,pdata 
 70028 1fe17e03 and_into 3 ,pdata 
-70029 6000cdc0 store 1 ,mem_24g_auto_paring_switch 
+70029 6000cdc1 store 1 ,mem_24g_auto_paring_switch 
 7002a c000002d beq 0 ,z_g24_auto_pair_first_attemp 
 7002b c0010037 beq 2 ,z_g24_auto_pair_all_powerful 
 7002c 2020018f branch p_g24_pair_init 
 
 z_g24_auto_pair_first_attemp:
 7002d 20400259 call p_mouse_tx_power_init 
-7002e 68024cb9 fetch 4 ,mem_24g_device_addr 
-7002f 60024caa store 4 ,mem_24g_addr 
-70030 6800cdd0 fetch 1 ,mem_24g_pair_current_ch_num 
-70031 6000cc8d store 1 ,mem_24g_current_ch_number 
+7002e 68024cba fetch 4 ,mem_24g_device_addr 
+7002f 60024cab store 4 ,mem_24g_addr 
+70030 6800cdd1 fetch 1 ,mem_24g_pair_current_ch_num 
+70031 6000cc8e store 1 ,mem_24g_current_ch_number 
 70032 20400035 call z_g24_ch_syncword_crc8_init 
-70033 6008cdd0 storet 1 ,mem_24g_pair_current_ch_num 
+70033 6008cdd1 storet 1 ,mem_24g_pair_current_ch_num 
 70034 20600000 rtn 
 
 z_g24_ch_syncword_crc8_init:
@@ -35963,12 +35933,12 @@
 
 z_g24_auto_pair_all_powerful:
 70037 7041de20 jam tx_power_pair ,mem_tx_power 
-70038 68024dc7 fetch 4 ,mem_24g_allpowerful_addr 
-70039 60024caa store 4 ,mem_24g_addr 
-7003a 6800cdd1 fetch 1 ,mem_24g_powerful_current_ch_num 
-7003b 6000cc8d store 1 ,mem_24g_current_ch_number 
+70038 68024dc8 fetch 4 ,mem_24g_allpowerful_addr 
+70039 60024cab store 4 ,mem_24g_addr 
+7003a 6800cdd2 fetch 1 ,mem_24g_powerful_current_ch_num 
+7003b 6000cc8e store 1 ,mem_24g_current_ch_number 
 7003c 20400035 call z_g24_ch_syncword_crc8_init 
-7003d 6008cdd1 storet 1 ,mem_24g_powerful_current_ch_num 
+7003d 6008cdd2 storet 1 ,mem_24g_powerful_current_ch_num 
 7003e 20600000 rtn 
               org 0x80001
 
@@ -35984,7 +35954,7 @@
 80007 704b75ff jam 0xff ,mem_mouse_fast_conn_flag 
 80008 204042fb call mouse_before_store_reconn_info 
 80009 704721ff jam 0xff ,mem_device1_type 
-8000a 20200292 branch p_mouse_store_flash_device_info 
+8000a 20200294 branch p_mouse_store_flash_device_info 
 
 z_page_wait_fhs_reply_ok:
 8000b 6800800e fetch 1 ,mem_page_rcv_fhs 
@@ -36022,7 +35992,7 @@
 9000a 58000000 setarg 0 
 9000b 60014154 store 2 ,mem_lpm_interval 
 9000c 20403e54 call mouse_adc_init 
-9000d 20400287 call p_mouse_load_flash_info_check 
+9000d 20400289 call p_mouse_load_flash_info_check 
 9000e 704bf300 jam 0 ,mem_mouse_dpi_blank_flag 
 9000f 704bfb00 jam 0 ,mem_mouse_dpi_check_flag 
 90010 704bfa00 jam 0 ,mem_mouse_store_info_delay_timer 
@@ -36031,8 +36001,8 @@
 90013 68034b4c fetch 6 ,mem_mouse_24g_addr_init 
 90014 680b4722 fetcht 6 ,mem_device1_addr 
 90015 98467c00 isub temp ,null 
-90016 242282d9 nbranch p_mouse_fast_conn_disable ,zero 
-90017 202002db branch p_mouse_fast_conn_le_switch_adv 
+90016 242282db nbranch p_mouse_fast_conn_disable ,zero 
+90017 202002dd branch p_mouse_fast_conn_le_switch_adv 
 
 z_mouse_gpio_out_high:
 90018 1a220400 copy rega ,temp 
@@ -36076,33 +36046,33 @@
 a0003 20600000 rtn 
 
 z_g24_pairing_sm:
-a0004 6800cc87 fetch 1 ,mem_24g_ensure 
+a0004 6800cc88 fetch 1 ,mem_24g_ensure 
 a0005 c000ffe7 beq ensure_on_24g ,enable_user 
-a0006 6800cc92 fetch 1 ,mem_24g_pairing_sm 
+a0006 6800cc93 fetch 1 ,mem_24g_pairing_sm 
 a0007 c000800b beq state_24g_pairing_1 ,z_g24_pairing_sm_1 
 a0008 c001000e beq state_24g_pairing_2 ,z_g24_pairing_sm_2 
 a0009 c0018011 beq state_24g_pairing_3 ,z_g24_pairing_sm_3 
 a000a 20202a8c branch assert 
 
 z_g24_pairing_sm_1:
-a000b 704c9211 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
+a000b 704c9311 jam state_24g_pairing_1_waiting_ack ,mem_24g_pairing_sm 
 a000c 70119eaa jam 0xaa ,mem_24g_common_temp 
 a000d 20200013 branch z_g24_pairing_sm_common 
 
 z_g24_pairing_sm_2:
-a000e 704c9212 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
+a000e 704c9312 jam state_24g_pairing_2_waiting_ack ,mem_24g_pairing_sm 
 a000f 70119e55 jam 0x55 ,mem_24g_common_temp 
 a0010 20200013 branch z_g24_pairing_sm_common 
 
 z_g24_pairing_sm_3:
-a0011 704c9213 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
+a0011 704c9313 jam state_24g_pairing_3_waiting_ack ,mem_24g_pairing_sm 
 a0012 70119e22 jam 0x22 ,mem_24g_common_temp 
 
 z_g24_pairing_sm_common:
-a0013 6800cc83 fetch 1 ,mem_24g_data_type 
+a0013 6800cc84 fetch 1 ,mem_24g_data_type 
 a0014 1fe17e07 and_into bits_data ,pdata 
 a0015 6000919f store 1 ,mem_24g_common_temp + 1 
-a0016 68024cb9 fetch 4 ,mem_24g_device_addr 
+a0016 68024cba fetch 4 ,mem_24g_device_addr 
 a0017 600211a0 store 4 ,mem_24g_common_temp + 2 
 
 z_g24_put_pairing_data_in_buff:
@@ -36115,7 +36085,7 @@
 
 z_g24_paring_mode:
 a001e 204006f3 call power_ctrl_pac_succ_cnt_init 
-a001f 6800cc92 fetch 1 ,mem_24g_pairing_sm 
+a001f 6800cc93 fetch 1 ,mem_24g_pairing_sm 
 a0020 c17f8000 rtneq state_24g_pairing_success 
 a0021 c0088025 beq state_24g_pairing_1_waiting_ack ,z_g24_pairing_sm_1_waiting_ack 
 a0022 c0090027 beq state_24g_pairing_2_waiting_ack ,z_g24_pairing_sm_2_waiting_ack 
@@ -36123,18 +36093,18 @@
 a0024 20600000 rtn 
 
 z_g24_pairing_sm_1_waiting_ack:
-a0025 704c9202 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
+a0025 704c9302 jam state_24g_pairing_2 ,mem_24g_pairing_sm 
 a0026 2020015b branch p_g24_transmit_abandon 
 
 z_g24_pairing_sm_2_waiting_ack:
-a0027 704c9203 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
+a0027 704c9303 jam state_24g_pairing_3 ,mem_24g_pairing_sm 
 a0028 2020015b branch p_g24_transmit_abandon 
 
 z_g24_pairing_sm_3_waiting_ack:
-a0029 704c92ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
+a0029 704c93ff jam state_24g_pairing_success ,mem_24g_pairing_sm 
 a002a 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
 a002b 20407d86 call ui_ipc_send_event 
-a002c 68024c62 fetch 4 ,mem_24g_rxpayload + 2 
+a002c 68024c63 fetch 4 ,mem_24g_rxpayload + 2 
 a002d 20400193 call p_g24_update_addr_and_synccrc8 
 a002e 2020015b branch p_g24_transmit_abandon 
               org 0xb0001
@@ -36183,10 +36153,10 @@
 b001f 60014498 store 2 ,mem_le_interval_min + 2 
 b0020 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 b0021 70479e00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-b0022 20400325 call p_mouse_data_init 
+b0022 20400326 call p_mouse_data_init 
 b0023 20405816 call le_clr_config_more_data 
 b0024 204041d9 call mouse_bb_disconnected 
-b0025 20400292 call p_mouse_store_flash_device_info 
+b0025 20400294 call p_mouse_store_flash_device_info 
 b0026 6800cb6b fetch 1 ,mem_mouse_start_discovery_enable 
 b0027 207a0000 rtn blank 
 
@@ -36240,7 +36210,7 @@
 c001c 704aff00 jam 0 ,mem_bt_rcvd_switch_req_accept 
 c001d 704b0100 jam 0 ,mem_bt_send_lmp_setup_complete 
 c001e 704b0a00 jam 0 ,mem_mouse_bt_send_first_package_flag 
-c001f 20400292 call p_mouse_store_flash_device_info 
+c001f 20400294 call p_mouse_store_flash_device_info 
 c0020 202041d9 branch mouse_bb_disconnected 
 
 z_mouse_before_hibernate:
@@ -36252,10 +36222,10 @@
 c0026 204074bd call disable_authrom 
 c0027 20404482 call mouse_devce_led_off 
 c0028 204004be call p_mouse_multi_led_gpio_set_high 
-c0029 20400292 call p_mouse_store_flash_device_info 
+c0029 20400294 call p_mouse_store_flash_device_info 
 c002a 20403e9f call mouse_before_hibernate_wheel_gpio_set 
 c002b 204000c1 call p_mouse_setgpio_hibernate 
-c002c 204002d0 call p_flash_deep_power_down 
+c002c 204002d2 call p_flash_deep_power_down 
 c002d 68108081 hfetch 1 ,core_gpio_sel1 
 c002e 1fe17ef7 and pdata ,0xf7 ,pdata 
 c002f 60108081 hstore 1 ,core_gpio_sel1 
@@ -36274,55 +36244,55 @@
 d0003 2040001e call z_g24_timer_check 
 d0004 24740000 nrtn user 
 d0005 20400018 call z_g24_interval_calibrate 
-d0006 68014dc3 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+d0006 68014dc4 fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
 d0007 1fe0fe01 increase 1 ,pdata 
-d0008 60014dc3 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-d0009 68094dc5 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+d0008 60014dc4 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+d0009 68094dc6 fetcht 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 d000a 98467c00 isub temp ,null 
 d000b 2042800d call z_g24_transmit_by_interrupt_exit ,zero 
 d000c 20200094 branch p_g24_transmit_process 
 
 z_g24_transmit_by_interrupt_exit:
-d000d 704dc200 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
+d000d 704dc300 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 d000e 58000000 setarg 0 
-d000f 60014dc3 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+d000f 60014dc4 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
 d0010 58000019 setarg 25 
-d0011 60014dc5 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+d0011 60014dc6 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 
 z_g24_interval_min:
-d0012 704cbd00 jam 0 ,mem_24g_pac_index 
-d0013 6800cca8 fetch 1 ,mem_24g_interval_min 
+d0012 704cbe00 jam 0 ,mem_24g_pac_index 
+d0013 6800cca9 fetch 1 ,mem_24g_interval_min 
 
 z_g24_interval_store:
-d0014 6000cca7 store 1 ,mem_24g_interval 
+d0014 6000cca8 store 1 ,mem_24g_interval 
 d0015 20600000 rtn 
 
 z_g24_interval_max:
-d0016 6800cca9 fetch 1 ,mem_24g_interval_max 
+d0016 6800ccaa fetch 1 ,mem_24g_interval_max 
 d0017 20200014 branch z_g24_interval_store 
 
 z_g24_interval_calibrate:
-d0018 6800ccbd fetch 1 ,mem_24g_pac_index 
+d0018 6800ccbe fetch 1 ,mem_24g_pac_index 
 d0019 1fe0fe01 increase 1 ,pdata 
-d001a 6000ccbd store 1 ,mem_24g_pac_index 
+d001a 6000ccbe store 1 ,mem_24g_pac_index 
 d001b c0020016 beq 4 ,z_g24_interval_max 
 d001c c0028012 beq 5 ,z_g24_interval_min 
 d001d 20600000 rtn 
 
 z_g24_timer_check:
 d001e 20407fe9 call disable_user 
-d001f 680a4ca3 fetcht 4 ,mem_24g_tx_btclk 
+d001f 680a4ca4 fetcht 4 ,mem_24g_tx_btclk 
 d0020 1c427e00 copy clkn_bt ,pdata 
 d0021 98467c00 isub temp ,null 
 d0022 24412d18 ncall g24_timer_timeout ,positive 
 d0023 1fe22400 copy pdata ,regb 
-d0024 68024ca3 fetch 4 ,mem_24g_tx_btclk 
-d0025 6808cca7 fetcht 1 ,mem_24g_interval 
+d0024 68024ca4 fetch 4 ,mem_24g_tx_btclk 
+d0025 6808cca8 fetcht 1 ,mem_24g_interval 
 d0026 98408400 iadd temp ,temp 
 d0027 1a427e00 copy regb ,pdata 
 d0028 98467c00 isub temp ,null 
 d0029 24610000 nrtn positive 
 d002a 793ffe1c set0 28 ,pdata 
-d002b 60024ca3 store 4 ,mem_24g_tx_btclk 
+d002b 60024ca4 store 4 ,mem_24g_tx_btclk 
 d002c 20207fe7 branch enable_user 
 
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/romcode.rom	(revision 6236)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/romcode.rom	(working copy)
@@ -24619,18 +24619,25 @@
 c00283b1
 20204d41
 c0080004
-c009000d
+c0090015
 20600000
 78547c00
 204062c1
 68008048
 207a0000
-c2838016
-c0018023
-c0188035
-c00b8037
+c283801d
+c001802a
+c018803c
+c00b803e
+c003800e
 20206010
-704b6e01
+20406152
+6800cbfc
+207a0000
+6800804b
+793ffe03
+6000804b
+202003d0
 7047a101
 680146a8
 600146ae
@@ -24640,13 +24647,13 @@
 20400419
 20207df4
 68008048
-c042001a
-c041801d
+c0420021
+c0418024
 2020603f
-20400020
+20400027
 68008048
 20206099
-20400020
+20400027
 68008048
 2020610d
 6800c65a
@@ -24659,7 +24666,7 @@
 6000cafc
 204062a7
 6800cafc
-c017002c
+c0170033
 20206051
 6800caff
 207a0000
@@ -24733,7 +24740,7 @@
 70479e00
 68034b62
 600344a0
-204002d9
+204002db
 20403418
 68014687
 600146ac
@@ -24743,7 +24750,7 @@
 600146ae
 2040041d
 204043ca
-204002c7
+204002c9
 6800c210
 1fe67c33
 2042801e
@@ -24762,16 +24769,16 @@
 c021001f
 20600000
 2040000e
-203402ed
+203402ee
 79200026
-6800cdd6
+6800cdd7
 79207e02
-6000cdd6
+6000cdd7
 20400194
 2040010f
 2020001b
 df200002
-d8c04caa
+d8c04cab
 20407fe7
 5800ffff
 e8c90000
@@ -24780,12 +24787,12 @@
 c2000012
 20600000
 79200026
-6800cdd6
+6800cdd7
 79207e01
-6000cdd6
+6000cdd7
 5800003c
-60014dce
-704dcd00
+60014dcf
+704dce00
 20600000
 680246d3
 c4088000
@@ -24797,13 +24804,13 @@
 58000000
 600146ae
 6000c6b4
-60014caf
+60014cb0
 204042ca
-202002ed
+202002ee
 c028800b
 c0290013
 c0298025
-20400263
+20400265
 d8e00003
 204043d2
 7046a700
@@ -24811,14 +24818,14 @@
 20400259
 20200013
 704bfb00
-704dc200
+704dc300
 20400259
 204001aa
-204002c7
+204002c9
 6800cb76
 c1810000
 2020340a
-20400263
+20400265
 704b4200
 704b7700
 58000000
@@ -24828,44 +24835,44 @@
 20400022
 20400493
 20403f8d
-68024caa
+68024cab
 6002477b
 20404366
 704b7602
-20200292
+20200294
 58000000
-6001cdcd
+6001cdce
 20600000
-6800cdcd
+6800cdce
 c000add4
 20400034
 20400162
 242c010f
 2437810f
-6800cdd6
+6800cdd7
 793ffe02
-6000cdd6
+6000cdd7
 704b4200
 20402f20
 2040015f
-202002f2
-68024c62
+202002f3
+68024c63
 20200193
 70119eff
-6800cc83
+6800cc84
 6000919f
-68024cb9
+68024cba
 600211a0
 d8400006
 da20119e
 204001af
 202001b7
-6800cdcd
+6800cdce
 c000add4
 70119eff
-6800cc83
+6800cc84
 6000919f
-68024cb9
+68024cba
 600211a0
 d8400006
 da20119e
@@ -24875,52 +24882,52 @@
 242c0026
 24378026
 20400188
-68024caa
-680a4dc7
+68024cab
+680a4dc8
 98467c00
 20228016
-6800cc80
+6800cc81
 c1840000
-704dd600
+704dd700
 20400259
-68024caa
-680a4c8e
+68024cab
+680a4c8f
 98467c00
 202281a1
-68024caa
-680a4cb9
+68024cab
+680a4cba
 98467c00
 20428024
 704b4200
 20402f20
 2040015f
-202002f2
-68024c62
+202002f3
+68024c63
 20200193
-6800cdc0
+6800cdc1
 1fe0fe01
 1fe17e03
-6000cdc0
+6000cdc1
 c000002d
 c0010037
 2020018f
 20400259
-68024cb9
-60024caa
-6800cdd0
-6000cc8d
+68024cba
+60024cab
+6800cdd1
+6000cc8e
 20400035
-6008cdd0
+6008cdd1
 20600000
 20400194
 2020010f
 7041de20
-68024dc7
-60024caa
-6800cdd1
-6000cc8d
+68024dc8
+60024cab
+6800cdd2
+6000cc8e
 20400035
-6008cdd1
+6008cdd2
 20600000
 c0380004
 c038800b
@@ -24931,7 +24938,7 @@
 704b75ff
 204042fb
 704721ff
-20200292
+20200294
 6800800e
 1fe0fe01
 6000800e
@@ -24958,7 +24965,7 @@
 58000000
 60014154
 20403e54
-20400287
+20400289
 704bf300
 704bfb00
 704bfa00
@@ -24967,8 +24974,8 @@
 68034b4c
 680b4722
 98467c00
-242282d9
-202002db
+242282db
+202002dd
 1a220400
 2040680e
 1a220400
@@ -25003,25 +25010,25 @@
 c0480004
 c048801e
 20600000
-6800cc87
+6800cc88
 c000ffe7
-6800cc92
+6800cc93
 c000800b
 c001000e
 c0018011
 20202a8c
-704c9211
+704c9311
 70119eaa
 20200013
-704c9212
+704c9312
 70119e55
 20200013
-704c9213
+704c9313
 70119e22
-6800cc83
+6800cc84
 1fe17e07
 6000919f
-68024cb9
+68024cba
 600211a0
 7011a400
 da20119e
@@ -25030,20 +25037,20 @@
 20400124
 20207fe7
 204006f3
-6800cc92
+6800cc93
 c17f8000
 c0088025
 c0090027
 c0098029
 20600000
-704c9202
+704c9302
 2020015b
-704c9203
+704c9303
 2020015b
-704c92ff
+704c93ff
 700a9939
 20407d86
-68024c62
+68024c63
 20400193
 2020015b
 c0508005
@@ -25079,10 +25086,10 @@
 60014498
 7047c400
 70479e00
-20400325
+20400326
 20405816
 204041d9
-20400292
+20400294
 6800cb6b
 207a0000
 68034b62
@@ -25119,7 +25126,7 @@
 704aff00
 704b0100
 704b0a00
-20400292
+20400294
 202041d9
 204003d3
 68120138
@@ -25129,10 +25136,10 @@
 204074bd
 20404482
 204004be
-20400292
+20400294
 20403e9f
 204000c1
-204002d0
+204002d2
 68108081
 1fe17ef7
 60108081
@@ -25146,43 +25153,43 @@
 2040001e
 24740000
 20400018
-68014dc3
+68014dc4
 1fe0fe01
-60014dc3
-68094dc5
+60014dc4
+68094dc6
 98467c00
 2042800d
 20200094
-704dc200
+704dc300
 58000000
-60014dc3
+60014dc4
 58000019
-60014dc5
-704cbd00
-6800cca8
-6000cca7
-20600000
+60014dc6
+704cbe00
 6800cca9
+6000cca8
+20600000
+6800ccaa
 20200014
-6800ccbd
+6800ccbe
 1fe0fe01
-6000ccbd
+6000ccbe
 c0020016
 c0028012
 20600000
 20407fe9
-680a4ca3
+680a4ca4
 1c427e00
 98467c00
 24412d18
 1fe22400
-68024ca3
-6808cca7
+68024ca4
+6808cca8
 98408400
 1a427e00
 98467c00
 24610000
 793ffe1c
-60024ca3
+60024ca4
 20207fe7
-00005748
+0000c23d
Index: output/sched.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/sched.rom	(revision 6235)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/output/sched.rom	(working copy)
@@ -97,7 +97,7 @@
 00
 
 mem_app_connection_options:06
-mem_lap:b0 af 13 01 20 20
+mem_lap:00 02 03 01 20 20
 mem_local_name_length:
 'Pen Mouse3.0
 mem_sniff_param_interval:
@@ -161,7 +161,7 @@
 mem_le_adv_own_addr_type:00
 mem_le_adv_channel_map:07 
 
-mem_le_lap:81 10 0b 2e 8e ed
+mem_le_lap:11 12 0b 0e 8e ed
 
 mem_le_transmit_window:50
 
@@ -170,7 +170,7 @@
 
 
 mem_discovery_timeout:08 07#3min
-mem_mouse_direct_timeout:28 00#4s
+mem_mouse_direct_timeout:64 00#10s
 mem_mouse_no_data_timeout:70 17#10min
 
 mem_flash_ncs_gpio:0a
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/program/patch.prog	(revision 6237)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/program/patch.prog	(working copy)
@@ -4,7 +4,7 @@
 define BLE
 define CLASSIC_BT
 define MOUSE_SMOOTHER
-define XY_OFFSET
+//define XY_OFFSET
 define ADC_ENABLE
 //define P24G_LOG
 //define RF_DEBUG
@@ -1097,13 +1097,6 @@
 	call test_gpio_init
 endif
 	call p_wake_from_power
-//ifdef G24
-//	fetch 1,mem_power_on_flag
-//	bbit1 2,p_mouse_skip_24g_pair
-//	call p_mouse_check_key_gpio
-//	beq MOUSE_LR_BUTTON,p_mouse_24g_pairing_button
-//p_mouse_skip_24g_pair:
-//endif
 p_mouse_start:
 	call p_mouse_mode_24g_device_multi_led_blink3s
 	fetch 1,mem_power_on_flag
@@ -1148,6 +1141,7 @@
 
 ifdef CLASSIC_BT
 p_mouse3_0_check_reconn_target:
+	jam 1,mem_mouse_bt_reconnect_flag
 	fetch 6,mem_hci_plap
 	branch app_bt_start_discovery_short,blank
 	branch mouse3_0_check_reconn_target+3
@@ -1155,6 +1149,7 @@
 
 ifdef BLE
 p_mouse4_0_check_reconn_target:
+	jam 1,mem_le_send_security_request_flag
 	jam ZCODE_12,mem_zcode_temp_param0
 	branch p_zcode_entrance
 endif
@@ -1430,7 +1425,7 @@
 p_mouse_start_24g_pair:
 	fetch 4,mem_mouse_24g_addr_init	//power on goto pair
 	store 4,mem_24g_addr
-	call p_mouse_store_flash_device_info	
+//	call p_mouse_store_flash_device_info	
 p_g24_auto_pair_start:
 	jam ZCODE_41,mem_zcode_temp_param0
 	branch p_zcode_entrance
@@ -1732,8 +1727,6 @@
 	rtn blank
 	jam 0x05,mem_mouse_store_info_delay_timer
 	call p_mouse_seting_dpi
-//	branch p_mouse_dpi_led_enable
-
 p_mouse_dpi_led_enable:	
 	fetch 1,mem_mouse_dpi	//0,2/3
 	beq 0,p_mouse_blink_level_1
@@ -1803,7 +1796,7 @@
 	jam 0x14,mem_mouse_send_secutiry_request_timer
 p_mouse_le_bb_event_connected_next:
 	jam 0,mem_mouse_poweron_bt_start_reconn_timer
-	jam 0,mem_mouse_le_adv_start
+//	jam 0,mem_mouse_le_adv_start
 	jam 1,mem_mouse_le_bb_connected_flag
 	jam 0,mem_mouse_le_not_tx_disconn
 	jam 0,mem_mouse_start_discovery_enable
@@ -2149,8 +2142,8 @@
 p_mouse_bt_discovery_commbination_key_up:
 	fetch 1,mem_ui_button_timeout
 	store 1,mem_combination_ui_button_count	//combination key timer init
-	fetch 1,mem_bt_discovey_button_statue
 	jam 0,mem_mouse_dpi_long_press_flag
+	fetch 1,mem_bt_discovey_button_statue
 	rtneq DPI_BUTTON_STATE_UP
 	jam DPI_BUTTON_STATE_UP,mem_bt_discovey_button_statue
 p_mouse_bt_discovery_button_up_init:	
@@ -2159,8 +2152,8 @@
 	branch mouse_bt_discovery_button_down_disable
 
 p_mouse_bt_discovery_judge:
-	call mouse_check_key_gpio
-	and_into 0x07,pdata 
+	call p_mouse_check_key_gpio
+	and rega,0x07,pdata 
 	beq MOUSE_R_BUTTON,p_mouse_bt_discovery_commbination_key_down
 	branch p_mouse_bt_discovery_commbination_key_up
 	
Index: program/z.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/program/z.prog	(revision 6235)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/program/z.prog	(working copy)
@@ -78,11 +78,19 @@
 	beq LMP_ACCEPTED,z_send_lmp_accepted
 	beq LMP_SETUP_COMPLETE,z_send_lmp_setup_complete
 	beq LMP_SNIFF_REQ,z_send_lmp_sniff_req
+	beq LMP_DETACH,z_send_lmp_detach
 	branch send_lmp0
 
+z_send_lmp_detach:
+	call send_lmp_detach
+	fetch  1,mem_mouse_bt_reconnect_flag
+	rtn blank
+	fetch 1,mem_op
+	set0 op_disconn,pdata
+	store 1,mem_op
+	branch p_mouse_sensor_powerdown
 
 z_mouse4_0_check_reconn_target:
-	jam 1,mem_le_send_security_request_flag
 	jam 1,mem_mouse_le_reconnect_flag
 	fetch 2,mem_mouse_direct_timeout
 	store 2,mem_mouse_direct_timer
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/sched/mouse.dat	(revision 6235)
+++ /branch/mouse_project/YJX_Project/YJX_1066/Standard_PLM_MousePen_28/sched/mouse.dat	(working copy)
@@ -60,7 +60,7 @@
 00
 
 mem_app_connection_options:06
-mem_lap:b0 af 13 01 20 20
+mem_lap:00 02 03 01 20 20
 mem_local_name_length:
 'Pen Mouse3.0
 mem_sniff_param_interval:
@@ -124,7 +124,7 @@
 mem_le_adv_own_addr_type:00
 mem_le_adv_channel_map:07 
 
-mem_le_lap:81 10 0b 2e 8e ed
+mem_le_lap:11 12 0b 0e 8e ed
 
 mem_le_transmit_window:50
 
@@ -133,7 +133,7 @@
 
 
 mem_discovery_timeout:08 07#3min
-mem_mouse_direct_timeout:28 00#4s
+mem_mouse_direct_timeout:64 00#10s
 mem_mouse_no_data_timeout:70 17#10min
 
 mem_flash_ncs_gpio:0a
