Index: output/flash.dat
===================================================================
--- /branch/mouse_project/ZhongXinSheng/1066_M08/output/flash.dat	(revision 1053)
+++ /branch/mouse_project/ZhongXinSheng/1066_M08/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-fe
+76
 1f
 20
 20
@@ -11,7 +11,7 @@
 20
 40
 03
-cb
+a9
 68
 00
 c1
@@ -22,8 +22,8 @@
 95
 20
 40
-07
-0f
+06
+ed
 68
 00
 c6
@@ -46,144 +46,144 @@
 ca
 20
 40
-07
-9a
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
-20
-00
-00
-01
+02
+e7
 20
-00
-00
-01
+40
+07
+78
 20
+40
 00
-00
-01
+0f
 20
+40
 00
-00
-01
+22
 20
-00
-00
-01
 20
+03
+19
+58
 00
-00
+03
+7f
+60
 01
-20
-00
+4d
+0f
+58
 00
+03
+99
+60
 01
-20
-00
+41
+ef
+58
 00
+06
+36
+60
 01
-20
-00
+41
+f9
+58
 00
+03
+c4
+60
 01
-20
-00
+41
+f1
+58
 00
+02
+97
+60
 01
-20
-00
+41
+ed
+58
 00
+03
+fd
+60
 01
-20
-00
+41
+f5
+58
 00
+03
+e7
+60
 01
-20
-00
+41
+f3
+58
 00
+04
+36
+60
 01
-20
-00
+41
+eb
+58
 00
+04
+3d
+60
 01
+41
+fd
 20
+60
 00
 00
-01
-20
+58
 00
 00
+19
+60
 01
+4d
+21
+24
+55
+80
+2a
 20
-00
-00
-01
+40
+02
+e9
 20
+40
+03
+12
+68
 00
+c7
+1f
+60
 00
-01
+c7
+1e
 20
+60
 00
 00
-01
-20
-00
+58
 00
 01
-20
-00
-00
+77
+60
 01
+4d
+21
 20
+60
 00
 00
-01
 20
 00
 00
@@ -271,39 +271,39 @@
 c0
 42
 87
-7b
+59
 c0
 44
 87
-4c
+2a
 c0
 0d
 86
-71
+4f
 c0
 13
 06
-73
+51
 c0
 25
 06
-8e
+6c
 c0
 28
 86
-97
+75
 c0
 2c
 86
-8c
+6a
 c0
 53
 86
-9c
+7a
 c0
 56
 86
-b2
+90
 c0
 65
 b3
@@ -311,7 +311,7 @@
 c0
 74
 86
-c3
+a1
 c0
 50
 80
@@ -331,23 +331,23 @@
 c0
 71
 85
-55
+33
 c0
 73
 05
-64
+42
 c0
 75
 05
-99
+77
 c0
 75
 85
-a0
+7e
 c0
 76
 05
-ad
+8b
 20
 20
 2a
@@ -355,71 +355,71 @@
 c0
 1c
 85
-b7
+95
 c0
 21
 85
-bf
+9d
 c0
 25
 05
-c5
+a3
 c0
 2b
 85
-c8
+a6
 c0
 2c
 85
-ca
+a8
 c0
 31
 85
-cc
+aa
 c0
 33
 05
-f6
+d4
 c0
 33
-86
-0d
+85
+eb
 c0
 35
 06
-43
+21
 c0
 3b
 86
-4e
+2c
 c0
 02
 86
-c5
+a3
 c0
 40
 06
-c7
+a5
 c0
 41
 06
-d1
+af
 c0
 44
 06
-d3
+b1
 c0
 46
 06
-5e
+3c
 c0
 46
 86
-6a
+48
 c0
 7d
 06
-f7
+d5
 20
 20
 2a
@@ -479,7 +479,7 @@
 20
 40
 03
-b2
+90
 20
 40
 6a
@@ -614,8 +614,8 @@
 00
 20
 40
-07
-20
+06
+fe
 68
 00
 cb
@@ -623,7 +623,7 @@
 c0
 00
 83
-a4
+82
 20
 40
 00
@@ -958,8 +958,8 @@
 00
 20
 40
-07
-16
+06
+f4
 68
 00
 cd
@@ -1066,8 +1066,8 @@
 55
 20
 40
-07
-16
+06
+f4
 70
 4d
 11
@@ -1279,7 +1279,7 @@
 20
 40
 04
-55
+33
 70
 4c
 0a
@@ -1410,8 +1410,8 @@
 9c
 20
 40
-07
-12
+06
+f0
 68
 00
 cb
@@ -1474,8 +1474,8 @@
 c6
 20
 40
-07
-0f
+06
+ed
 20
 20
 01
@@ -1687,7 +1687,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -1695,7 +1695,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -1703,7 +1703,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -1711,7 +1711,7 @@
 20
 20
 07
-7d
+5b
 79
 3f
 80
@@ -2663,7 +2663,7 @@
 20
 40
 03
-a8
+86
 20
 40
 02
@@ -2711,7 +2711,7 @@
 20
 40
 03
-1f
+1b
 68
 12
 00
@@ -2771,55 +2771,35 @@
 20
 20
 05
-55
+33
 20
 40
 34
 16
 20
-35
-82
-b6
-20
 40
-02
-b8
-20
-20
 74
 b9
-24
-55
-83
-1d
 20
-40
-02
-eb
-20
-75
-80
-00
+35
+82
+c4
 20
 40
-03
-8e
+00
+01
 20
 40
 05
-71
+4f
 c0
 01
 82
-e4
-20
-40
-03
-7a
+e0
 20
 40
 02
-c9
+c5
 68
 00
 c7
@@ -2835,11 +2815,11 @@
 20
 22
 82
-ce
+ca
 20
 40
 04
-fe
+dc
 68
 00
 c2
@@ -2847,15 +2827,19 @@
 c0
 19
 82
-d0
+cc
 c0
 1a
 02
-d3
+cf
 20
 20
 04
-c7
+a5
+20
+20
+02
+e7
 68
 00
 cc
@@ -2879,11 +2863,11 @@
 20
 40
 04
-fe
+dc
 20
 20
 03
-82
+73
 68
 03
 41
@@ -2915,7 +2899,7 @@
 20
 40
 02
-dd
+d9
 58
 00
 00
@@ -2931,7 +2915,7 @@
 20
 40
 05
-a9
+87
 20
 20
 7d
@@ -2963,7 +2947,7 @@
 20
 20
 02
-de
+da
 70
 11
 c5
@@ -2971,7 +2955,7 @@
 20
 20
 07
-7d
+5b
 20
 40
 44
@@ -3003,7 +2987,7 @@
 20
 40
 02
-eb
+e7
 20
 40
 40
@@ -3015,11 +2999,11 @@
 c0
 18
 02
-f9
+f5
 c0
 18
 83
-05
+01
 20
 40
 40
@@ -3031,7 +3015,7 @@
 20
 20
 02
-ef
+eb
 70
 4a
 fe
@@ -3043,7 +3027,7 @@
 20
 40
 02
-ed
+e9
 20
 20
 64
@@ -3051,7 +3035,7 @@
 20
 40
 03
-0c
+08
 68
 00
 c6
@@ -3059,7 +3043,7 @@
 c0
 2d
 02
-fd
+f9
 20
 20
 40
@@ -3099,7 +3083,7 @@
 20
 40
 03
-0c
+08
 68
 00
 c6
@@ -3127,7 +3111,7 @@
 20
 40
 02
-eb
+e7
 58
 00
 80
@@ -3147,11 +3131,11 @@
 c0
 7f
 83
-13
+0f
 20
 20
 05
-55
+33
 68
 00
 c6
@@ -3163,11 +3147,11 @@
 20
 20
 05
-55
+33
 20
 40
 02
-eb
+e7
 58
 00
 00
@@ -3199,7 +3183,7 @@
 20
 20
 07
-7d
+5b
 68
 08
 cb
@@ -3255,7 +3239,7 @@
 20
 40
 03
-75
+71
 20
 40
 44
@@ -3275,7 +3259,7 @@
 20
 22
 83
-68
+64
 60
 09
 47
@@ -3307,23 +3291,23 @@
 20
 40
 03
-75
+71
 20
 40
 03
-47
+43
 20
 40
 03
-5f
+5b
 20
 40
 03
-4b
+47
 20
 40
 03
-56
+52
 d8
 40
 00
@@ -3347,19 +3331,19 @@
 20
 40
 03
-4b
+47
 20
 40
 03
-56
+52
 20
 40
 03
-6f
+6b
 20
 20
 02
-eb
+e7
 68
 01
 c7
@@ -3375,7 +3359,7 @@
 20
 20
 03
-56
+52
 1f
 e2
 26
@@ -3451,7 +3435,7 @@
 c2
 80
 03
-56
+52
 20
 60
 00
@@ -3483,11 +3467,11 @@
 20
 40
 03
-75
+71
 20
 40
 03
-5f
+5b
 20
 20
 65
@@ -3495,15 +3479,15 @@
 20
 40
 03
-65
+61
 20
 40
 05
-a2
+80
 20
 40
 02
-cc
+c8
 20
 40
 43
@@ -3527,7 +3511,7 @@
 20
 40
 03
-21
+1d
 20
 40
 65
@@ -3551,55 +3535,11 @@
 20
 20
 03
-70
-58
-00
-01
-77
-60
-01
-4d
-21
-20
-60
-00
-00
-58
-00
-00
-19
-60
-01
-4d
-21
-24
-55
-83
-77
-20
-40
-02
-ed
-20
-40
-03
-16
-68
-00
-c7
-1f
-60
-00
-c7
-1e
-20
-60
-00
-00
+6c
 20
 40
 03
-85
+76
 20
 34
 01
@@ -3639,83 +3579,7 @@
 c2
 00
 03
-89
-20
-60
-00
-00
-58
-00
-03
-a1
-60
-01
-4d
-0f
-58
-00
-03
-bb
-60
-01
-41
-ef
-58
-00
-06
-58
-60
-01
-41
-f9
-58
-00
-03
-e6
-60
-01
-41
-f1
-58
-00
-02
-97
-60
-01
-41
-ed
-58
-00
-04
-1f
-60
-01
-41
-f5
-58
-00
-04
-09
-60
-01
-41
-f3
-58
-00
-04
-58
-60
-01
-41
-eb
-58
-00
-04
-5f
-60
-01
-41
-fd
+7a
 20
 60
 00
@@ -3759,7 +3623,7 @@
 20
 40
 03
-b0
+8e
 d8
 c0
 19
@@ -3767,7 +3631,7 @@
 20
 40
 03
-b0
+8e
 d8
 c0
 1a
@@ -3775,7 +3639,7 @@
 20
 40
 03
-b0
+8e
 d8
 c0
 1b
@@ -3799,7 +3663,7 @@
 20
 40
 03
-b0
+8e
 d8
 a0
 19
@@ -3807,7 +3671,7 @@
 20
 40
 03
-b0
+8e
 d8
 a0
 1a
@@ -3815,7 +3679,7 @@
 20
 40
 03
-b0
+8e
 d8
 a0
 1b
@@ -3823,7 +3687,7 @@
 20
 20
 03
-b0
+8e
 20
 40
 58
@@ -3851,7 +3715,7 @@
 20
 5a
 03
-0a
+06
 68
 02
 46
@@ -3871,7 +3735,7 @@
 20
 40
 03
-e1
+bf
 da
 20
 46
@@ -3883,7 +3747,7 @@
 20
 54
 03
-d0
+ae
 20
 60
 00
@@ -3935,7 +3799,7 @@
 20
 34
 03
-d8
+b6
 20
 60
 00
@@ -4023,7 +3887,7 @@
 20
 5a
 03
-0a
+06
 68
 02
 46
@@ -4047,7 +3911,7 @@
 20
 40
 03
-e1
+bf
 68
 00
 cb
@@ -4055,7 +3919,7 @@
 c0
 00
 83
-f8
+d6
 68
 00
 cb
@@ -4151,7 +4015,7 @@
 20
 40
 05
-88
+66
 68
 08
 c6
@@ -4162,12 +4026,12 @@
 1d
 20
 20
-84
-1d
+83
+fb
 20
 40
 05
-91
+6f
 68
 00
 c6
@@ -4206,8 +4070,8 @@
 2c
 20
 40
-05
-0f
+04
+ed
 20
 40
 3d
@@ -4215,11 +4079,11 @@
 20
 20
 03
-39
+35
 20
 40
 05
-91
+6f
 20
 20
 3d
@@ -4231,35 +4095,35 @@
 c0
 0a
 04
-31
+0f
 c0
 0a
 84
-34
+12
 c0
 14
 84
-37
+15
 c0
 19
 04
-39
+17
 c0
 20
 04
-3b
+19
 c0
 02
 04
-3d
+1b
 c0
 09
 84
-3d
+1b
 c0
 13
 84
-3f
+1d
 c0
 0c
 b3
@@ -4267,31 +4131,31 @@
 c0
 10
 84
-41
+1f
 c0
 00
 84
-43
+21
 c0
 01
 04
-48
+26
 c0
 15
 84
-4b
+29
 c0
 1c
 84
-4d
+2b
 c0
 1d
 04
-50
+2e
 c0
 1e
 04
-53
+31
 20
 20
 41
@@ -4299,7 +4163,7 @@
 20
 40
 02
-f5
+f1
 70
 11
 c5
@@ -4307,11 +4171,11 @@
 20
 20
 07
-7d
+5b
 20
 40
 04
-5b
+39
 70
 11
 c5
@@ -4319,7 +4183,7 @@
 20
 20
 07
-7d
+5b
 70
 0a
 99
@@ -4335,7 +4199,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -4343,7 +4207,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -4351,7 +4215,7 @@
 20
 20
 07
-7d
+5b
 20
 40
 43
@@ -4367,19 +4231,19 @@
 20
 20
 07
-7d
+5b
 20
 40
 02
-f5
+f1
 20
 40
 04
-ca
+a8
 20
 40
-05
-0a
+04
+e8
 70
 48
 09
@@ -4391,7 +4255,7 @@
 20
 40
 04
-5b
+39
 70
 11
 c5
@@ -4399,7 +4263,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -4407,11 +4271,11 @@
 20
 20
 07
-7d
+5b
 20
 40
 02
-f5
+f1
 70
 11
 c5
@@ -4419,11 +4283,11 @@
 20
 20
 07
-7d
+5b
 20
 40
 04
-5b
+39
 70
 11
 c5
@@ -4431,15 +4295,15 @@
 20
 20
 07
-7d
+5b
 20
 40
 04
-ca
+a8
 20
 40
 02
-f5
+f1
 58
 00
 2e
@@ -4455,7 +4319,7 @@
 20
 40
 04
-5b
+39
 70
 11
 c5
@@ -4463,7 +4327,7 @@
 20
 20
 07
-7d
+5b
 68
 00
 ca
@@ -4479,39 +4343,39 @@
 20
 20
 03
-16
+12
 20
 40
-05
-12
+04
+f0
 20
 40
 05
-37
+15
 20
 40
 05
-4e
+2c
 20
 40
-04
-0b
+03
+e9
 20
 40
 04
-cd
+ab
 20
 40
 04
-85
+63
 20
 40
 04
-be
+9c
 20
 40
 04
-8a
+68
 20
 40
 42
@@ -4519,7 +4383,7 @@
 20
 40
 04
-6f
+4d
 20
 40
 42
@@ -4527,11 +4391,11 @@
 20
 40
 04
-82
+60
 20
 40
 04
-7a
+58
 20
 40
 42
@@ -4539,7 +4403,7 @@
 20
 40
 04
-7d
+5b
 20
 20
 42
@@ -4563,7 +4427,7 @@
 20
 20
 84
-77
+55
 68
 00
 c7
@@ -4607,7 +4471,7 @@
 da
 40
 04
-80
+5e
 20
 20
 33
@@ -4639,7 +4503,7 @@
 da
 40
 04
-88
+66
 20
 20
 33
@@ -4663,7 +4527,7 @@
 20
 40
 04
-aa
+88
 68
 00
 cb
@@ -4675,11 +4539,11 @@
 20
 40
 05
-71
+4f
 c0
 02
 84
-9a
+78
 68
 00
 c6
@@ -4727,7 +4591,7 @@
 20
 40
 04
-9e
+7c
 20
 20
 43
@@ -4739,7 +4603,7 @@
 da
 40
 04
-a1
+7f
 20
 20
 33
@@ -4803,7 +4667,7 @@
 20
 40
 05
-88
+66
 68
 08
 c6
@@ -4815,15 +4679,15 @@
 20
 20
 84
-b5
+93
 20
 40
 05
-91
+6f
 20
 20
 04
-b8
+96
 68
 00
 cb
@@ -4835,7 +4699,7 @@
 20
 20
 04
-93
+71
 70
 4b
 2f
@@ -4847,7 +4711,7 @@
 20
 40
 04
-bc
+9a
 20
 20
 43
@@ -4859,7 +4723,7 @@
 20
 20
 04
-9f
+7d
 68
 00
 c7
@@ -4875,7 +4739,7 @@
 20
 3a
 04
-c5
+a3
 1f
 e0
 ff
@@ -4935,11 +4799,11 @@
 c0
 00
 04
-d3
+b1
 c0
 00
 84
-dd
+bb
 20
 60
 00
@@ -4947,7 +4811,7 @@
 20
 40
 04
-ed
+cb
 68
 00
 cb
@@ -4971,7 +4835,7 @@
 20
 42
 84
-db
+b9
 20
 60
 00
@@ -4983,7 +4847,7 @@
 20
 20
 04
-f4
+d2
 68
 00
 cb
@@ -5015,7 +4879,7 @@
 20
 3a
 04
-e9
+c7
 68
 00
 cb
@@ -5023,7 +4887,7 @@
 20
 3a
 04
-f2
+d0
 1f
 e0
 ff
@@ -5039,11 +4903,11 @@
 c0
 00
 84
-f4
+d2
 c0
 00
 04
-ed
+cb
 20
 60
 00
@@ -5083,7 +4947,7 @@
 24
 3a
 04
-f8
+d6
 70
 4b
 24
@@ -5183,7 +5047,7 @@
 20
 20
 04
-f2
+d0
 70
 4b
 2a
@@ -5194,8 +5058,8 @@
 01
 20
 20
-05
-06
+04
+e4
 68
 00
 c6
@@ -5243,7 +5107,7 @@
 20
 40
 05
-2a
+08
 68
 00
 c2
@@ -5255,7 +5119,7 @@
 c3
 00
 05
-23
+01
 70
 4a
 fd
@@ -5411,7 +5275,7 @@
 24
 21
 05
-49
+27
 20
 60
 00
@@ -5443,7 +5307,7 @@
 da
 40
 05
-51
+2f
 20
 20
 33
@@ -5463,7 +5327,7 @@
 20
 20
 04
-f4
+d2
 68
 00
 c7
@@ -5475,7 +5339,7 @@
 20
 42
 85
-62
+40
 68
 00
 c7
@@ -5483,11 +5347,11 @@
 c0
 00
 05
-5e
+3c
 c0
 01
 85
-60
+3e
 68
 00
 c7
@@ -5507,7 +5371,7 @@
 20
 20
 05
-5c
+3a
 68
 00
 c7
@@ -5515,7 +5379,7 @@
 20
 20
 05
-5c
+3a
 70
 47
 7a
@@ -5551,19 +5415,19 @@
 20
 40
 05
-6f
+4d
 24
 34
 07
-9a
+78
 20
 40
 07
-9d
+7b
 20
 40
 05
-4b
+29
 20
 20
 3f
@@ -5571,7 +5435,7 @@
 20
 40
 05
-71
+4f
 20
 20
 40
@@ -5583,15 +5447,15 @@
 20
 40
 05
-76
+54
 20
 40
 05
-7c
+5a
 20
 40
 05
-82
+60
 20
 20
 40
@@ -5603,7 +5467,7 @@
 20
 40
 05
-91
+6f
 68
 08
 c6
@@ -5627,7 +5491,7 @@
 20
 40
 05
-91
+6f
 68
 08
 c6
@@ -5651,7 +5515,7 @@
 20
 40
 05
-91
+6f
 68
 08
 c6
@@ -5723,7 +5587,7 @@
 20
 20
 05
-8c
+6a
 68
 08
 c6
@@ -5735,15 +5599,15 @@
 20
 20
 05
-92
+70
 20
 40
 04
-db
+b9
 20
 40
 04
-ca
+a8
 28
 0f
 fe
@@ -5763,7 +5627,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -5771,11 +5635,11 @@
 20
 20
 07
-7d
+5b
 20
 40
 03
-75
+71
 d8
 40
 00
@@ -5827,7 +5691,7 @@
 20
 40
 03
-0c
+08
 68
 00
 c0
@@ -5854,8 +5718,8 @@
 d7
 20
 20
-05
-0a
+04
+e8
 68
 00
 c5
@@ -5882,8 +5746,8 @@
 1e
 20
 40
-07
-20
+06
+fe
 20
 20
 53
@@ -5931,7 +5795,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -5939,7 +5803,7 @@
 20
 20
 07
-7d
+5b
 68
 00
 84
@@ -5947,11 +5811,11 @@
 c2
 82
 85
-e0
+be
 20
 40
-07
-12
+06
+f0
 68
 00
 c7
@@ -5959,7 +5823,7 @@
 24
 3a
 05
-d6
+b4
 68
 00
 84
@@ -5967,7 +5831,7 @@
 c3
 02
 05
-da
+b8
 68
 00
 82
@@ -5975,7 +5839,7 @@
 20
 3a
 05
-da
+b8
 20
 20
 56
@@ -6003,7 +5867,7 @@
 c0
 82
 85
-dd
+bb
 70
 47
 8e
@@ -6015,7 +5879,7 @@
 20
 5a
 03
-d4
+b2
 20
 20
 56
@@ -6023,11 +5887,11 @@
 20
 40
 05
-e2
+c0
 20
 20
 05
-ee
+cc
 68
 00
 c6
@@ -6078,8 +5942,8 @@
 00
 20
 20
-07
-16
+06
+f4
 68
 00
 c7
@@ -6162,8 +6026,8 @@
 0c
 c0
 01
-86
-05
+85
+e3
 20
 20
 56
@@ -6174,8 +6038,8 @@
 db
 c0
 00
-86
-08
+85
+e6
 20
 20
 5c
@@ -6206,12 +6070,12 @@
 00
 c0
 02
-06
-11
+05
+ef
 c0
 03
 06
-3e
+1c
 20
 20
 56
@@ -6223,7 +6087,7 @@
 20
 40
 05
-ef
+cd
 20
 40
 7e
@@ -6238,8 +6102,8 @@
 77
 c0
 08
-06
-20
+05
+fe
 1f
 ec
 84
@@ -6251,7 +6115,7 @@
 20
 21
 06
-2e
+0c
 d8
 40
 47
@@ -6335,7 +6199,7 @@
 c0
 05
 06
-30
+0e
 20
 20
 58
@@ -6351,7 +6215,7 @@
 c2
 81
 86
-37
+15
 68
 01
 04
@@ -6379,7 +6243,7 @@
 24
 22
 86
-33
+11
 20
 40
 5a
@@ -6387,7 +6251,7 @@
 24
 34
 06
-33
+11
 70
 04
 7a
@@ -6403,7 +6267,7 @@
 c0
 02
 86
-41
+1f
 20
 20
 5a
@@ -6415,7 +6279,7 @@
 20
 20
 07
-7d
+5b
 68
 00
 80
@@ -6427,7 +6291,7 @@
 20
 40
 06
-49
+27
 d8
 e0
 00
@@ -6467,7 +6331,7 @@
 20
 37
 06
-51
+2f
 24
 36
 d8
@@ -6563,7 +6427,7 @@
 20
 40
 06
-6b
+49
 60
 18
 80
@@ -6607,7 +6471,7 @@
 20
 20
 07
-7d
+5b
 20
 40
 21
@@ -6643,7 +6507,7 @@
 c5
 05
 86
-80
+5e
 20
 40
 24
@@ -6651,11 +6515,11 @@
 24
 3a
 06
-79
+57
 c5
 16
 86
-88
+66
 20
 20
 21
@@ -6691,7 +6555,7 @@
 20
 20
 06
-79
+57
 68
 02
 01
@@ -6727,7 +6591,7 @@
 20
 40
 86
-92
+70
 20
 20
 24
@@ -6742,16 +6606,16 @@
 03
 20
 40
-87
-16
+86
+f4
 24
 40
-87
-12
-20
+86
+f0
 20
-07
 20
+06
+fe
 20
 40
 24
@@ -6803,7 +6667,7 @@
 20
 3a
 06
-a6
+84
 68
 00
 c5
@@ -6911,7 +6775,7 @@
 20
 5a
 06
-c0
+9e
 20
 20
 2b
@@ -6935,7 +6799,7 @@
 20
 20
 07
-7d
+5b
 70
 11
 c5
@@ -6943,7 +6807,7 @@
 20
 20
 07
-7d
+5b
 68
 00
 85
@@ -6955,7 +6819,7 @@
 c0
 09
 86
-cb
+a9
 20
 20
 5d
@@ -6991,7 +6855,7 @@
 20
 20
 07
-7d
+5b
 20
 40
 62
@@ -7011,11 +6875,11 @@
 c0
 02
 06
-f5
+d3
 c0
 08
 06
-da
+b8
 20
 20
 63
@@ -7031,7 +6895,7 @@
 c0
 00
 86
-de
+bc
 20
 20
 63
@@ -7047,7 +6911,7 @@
 c2
 80
 06
-e2
+c0
 20
 20
 63
@@ -7115,7 +6979,7 @@
 24
 21
 06
-f3
+d1
 20
 20
 63
@@ -7155,15 +7019,15 @@
 c0
 0f
 86
-ff
+dd
 c0
 10
-07
-02
+06
+e0
 c0
 09
-07
-0c
+06
+ea
 20
 20
 7d
@@ -7178,8 +7042,8 @@
 4f
 20
 20
-07
-04
+06
+e2
 70
 01
 85
@@ -7219,7 +7083,7 @@
 20
 20
 03
-39
+35
 20
 40
 58
@@ -7270,8 +7134,8 @@
 02
 24
 41
-07
-1e
+06
+fc
 68
 00
 cd
@@ -7335,7 +7199,7 @@
 c5
 13
 07
-2a
+08
 58
 00
 00
@@ -7347,7 +7211,7 @@
 24
 21
 07
-42
+20
 68
 00
 cd
@@ -7359,7 +7223,7 @@
 24
 21
 07
-32
+10
 68
 00
 cd
@@ -7367,7 +7231,7 @@
 c0
 00
 07
-43
+21
 20
 60
 00
@@ -7395,7 +7259,7 @@
 c5
 13
 07
-39
+17
 58
 00
 00
@@ -7415,7 +7279,7 @@
 c0
 00
 07
-4a
+28
 1f
 e0
 ff
@@ -7427,7 +7291,7 @@
 c0
 00
 07
-4a
+28
 70
 41
 de
@@ -7447,7 +7311,7 @@
 c0
 01
 07
-48
+26
 1f
 e0
 fe
@@ -7459,7 +7323,7 @@
 c0
 00
 87
-40
+1e
 70
 41
 de
@@ -7543,19 +7407,19 @@
 c0
 01
 07
-64
+42
 c0
 02
 07
-69
+47
 c0
 10
 07
-78
+56
 20
 40
 07
-6e
+4c
 70
 89
 55
@@ -7575,7 +7439,7 @@
 20
 40
 07
-73
+51
 70
 89
 55
@@ -7595,7 +7459,7 @@
 20
 40
 07
-6e
+4c
 70
 89
 55
@@ -7691,7 +7555,7 @@
 20
 22
 87
-98
+76
 60
 08
 cb
@@ -7735,7 +7599,7 @@
 20
 40
 03
-75
+71
 68
 01
 cb
@@ -7755,7 +7619,7 @@
 20
 40
 02
-eb
+e7
 58
 00
 1f
@@ -7811,7 +7675,7 @@
 20
 40
 07
-ee
+cc
 58
 00
 00
@@ -7819,7 +7683,7 @@
 20
 40
 07
-e1
+bf
 58
 00
 00
@@ -7827,7 +7691,7 @@
 20
 40
 07
-e7
+c5
 68
 00
 cb
@@ -7835,11 +7699,11 @@
 c0
 00
 87
-a7
+85
 20
 20
 07
-9a
+78
 68
 01
 4b
@@ -7859,7 +7723,7 @@
 20
 40
 07
-ba
+98
 68
 01
 11
@@ -7895,7 +7759,7 @@
 20
 40
 07
-ba
+98
 68
 01
 11
@@ -7939,7 +7803,7 @@
 20
 20
 87
-c7
+a5
 68
 00
 91
@@ -7947,7 +7811,7 @@
 c0
 7f
 87
-ce
+ac
 68
 00
 91
@@ -7975,7 +7839,7 @@
 c0
 00
 07
-cb
+a9
 68
 01
 91
@@ -7983,7 +7847,7 @@
 20
 20
 07
-c3
+a1
 70
 11
 c4
@@ -7995,7 +7859,7 @@
 20
 20
 07
-c3
+a1
 68
 00
 91
@@ -8003,7 +7867,7 @@
 20
 40
 07
-d9
+b7
 60
 00
 91
@@ -8015,7 +7879,7 @@
 20
 3a
 07
-d7
+b5
 58
 00
 00
@@ -8039,7 +7903,7 @@
 20
 20
 07
-d4
+b2
 1f
 e6
 7e
@@ -8079,7 +7943,7 @@
 24
 21
 07
-ec
+ca
 9a
 46
 7c
@@ -8087,7 +7951,7 @@
 24
 21
 07
-ec
+ca
 70
 4b
 0b
@@ -8115,7 +7979,7 @@
 20
 20
 07
-e5
+c3
 70
 4b
 0b
@@ -8135,7 +7999,7 @@
 20
 40
 07
-f7
+d5
 1f
 e2
 22
@@ -8151,7 +8015,7 @@
 20
 40
 07
-f7
+d5
 1f
 e2
 24
@@ -8167,7 +8031,7 @@
 c0
 7f
 87
-fc
+da
 68
 00
 91
@@ -8191,9 +8055,9 @@
 20
 20
 07
-fa
-67
-29
+d8
+fb
+42
 aa
 55
 08
@@ -9174,7 +9038,7 @@
 00
 4f
 4b
-e1
+59
 2f
 00
 ff
@@ -9209,11 +9073,11 @@
 20
 40
 04
-ca
+a8
 20
 40
 03
-cb
+a9
 20
 20
 41
@@ -9277,7 +9141,7 @@
 20
 40
 04
-37
+15
 70
 46
 c6
@@ -9469,7 +9333,7 @@
 20
 40
 02
-c9
+c5
 20
 40
 01
@@ -9485,7 +9349,7 @@
 20
 20
 04
-c7
+a5
 68
 01
 45
@@ -9525,7 +9389,7 @@
 20
 40
 04
-37
+15
 70
 47
 c4
@@ -9585,7 +9449,7 @@
 20
 40
 03
-cb
+a9
 20
 40
 58
@@ -9621,7 +9485,7 @@
 20
 40
 02
-e6
+e2
 20
 40
 3e
@@ -9649,11 +9513,11 @@
 20
 42
 85
-96
+74
 20
 40
 03
-6f
+6b
 68
 10
 80
@@ -9881,7 +9745,7 @@
 20
 40
 04
-55
+33
 70
 47
 8b
@@ -9913,11 +9777,11 @@
 20
 40
 04
-ca
+a8
 20
 40
 02
-c9
+c5
 68
 02
 4c
@@ -9929,7 +9793,7 @@
 20
 20
 03
-39
+35
 00
 00
 00
@@ -9997,7 +9861,7 @@
 20
 40
 02
-e6
+e2
 68
 00
 c6
@@ -10069,11 +9933,11 @@
 20
 40
 05
-9e
+7c
 20
 20
 03
-2c
+28
 20
 40
 74
@@ -10261,7 +10125,7 @@
 20
 40
 02
-c9
+c5
 68
 02
 4c
@@ -10305,7 +10169,7 @@
 20
 20
 03
-a4
+82
 70
 11
 9e
@@ -10557,7 +10421,7 @@
 20
 20
 03
-a4
+82
 70
 11
 9e
@@ -10641,7 +10505,7 @@
 20
 40
 02
-e6
+e2
 d8
 e0
 00
@@ -10729,7 +10593,7 @@
 20
 40
 02
-c9
+c5
 70
 47
 9c
@@ -10753,7 +10617,7 @@
 20
 40
 05
-a2
+80
 68
 09
 47
@@ -10773,7 +10637,7 @@
 20
 40
 03
-3e
+3a
 18
 0a
 7e
@@ -10848,8 +10712,8 @@
 dd
 20
 20
-05
-03
+04
+e1
 70
 47
 9f
@@ -10857,7 +10721,7 @@
 20
 40
 02
-dd
+d9
 58
 00
 00
@@ -10873,7 +10737,7 @@
 20
 40
 05
-a9
+87
 20
 20
 7d
@@ -11821,11 +11685,11 @@
 20
 40
 05
-71
+4f
 c0
 02
 84
-c7
+a5
 20
 20
 33
@@ -12254,5 +12118,5 @@
 55
 00
 00
-ed
-c4
+a9
+ee
Index: output/program.lis
===================================================================
--- /branch/mouse_project/ZhongXinSheng/1066_M08/output/program.lis	(revision 1053)
+++ /branch/mouse_project/ZhongXinSheng/1066_M08/output/program.lis	(working copy)
@@ -5,50 +5,60 @@
 0000 20200040 branch p_patch_array 
 
 p_zcode:
-0001 204003cb call p_mouse_data_init 
+
+p_wake_from_power:
+0001 204003a9 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000cc95 store 1 ,mem_tx_power_temp 
-0004 2040070f call power_ctrl_pac_succ_cnt_init 
+0004 204006ed 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 6800cb30 fetch 1 ,mem_bt_ui_button_timeout 
 0008 6000cb31 store 1 ,mem_bt_ui_button_count 
 0009 204043ca call mouse_bt_discovery_button_down_disable 
-000a 2040079a call p_drawing_optima_init 
-000b 20000001 nop 1 
-000c 20000001 nop 1 
-000d 20000001 nop 1 
-000e 20000001 nop 1 
-000f 20000001 nop 1 
-0010 20000001 nop 1 
-0011 20000001 nop 1 
-0012 20000001 nop 1 
-0013 20000001 nop 1 
-0014 20000001 nop 1 
-0015 20000001 nop 1 
-0016 20000001 nop 1 
-0017 20000001 nop 1 
-0018 20000001 nop 1 
-0019 20000001 nop 1 
-001a 20000001 nop 1 
-001b 20000001 nop 1 
-001c 20000001 nop 1 
-001d 20000001 nop 1 
-001e 20000001 nop 1 
-001f 20000001 nop 1 
-0020 20000001 nop 1 
-0021 20000001 nop 1 
-0022 20000001 nop 1 
-0023 20000001 nop 1 
-0024 20000001 nop 1 
-0025 20000001 nop 1 
-0026 20000001 nop 1 
-0027 20000001 nop 1 
-0028 20000001 nop 1 
-0029 20000001 nop 1 
-002a 20000001 nop 1 
-002b 20000001 nop 1 
-002c 20000001 nop 1 
+000a 204002e7 call p_mouse_spi_init 
+000b 20400778 call p_drawing_optima_init 
+000c 2040000f call p_mouse_cb_fuction 
+000d 20400022 call p_mouse_wakeup_from_power 
+000e 20200319 branch p_mouse_setting_config 
+
+p_mouse_cb_fuction:
+000f 5800037f setarg p_mouse_g24_package_data 
+0010 60014d0f store 2 ,mem_cb_24g_data 
+0011 58000399 setarg p_mouse_le 
+0012 600141ef store 2 ,mem_cb_le_process 
+0013 58000636 setarg p_le_mouse_bb_event_connect_complete 
+0014 600141f9 store 2 ,mem_cb_att_write 
+0015 580003c4 setarg p_mouse_bt 
+0016 600141f1 store 2 ,mem_cb_bt_process 
+0017 58000297 setarg p_mouse_before_lpm 
+0018 600141ed store 2 ,mem_cb_before_lpm 
+0019 580003fd setarg p_mouse_priority_bb_event 
+001a 600141f5 store 2 ,mem_cb_bb_event_process 
+001b 580003e7 setarg p_mouse_idle 
+001c 600141f3 store 2 ,mem_cb_idle_process 
+001d 58000436 setarg p_mouse_before_hibernate 
+001e 600141eb store 2 ,mem_cb_before_hibernate 
+001f 5800043d setarg p_mouse_bb_event_timer 
+0020 600141fd store 2 ,mem_cb_event_timer 
+0021 20600000 rtn 
+
+p_mouse_wakeup_from_power:
+0022 58000019 setarg 25 
+0023 60014d21 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+0024 2455802a ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
+0025 204002e9 call p_mouse_init_sunt 
+0026 20400312 call p_mouse_sensor_powerdown 
+
+p_mouse_wakeup_no_from_power:
+0027 6800c71f fetch 1 ,mem_reconn_times_init 
+0028 6000c71e store 1 ,mem_reconn_times 
+0029 20600000 rtn 
+
+p_mouse_24g_transmit_by_interrupt_exit_count_max:
+002a 58000177 setarg 375 
+002b 60014d21 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
+002c 20600000 rtn 
 002d 20000001 nop 1 
 002e 20000001 nop 1 
 002f 20000001 nop 1 
@@ -72,46 +82,46 @@
 p_patch_array:
 0040 c2840057 bbit1 8 ,pf_patch_ext 
 0041 c0008073 beq patch00_1 ,p_soft_reset_1 
-0042 c042877b beq patch10_5 ,p_shutdown_radio 
-0043 c044874c beq patch11_1 ,p_set_freq_tx 
-0044 c00d8671 beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0045 c0130673 beq patch04_6 ,p_role_switch_master 
-0046 c025068e beq patch09_2 ,p_prepare_tx 
-0047 c0288697 beq patch0a_1 ,p_slave_conn_recv_packet 
-0048 c02c868c beq patch0b_1 ,p_process_dmh 
-0049 c053869c beq patch14_7 ,p_lpm_dispatch 
-004a c05686b2 beq patch15_5 ,p_lpm_set_mult 
+0042 c0428759 beq patch10_5 ,p_shutdown_radio 
+0043 c044872a beq patch11_1 ,p_set_freq_tx 
+0044 c00d864f beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0045 c0130651 beq patch04_6 ,p_role_switch_master 
+0046 c025066c beq patch09_2 ,p_prepare_tx 
+0047 c0288675 beq patch0a_1 ,p_slave_conn_recv_packet 
+0048 c02c866a beq patch0b_1 ,p_process_dmh 
+0049 c053867a beq patch14_7 ,p_lpm_dispatch 
+004a c0568690 beq patch15_5 ,p_lpm_set_mult 
 004b c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004c c07486c3 beq patch1d_1 ,p_mouse_bb_disconnected 
+004c c07486a1 beq patch1d_1 ,p_mouse_bb_disconnected 
 004d c050807c beq patch14_1 ,p_init_param 
 004e c0588081 beq patch16_1 ,p_lpm_check_wake_lock 
 004f c059008f beq patch16_2 ,p_g24_dispatch 
 0050 c06202b4 beq patch18_4 ,p_device_init 
-0051 c0718555 beq patch1c_3 ,p_mouse_seting_dpi 
-0052 c0730564 beq patch1c_6 ,p_mouse_motion 
-0053 c0750599 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0054 c07585a0 beq patch1d_3 ,p_mouse_start_discovery 
-0055 c07605ad beq patch1d_4 ,p_mouse_stop_discovery 
+0051 c0718533 beq patch1c_3 ,p_mouse_seting_dpi 
+0052 c0730542 beq patch1c_6 ,p_mouse_motion 
+0053 c0750577 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0054 c075857e beq patch1d_3 ,p_mouse_start_discovery 
+0055 c076058b beq patch1d_4 ,p_mouse_stop_discovery 
 0056 20202a8e branch loop 
 
 pf_patch_ext:
-0057 c01c85b7 beq patch27_1 ,p_le_slave_match 
-0058 c02185bf beq patch28_3 ,p_le_next_adv_channel 
-0059 c02505c5 beq patch29_2 ,p_le_receive_skip 
-005a c02b85c8 beq patch2a_7 ,p_le_update_param 
-005b c02c85ca beq patch2b_1 ,p_le_update_channel_map 
-005c c03185cc beq patch2c_3 ,p_le_prepare_tx 
-005d c03305f6 beq patch2c_6 ,p_le_parse 
-005e c033860d beq patch2c_7 ,p_le_parse_l2cap 
-005f c0350643 beq patch2d_2 ,p_le_adv_not_match 
-0060 c03b864e beq patch2e_7 ,p_le_lpm_setmult 
-0061 c00286c5 beq patch20_5 ,p_hid_rx_process 
-0062 c04006c7 beq patch30_0 ,p_parse_lmp_accepted 
-0063 c04106d1 beq patch30_2 ,p_send_lmp 
-0064 c04406d3 beq patch31_0 ,p_process_conn_sm 
-0065 c046065e beq patch31_4 ,p_twspi_reset 
-0066 c046866a beq patch31_5 ,p_spid_init 
-0067 c07d06f7 beq patch3f_2 ,p_check_51cmd_once_continue 
+0057 c01c8595 beq patch27_1 ,p_le_slave_match 
+0058 c021859d beq patch28_3 ,p_le_next_adv_channel 
+0059 c02505a3 beq patch29_2 ,p_le_receive_skip 
+005a c02b85a6 beq patch2a_7 ,p_le_update_param 
+005b c02c85a8 beq patch2b_1 ,p_le_update_channel_map 
+005c c03185aa beq patch2c_3 ,p_le_prepare_tx 
+005d c03305d4 beq patch2c_6 ,p_le_parse 
+005e c03385eb beq patch2c_7 ,p_le_parse_l2cap 
+005f c0350621 beq patch2d_2 ,p_le_adv_not_match 
+0060 c03b862c beq patch2e_7 ,p_le_lpm_setmult 
+0061 c00286a3 beq patch20_5 ,p_hid_rx_process 
+0062 c04006a5 beq patch30_0 ,p_parse_lmp_accepted 
+0063 c04106af beq patch30_2 ,p_send_lmp 
+0064 c04406b1 beq patch31_0 ,p_process_conn_sm 
+0065 c046063c beq patch31_4 ,p_twspi_reset 
+0066 c0468648 beq patch31_5 ,p_spid_init 
+0067 c07d06d5 beq patch3f_2 ,p_check_51cmd_once_continue 
 0068 20202a8e branch loop 
 
 p_rssi_signal:
@@ -130,7 +140,7 @@
 0073 d8a009ae arg mem_sp_state ,contw 
 0074 df20000c arg 12 ,loopcnt 
 0075 20407ed4 call clear_mem 
-0076 204003b2 call p_mouse_le_txbuff_load 
+0076 20400390 call p_mouse_le_txbuff_load 
 0077 20406a03 call rfcomm_init 
 0078 20405cf6 call init_lmp 
 0079 2455ac65 ncall lpm_disable_exen_output ,wake 
@@ -174,9 +184,9 @@
 0095 20400155 call p_g24_transmit_packet 
 0096 6800cbee fetch 1 ,mem_24g_pairing_sm 
 0097 c1ff8000 rtnne state_24g_pairing_success 
-0098 20400720 call power_ctrl_start 
+0098 204006fe call power_ctrl_start 
 0099 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
-009a c00083a4 beq on ,p_g24_transmit_by_interrupt_enable 
+009a c0008382 beq on ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 009b 204000c3 call p_g24_lpm_wait 
@@ -294,7 +304,7 @@
 00ed 20600000 rtn 
 
 p_g24_transmit_hop_pac_fail:
-00ee 20400716 call power_ctrl_pac_succ_decrs 
+00ee 204006f4 call power_ctrl_pac_succ_decrs 
 00ef 6800cd15 fetch 1 ,mem_24g_rf_work_stage 
 00f0 c00080f3 beq 1 ,p_g24_transmit_hop_pac_fail_wo_hop 
 00f1 c00100f7 beq 2 ,p_g24_transmit_hop_pac_fail_hop_stage2 
@@ -335,7 +345,7 @@
 0108 20200155 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-0109 20400716 call power_ctrl_pac_succ_decrs 
+0109 204006f4 call power_ctrl_pac_succ_decrs 
 010a 704d1100 jam 0 ,mem_24g_hop_fastly_cnt 
 010b 202000e1 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -412,7 +422,7 @@
 013d 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-013e 20400455 call p_mouse_24g_no_data_timer_init 
+013e 20400433 call p_mouse_24g_no_data_timer_init 
 013f 704c0a00 jam 0 ,mem_24g_abort_pac 
 0140 1a20fe01 add rega ,1 ,pdata 
 0141 6000cbde store 1 ,mem_24g_datalen 
@@ -451,7 +461,7 @@
 015c 24378180 nbranch p_g24_retransmit ,user3 
 015d 2040016c call p_g24_txbuf_clear 
 015e 2040019c call p_g24_ackpayload_parse 
-015f 20400712 call power_ctrl_pac_succ_incrs 
+015f 204006f0 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 0160 6800cbdd fetch 1 ,mem_24g_pid 
@@ -475,7 +485,7 @@
 016e 20207ec6 branch memset0 
 
 p_g24_paring_mode_start:
-016f 2040070f call power_ctrl_pac_succ_cnt_init 
+016f 204006ed call power_ctrl_pac_succ_cnt_init 
 0170 202001a5 branch p_g24_paring_mode 
 
 p_g24_transmit_receive_ack:
@@ -544,19 +554,19 @@
 
 p_g24_pairing_sm:
 01a3 7011c590 jam zcode_90 ,mem_zcode_temp_param0 
-01a4 2020077d branch p_zcode_entrance 
+01a4 2020075b branch p_zcode_entrance 
 
 p_g24_paring_mode:
 01a5 7011c591 jam zcode_91 ,mem_zcode_temp_param0 
-01a6 2020077d branch p_zcode_entrance 
+01a6 2020075b branch p_zcode_entrance 
 
 p_g24_start_24g_mode:
 01a7 7011c560 jam zcode_60 ,mem_zcode_temp_param0 
-01a8 2020077d branch p_zcode_entrance 
+01a8 2020075b branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 01a9 7011c570 jam zcode_70 ,mem_zcode_temp_param0 
-01aa 2020077d branch p_zcode_entrance 
+01aa 2020075b branch p_zcode_entrance 
 
 p_g24_check_51cmd_stop_24g:
 01ab 793f8026 set0 mark_24g ,mark 
@@ -852,7 +862,7 @@
 
 p_mouse_before_lpm:
 0297 c6130000 rtnmark1 mark_24g 
-0298 204003a8 call p_mouse_le_txbuff_save 
+0298 20400386 call p_mouse_le_txbuff_save 
 0299 204002a1 call p_mouse_setgpio_lpm 
 029a 6800c040 fetch 1 ,mem_context 
 029b c300029e bbit0 state_inconn ,p_clear_wake 
@@ -870,7 +880,7 @@
 
 p_mouse_setgpio_hibernate:
 02a3 20403ebf call mouse_lpm_before_common 
-02a4 2040031f call p_flash_ncs_disable 
+02a4 2040031b call p_flash_ncs_disable 
 02a5 68120070 hfetch 4 ,core_gpio_oe0 
 02a6 681a0078 hfetcht 4 ,core_gpio_pu0 
 02a7 98418400 ior temp ,temp 
@@ -887,1906 +897,1864 @@
 p_mouse_set_sdio_high:
 02b1 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
 02b2 207a0000 rtn blank 
-02b3 20200555 branch p_mouse_seting_sensor_type 
+02b3 20200533 branch p_mouse_seting_sensor_type 
 
 p_device_init:
 02b4 20403416 call app_lpm_mult_enable 
-02b5 203582b6 branch p_device_init_common ,wake 
+02b5 204074b9 call enable_authrom 
+02b6 203582c4 branch p_device_wake_from_lpm ,wake 
 
-p_device_init_common:
-02b6 204002b8 call p_mouse_init 
-02b7 202074b9 branch enable_authrom 
-
-p_mouse_init:
-02b8 2455831d ncall p_mouse_setting_config ,wake 
-02b9 204002eb call p_mouse_spi_init 
-02ba 20758000 rtn wake 
-02bb 2040038e call p_mouse_cb_fuction 
-02bc 20400571 call p_mouse_check_key_gpio 
-02bd c00182e4 beq mouse_lr_button ,p_mouse_24g_pairing_button 
-02be 2040037a call p_mouse_wakeup_from_power 
+p_device_wake_from_power:
+02b7 20400001 call p_wake_from_power 
+02b8 2040054f call p_mouse_check_key_gpio 
+02b9 c00182e0 beq mouse_lr_button ,p_mouse_24g_pairing_button 
 
 p_mouse_check_reconn_target:
-02bf 204002c9 call p_mouse_tx_power_init 
-02c0 6800c720 fetch 1 ,mem_device_flag 
-02c1 6808c703 fetcht 1 ,mem_24g_device_number 
-02c2 98467c00 isub temp ,null 
-02c3 202282ce branch p_mouse_connect_24g_mode ,zero 
-02c4 204004fe call p_mouse_mode_bt_device1_multi_led_on 
-02c5 6800c210 fetch 1 ,mem_xrecord_mode 
-02c6 c01982d0 beq rec_3_mode ,p_mouse3_0_check_reconn_target 
-02c7 c01a02d3 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
-02c8 202004c7 branch p_mouse_null_enter_hibernate_enable 
+02ba 204002c5 call p_mouse_tx_power_init 
+02bb 6800c720 fetch 1 ,mem_device_flag 
+02bc 6808c703 fetcht 1 ,mem_24g_device_number 
+02bd 98467c00 isub temp ,null 
+02be 202282ca branch p_mouse_connect_24g_mode ,zero 
+02bf 204004dc call p_mouse_mode_bt_device1_multi_led_on 
+02c0 6800c210 fetch 1 ,mem_xrecord_mode 
+02c1 c01982cc beq rec_3_mode ,p_mouse3_0_check_reconn_target 
+02c2 c01a02cf beq rec_4_mode ,p_mouse4_0_check_reconn_target 
+02c3 202004a5 branch p_mouse_null_enter_hibernate_enable 
+
+p_device_wake_from_lpm:
+02c4 202002e7 branch p_mouse_spi_init 
 
 p_mouse_tx_power_init:
-02c9 6800cc95 fetch 1 ,mem_tx_power_temp 
-02ca 6000c1de store 1 ,mem_tx_power 
-02cb 20600000 rtn 
+02c5 6800cc95 fetch 1 ,mem_tx_power_temp 
+02c6 6000c1de store 1 ,mem_tx_power 
+02c7 20600000 rtn 
 
 p_mouse_check_select_device_by_switch:
-02cc 6800c6f5 fetch 1 ,mem_config_function_enable 
-02cd 20204360 branch mouse_cheak_select_device_by_switch + 1 
+02c8 6800c6f5 fetch 1 ,mem_config_function_enable 
+02c9 20204360 branch mouse_cheak_select_device_by_switch + 1 
 
 p_mouse_connect_24g_mode:
-02ce 204004fe call p_mouse_mode_24g_device_multi_led_on 
-02cf 20200382 branch p_mouse_start_24g_mode 
+02ca 204004dc call p_mouse_mode_24g_device_multi_led_on 
+02cb 20200373 branch p_mouse_start_24g_mode 
 
 p_mouse3_0_check_reconn_target:
-02d0 680341d0 fetch 6 ,mem_hci_plap 
-02d1 203a33eb branch app_bt_start_discovery_short ,blank 
-02d2 20204274 branch mouse3_0_check_reconn_target + 3 
+02cc 680341d0 fetch 6 ,mem_hci_plap 
+02cd 203a33eb branch app_bt_start_discovery_short ,blank 
+02ce 20204274 branch mouse3_0_check_reconn_target + 3 
 
 p_mouse4_0_check_reconn_target:
-02d3 70479f01 jam 1 ,mem_mouse_le_reconnect_flag 
-02d4 680146a8 fetch 2 ,mem_mouse_direct_timeout 
-02d5 600146ae store 2 ,mem_mouse_direct_timer 
-02d6 20403418 call app_lpm_mult_disable 
-02d7 204002dd call p_le_check_adv_flag 
-02d8 58000004 setarg adv_flag_bredr_not_supported 
-02d9 e0c08000 istore 1 ,contr 
-02da d8c04390 arg mem_le_scan_data ,contr 
-02db 204005a9 call p_le_adv_data_update 
-02dc 20207df4 branch check_51cmd_adv 
+02cf 70479f01 jam 1 ,mem_mouse_le_reconnect_flag 
+02d0 680146a8 fetch 2 ,mem_mouse_direct_timeout 
+02d1 600146ae store 2 ,mem_mouse_direct_timer 
+02d2 20403418 call app_lpm_mult_disable 
+02d3 204002d9 call p_le_check_adv_flag 
+02d4 58000004 setarg adv_flag_bredr_not_supported 
+02d5 e0c08000 istore 1 ,contr 
+02d6 d8c04390 arg mem_le_scan_data ,contr 
+02d7 20400587 call p_le_adv_data_update 
+02d8 20207df4 branch check_51cmd_adv 
 
 p_le_check_adv_flag:
-02dd da204370 arg mem_le_adv_data ,rega 
+02d9 da204370 arg mem_le_adv_data ,rega 
 
 p_le_check_adv_flag_loop:
-02de ea208000 ifetch 1 ,rega 
-02df 207a0000 rtn blank 
-02e0 98c0a200 iadd contr ,rega 
-02e1 e8c08000 ifetch 1 ,contr 
-02e2 c1008000 rtneq 0x01 
-02e3 202002de branch p_le_check_adv_flag_loop 
+02da ea208000 ifetch 1 ,rega 
+02db 207a0000 rtn blank 
+02dc 98c0a200 iadd contr ,rega 
+02dd e8c08000 ifetch 1 ,contr 
+02de c1008000 rtneq 0x01 
+02df 202002da branch p_le_check_adv_flag_loop 
 
 p_mouse_24g_pairing_button:
-02e4 7011c561 jam zcode_61 ,mem_zcode_temp_param0 
-02e5 2020077d branch p_zcode_entrance 
+02e0 7011c561 jam zcode_61 ,mem_zcode_temp_param0 
+02e1 2020075b branch p_zcode_entrance 
 
 p_mouse_devce_led_off:
-02e6 20404489 call mouse_device1_led_on 
-02e7 2040448c call mouse_device2_led_on 
-02e8 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
-02e9 6000c715 store 1 ,mem_mouse_struct_led_gpio 
-02ea 20204298 branch mouse_led_on 
+02e2 20404489 call mouse_device1_led_on 
+02e3 2040448c call mouse_device2_led_on 
+02e4 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
+02e5 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+02e6 20204298 branch mouse_led_on 
 
 p_mouse_spi_init:
-02eb 70421276 jam 0x76 ,mem_spi_init_clk 
-02ec 20203d36 branch mouse_spi_init 
+02e7 70421276 jam 0x76 ,mem_spi_init_clk 
+02e8 20203d36 branch mouse_spi_init 
 
 p_mouse_init_sunt:
-02ed 204002eb call p_mouse_spi_init 
-02ee 204040c0 call mouse_spi_sdio_gpio_pollup 
+02e9 204002e7 call p_mouse_spi_init 
+02ea 204040c0 call mouse_spi_sdio_gpio_pollup 
 
 p_mouse_init_sensor:
-02ef 204040d9 call mouse_read_sensor_id 
-02f0 c01802f9 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-02f1 c0188305 beq p3065_id1 ,p_mouse_p3065_init_param 
-02f2 204040d1 call mouse_twspi_reset 
-02f3 200003e8 nop 1000 
-02f4 202002ef branch p_mouse_init_sensor 
+02eb 204040d9 call mouse_read_sensor_id 
+02ec c01802f5 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+02ed c0188301 beq p3065_id1 ,p_mouse_p3065_init_param 
+02ee 204040d1 call mouse_twspi_reset 
+02ef 200003e8 nop 1000 
+02f0 202002eb branch p_mouse_init_sensor 
 
 p_mouse_init_sensor_reset:
-02f5 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
-02f6 2040640f call spi_ncs_enable 
-02f7 204002ed call p_mouse_init_sunt 
-02f8 20206411 branch spi_ncs_disable 
+02f1 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
+02f2 2040640f call spi_ncs_enable 
+02f3 204002e9 call p_mouse_init_sunt 
+02f4 20206411 branch spi_ncs_disable 
 
 p_mouse_init_p32xx_id2_judge:
-02f9 2040030c call p_mouse_sensor_poweron 
-02fa 6800c6de fetch 1 ,mem_sensor_id2 
-02fb c02d02fd beq ma8650_id2 ,p_mouse_ma8650_init_param 
-02fc 202040e1 branch mouse_init_p32xx_id2_judge + 1 
+02f5 20400308 call p_mouse_sensor_poweron 
+02f6 6800c6de fetch 1 ,mem_sensor_id2 
+02f7 c02d02f9 beq ma8650_id2 ,p_mouse_ma8650_init_param 
+02f8 202040e1 branch mouse_init_p32xx_id2_judge + 1 
 
 p_mouse_ma8650_init_param:
-02fd 58008006 setarg 0x8006 
-02fe 20406413 call twspi_write 
-02ff 20407ec1 call delay_10ms 
-0300 7046e007 jam ma8650 ,mem_config_sensor_type 
-0301 204040f6 call mouse_sensor_disable_wp 
-0302 5800220a setarg 0x220a 
-0303 20406413 call twspi_write 
-0304 202040f4 branch mouse_sensor_enable_wp 
+02f9 58008006 setarg 0x8006 
+02fa 20406413 call twspi_write 
+02fb 20407ec1 call delay_10ms 
+02fc 7046e007 jam ma8650 ,mem_config_sensor_type 
+02fd 204040f6 call mouse_sensor_disable_wp 
+02fe 5800220a setarg 0x220a 
+02ff 20406413 call twspi_write 
+0300 202040f4 branch mouse_sensor_enable_wp 
 
 p_mouse_p3065_init_param:
-0305 2040030c call p_mouse_sensor_poweron 
-0306 6800c6de fetch 1 ,mem_sensor_id2 
-0307 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
-0308 7046e001 jam p3065 ,mem_config_sensor_type 
-0309 20600000 rtn 
+0301 20400308 call p_mouse_sensor_poweron 
+0302 6800c6de fetch 1 ,mem_sensor_id2 
+0303 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+0304 7046e001 jam p3065 ,mem_config_sensor_type 
+0305 20600000 rtn 
 
 p_mouse_clear_sensor_data:
-030a 20405814 call le_set_config_more_data 
-030b 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0306 20405814 call le_set_config_more_data 
+0307 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
 
 p_mouse_sensor_poweron:
-030c 204002eb call p_mouse_spi_init 
-030d 58008006 setarg 0x8006 
-030e 20406413 call twspi_write 
-030f 20002ee0 nop 12000 
+0308 204002e7 call p_mouse_spi_init 
+0309 58008006 setarg 0x8006 
+030a 20406413 call twspi_write 
+030b 20002ee0 nop 12000 
 
 p_mouse_dpi_config:
-0310 6800c77a fetch 1 ,mem_mouse_dpi 
-0311 c07f8313 beq 0xff ,p_mouse_dpi_config_default 
-0312 20200555 branch p_mouse_seting_dpi 
+030c 6800c77a fetch 1 ,mem_mouse_dpi 
+030d c07f830f beq 0xff ,p_mouse_dpi_config_default 
+030e 20200533 branch p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
-0313 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0314 6000c77a store 1 ,mem_mouse_dpi 
-0315 20200555 branch p_mouse_seting_dpi 
+030f 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0310 6000c77a store 1 ,mem_mouse_dpi 
+0311 20200533 branch p_mouse_seting_dpi 
 
 p_mouse_sensor_powerdown:
-0316 204002eb call p_mouse_spi_init 
-0317 58000006 setarg 0x06 
-0318 20406414 call twspi_read 
-0319 1fe1fe08 or pdata ,0x08 ,pdata 
-031a 1fed7e00 lshift8 pdata ,pdata 
-031b 1fe0fe06 add pdata ,0x06 ,pdata 
-031c 20206413 branch twspi_write 
+0312 204002e7 call p_mouse_spi_init 
+0313 58000006 setarg 0x06 
+0314 20406414 call twspi_read 
+0315 1fe1fe08 or pdata ,0x08 ,pdata 
+0316 1fed7e00 lshift8 pdata ,pdata 
+0317 1fe0fe06 add pdata ,0x06 ,pdata 
+0318 20206413 branch twspi_write 
 
 p_mouse_setting_config:
-031d 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
-031e 2020077d branch p_zcode_entrance 
+0319 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
+031a 2020075b branch p_zcode_entrance 
 
 p_flash_ncs_disable:
-031f 6808cb43 fetcht 1 ,mem_flash_ncs_gpio 
-0320 20206825 branch gpio_out_inactive 
+031b 6808cb43 fetcht 1 ,mem_flash_ncs_gpio 
+031c 20206825 branch gpio_out_inactive 
 
 p_spid_init_flash:
-0321 70808640 jam 0x40 ,core_spid_ctrl 
-0322 70808700 jam 0x0 ,core_spid_delay 
-0323 68108081 hfetch 1 ,core_gpio_sel1 
-0324 793ffe00 set0 0 ,pdata 
-0325 793ffe01 set0 1 ,pdata 
-0326 79207e03 set1 3 ,pdata 
-0327 793ffe04 set0 4 ,pdata 
-0328 60108081 hstore 1 ,core_gpio_sel1 
-0329 58000000 setarg 0 
-032a 600201f5 store 4 ,mem_spid_tbuf 
-032b 20600000 rtn 
+031d 70808640 jam 0x40 ,core_spid_ctrl 
+031e 70808700 jam 0x0 ,core_spid_delay 
+031f 68108081 hfetch 1 ,core_gpio_sel1 
+0320 793ffe00 set0 0 ,pdata 
+0321 793ffe01 set0 1 ,pdata 
+0322 79207e03 set1 3 ,pdata 
+0323 793ffe04 set0 4 ,pdata 
+0324 60108081 hstore 1 ,core_gpio_sel1 
+0325 58000000 setarg 0 
+0326 600201f5 store 4 ,mem_spid_tbuf 
+0327 20600000 rtn 
 
 p_mouse_load_flash_info_check:
-032c 20400375 call p_flash_release_deep_power_down 
-032d 20404423 call mouse_load_flash_flag 
-032e 68014778 fetch 2 ,mem_store_flag 
-032f d840aa55 arg eeprom_init_flag ,temp 
-0330 98467c00 isub temp ,null 
-0331 20228368 branch p_mouse_load_flash_device_info ,zero 
-0332 60094778 storet 2 ,mem_store_flag 
-0333 2040441c call mouse_ble_init_address 
-0334 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0335 6000c77a store 1 ,mem_mouse_dpi 
-0336 68024b4a fetch 4 ,mem_mouse_24g_addr_init 
-0337 6002477b store 4 ,mem_mouse_24g_addr 
-0338 60024c06 store 4 ,mem_24g_addr 
+0328 20400371 call p_flash_release_deep_power_down 
+0329 20404423 call mouse_load_flash_flag 
+032a 68014778 fetch 2 ,mem_store_flag 
+032b d840aa55 arg eeprom_init_flag ,temp 
+032c 98467c00 isub temp ,null 
+032d 20228364 branch p_mouse_load_flash_device_info ,zero 
+032e 60094778 storet 2 ,mem_store_flag 
+032f 2040441c call mouse_ble_init_address 
+0330 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0331 6000c77a store 1 ,mem_mouse_dpi 
+0332 68024b4a fetch 4 ,mem_mouse_24g_addr_init 
+0333 6002477b store 4 ,mem_mouse_24g_addr 
+0334 60024c06 store 4 ,mem_24g_addr 
 
 p_mouse_store_flash_device_info:
-0339 20400375 call p_flash_release_deep_power_down 
-033a 20400347 call p_flash_erase_sector 
-033b 2040035f call p_mouse_information_flash_parameters 
-033c 2040034b call p_spid_write_flash 
-033d 20400356 call p_wait_flash_done 
+0335 20400371 call p_flash_release_deep_power_down 
+0336 20400343 call p_flash_erase_sector 
+0337 2040035b call p_mouse_information_flash_parameters 
+0338 20400347 call p_spid_write_flash 
+0339 20400352 call p_wait_flash_done 
 
 p_mouse_store_random_addr_increase_count:
-033e d8400002 arg 2 ,temp 
-033f da2047c2 arg mem_random_addr_increase_count ,rega 
-0340 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-0341 6801c700 fetch 3 ,mem_flash_base 
-0342 9a40fe00 iadd regb ,pdata 
-0343 2040034b call p_spid_write_flash 
-0344 20400356 call p_wait_flash_done 
-0345 2040036f call p_flash_deep_power_down 
-0346 202002eb branch p_mouse_spi_init 
+033a d8400002 arg 2 ,temp 
+033b da2047c2 arg mem_random_addr_increase_count ,rega 
+033c da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+033d 6801c700 fetch 3 ,mem_flash_base 
+033e 9a40fe00 iadd regb ,pdata 
+033f 20400347 call p_spid_write_flash 
+0340 20400352 call p_wait_flash_done 
+0341 2040036b call p_flash_deep_power_down 
+0342 202002e7 branch p_mouse_spi_init 
 
 p_flash_erase_sector:
-0347 6801c700 fetch 3 ,mem_flash_base 
-0348 6001c232 store 3 ,mem_spi_write_addr 
-0349 2040652a call flash_erase_sector + 2 
-034a 20200356 branch p_wait_flash_done 
+0343 6801c700 fetch 3 ,mem_flash_base 
+0344 6001c232 store 3 ,mem_spi_write_addr 
+0345 2040652a call flash_erase_sector + 2 
+0346 20200352 branch p_wait_flash_done 
 
 p_spid_write_flash:
-034b 1fe22600 copy pdata ,regc 
-034c 1a227e00 copy rega ,pdata 
-034d 1fe0fffc increase -4 ,pdata 
-034e 1fe22400 copy pdata ,regb 
-034f ea420000 ifetch 4 ,regb 
-0350 60024b45 store 4 ,mem_write_flash_head_temp 
-0351 1a627e00 copy regc ,pdata 
-0352 20406552 call spid_write_flash 
-0353 68024b45 fetch 4 ,mem_write_flash_head_temp 
-0354 e2420000 istore 4 ,regb 
-0355 20600000 rtn 
+0347 1fe22600 copy pdata ,regc 
+0348 1a227e00 copy rega ,pdata 
+0349 1fe0fffc increase -4 ,pdata 
+034a 1fe22400 copy pdata ,regb 
+034b ea420000 ifetch 4 ,regb 
+034c 60024b45 store 4 ,mem_write_flash_head_temp 
+034d 1a627e00 copy regc ,pdata 
+034e 20406552 call spid_write_flash 
+034f 68024b45 fetch 4 ,mem_write_flash_head_temp 
+0350 e2420000 istore 4 ,regb 
+0351 20600000 rtn 
 
 p_wait_flash_done:
-0356 580186a0 setarg 100000 
-0357 20402a8f call sleep 
-0358 2040650b call spid_unlock_flash 
-0359 580001fa setarg mem_spid_rbuf 
-035a 6011008c hstore 2 ,core_spid_rxaddr 
-035b 58000005 setarg flash_read_satus 
-035c 204064f3 call spid_read_reg 
-035d c2800356 bbit1 flash_status_wip ,p_wait_flash_done 
-035e 20600000 rtn 
+0352 580186a0 setarg 100000 
+0353 20402a8f call sleep 
+0354 2040650b call spid_unlock_flash 
+0355 580001fa setarg mem_spid_rbuf 
+0356 6011008c hstore 2 ,core_spid_rxaddr 
+0357 58000005 setarg flash_read_satus 
+0358 204064f3 call spid_read_reg 
+0359 c2800352 bbit1 flash_status_wip ,p_wait_flash_done 
+035a 20600000 rtn 
 
 p_mouse_information_flash_parameters:
-035f 5800477f setarg mem_mouse_information_end 
-0360 d8404720 arg mem_mouse_information_start ,temp 
-0361 98460400 isub temp ,temp 
-0362 6801c700 fetch 3 ,mem_flash_base 
-0363 da204720 arg mem_mouse_information_start ,rega 
-0364 20600000 rtn 
+035b 5800477f setarg mem_mouse_information_end 
+035c d8404720 arg mem_mouse_information_start ,temp 
+035d 98460400 isub temp ,temp 
+035e 6801c700 fetch 3 ,mem_flash_base 
+035f da204720 arg mem_mouse_information_start ,rega 
+0360 20600000 rtn 
 
 p_mouse_read_flash:
-0365 20400375 call p_flash_release_deep_power_down 
-0366 2040035f call p_mouse_information_flash_parameters 
-0367 20206562 branch spid_read_flash 
+0361 20400371 call p_flash_release_deep_power_down 
+0362 2040035b call p_mouse_information_flash_parameters 
+0363 20206562 branch spid_read_flash 
 
 p_mouse_load_flash_device_info:
-0368 20400365 call p_mouse_read_flash 
-0369 204005a2 call p_mouse_load_random_addr_increase_count 
-036a 204002cc call p_mouse_check_select_device_by_switch 
-036b 2040431a call mouse_select_reconn_device 
-036c 6802477b fetch 4 ,mem_mouse_24g_addr 
-036d 60024c06 store 4 ,mem_24g_addr 
-036e 20600000 rtn 
+0364 20400361 call p_mouse_read_flash 
+0365 20400580 call p_mouse_load_random_addr_increase_count 
+0366 204002c8 call p_mouse_check_select_device_by_switch 
+0367 2040431a call mouse_select_reconn_device 
+0368 6802477b fetch 4 ,mem_mouse_24g_addr 
+0369 60024c06 store 4 ,mem_24g_addr 
+036a 20600000 rtn 
 
 p_flash_deep_power_down:
-036f 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
+036b 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
 
 p_spid_write_flash_cmd:
-0370 20400321 call p_spid_init_flash 
-0371 2040650b call spid_unlock_flash 
-0372 da204b45 arg mem_write_flash_head_temp ,rega 
-0373 68088aa2 fetcht 1 ,mem_temp 
-0374 20206556 branch spid_write_flash_common 
+036c 2040031d call p_spid_init_flash 
+036d 2040650b call spid_unlock_flash 
+036e da204b45 arg mem_write_flash_head_temp ,rega 
+036f 68088aa2 fetcht 1 ,mem_temp 
+0370 20206556 branch spid_write_flash_common 
 
 p_flash_release_deep_power_down:
-0375 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
-0376 20200370 branch p_spid_write_flash_cmd 
-
-p_mouse_24g_transmit_by_interrupt_exit_count_max:
-0377 58000177 setarg 375 
-0378 60014d21 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-0379 20600000 rtn 
-
-p_mouse_wakeup_from_power:
-037a 58000019 setarg 25 
-037b 60014d21 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
-037c 24558377 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
-037d 204002ed call p_mouse_init_sunt 
-037e 20400316 call p_mouse_sensor_powerdown 
-
-p_mouse_wakeup_no_from_power:
-037f 6800c71f fetch 1 ,mem_reconn_times_init 
-0380 6000c71e store 1 ,mem_reconn_times 
-0381 20600000 rtn 
+0371 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
+0372 2020036c branch p_spid_write_flash_cmd 
 
 p_mouse_start_24g_mode:
-0382 20400385 call p_g24_factory_check 
-0383 203401a9 branch p_g24_auto_pair_start ,user 
-0384 202001a7 branch p_g24_start_24g_mode 
+0373 20400376 call p_g24_factory_check 
+0374 203401a9 branch p_g24_auto_pair_start ,user 
+0375 202001a7 branch p_g24_start_24g_mode 
 
 p_g24_factory_check:
-0385 df200002 arg 2 ,loopcnt 
-0386 d8c04c06 arg mem_24g_addr ,contr 
+0376 df200002 arg 2 ,loopcnt 
+0377 d8c04c06 arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
-0387 20407fe7 call enable_user 
-0388 5800ffff setarg 0xffff 
+0378 20407fe7 call enable_user 
+0379 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-0389 e8c90000 ifetcht 2 ,contr 
-038a 98467c00 isub temp ,null 
-038b 2442ffe9 ncall disable_user ,zero 
-038c c2000389 loop p_pdata_0xff_check_loop 
-038d 20600000 rtn 
-
-p_mouse_cb_fuction:
-038e 580003a1 setarg p_mouse_g24_package_data 
-038f 60014d0f store 2 ,mem_cb_24g_data 
-0390 580003bb setarg p_mouse_le 
-0391 600141ef store 2 ,mem_cb_le_process 
-0392 58000658 setarg p_le_mouse_bb_event_connect_complete 
-0393 600141f9 store 2 ,mem_cb_att_write 
-0394 580003e6 setarg p_mouse_bt 
-0395 600141f1 store 2 ,mem_cb_bt_process 
-0396 58000297 setarg p_mouse_before_lpm 
-0397 600141ed store 2 ,mem_cb_before_lpm 
-0398 5800041f setarg p_mouse_priority_bb_event 
-0399 600141f5 store 2 ,mem_cb_bb_event_process 
-039a 58000409 setarg p_mouse_idle 
-039b 600141f3 store 2 ,mem_cb_idle_process 
-039c 58000458 setarg p_mouse_before_hibernate 
-039d 600141eb store 2 ,mem_cb_before_hibernate 
-039e 5800045f setarg p_mouse_bb_event_timer 
-039f 600141fd store 2 ,mem_cb_event_timer 
-03a0 20600000 rtn 
+037a e8c90000 ifetcht 2 ,contr 
+037b 98467c00 isub temp ,null 
+037c 2442ffe9 ncall disable_user ,zero 
+037d c200037a loop p_pdata_0xff_check_loop 
+037e 20600000 rtn 
 
 p_mouse_g24_package_data:
-03a1 20404401 call mouse_g24_package_data 
-03a2 6801469f fetch 2 ,mem_mouse_z 
-03a3 207a0000 rtn blank 
+037f 20404401 call mouse_g24_package_data 
+0380 6801469f fetch 2 ,mem_mouse_z 
+0381 207a0000 rtn blank 
 
 p_g24_transmit_by_interrupt_enable:
-03a4 704d1e01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-03a5 58000000 setarg 0 
-03a6 60014d1f store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-03a7 20600000 rtn 
+0382 704d1e01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0383 58000000 setarg 0 
+0384 60014d1f store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0385 20600000 rtn 
 
 p_mouse_le_txbuff_save:
-03a8 d8c01800 arg mem_le_tx_buffer0 ,contr 
-03a9 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
-03aa 204003b0 call p_mouse_le_txbuff_copy 
-03ab d8c01900 arg mem_le_tx_buffer1 ,contr 
-03ac 204003b0 call p_mouse_le_txbuff_copy 
-03ad d8c01a00 arg mem_le_tx_buffer2 ,contr 
-03ae 204003b0 call p_mouse_le_txbuff_copy 
-03af d8c01b00 arg mem_le_tx_buffer3 ,contr 
+0386 d8c01800 arg mem_le_tx_buffer0 ,contr 
+0387 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
+0388 2040038e call p_mouse_le_txbuff_copy 
+0389 d8c01900 arg mem_le_tx_buffer1 ,contr 
+038a 2040038e call p_mouse_le_txbuff_copy 
+038b d8c01a00 arg mem_le_tx_buffer2 ,contr 
+038c 2040038e call p_mouse_le_txbuff_copy 
+038d d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-03b0 df20001b arg 27 ,loopcnt 
-03b1 20207f01 branch memcpy 
+038e df20001b arg 27 ,loopcnt 
+038f 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-03b2 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
-03b3 d8a01800 arg mem_le_tx_buffer0 ,contw 
-03b4 204003b0 call p_mouse_le_txbuff_copy 
-03b5 d8a01900 arg mem_le_tx_buffer1 ,contw 
-03b6 204003b0 call p_mouse_le_txbuff_copy 
-03b7 d8a01a00 arg mem_le_tx_buffer2 ,contw 
-03b8 204003b0 call p_mouse_le_txbuff_copy 
-03b9 d8a01b00 arg mem_le_tx_buffer3 ,contw 
-03ba 202003b0 branch p_mouse_le_txbuff_copy 
+0390 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
+0391 d8a01800 arg mem_le_tx_buffer0 ,contw 
+0392 2040038e call p_mouse_le_txbuff_copy 
+0393 d8a01900 arg mem_le_tx_buffer1 ,contw 
+0394 2040038e call p_mouse_le_txbuff_copy 
+0395 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+0396 2040038e call p_mouse_le_txbuff_copy 
+0397 d8a01b00 arg mem_le_tx_buffer3 ,contw 
+0398 2020038e branch p_mouse_le_txbuff_copy 
 
 p_mouse_le:
-03bb 20405892 call le_fifo_check_nearly_full 
-03bc 247a0000 nrtn blank 
-03bd 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03be 1fe17e03 and pdata ,0x03 ,pdata 
-03bf c1818000 rtnne 0x03 
-03c0 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03c1 205a030a call p_mouse_clear_sensor_data ,blank 
-03c2 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03c3 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-03c4 20403f97 call mouse_motion 
-03c5 24740000 nrtn user 
-03c6 204003e1 call p_mouse_wheel_trigger 
+0399 20405892 call le_fifo_check_nearly_full 
+039a 247a0000 nrtn blank 
+039b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+039c 1fe17e03 and pdata ,0x03 ,pdata 
+039d c1818000 rtnne 0x03 
+039e 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+039f 205a0306 call p_mouse_clear_sensor_data ,blank 
+03a0 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03a1 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03a2 20403f97 call mouse_motion 
+03a3 24740000 nrtn user 
+03a4 204003bf call p_mouse_wheel_trigger 
 
 p_mouse_data_push:
-03c7 da20469a arg mem_mouse_key ,rega 
-03c8 20407e3d call queue_push 
-03c9 205403d0 call p_mouse_queue_increase ,user 
-03ca 20600000 rtn 
+03a5 da20469a arg mem_mouse_key ,rega 
+03a6 20407e3d call queue_push 
+03a7 205403ae call p_mouse_queue_increase ,user 
+03a8 20600000 rtn 
 
 p_mouse_data_init:
-03cb 7047a007 jam 7 ,mem_mouse_data_queue 
-03cc 7047a104 jam 4 ,mem_mouse_data_queue + 1 
-03cd 580047a0 setarg mem_mouse_data_queue 
-03ce 60014218 store 2 ,mem_queue_ptr 
-03cf 20207e38 branch queue_init 
+03a9 7047a007 jam 7 ,mem_mouse_data_queue 
+03aa 7047a104 jam 4 ,mem_mouse_data_queue + 1 
+03ab 580047a0 setarg mem_mouse_data_queue 
+03ac 60014218 store 2 ,mem_queue_ptr 
+03ad 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-03d0 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-03d1 1fe0fe01 increase 1 ,pdata 
-03d2 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-03d3 20600000 rtn 
+03ae 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03af 1fe0fe01 increase 1 ,pdata 
+03b0 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+03b1 20600000 rtn 
 
 p_mouse_data_pull:
-03d4 da20469a arg mem_mouse_key ,rega 
-03d5 20407e54 call queue_pop 
-03d6 203403d8 branch p_mouse_fill_data_le ,user 
-03d7 20600000 rtn 
+03b2 da20469a arg mem_mouse_key ,rega 
+03b3 20407e54 call queue_pop 
+03b4 203403b6 branch p_mouse_fill_data_le ,user 
+03b5 20600000 rtn 
 
 p_mouse_fill_data_le:
-03d8 20405652 call le_clear_md 
-03d9 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-03da 1fe67c01 sub pdata ,1 ,null 
-03db 24415650 ncall le_set_md ,positive 
-03dc 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-03dd 207a0000 rtn blank 
-03de 1fe0ffff increase -1 ,pdata 
-03df 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-03e0 20203f90 branch mouse_fill_data_le 
+03b6 20405652 call le_clear_md 
+03b7 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03b8 1fe67c01 sub pdata ,1 ,null 
+03b9 24415650 ncall le_set_md ,positive 
+03ba 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03bb 207a0000 rtn blank 
+03bc 1fe0ffff increase -1 ,pdata 
+03bd 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+03be 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-03e1 6801469f fetch 2 ,mem_mouse_z 
-03e2 207a0000 rtn blank 
-03e3 70480601 jam 1 ,mem_mouse_wheel_trigger 
-03e4 70480702 jam 2 ,mem_mouse_wheel_trigger_timer 
-03e5 20600000 rtn 
+03bf 6801469f fetch 2 ,mem_mouse_z 
+03c0 207a0000 rtn blank 
+03c1 70480601 jam 1 ,mem_mouse_wheel_trigger 
+03c2 70480702 jam 2 ,mem_mouse_wheel_trigger_timer 
+03c3 20600000 rtn 
 
 p_mouse_bt:
-03e6 20770000 rtn attempt 
-03e7 6800c1e2 fetch 1 ,mem_app_handshake_flag 
-03e8 207a0000 rtn blank 
-03e9 20405271 call l2cap_malloc_is_fifo_nearly_full 
-03ea 247a0000 nrtn blank 
-03eb 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03ec 205a030a call p_mouse_clear_sensor_data ,blank 
-03ed 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03ee c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
-03ef c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
-03f0 20403f97 call mouse_motion 
-03f1 24740000 nrtn user 
-03f2 204003e1 call p_mouse_wheel_trigger 
-03f3 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
-03f4 c00083f8 beq 1 ,p_mouse_send_data_boot_mode 
-03f5 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
-03f6 207a0000 rtn blank 
-03f7 20203f81 branch mouse_send_data 
+03c4 20770000 rtn attempt 
+03c5 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+03c6 207a0000 rtn blank 
+03c7 20405271 call l2cap_malloc_is_fifo_nearly_full 
+03c8 247a0000 nrtn blank 
+03c9 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03ca 205a0306 call p_mouse_clear_sensor_data ,blank 
+03cb 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03cc c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+03cd c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+03ce 20403f97 call mouse_motion 
+03cf 24740000 nrtn user 
+03d0 204003bf call p_mouse_wheel_trigger 
+03d1 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
+03d2 c00083d6 beq 1 ,p_mouse_send_data_boot_mode 
+03d3 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
+03d4 207a0000 rtn blank 
+03d5 20203f81 branch mouse_send_data 
 
 p_mouse_send_data_boot_mode:
-03f8 6800c69a fetch 1 ,mem_mouse_key 
-03f9 6000cb04 store 1 ,mem_mouse_bt_boot_data 
-03fa 6800c69b fetch 1 ,mem_mouse_x 
-03fb e0a08000 istore 1 ,contw 
-03fc 6800c69d fetch 1 ,mem_mouse_y 
-03fd e0a08000 istore 1 ,contw 
-03fe 6801469f fetch 2 ,mem_mouse_z 
-03ff e0a10000 istore 2 ,contw 
-0400 da200007 arg 7 ,rega 
-0401 20404d63 call hid_malloc_tx_buff 
-0402 6801424e fetch 2 ,mem_hid_int_remote_cid 
-0403 e0a10000 istore 2 ,contw 
-0404 580002a1 setarg 0x02a1 
-0405 e0a10000 istore 2 ,contw 
-0406 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
-0407 e0a28000 istore 5 ,contw 
-0408 20600000 rtn 
+03d6 6800c69a fetch 1 ,mem_mouse_key 
+03d7 6000cb04 store 1 ,mem_mouse_bt_boot_data 
+03d8 6800c69b fetch 1 ,mem_mouse_x 
+03d9 e0a08000 istore 1 ,contw 
+03da 6800c69d fetch 1 ,mem_mouse_y 
+03db e0a08000 istore 1 ,contw 
+03dc 6801469f fetch 2 ,mem_mouse_z 
+03dd e0a10000 istore 2 ,contw 
+03de da200007 arg 7 ,rega 
+03df 20404d63 call hid_malloc_tx_buff 
+03e0 6801424e fetch 2 ,mem_hid_int_remote_cid 
+03e1 e0a10000 istore 2 ,contw 
+03e2 580002a1 setarg 0x02a1 
+03e3 e0a10000 istore 2 ,contw 
+03e4 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
+03e5 e0a28000 istore 5 ,contw 
+03e6 20600000 rtn 
 
 p_mouse_idle:
-0409 20407e34 call ui_check_paring_button 
-040a 20203ee0 branch mouse_wheel_check 
+03e7 20407e34 call ui_check_paring_button 
+03e8 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-040b 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-040c 20400588 call p_gpio_set_input_pd 
-040d 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-040e 2040681d call gpio_get_bit 
-040f 2020841d branch p_mouse_dpi_up ,true 
-0410 20400591 call p_gpio_set_input_pu 
+03e9 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+03ea 20400566 call p_gpio_set_input_pd 
+03eb 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+03ec 2040681d call gpio_get_bit 
+03ed 202083fb branch p_mouse_dpi_up ,true 
+03ee 2040056f call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
-0411 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-0412 c1000000 rtneq dpi_button_state_down 
-0413 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-0414 6800c77a fetch 1 ,mem_mouse_dpi 
-0415 1fe0fe01 increase 1 ,pdata 
-0416 1fe17e03 and pdata ,0x03 ,pdata 
-0417 6000c77a store 1 ,mem_mouse_dpi 
-0418 1fe0fe02 increase 2 ,pdata 
-0419 60014b2c store 2 ,mem_mouse_multi_led_blink_count 
-041a 2040050f call p_mouse_dpi_multi_led_blink 
-041b 20403d7e call mouse_seting_dpi 
-041c 20200339 branch p_mouse_store_flash_device_info 
+03ef 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+03f0 c1000000 rtneq dpi_button_state_down 
+03f1 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+03f2 6800c77a fetch 1 ,mem_mouse_dpi 
+03f3 1fe0fe01 increase 1 ,pdata 
+03f4 1fe17e03 and pdata ,0x03 ,pdata 
+03f5 6000c77a store 1 ,mem_mouse_dpi 
+03f6 1fe0fe02 increase 2 ,pdata 
+03f7 60014b2c store 2 ,mem_mouse_multi_led_blink_count 
+03f8 204004ed call p_mouse_dpi_multi_led_blink 
+03f9 20403d7e call mouse_seting_dpi 
+03fa 20200335 branch p_mouse_store_flash_device_info 
 
 p_mouse_dpi_up:
-041d 20400591 call p_gpio_set_input_pu 
-041e 20203d62 branch mouse_dpi_up 
+03fb 2040056f call p_gpio_set_input_pu 
+03fc 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-041f 1a627e00 copy regc ,pdata 
-0420 c00a0431 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0421 c00a8434 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0422 c0148437 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-0423 c0190439 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0424 c020043b beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0425 c002043d beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-0426 c009843d beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
-0427 c013843f beq bt_evt_virtual_cable_unplug ,p_mouse_irtual_cable_unplug 
-0428 c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
-0429 c0108441 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
-042a c0008443 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-042b c0010448 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
-042c c015844b beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
-042d c01c844d beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-042e c01d0450 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-042f c01e0453 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0430 2020417d branch mouse_priority_bb_event + 1 
+03fd 1a627e00 copy regc ,pdata 
+03fe c00a040f beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+03ff c00a8412 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0400 c0148415 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+0401 c0190417 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0402 c0200419 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0403 c002041b beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+0404 c009841b beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
+0405 c013841d beq bt_evt_virtual_cable_unplug ,p_mouse_irtual_cable_unplug 
+0406 c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
+0407 c010841f beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
+0408 c0008421 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+0409 c0010426 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
+040a c0158429 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
+040b c01c842b beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+040c c01d042e beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+040d c01e0431 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+040e 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-0431 204002f5 call p_mouse_init_sensor_reset 
-0432 7011c5b0 jam zcode_b0 ,mem_zcode_temp_param0 
-0433 2020077d branch p_zcode_entrance 
+040f 204002f1 call p_mouse_init_sensor_reset 
+0410 7011c5b0 jam zcode_b0 ,mem_zcode_temp_param0 
+0411 2020075b branch p_zcode_entrance 
 
 p_mouse_le_bb_disconnected:
-0434 2040045b call p_mouse_sensor_powerdown_check 
-0435 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0436 2020077d branch p_zcode_entrance 
+0412 20400439 call p_mouse_sensor_powerdown_check 
+0413 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
+0414 2020075b branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-0437 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-0438 20207d8f branch ui_ipc_send_cmd 
+0415 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0416 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-0439 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
-043a 2020077d branch p_zcode_entrance 
+0417 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
+0418 2020075b branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-043b 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
-043c 2020077d branch p_zcode_entrance 
+0419 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
+041a 2020075b branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
-043d 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
-043e 2020077d branch p_zcode_entrance 
+041b 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
+041c 2020075b branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
-043f 2040438e call mouse_irtual_cable_unplug 
-0440 202033a7 branch app_bb_hibernate 
+041d 2040438e call mouse_irtual_cable_unplug 
+041e 202033a7 branch app_bb_hibernate 
 
 p_mouse_sniff_not_accept:
-0441 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
-0442 2020077d branch p_zcode_entrance 
+041f 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
+0420 2020075b branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
-0443 204002f5 call p_mouse_init_sensor_reset 
-0444 204004ca call p_mouse_null_enter_hibernate_disable 
-0445 2040050a call p_mouse_discovey_led_blink_off 
-0446 70480900 jam 0 ,mem_mouse_send_switch_req_timer 
-0447 202042ca branch mouse_stop_discovery 
+0421 204002f1 call p_mouse_init_sensor_reset 
+0422 204004a8 call p_mouse_null_enter_hibernate_disable 
+0423 204004e8 call p_mouse_discovey_led_blink_off 
+0424 70480900 jam 0 ,mem_mouse_send_switch_req_timer 
+0425 202042ca branch mouse_stop_discovery 
 
 p_mouse_bb_event_disconnected:
-0448 2040045b call p_mouse_sensor_powerdown_check 
-0449 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
-044a 2020077d branch p_zcode_entrance 
+0426 20400439 call p_mouse_sensor_powerdown_check 
+0427 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
+0428 2020075b branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
-044b 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
-044c 2020077d branch p_zcode_entrance 
+0429 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
+042a 2020075b branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
-044d 204002f5 call p_mouse_init_sensor_reset 
-044e 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
-044f 2020077d branch p_zcode_entrance 
+042b 204002f1 call p_mouse_init_sensor_reset 
+042c 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
+042d 2020075b branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
-0450 2040045b call p_mouse_sensor_powerdown_check 
-0451 7011c5a0 jam zcode_a0 ,mem_zcode_temp_param0 
-0452 2020077d branch p_zcode_entrance 
+042e 20400439 call p_mouse_sensor_powerdown_check 
+042f 7011c5a0 jam zcode_a0 ,mem_zcode_temp_param0 
+0430 2020075b branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
-0453 204004ca call p_mouse_null_enter_hibernate_disable 
-0454 204002f5 call p_mouse_init_sensor_reset 
+0431 204004a8 call p_mouse_null_enter_hibernate_disable 
+0432 204002f1 call p_mouse_init_sensor_reset 
 
 p_mouse_24g_no_data_timer_init:
-0455 58002ee0 setarg 0x2ee0 
-0456 600146b0 store 2 ,mem_mouse_no_data_timer 
-0457 20600000 rtn 
+0433 58002ee0 setarg 0x2ee0 
+0434 600146b0 store 2 ,mem_mouse_no_data_timer 
+0435 20600000 rtn 
 
 p_mouse_before_hibernate:
-0458 2040045b call p_mouse_sensor_powerdown_check 
-0459 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
-045a 2020077d branch p_zcode_entrance 
+0436 20400439 call p_mouse_sensor_powerdown_check 
+0437 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
+0438 2020075b branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
-045b 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
-045c 207a0000 rtn blank 
-045d 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
-045e 20200316 branch p_mouse_sensor_powerdown 
+0439 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
+043a 207a0000 rtn blank 
+043b 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
+043c 20200312 branch p_mouse_sensor_powerdown 
 
 p_mouse_bb_event_timer:
-045f 20400512 call p_mouse_adc_read 
-0460 20400537 call p_mouse_low_voltage_led_timer 
-0461 2040054e call p_low_power_nodata_off_led_time_check 
-0462 2040040b call p_mouse_dpi_check 
-0463 204004cd call p_mouse_multi_led_blink_timer 
-0464 20400485 call p_mouse_wheel_trigger_timer 
-0465 204004be call p_mouse_null_enter_hibernate_timer 
-0466 2040048a call p_mouse_bt_discovery_check 
-0467 20404234 call mouse_check_discovery_timeout_timer 
-0468 2040046f call p_mouse_check_select_device_by_switch_timer 
-0469 20404237 call mouse_check_direct_timeout_timer 
-046a 20400482 call p_mouse_le_enable_att_list_timer 
-046b 2040047a call p_mouse_send_switch_req_timer 
-046c 20404231 call mouse_check_hid_handshake_timer 
-046d 2040047d call p_mouse_bt_check_sniff_req_timeout_timer 
-046e 2020423a branch mouse_check_no_data_timeout_timer 
+043d 204004f0 call p_mouse_adc_read 
+043e 20400515 call p_mouse_low_voltage_led_timer 
+043f 2040052c call p_low_power_nodata_off_led_time_check 
+0440 204003e9 call p_mouse_dpi_check 
+0441 204004ab call p_mouse_multi_led_blink_timer 
+0442 20400463 call p_mouse_wheel_trigger_timer 
+0443 2040049c call p_mouse_null_enter_hibernate_timer 
+0444 20400468 call p_mouse_bt_discovery_check 
+0445 20404234 call mouse_check_discovery_timeout_timer 
+0446 2040044d call p_mouse_check_select_device_by_switch_timer 
+0447 20404237 call mouse_check_direct_timeout_timer 
+0448 20400460 call p_mouse_le_enable_att_list_timer 
+0449 20400458 call p_mouse_send_switch_req_timer 
+044a 20404231 call mouse_check_hid_handshake_timer 
+044b 2040045b call p_mouse_bt_check_sniff_req_timeout_timer 
+044c 2020423a branch mouse_check_no_data_timeout_timer 
 
 p_mouse_check_select_device_by_switch_timer:
-046f 6800c6f5 fetch 1 ,mem_config_function_enable 
-0470 c4030000 rtnbit0 enable_select_device_by_switch 
-0471 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-0472 2040681d call gpio_get_bit 
-0473 20208477 branch p_mouse_cheak_select_24gdevice ,true 
+044d 6800c6f5 fetch 1 ,mem_config_function_enable 
+044e c4030000 rtnbit0 enable_select_device_by_switch 
+044f 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+0450 2040681d call gpio_get_bit 
+0451 20208455 branch p_mouse_cheak_select_24gdevice ,true 
 
 p_mouse_select_btdevice:
-0474 6800c720 fetch 1 ,mem_device_flag 
-0475 c080e59a bne mode_bt_device1 ,soft_reset_chip 
-0476 20600000 rtn 
+0452 6800c720 fetch 1 ,mem_device_flag 
+0453 c080e59a bne mode_bt_device1 ,soft_reset_chip 
+0454 20600000 rtn 
 
 p_mouse_cheak_select_24gdevice:
-0477 6800c720 fetch 1 ,mem_device_flag 
-0478 c081659a bne mode_24g_device ,soft_reset_chip 
-0479 20600000 rtn 
+0455 6800c720 fetch 1 ,mem_device_flag 
+0456 c081659a bne mode_24g_device ,soft_reset_chip 
+0457 20600000 rtn 
 
 p_mouse_send_switch_req_timer:
-047a da604809 arg mem_mouse_send_switch_req_timer ,regc 
-047b da40637a arg host_create_conn_resend ,regb 
-047c 2020336d branch timer_single_step 
+0458 da604809 arg mem_mouse_send_switch_req_timer ,regc 
+0459 da40637a arg host_create_conn_resend ,regb 
+045a 2020336d branch timer_single_step 
 
 p_mouse_bt_check_sniff_req_timeout_timer:
-047d da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
-047e da400480 arg p_mouse_bt_send_first_package ,regb 
-047f 2020336d branch timer_single_step 
+045b da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
+045c da40045e arg p_mouse_bt_send_first_package ,regb 
+045d 2020336d branch timer_single_step 
 
 p_mouse_bt_send_first_package:
-0480 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
-0481 20600000 rtn 
+045e 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
+045f 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-0482 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-0483 da403d60 arg mouse_le_write_enable ,regb 
-0484 2020336d branch timer_single_step 
+0460 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0461 da403d60 arg mouse_le_write_enable ,regb 
+0462 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_timer:
-0485 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
-0486 da400488 arg p_mouse_wheel_trigger_disable ,regb 
-0487 2020336d branch timer_single_step 
+0463 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
+0464 da400466 arg p_mouse_wheel_trigger_disable ,regb 
+0465 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-0488 70480600 jam 0 ,mem_mouse_wheel_trigger 
-0489 20600000 rtn 
+0466 70480600 jam 0 ,mem_mouse_wheel_trigger 
+0467 20600000 rtn 
 
 p_mouse_bt_discovery_check:
-048a 6800c720 fetch 1 ,mem_device_flag 
-048b c1010000 rtneq mode_24g_device 
-048c 204004aa call p_mouse_bt_discovery_by_button 
+0468 6800c720 fetch 1 ,mem_device_flag 
+0469 c1010000 rtneq mode_24g_device 
+046a 20400488 call p_mouse_bt_discovery_by_button 
 
 p_mouse_bt_discovery_commbination_key:
-048d 6800cb2f fetch 1 ,mem_discovery_on_flag 
-048e c1008000 rtneq dis_bt_button 
-048f 20400571 call p_mouse_check_key_gpio 
-0490 c002849a beq mouse_lm_button ,p_mouse_bt_discovery_commbination_key_down 
+046b 6800cb2f fetch 1 ,mem_discovery_on_flag 
+046c c1008000 rtneq dis_bt_button 
+046d 2040054f call p_mouse_check_key_gpio 
+046e c0028478 beq mouse_lm_button ,p_mouse_bt_discovery_commbination_key_down 
 
 p_mouse_bt_discovery_commbination_key_up:
-0491 6800c685 fetch 1 ,mem_ui_button_timeout 
-0492 6000c6da store 1 ,mem_combination_ui_button_count 
-0493 704b2f00 jam dis_button_up ,mem_discovery_on_flag 
-0494 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
-0495 c1008000 rtneq dpi_button_state_up 
-0496 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
-0497 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-0498 204043d2 call mouse_disable_function_flag 
-0499 202043ca branch mouse_bt_discovery_button_down_disable 
+046f 6800c685 fetch 1 ,mem_ui_button_timeout 
+0470 6000c6da store 1 ,mem_combination_ui_button_count 
+0471 704b2f00 jam dis_button_up ,mem_discovery_on_flag 
+0472 6800c6db fetch 1 ,mem_bt_discovey_button_statue 
+0473 c1008000 rtneq dpi_button_state_up 
+0474 7046db01 jam dpi_button_state_up ,mem_bt_discovey_button_statue 
+0475 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0476 204043d2 call mouse_disable_function_flag 
+0477 202043ca branch mouse_bt_discovery_button_down_disable 
 
 p_mouse_bt_discovery_commbination_key_down:
-049a 704b2f02 jam dis_comm_button ,mem_discovery_on_flag 
-049b 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-049c 2040049e call p_mouse_bt_discovery_timer 
-049d 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+0478 704b2f02 jam dis_comm_button ,mem_discovery_on_flag 
+0479 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+047a 2040047c call p_mouse_bt_discovery_timer 
+047b 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_discovery_timer:
-049e da6046da arg mem_combination_ui_button_count ,regc 
-049f da4004a1 arg p_mouse_long_button_bt_discovery ,regb 
-04a0 2020336d branch timer_single_step 
+047c da6046da arg mem_combination_ui_button_count ,regc 
+047d da40047f arg p_mouse_long_button_bt_discovery ,regb 
+047e 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-04a1 68014682 fetch 2 ,mem_ui_state_map 
-04a2 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-04a3 2040c2d4 call mouse_stop_le_adv ,true 
-04a4 68014682 fetch 2 ,mem_ui_state_map 
-04a5 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-04a6 2040c392 call mouse_cancel_reconnect ,true 
-04a7 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-04a8 204043ce call mouse_enable_function_flag 
-04a9 202043b8 branch mouse_long_button_bt_discovry 
+047f 68014682 fetch 2 ,mem_ui_state_map 
+0480 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+0481 2040c2d4 call mouse_stop_le_adv ,true 
+0482 68014682 fetch 2 ,mem_ui_state_map 
+0483 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+0484 2040c392 call mouse_cancel_reconnect ,true 
+0485 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+0486 204043ce call mouse_enable_function_flag 
+0487 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_bt_discovery_by_button:
-04aa 6800cb2f fetch 1 ,mem_discovery_on_flag 
-04ab c1010000 rtneq dis_comm_button 
-04ac 6800c6ec fetch 1 ,mem_config_bt_button_gpio 
-04ad c17f8000 rtneq gpio_disable 
-04ae 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-04af 20400588 call p_gpio_set_input_pd 
-04b0 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-04b1 2040681d call gpio_get_bit 
-04b2 202084b5 branch p_mouse_bt_discovery_bt_key_up ,true 
-04b3 20400591 call p_gpio_set_input_pu 
-04b4 202004b8 branch p_mouse_bt_discovery_bt_key_down 
+0488 6800cb2f fetch 1 ,mem_discovery_on_flag 
+0489 c1010000 rtneq dis_comm_button 
+048a 6800c6ec fetch 1 ,mem_config_bt_button_gpio 
+048b c17f8000 rtneq gpio_disable 
+048c 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+048d 20400566 call p_gpio_set_input_pd 
+048e 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+048f 2040681d call gpio_get_bit 
+0490 20208493 branch p_mouse_bt_discovery_bt_key_up ,true 
+0491 2040056f call p_gpio_set_input_pu 
+0492 20200496 branch p_mouse_bt_discovery_bt_key_down 
 
 p_mouse_bt_discovery_bt_key_up:
-04b5 6800cb30 fetch 1 ,mem_bt_ui_button_timeout 
-04b6 6000cb31 store 1 ,mem_bt_ui_button_count 
-04b7 20200493 branch p_mouse_bt_discovery_commbination_key_up + 2 
+0493 6800cb30 fetch 1 ,mem_bt_ui_button_timeout 
+0494 6000cb31 store 1 ,mem_bt_ui_button_count 
+0495 20200471 branch p_mouse_bt_discovery_commbination_key_up + 2 
 
 p_mouse_bt_discovery_bt_key_down:
-04b8 704b2f01 jam dis_bt_button ,mem_discovery_on_flag 
-04b9 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-04ba 204004bc call p_mouse_bt_key_discovery_timer 
-04bb 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+0496 704b2f01 jam dis_bt_button ,mem_discovery_on_flag 
+0497 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+0498 2040049a call p_mouse_bt_key_discovery_timer 
+0499 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_key_discovery_timer:
-04bc da604b31 arg mem_bt_ui_button_count ,regc 
-04bd 2020049f branch p_mouse_bt_discovery_timer + 1 
+049a da604b31 arg mem_bt_ui_button_count ,regc 
+049b 2020047d branch p_mouse_bt_discovery_timer + 1 
 
 p_mouse_null_enter_hibernate_timer:
-04be 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
-04bf 207a0000 rtn blank 
-04c0 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
-04c1 203a04c5 branch p_mouse_null_enter_hibernate ,blank 
-04c2 1fe0ffff increase -1 ,pdata 
-04c3 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
-04c4 20600000 rtn 
+049c 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
+049d 207a0000 rtn blank 
+049e 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
+049f 203a04a3 branch p_mouse_null_enter_hibernate ,blank 
+04a0 1fe0ffff increase -1 ,pdata 
+04a1 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
+04a2 20600000 rtn 
 
 p_mouse_null_enter_hibernate:
-04c5 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-04c6 2020340a branch app_enter_hibernate 
+04a3 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+04a4 2020340a branch app_enter_hibernate 
 
 p_mouse_null_enter_hibernate_enable:
-04c7 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
-04c8 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-04c9 20600000 rtn 
+04a5 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
+04a6 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+04a7 20600000 rtn 
 
 p_mouse_null_enter_hibernate_disable:
-04ca 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-04cb 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
-04cc 20600000 rtn 
+04a8 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+04a9 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
+04aa 20600000 rtn 
 
 p_mouse_multi_led_blink_timer:
-04cd 6800cb24 fetch 1 ,mem_mouse_multi_led_blink_enable 
-04ce 207a0000 rtn blank 
-04cf 6800cb27 fetch 1 ,mem_mouse_multi_led_type 
-04d0 c00004d3 beq multi_led_on ,p_mouse_multi_led_type_on 
-04d1 c00084dd beq multi_led_blink ,p_mouse_multi_led_type_blink 
-04d2 20600000 rtn 
+04ab 6800cb24 fetch 1 ,mem_mouse_multi_led_blink_enable 
+04ac 207a0000 rtn blank 
+04ad 6800cb27 fetch 1 ,mem_mouse_multi_led_type 
+04ae c00004b1 beq multi_led_on ,p_mouse_multi_led_type_on 
+04af c00084bb beq multi_led_blink ,p_mouse_multi_led_type_blink 
+04b0 20600000 rtn 
 
 p_mouse_multi_led_type_on:
-04d3 204004ed call p_mouse_multi_led_on 
-04d4 6800cb28 fetch 1 ,mem_mouse_multi_led_on_timer 
-04d5 1fe0fe01 increase 1 ,pdata 
-04d6 6000cb28 store 1 ,mem_mouse_multi_led_on_timer 
-04d7 6808cb29 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-04d8 98467c00 isub temp ,null 
-04d9 204284db call p_mouse_multi_led_off_poweron2s ,zero 
-04da 20600000 rtn 
+04b1 204004cb call p_mouse_multi_led_on 
+04b2 6800cb28 fetch 1 ,mem_mouse_multi_led_on_timer 
+04b3 1fe0fe01 increase 1 ,pdata 
+04b4 6000cb28 store 1 ,mem_mouse_multi_led_on_timer 
+04b5 6808cb29 fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+04b6 98467c00 isub temp ,null 
+04b7 204284b9 call p_mouse_multi_led_off_poweron2s ,zero 
+04b8 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-04db 704b2e00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-04dc 202004f4 branch p_mouse_multi_led_off 
+04b9 704b2e00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+04ba 202004d2 branch p_mouse_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-04dd 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_timer 
-04de 1fe0ffff increase -1 ,pdata 
-04df 6000cb2b store 1 ,mem_mouse_multi_led_blink_timer 
-04e0 247a0000 nrtn blank 
-04e1 6800cb2a fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-04e2 6000cb2b store 1 ,mem_mouse_multi_led_blink_timer 
-04e3 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-04e4 203a04e9 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-04e5 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
-04e6 203a04f2 branch p_mouse_multi_led_blink_off ,blank 
-04e7 1fe0ffff increase -1 ,pdata 
-04e8 6000cb2c store 1 ,mem_mouse_multi_led_blink_count 
+04bb 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_timer 
+04bc 1fe0ffff increase -1 ,pdata 
+04bd 6000cb2b store 1 ,mem_mouse_multi_led_blink_timer 
+04be 247a0000 nrtn blank 
+04bf 6800cb2a fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+04c0 6000cb2b store 1 ,mem_mouse_multi_led_blink_timer 
+04c1 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+04c2 203a04c7 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+04c3 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
+04c4 203a04d0 branch p_mouse_multi_led_blink_off ,blank 
+04c5 1fe0ffff increase -1 ,pdata 
+04c6 6000cb2c store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-04e9 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
-04ea c00084f4 beq on ,p_mouse_multi_led_off 
-04eb c00004ed beq off ,p_mouse_multi_led_on 
-04ec 20600000 rtn 
+04c7 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
+04c8 c00084d2 beq on ,p_mouse_multi_led_off 
+04c9 c00004cb beq off ,p_mouse_multi_led_on 
+04ca 20600000 rtn 
 
 p_mouse_multi_led_on:
-04ed 704b2601 jam on ,mem_mouse_multi_led_state 
-04ee 6800c720 fetch 1 ,mem_device_flag 
-04ef c000c47a beq mode_bt_device1 ,mouse_devce1_led_off 
-04f0 c001447e beq mode_24g_device ,mouse_devce2_led_off 
-04f1 20600000 rtn 
+04cb 704b2601 jam on ,mem_mouse_multi_led_state 
+04cc 6800c720 fetch 1 ,mem_device_flag 
+04cd c000c47a beq mode_bt_device1 ,mouse_devce1_led_off 
+04ce c001447e beq mode_24g_device ,mouse_devce2_led_off 
+04cf 20600000 rtn 
 
 p_mouse_multi_led_blink_off:
-04f2 58000000 setarg 0 
-04f3 6001cb2b store 3 ,mem_mouse_multi_led_blink_timer 
+04d0 58000000 setarg 0 
+04d1 6001cb2b store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-04f4 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
-04f5 243a04f8 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-04f6 704b2400 jam 0 ,mem_mouse_multi_led_blink_enable 
-04f7 704b2700 jam 0 ,mem_mouse_multi_led_type 
+04d2 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_count 
+04d3 243a04d6 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+04d4 704b2400 jam 0 ,mem_mouse_multi_led_blink_enable 
+04d5 704b2700 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-04f8 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
-04f9 704b2600 jam off ,mem_mouse_multi_led_state 
-04fa 6800c720 fetch 1 ,mem_device_flag 
-04fb c000c489 beq mode_bt_device1 ,mouse_device1_led_on 
-04fc c001448c beq mode_24g_device ,mouse_device2_led_on 
-04fd 20600000 rtn 
+04d6 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
+04d7 704b2600 jam off ,mem_mouse_multi_led_state 
+04d8 6800c720 fetch 1 ,mem_device_flag 
+04d9 c000c489 beq mode_bt_device1 ,mouse_device1_led_on 
+04da c001448c beq mode_24g_device ,mouse_device2_led_on 
+04db 20600000 rtn 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-04fe 704b2e01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-04ff 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
-0500 704b2700 jam multi_led_on ,mem_mouse_multi_led_type 
-0501 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
-0502 20600000 rtn 
+04dc 704b2e01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+04dd 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
+04de 704b2700 jam multi_led_on ,mem_mouse_multi_led_type 
+04df 704b2800 jam 0 ,mem_mouse_multi_led_on_timer 
+04e0 20600000 rtn 
 
 p_mouse_discovery_multi_led_blink:
-0503 704b2a05 jam 5 ,mem_mouse_multi_led_blink_timer_init 
-0504 704b2d00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0505 704b2c01 jam 1 ,mem_mouse_multi_led_blink_count 
+04e1 704b2a05 jam 5 ,mem_mouse_multi_led_blink_timer_init 
+04e2 704b2d00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+04e3 704b2c01 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-0506 704b2b05 jam 5 ,mem_mouse_multi_led_blink_timer 
-0507 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
-0508 704b2701 jam multi_led_blink ,mem_mouse_multi_led_type 
-0509 20600000 rtn 
+04e4 704b2b05 jam 5 ,mem_mouse_multi_led_blink_timer 
+04e5 704b2401 jam on ,mem_mouse_multi_led_blink_enable 
+04e6 704b2701 jam multi_led_blink ,mem_mouse_multi_led_type 
+04e7 20600000 rtn 
 
 p_mouse_discovey_led_blink_off:
-050a 6800cb28 fetch 1 ,mem_mouse_multi_led_on_timer 
-050b 247a0000 nrtn blank 
-050c 6800cb2e fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-050d 247a0000 nrtn blank 
-050e 202004f2 branch p_mouse_multi_led_blink_off 
+04e8 6800cb28 fetch 1 ,mem_mouse_multi_led_on_timer 
+04e9 247a0000 nrtn blank 
+04ea 6800cb2e fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+04eb 247a0000 nrtn blank 
+04ec 202004d0 branch p_mouse_multi_led_blink_off 
 
 p_mouse_dpi_multi_led_blink:
-050f 704b2a05 jam 5 ,mem_mouse_multi_led_blink_timer_init 
-0510 704b2d01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-0511 20200506 branch p_mouse_multi_led_blink_enable 
+04ed 704b2a05 jam 5 ,mem_mouse_multi_led_blink_timer_init 
+04ee 704b2d01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+04ef 202004e4 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_adc_read:
-0512 6800c6ce fetch 1 ,mem_adc_read_timer 
-0513 1fe0fe01 increase 1 ,pdata 
-0514 6000c6ce store 1 ,mem_adc_read_timer 
-0515 1fe67c0a sub pdata ,10 ,null 
-0516 20610000 rtn positive 
-0517 204068a8 call adc_init_data 
-0518 7046ce00 jam 0 ,mem_adc_read_timer 
-0519 204068eb call adc_set_mode 
-051a 20406908 call vdd_calculate_by_mode 
-051b 6001470f store 2 ,mem_mouse_vdd_now_vol 
-051c da204709 arg mem_mouse_vdd_calculate_set ,rega 
-051d 2040052a call p_adc_bat_percent_lowpower_out 
-051e 6800c231 fetch 1 ,mem_adc_power_flag 
-051f c280b40a bbit1 1 ,app_enter_hibernate 
-0520 c3000523 bbit0 0 ,p_mouse_adc_no_low_voltage 
-0521 704afd01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0522 202043e7 branch mouse_adc_low_voltage 
+04f0 6800c6ce fetch 1 ,mem_adc_read_timer 
+04f1 1fe0fe01 increase 1 ,pdata 
+04f2 6000c6ce store 1 ,mem_adc_read_timer 
+04f3 1fe67c0a sub pdata ,10 ,null 
+04f4 20610000 rtn positive 
+04f5 204068a8 call adc_init_data 
+04f6 7046ce00 jam 0 ,mem_adc_read_timer 
+04f7 204068eb call adc_set_mode 
+04f8 20406908 call vdd_calculate_by_mode 
+04f9 6001470f store 2 ,mem_mouse_vdd_now_vol 
+04fa da204709 arg mem_mouse_vdd_calculate_set ,rega 
+04fb 20400508 call p_adc_bat_percent_lowpower_out 
+04fc 6800c231 fetch 1 ,mem_adc_power_flag 
+04fd c280b40a bbit1 1 ,app_enter_hibernate 
+04fe c3000501 bbit0 0 ,p_mouse_adc_no_low_voltage 
+04ff 704afd01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0500 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-0523 204043e9 call mouse_adc_no_low_voltage 
-0524 6800cafd fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-0525 207a0000 rtn blank 
-0526 704afd00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-0527 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
-0528 6000c715 store 1 ,mem_mouse_struct_led_gpio 
-0529 20204298 branch mouse_led_on 
+0501 204043e9 call mouse_adc_no_low_voltage 
+0502 6800cafd fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+0503 207a0000 rtn blank 
+0504 704afd00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0505 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0506 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+0507 20204298 branch mouse_led_on 
 
 p_adc_bat_percent_lowpower_out:
-052a ea240000 ifetch 8 ,rega 
-052b 60040a9a store 8 ,mem_pdatatemp 
-052c 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-052d 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-052e 98467c00 isub temp ,null 
-052f 24216944 nbranch adc_set_no_power_flag ,positive 
-0530 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-0531 98467c00 isub temp ,null 
-0532 24216940 nbranch adc_set_low_power_flag ,positive 
+0508 ea240000 ifetch 8 ,rega 
+0509 60040a9a store 8 ,mem_pdatatemp 
+050a 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+050b 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+050c 98467c00 isub temp ,null 
+050d 24216944 nbranch adc_set_no_power_flag ,positive 
+050e 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+050f 98467c00 isub temp ,null 
+0510 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_clear_low_power_flag:
-0533 6800c231 fetch 1 ,mem_adc_power_flag 
-0534 793ffe00 set0 0 ,pdata 
-0535 6000c231 store 1 ,mem_adc_power_flag 
-0536 20600000 rtn 
+0511 6800c231 fetch 1 ,mem_adc_power_flag 
+0512 793ffe00 set0 0 ,pdata 
+0513 6000c231 store 1 ,mem_adc_power_flag 
+0514 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-0537 6800cb36 fetch 1 ,mem_low_power_led_blink_flag 
-0538 247a0000 nrtn blank 
-0539 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-053a c4020000 rtnbit0 mouse_low_voltage_flag 
-053b 68014682 fetch 2 ,mem_ui_state_map 
-053c c3858000 rtnbit1 ui_state_ble_adv 
-053d c3830000 rtnbit1 ui_state_bt_discovery 
-053e 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
-053f 6000c715 store 1 ,mem_mouse_struct_led_gpio 
-0540 58249f00 setarg g24_long_sleep_step2 
-0541 6001cc0d store 3 ,mem_24g_enter_hibernate 
-0542 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0543 1fe0fe01 pincrease 1 
-0544 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
-0545 c002c3fb beq 5 ,mouse_low_voltage_led_on 
-0546 1fe67c0a sub pdata ,10 ,null 
-0547 24210549 nbranch p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-0548 20600000 rtn 
+0515 6800cb36 fetch 1 ,mem_low_power_led_blink_flag 
+0516 247a0000 nrtn blank 
+0517 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0518 c4020000 rtnbit0 mouse_low_voltage_flag 
+0519 68014682 fetch 2 ,mem_ui_state_map 
+051a c3858000 rtnbit1 ui_state_ble_adv 
+051b c3830000 rtnbit1 ui_state_bt_discovery 
+051c 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
+051d 6000c715 store 1 ,mem_mouse_struct_led_gpio 
+051e 58249f00 setarg g24_long_sleep_step2 
+051f 6001cc0d store 3 ,mem_24g_enter_hibernate 
+0520 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0521 1fe0fe01 pincrease 1 
+0522 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+0523 c002c3fb beq 5 ,mouse_low_voltage_led_on 
+0524 1fe67c0a sub pdata ,10 ,null 
+0525 24210527 nbranch p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0526 20600000 rtn 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0549 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-054a 202043fe branch mouse_low_voltage_led_off 
+0527 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0528 202043fe branch mouse_low_voltage_led_off 
 
 p_low_power_no_data_off_led_time:
-054b 704b3600 jam 0 ,mem_low_power_led_blink_flag 
-054c 704b3596 jam 0x96 ,mem_low_power_no_data_off_led_time 
-054d 20600000 rtn 
+0529 704b3600 jam 0 ,mem_low_power_led_blink_flag 
+052a 704b3596 jam 0x96 ,mem_low_power_no_data_off_led_time 
+052b 20600000 rtn 
 
 p_low_power_nodata_off_led_time_check:
-054e da604b35 arg mem_low_power_no_data_off_led_time ,regc 
-054f da400551 arg p_mouse_check_low_power_nodata_timeout ,regb 
-0550 2020336d branch timer_single_step 
+052c da604b35 arg mem_low_power_no_data_off_led_time ,regc 
+052d da40052f arg p_mouse_check_low_power_nodata_timeout ,regb 
+052e 2020336d branch timer_single_step 
 
 p_mouse_check_low_power_nodata_timeout:
-0551 58604800 setarg g24_long_sleep_step3 
-0552 6001cc0d store 3 ,mem_24g_enter_hibernate 
-0553 704b3601 jam 1 ,mem_low_power_led_blink_flag 
-0554 202004f4 branch p_mouse_multi_led_off 
+052f 58604800 setarg g24_long_sleep_step3 
+0530 6001cc0d store 3 ,mem_24g_enter_hibernate 
+0531 704b3601 jam 1 ,mem_low_power_led_blink_flag 
+0532 202004d2 branch p_mouse_multi_led_off 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_sensor_type:
 
 p_mouse_seting_3065xy_dpi:
-0555 6800c77a fetch 1 ,mem_mouse_dpi 
-0556 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0557 20428562 call p_mouse_3065xy_dpi_recount ,zero 
-0558 6800c77a fetch 1 ,mem_mouse_dpi 
-0559 c000055e beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
-055a c0018560 beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
+0533 6800c77a fetch 1 ,mem_mouse_dpi 
+0534 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+0535 20428540 call p_mouse_3065xy_dpi_recount ,zero 
+0536 6800c77a fetch 1 ,mem_mouse_dpi 
+0537 c000053c beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
+0538 c001853e beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
 
 p_mouse_3065xy_set_cpi3:
-055b 6800c781 fetch 1 ,mem_320x_dpi_3 
+0539 6800c781 fetch 1 ,mem_320x_dpi_3 
 
 p_mouse_dpi_store:
-055c 6000c6b5 store 1 ,mem_mouse_cpi_count 
-055d 20203dc1 branch mouse_p3205_dpi + 3 
+053a 6000c6b5 store 1 ,mem_mouse_cpi_count 
+053b 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_3065xy_set_cpi1:
-055e 6800c77f fetch 1 ,mem_320x_dpi_1 
-055f 2020055c branch p_mouse_dpi_store 
+053c 6800c77f fetch 1 ,mem_320x_dpi_1 
+053d 2020053a branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-0560 6800c782 fetch 1 ,mem_320x_dpi_4 
-0561 2020055c branch p_mouse_dpi_store 
+053e 6800c782 fetch 1 ,mem_320x_dpi_4 
+053f 2020053a branch p_mouse_dpi_store 
 
 p_mouse_3065xy_dpi_recount:
-0562 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-0563 20600000 rtn 
+0540 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0541 20600000 rtn 
 
 p_mouse_motion:
-0564 78547c00 disable user 
-0565 58000000 setarg 0 
-0566 6003469b store 6 ,mem_mouse_x 
-0567 20403fb5 call mouse_cheak_sensor_data 
-0568 20404079 call mouse_zwheel 
-0569 2040407e call mouse_t_zwheel 
-056a 2040056f call p_mouse_key 
-056b 2434079a nbranch p_drawing_optima_init ,user 
-056c 2040079d call p_drawing_optima 
-056d 2040054b call p_low_power_no_data_off_led_time 
-056e 20203fa0 branch mouse_motion + 9 
+0542 78547c00 disable user 
+0543 58000000 setarg 0 
+0544 6003469b store 6 ,mem_mouse_x 
+0545 20403fb5 call mouse_cheak_sensor_data 
+0546 20404079 call mouse_zwheel 
+0547 2040407e call mouse_t_zwheel 
+0548 2040054d call p_mouse_key 
+0549 24340778 nbranch p_drawing_optima_init ,user 
+054a 2040077b call p_drawing_optima 
+054b 20400529 call p_low_power_no_data_off_led_time 
+054c 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
-056f 20400571 call p_mouse_check_key_gpio 
-0570 2020409a branch mouse_key + 1 
+054d 2040054f call p_mouse_check_key_gpio 
+054e 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0571 da200000 arg 0 ,rega 
-0572 20400576 call p_mouse_check_lkey_gpio 
-0573 2040057c call p_mouse_check_rkey_gpio 
-0574 20400582 call p_mouse_check_mkey_gpio 
-0575 2020408e branch mouse_check_key_gpio_output 
+054f da200000 arg 0 ,rega 
+0550 20400554 call p_mouse_check_lkey_gpio 
+0551 2040055a call p_mouse_check_rkey_gpio 
+0552 20400560 call p_mouse_check_mkey_gpio 
+0553 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_lkey_gpio:
-0576 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0577 20400591 call p_gpio_set_input_pu 
-0578 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0579 2040681d call gpio_get_bit 
-057a 7920a200 setflag true ,0 ,rega 
-057b 20600000 rtn 
+0554 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0555 2040056f call p_gpio_set_input_pu 
+0556 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0557 2040681d call gpio_get_bit 
+0558 7920a200 setflag true ,0 ,rega 
+0559 20600000 rtn 
 
 p_mouse_check_rkey_gpio:
-057c 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-057d 20400591 call p_gpio_set_input_pu 
-057e 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-057f 2040681d call gpio_get_bit 
-0580 7920a201 setflag true ,1 ,rega 
-0581 20600000 rtn 
+055a 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+055b 2040056f call p_gpio_set_input_pu 
+055c 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+055d 2040681d call gpio_get_bit 
+055e 7920a201 setflag true ,1 ,rega 
+055f 20600000 rtn 
 
 p_mouse_check_mkey_gpio:
-0582 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0583 20400591 call p_gpio_set_input_pu 
-0584 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0585 2040681d call gpio_get_bit 
-0586 7920a202 setflag true ,2 ,rega 
-0587 20600000 rtn 
+0560 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0561 2040056f call p_gpio_set_input_pu 
+0562 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0563 2040681d call gpio_get_bit 
+0564 7920a202 setflag true ,2 ,rega 
+0565 20600000 rtn 
 
 p_gpio_set_input_pd:
-0588 793f8407 set0 gpio_active_bit ,temp 
-0589 d8a08078 arg core_gpio_pu0 ,contw 
-058a 20406830 call gpio_set_bit 
-058b 79200407 set1 gpio_active_bit ,temp 
+0566 793f8407 set0 gpio_active_bit ,temp 
+0567 d8a08078 arg core_gpio_pu0 ,contw 
+0568 20406830 call gpio_set_bit 
+0569 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-058c d8a0807c arg core_gpio_pd0 ,contw 
-058d 20406830 call gpio_set_bit 
-058e 793f8407 set0 gpio_active_bit ,temp 
-058f d8a08070 arg core_gpio_oe0 ,contw 
-0590 20206830 branch gpio_set_bit 
+056a d8a0807c arg core_gpio_pd0 ,contw 
+056b 20406830 call gpio_set_bit 
+056c 793f8407 set0 gpio_active_bit ,temp 
+056d d8a08070 arg core_gpio_oe0 ,contw 
+056e 20206830 branch gpio_set_bit 
 
 p_gpio_set_input_pu:
-0591 79200407 set1 gpio_active_bit ,temp 
+056f 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pu1:
-0592 d8a08078 arg core_gpio_pu0 ,contw 
-0593 20406830 call gpio_set_bit 
-0594 793f8407 set0 gpio_active_bit ,temp 
-0595 2020058c branch p_gpio_set_input_pd4 
+0570 d8a08078 arg core_gpio_pu0 ,contw 
+0571 20406830 call gpio_set_bit 
+0572 793f8407 set0 gpio_active_bit ,temp 
+0573 2020056a branch p_gpio_set_input_pd4 
 
 p_mouse_select_device_button_gpio_set_suspend:
-0596 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+0574 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
 
 p_mouse_set_gpio_suspend:
-0597 793f8407 set0 gpio_active_bit ,temp 
-0598 20200592 branch p_gpio_set_input_pu1 
+0575 793f8407 set0 gpio_active_bit ,temp 
+0576 20200570 branch p_gpio_set_input_pu1 
 
 p_mouse_bb_event_discovery_btn:
-0599 204004db call p_mouse_multi_led_off_poweron2s 
-059a 204004ca call p_mouse_null_enter_hibernate_disable 
-059b 280ffe26 isolate1 mark_24g ,mark 
-059c 204081ab call p_g24_check_51cmd_stop_24g ,true 
-059d 2020426d branch mouse_bb_event_discovery_btn + 1 
+0577 204004b9 call p_mouse_multi_led_off_poweron2s 
+0578 204004a8 call p_mouse_null_enter_hibernate_disable 
+0579 280ffe26 isolate1 mark_24g ,mark 
+057a 204081ab call p_g24_check_51cmd_stop_24g ,true 
+057b 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
-059e 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
-059f 2020077d branch p_zcode_entrance 
+057c 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
+057d 2020075b branch p_zcode_entrance 
 
 p_mouse_start_discovery:
-05a0 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
-05a1 2020077d branch p_zcode_entrance 
+057e 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
+057f 2020075b branch p_zcode_entrance 
 
 p_mouse_load_random_addr_increase_count:
-05a2 20400375 call p_flash_release_deep_power_down 
-05a3 d8400002 arg 2 ,temp 
-05a4 da2047c2 arg mem_random_addr_increase_count ,rega 
-05a5 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-05a6 6801c700 fetch 3 ,mem_flash_base 
-05a7 9a40fe00 iadd regb ,pdata 
-05a8 20206562 branch spid_read_flash 
+0580 20400371 call p_flash_release_deep_power_down 
+0581 d8400002 arg 2 ,temp 
+0582 da2047c2 arg mem_random_addr_increase_count ,rega 
+0583 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+0584 6801c700 fetch 3 ,mem_flash_base 
+0585 9a40fe00 iadd regb ,pdata 
+0586 20206562 branch spid_read_flash 
 
 p_le_adv_data_update:
-05a9 d8a0437b arg mem_le_adv_data + 11 ,contw 
-05aa df200013 arg 19 ,loopcnt 
-05ab 20407f01 call memcpy 
-05ac 202057b8 branch le_modified_name_adv 
+0587 d8a0437b arg mem_le_adv_data + 11 ,contw 
+0588 df200013 arg 19 ,loopcnt 
+0589 20407f01 call memcpy 
+058a 202057b8 branch le_modified_name_adv 
 
 p_mouse_stop_discovery:
-05ad 58000000 setarg 0 
-05ae 600146ac store 2 ,mem_mouse_discovery_timer 
-05af 2040030c call p_mouse_sensor_poweron 
-05b0 6800c092 fetch 1 ,mem_device_option 
-05b1 2feffe01 isolate1 mode_4_mouse ,pdata 
-05b2 2040c2d4 call mouse_stop_le_adv ,true 
-05b3 6800c092 fetch 1 ,mem_device_option 
-05b4 2feffe00 isolate1 mode_3_mouse ,pdata 
-05b5 2040c2d7 call mouse_stop_bt3_discovery ,true 
-05b6 2020050a branch p_mouse_discovey_led_blink_off 
+058b 58000000 setarg 0 
+058c 600146ac store 2 ,mem_mouse_discovery_timer 
+058d 20400308 call p_mouse_sensor_poweron 
+058e 6800c092 fetch 1 ,mem_device_option 
+058f 2feffe01 isolate1 mode_4_mouse ,pdata 
+0590 2040c2d4 call mouse_stop_le_adv ,true 
+0591 6800c092 fetch 1 ,mem_device_option 
+0592 2feffe00 isolate1 mode_3_mouse ,pdata 
+0593 2040c2d7 call mouse_stop_bt3_discovery ,true 
+0594 202004e8 branch p_mouse_discovey_led_blink_off 
 
 p_le_slave_match:
-05b7 6800c50f fetch 1 ,mem_le_md_count 
-05b8 1fe0fe01 pincrease 1 
-05b9 6000c50f store 1 ,mem_le_md_count 
-05ba c0065395 beq le_md_max_count ,le_slave_cont 
-05bb 204055aa call le_acknowledge 
-05bc 2040561e call le_prepare_tx 
-05bd 20400720 call power_ctrl_start 
-05be 2020538f branch le_slave_match + 7 
+0595 6800c50f fetch 1 ,mem_le_md_count 
+0596 1fe0fe01 pincrease 1 
+0597 6000c50f store 1 ,mem_le_md_count 
+0598 c0065395 beq le_md_max_count ,le_slave_cont 
+0599 204055aa call le_acknowledge 
+059a 2040561e call le_prepare_tx 
+059b 204006fe call power_ctrl_start 
+059c 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-05bf 68008016 fetch 1 ,mem_le_ch_mapped 
-05c0 1fe0fe01 increase 1 ,pdata 
-05c1 60008016 store 1 ,mem_le_ch_mapped 
-05c2 c1940000 rtnne 40 
-05c3 70001625 jam 37 ,mem_le_ch_mapped 
-05c4 20600000 rtn 
+059d 68008016 fetch 1 ,mem_le_ch_mapped 
+059e 1fe0fe01 increase 1 ,pdata 
+059f 60008016 store 1 ,mem_le_ch_mapped 
+05a0 c1940000 rtnne 40 
+05a1 70001625 jam 37 ,mem_le_ch_mapped 
+05a2 20600000 rtn 
 
 p_le_receive_skip:
-05c5 204029bb call save_rssi 
-05c6 20400069 call p_rssi_signal 
-05c7 202054a3 branch le_receive_skip + 2 
+05a3 204029bb call save_rssi 
+05a4 20400069 call p_rssi_signal 
+05a5 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-05c8 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
-05c9 2020077d branch p_zcode_entrance 
+05a6 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
+05a7 2020075b branch p_zcode_entrance 
 
 p_le_update_channel_map:
-05ca 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
-05cb 2020077d branch p_zcode_entrance 
+05a8 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
+05a9 2020075b branch p_zcode_entrance 
 
 p_le_prepare_tx:
-05cc 68008456 fetch 1 ,mem_le_arq 
-05cd c28285e0 bbit1 wak ,p_le_prepare_tx_wak 
-05ce 20400712 call power_ctrl_pac_succ_incrs 
-05cf 6800c78e fetch 1 ,mem_empty_count 
-05d0 243a05d6 nbranch p_le_send_empyt ,blank 
-05d1 6800843f fetch 1 ,mem_le_state 
-05d2 c30205da bbit0 lestate_encryption ,p_le_tx_4 
-05d3 680082da fetch 1 ,mem_le_rxbuf + 1 
-05d4 203a05da branch p_le_tx_4 ,blank 
-05d5 20205664 branch le_send_empty 
+05aa 68008456 fetch 1 ,mem_le_arq 
+05ab c28285be bbit1 wak ,p_le_prepare_tx_wak 
+05ac 204006f0 call power_ctrl_pac_succ_incrs 
+05ad 6800c78e fetch 1 ,mem_empty_count 
+05ae 243a05b4 nbranch p_le_send_empyt ,blank 
+05af 6800843f fetch 1 ,mem_le_state 
+05b0 c30205b8 bbit0 lestate_encryption ,p_le_tx_4 
+05b1 680082da fetch 1 ,mem_le_rxbuf + 1 
+05b2 203a05b8 branch p_le_tx_4 ,blank 
+05b3 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-05d6 6800c78e fetch 1 ,mem_empty_count 
-05d7 1fe0ffff increase -1 ,pdata 
-05d8 6000c78e store 1 ,mem_empty_count 
-05d9 20205664 branch le_send_empty 
+05b4 6800c78e fetch 1 ,mem_empty_count 
+05b5 1fe0ffff increase -1 ,pdata 
+05b6 6000c78e store 1 ,mem_empty_count 
+05b7 20205664 branch le_send_empty 
 
 p_le_tx_4:
-05da 6800c4c4 fetch 1 ,mem_le_pairing_state 
-05db c08285dd bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-05dc 70478e03 jam 3 ,mem_empty_count 
+05b8 6800c4c4 fetch 1 ,mem_le_pairing_state 
+05b9 c08285bb bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+05ba 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-05dd 20405892 call le_fifo_check_nearly_full 
-05de 205a03d4 call p_mouse_data_pull ,blank 
-05df 20205622 branch le_prepare_tx + 4 
+05bb 20405892 call le_fifo_check_nearly_full 
+05bc 205a03b2 call p_mouse_data_pull ,blank 
+05bd 20205622 branch le_prepare_tx + 4 
 
 p_le_prepare_tx_wak:
-05e0 204005e2 call p_le_check_tx_retransmit_setmd 
-05e1 202005ee branch p_le_power_ctrl_pac_succ_decrs 
+05be 204005c0 call p_le_check_tx_retransmit_setmd 
+05bf 202005cc branch p_le_power_ctrl_pac_succ_decrs 
 
 p_le_check_tx_retransmit_setmd:
-05e2 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05e3 1fe17e03 and pdata ,0x03 ,pdata 
-05e4 c1818000 rtnne 0x03 
-05e5 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-05e6 207a0000 rtn blank 
-05e7 6800c3dd fetch 1 ,mem_le_txlen 
-05e8 207a0000 rtn blank 
-05e9 6800c3dc fetch 1 ,mem_le_txheader 
-05ea 79207e04 set1 md ,pdata 
-05eb 6000c3dc store 1 ,mem_le_txheader 
-05ec 20405650 call le_set_md 
-05ed 20600000 rtn 
+05c0 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05c1 1fe17e03 and pdata ,0x03 ,pdata 
+05c2 c1818000 rtnne 0x03 
+05c3 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+05c4 207a0000 rtn blank 
+05c5 6800c3dd fetch 1 ,mem_le_txlen 
+05c6 207a0000 rtn blank 
+05c7 6800c3dc fetch 1 ,mem_le_txheader 
+05c8 79207e04 set1 md ,pdata 
+05c9 6000c3dc store 1 ,mem_le_txheader 
+05ca 20405650 call le_set_md 
+05cb 20600000 rtn 
 
 p_le_power_ctrl_pac_succ_decrs:
-05ee 20200716 branch power_ctrl_pac_succ_decrs 
+05cc 202006f4 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-05ef 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-05f0 207a0000 rtn blank 
-05f1 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05f2 1fe17e03 and pdata ,0x03 ,pdata 
-05f3 c1018000 rtneq 0x03 
-05f4 7046c601 jam 1 ,mem_le_start_encrypt_timer 
-05f5 20600000 rtn 
+05cd 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+05ce 207a0000 rtn blank 
+05cf 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05d0 1fe17e03 and pdata ,0x03 ,pdata 
+05d1 c1018000 rtneq 0x03 
+05d2 7046c601 jam 1 ,mem_le_start_encrypt_timer 
+05d3 20600000 rtn 
 
 p_le_parse:
-05f6 c6078000 rtnmark1 mark_old_packet 
-05f7 20405890 call le_fifo_check_full 
-05f8 247a0000 nrtn blank 
-05f9 680082d9 fetch 1 ,mem_le_rxbuf 
-05fa 1fe17e03 and pdata ,0x3 ,pdata 
-05fb 6000c50c store 1 ,mem_le_packet_llid 
-05fc e8c08000 ifetch 1 ,contr 
-05fd 1fe17e1f and pdata ,0x1f ,pdata 
-05fe 6000c50b store 1 ,mem_le_packet_size 
-05ff 207a0000 rtn blank 
-0600 18c27e00 copy contr ,pdata 
-0601 6001450d store 2 ,mem_le_payload_ptr 
-0602 6800c50c fetch 1 ,mem_le_packet_llid 
-0603 c0018605 beq llid_le_ll ,p_le_parse_ll 
-0604 2020568d branch le_parse_l2cap 
+05d4 c6078000 rtnmark1 mark_old_packet 
+05d5 20405890 call le_fifo_check_full 
+05d6 247a0000 nrtn blank 
+05d7 680082d9 fetch 1 ,mem_le_rxbuf 
+05d8 1fe17e03 and pdata ,0x3 ,pdata 
+05d9 6000c50c store 1 ,mem_le_packet_llid 
+05da e8c08000 ifetch 1 ,contr 
+05db 1fe17e1f and pdata ,0x1f ,pdata 
+05dc 6000c50b store 1 ,mem_le_packet_size 
+05dd 207a0000 rtn blank 
+05de 18c27e00 copy contr ,pdata 
+05df 6001450d store 2 ,mem_le_payload_ptr 
+05e0 6800c50c fetch 1 ,mem_le_packet_llid 
+05e1 c00185e3 beq llid_le_ll ,p_le_parse_ll 
+05e2 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-0605 680082db fetch 1 ,mem_le_rxbuf + 2 
-0606 c0008608 beq ll_channel_map_req ,p_le_parse_channel_map_req 
-0607 20205c65 branch le_parse_ll + 1 
+05e3 680082db fetch 1 ,mem_le_rxbuf + 2 
+05e4 c00085e6 beq ll_channel_map_req ,p_le_parse_channel_map_req 
+05e5 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_channel_map_req:
-0608 e8c28000 ifetch 5 ,contr 
-0609 6002c3ce store 5 ,mem_le_new_map 
-060a e8c10000 ifetch 2 ,contr 
-060b 6001045f store 2 ,mem_le_instant 
-060c 20205c8a branch le_parse_channel_map_req + 7 
+05e6 e8c28000 ifetch 5 ,contr 
+05e7 6002c3ce store 5 ,mem_le_new_map 
+05e8 e8c10000 ifetch 2 ,contr 
+05e9 6001045f store 2 ,mem_le_instant 
+05ea 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-060d e8c10000 ifetch 2 ,contr 
-060e c0020611 beq le_l2cap_cid_att ,p_le_parse_att 
-060f c003063e beq le_l2cap_cid_smp ,p_le_parse_smp 
-0610 20205698 branch le_parse_l2cap + 11 
+05eb e8c10000 ifetch 2 ,contr 
+05ec c00205ef beq le_l2cap_cid_att ,p_le_parse_att 
+05ed c003061c beq le_l2cap_cid_smp ,p_le_parse_smp 
+05ee 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-0611 20407ea5 call store_contr 
-0612 204005ef call p_mouse_le_reconn_write_enable_timer_reinit 
-0613 20407e9f call get_contr 
-0614 e8c18000 ifetch 3 ,contr 
-0615 60018477 store 3 ,mem_le_att_opcode 
-0616 c0080620 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-0617 1fec8400 rshift8 pdata ,temp 
-0618 18467c24 sub temp ,0x24 ,null 
-0619 2021062e branch p_le_parse_att1 ,positive 
-061a d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-061b 600944bc storet 2 ,mem_ui_le_uuid_table 
-061c 204058ad call le_parse_att + 2 
-061d 58008e7a setarg 0x8e7a 
-061e 600144bc store 2 ,mem_ui_le_uuid_table 
-061f 20600000 rtn 
+05ef 20407ea5 call store_contr 
+05f0 204005cd call p_mouse_le_reconn_write_enable_timer_reinit 
+05f1 20407e9f call get_contr 
+05f2 e8c18000 ifetch 3 ,contr 
+05f3 60018477 store 3 ,mem_le_att_opcode 
+05f4 c00805fe beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+05f5 1fec8400 rshift8 pdata ,temp 
+05f6 18467c24 sub temp ,0x24 ,null 
+05f7 2021060c branch p_le_parse_att1 ,positive 
+05f8 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+05f9 600944bc storet 2 ,mem_ui_le_uuid_table 
+05fa 204058ad call le_parse_att + 2 
+05fb 58008e7a setarg 0x8e7a 
+05fc 600144bc store 2 ,mem_ui_le_uuid_table 
+05fd 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-0620 204059fa call le_parse_att_read_by_group_type_request 
-0621 20405879 call le_fifo_get_last_tx_ptr 
-0622 18c08c07 increase 7 ,contr 
-0623 e8c08000 ifetch 1 ,contr 
-0624 c1888000 rtnne attop_read_by_group_type_response 
-0625 18c08c05 increase 5 ,contr 
-0626 e8c10000 ifetch 2 ,contr 
-0627 d8401812 arg uuid_service_hids ,temp 
-0628 98467c00 isub temp ,null 
-0629 24628000 nrtn zero 
-062a 18c08dfc increase -4 ,contr 
-062b 5800002b setarg 0x2b 
-062c e0c10000 istore 2 ,contr 
-062d 20600000 rtn 
+05fe 204059fa call le_parse_att_read_by_group_type_request 
+05ff 20405879 call le_fifo_get_last_tx_ptr 
+0600 18c08c07 increase 7 ,contr 
+0601 e8c08000 ifetch 1 ,contr 
+0602 c1888000 rtnne attop_read_by_group_type_response 
+0603 18c08c05 increase 5 ,contr 
+0604 e8c10000 ifetch 2 ,contr 
+0605 d8401812 arg uuid_service_hids ,temp 
+0606 98467c00 isub temp ,null 
+0607 24628000 nrtn zero 
+0608 18c08dfc increase -4 ,contr 
+0609 5800002b setarg 0x2b 
+060a e0c10000 istore 2 ,contr 
+060b 20600000 rtn 
 
 p_le_parse_att1:
-062e c0050630 beq attop_read_request ,p_le_parse_att_read_request 
-062f 202058ad branch le_parse_att + 2 
+060c c005060e beq attop_read_request ,p_le_parse_att_read_request 
+060d 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0630 68090478 fetcht 2 ,mem_le_att_handle 
-0631 6800c4e9 fetch 1 ,mem_le_configuration 
-0632 c2818637 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+060e 68090478 fetcht 2 ,mem_le_att_handle 
+060f 6800c4e9 fetch 1 ,mem_le_configuration 
+0610 c2818615 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0633 68010478 fetch 2 ,mem_le_att_handle 
-0634 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-0635 68090478 fetcht 2 ,mem_le_att_handle 
-0636 202059bf branch le_send_att_read_response 
+0611 68010478 fetch 2 ,mem_le_att_handle 
+0612 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+0613 68090478 fetcht 2 ,mem_le_att_handle 
+0614 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-0637 680144fa fetch 2 ,mem_le_pairing_handle 
-0638 98467c00 isub temp ,null 
-0639 24228633 nbranch p_le_send_att_read_response ,zero 
-063a 20405a42 call le_check_encrypt_state 
-063b 24340633 nbranch p_le_send_att_read_response ,user 
-063c 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-063d 20205a77 branch le_send_att_error_response 
+0615 680144fa fetch 2 ,mem_le_pairing_handle 
+0616 98467c00 isub temp ,null 
+0617 24228611 nbranch p_le_send_att_read_response ,zero 
+0618 20405a42 call le_check_encrypt_state 
+0619 24340611 nbranch p_le_send_att_read_response ,user 
+061a 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+061b 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-063e e8c08000 ifetch 1 ,contr 
-063f c0028641 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0640 20205af5 branch le_parse_smp + 1 
+061c e8c08000 ifetch 1 ,contr 
+061d c002861f beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+061e 20205af5 branch le_parse_smp + 1 
 
 p_le_parse_smp_pairing_failed:
-0641 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
-0642 2020077d branch p_zcode_entrance 
+061f 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
+0620 2020075b branch p_zcode_entrance 
 
 p_le_adv_not_match:
-0643 68008016 fetch 1 ,mem_le_ch_mapped 
-0644 c093d6f2 bne 39 ,le_adv_loop 
-0645 20400649 call p_le_adv_random_delay 
-0646 d8e00000 arg le_adv_interval_timer ,queue 
-0647 68014482 fetch 2 ,mem_le_adv_interval 
-0648 20207f08 branch timer_init 
+0621 68008016 fetch 1 ,mem_le_ch_mapped 
+0622 c093d6f2 bne 39 ,le_adv_loop 
+0623 20400627 call p_le_adv_random_delay 
+0624 d8e00000 arg le_adv_interval_timer ,queue 
+0625 68014482 fetch 2 ,mem_le_adv_interval 
+0626 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-0649 180a7e00 random pdata 
-064a d84001ff arg 0x1ff ,temp 
-064b 98417e00 iand temp ,pdata 
-064c 1fe0fefa add pdata ,250 ,pdata 
-064d 20203cbe branch delay 
+0627 180a7e00 random pdata 
+0628 d84001ff arg 0x1ff ,temp 
+0629 98417e00 iand temp ,pdata 
+062a 1fe0fefa add pdata ,250 ,pdata 
+062b 20203cbe branch delay 
 
 p_le_lpm_setmult:
-064e 7855fc00 disable wake 
-064f 20370651 branch p_le_lpm_set_mult_attempt ,attempt 
-0650 2436d806 nbranch le_lpm_lost ,match 
+062c 7855fc00 disable wake 
+062d 2037062f branch p_le_lpm_set_mult_attempt ,attempt 
+062e 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-0651 20402bcb call lpm_match 
-0652 680140c1 fetch 2 ,mem_rx_window_sniff 
-0653 6001044d store 2 ,mem_le_receive_window 
-0654 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0655 2fe00603 compare 3 ,pdata ,3 
-0656 2420abde nbranch lpm_mult_short ,true 
-0657 202057fb branch le_lpm_set_mult_attempt + 3 
+062f 20402bcb call lpm_match 
+0630 680140c1 fetch 2 ,mem_rx_window_sniff 
+0631 6001044d store 2 ,mem_le_receive_window 
+0632 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0633 2fe00603 compare 3 ,pdata ,3 
+0634 2420abde nbranch lpm_mult_short ,true 
+0635 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0658 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0659 247a0000 nrtn blank 
-065a 68008478 fetch 1 ,mem_le_att_handle 
-065b 1fe67e1a sub pdata ,26 ,pdata 
-065c 24628000 nrtn zero 
-065d 20203d60 branch mouse_le_write_enable 
+0636 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+0637 247a0000 nrtn blank 
+0638 68008478 fetch 1 ,mem_le_att_handle 
+0639 1fe67e1a sub pdata ,26 ,pdata 
+063a 24628000 nrtn zero 
+063b 20203d60 branch mouse_le_write_enable 
 
 p_twspi_reset:
-065e 68108077 hfetch 1 ,core_gpio_out3 
-065f 1fe17efd and_into 0xfd ,pdata 
-0660 60108077 hstore 1 ,core_gpio_out3 
-0661 68188073 hfetcht 1 ,core_gpio_oe3 
-0662 18418402 or_into 0x2 ,temp 
-0663 60188073 hstoret 1 ,core_gpio_oe3 
-0664 204063ee call twspi_disable 
-0665 184104fd and_into 0xfd ,temp 
-0666 2000000d nop 13 
-0667 2040066b call p_twspi_enable 
-0668 60188073 hstoret 1 ,core_gpio_oe3 
-0669 20600000 rtn 
+063c 68108077 hfetch 1 ,core_gpio_out3 
+063d 1fe17efd and_into 0xfd ,pdata 
+063e 60108077 hstore 1 ,core_gpio_out3 
+063f 68188073 hfetcht 1 ,core_gpio_oe3 
+0640 18418402 or_into 0x2 ,temp 
+0641 60188073 hstoret 1 ,core_gpio_oe3 
+0642 204063ee call twspi_disable 
+0643 184104fd and_into 0xfd ,temp 
+0644 2000000d nop 13 
+0645 20400649 call p_twspi_enable 
+0646 60188073 hstoret 1 ,core_gpio_oe3 
+0647 20600000 rtn 
 
 p_spid_init:
-066a 204064dd call spid_init_common 
+0648 204064dd call spid_init_common 
 
 p_twspi_enable:
-066b 68108081 hfetch 1 ,core_gpio_sel1 
-066c 79207e00 set1 0 ,pdata 
-066d 793ffe01 set0 1 ,pdata 
-066e 793ffe03 set0 3 ,pdata 
-066f 60108081 hstore 1 ,core_gpio_sel1 
-0670 20600000 rtn 
+0649 68108081 hfetch 1 ,core_gpio_sel1 
+064a 79207e00 set1 0 ,pdata 
+064b 793ffe01 set0 1 ,pdata 
+064c 793ffe03 set0 3 ,pdata 
+064d 60108081 hstore 1 ,core_gpio_sel1 
+064e 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-0671 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
-0672 2020077d branch p_zcode_entrance 
+064f 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
+0650 2020075b branch p_zcode_entrance 
 
 p_role_switch_master:
-0673 204021c9 call role_switch_check 
-0674 24740000 nrtn user 
+0651 204021c9 call role_switch_check 
+0652 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-0675 78547c00 disable user 
-0676 70001120 jam param_newconnto ,mem_newconnto_counter 
-0677 793f800b set0 mark_fhs_already_good ,mark 
-0678 793f802d set0 mark_role_switch_receive_fhs ,mark 
+0653 78547c00 disable user 
+0654 70001120 jam param_newconnto ,mem_newconnto_counter 
+0655 793f800b set0 mark_fhs_already_good ,mark 
+0656 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-0679 20402a4f call rf_setup_time_master_slot 
-067a 204022e6 call master_recv_packet 
-067b c5058680 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-067c 20402455 call new_conn_timeout 
-067d 243a0679 nbranch p_roles_waitfhs_loop ,blank 
-067e c5168688 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-067f 202021ec branch role_switch_fail_master 
+0657 20402a4f call rf_setup_time_master_slot 
+0658 204022e6 call master_recv_packet 
+0659 c505865e bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+065a 20402455 call new_conn_timeout 
+065b 243a0657 nbranch p_roles_waitfhs_loop ,blank 
+065c c5168666 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+065d 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-0680 20402a4d call rf_setup_time_slave_slot 
-0681 d8200010 arg type_id ,type 
-0682 204022dc call master_send_packet 
-0683 7920002d set1 mark_role_switch_receive_fhs ,mark 
-0684 793f800b set0 mark_fhs_already_good ,mark 
-0685 18000801 force 1 ,am_addr 
-0686 70001102 jam 2 ,mem_newconnto_counter 
-0687 20200679 branch p_roles_waitfhs_loop 
+065e 20402a4d call rf_setup_time_slave_slot 
+065f d8200010 arg type_id ,type 
+0660 204022dc call master_send_packet 
+0661 7920002d set1 mark_role_switch_receive_fhs ,mark 
+0662 793f800b set0 mark_fhs_already_good ,mark 
+0663 18000801 force 1 ,am_addr 
+0664 70001102 jam 2 ,mem_newconnto_counter 
+0665 20200657 branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-0688 68020165 fetch 4 ,mem_clke_bt 
-0689 1fe0fe08 pincrease 8 
-068a 60020165 store 4 ,mem_clke_bt 
-068b 202021f8 branch roles_replyto_fhs + 4 
+0666 68020165 fetch 4 ,mem_clke_bt 
+0667 1fe0fe08 pincrease 8 
+0668 60020165 store 4 ,mem_clke_bt 
+0669 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-068c c516264d bmark1 mark_first_packet ,end_of_packet 
-068d 2020258f branch process_dmh + 1 
+066a c516264d bmark1 mark_first_packet ,end_of_packet 
+066b 2020258f branch process_dmh + 1 
 
 p_prepare_tx:
-068e 68008030 fetch 1 ,mem_state 
-068f 2feffe00 isolate1 state_inconn ,pdata 
-0690 20408692 call p_bt_power_ctrl ,true 
-0691 2020248a branch prepare_tx + 1 
+066c 68008030 fetch 1 ,mem_state 
+066d 2feffe00 isolate1 state_inconn ,pdata 
+066e 20408670 call p_bt_power_ctrl ,true 
+066f 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-0692 68008047 fetch 1 ,mem_arq 
-0693 2feffe03 isolate1 wack ,pdata 
-0694 20408716 call power_ctrl_pac_succ_decrs ,true 
-0695 24408712 ncall power_ctrl_pac_succ_incrs ,true 
-0696 20200720 branch power_ctrl_start 
+0670 68008047 fetch 1 ,mem_arq 
+0671 2feffe03 isolate1 wack ,pdata 
+0672 204086f4 call power_ctrl_pac_succ_decrs ,true 
+0673 244086f0 ncall power_ctrl_pac_succ_incrs ,true 
+0674 202006fe branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-0697 204024f0 call slave_receive_master_slot 
-0698 242c28f9 nbranch shutdown_radio ,sync 
-0699 204029bb call save_rssi 
-069a 20400069 call p_rssi_signal 
-069b 20202518 branch slave_conn_recv_packet + 4 
+0675 204024f0 call slave_receive_master_slot 
+0676 242c28f9 nbranch shutdown_radio ,sync 
+0677 204029bb call save_rssi 
+0678 20400069 call p_rssi_signal 
+0679 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-069c c6130000 rtnmark1 mark_24g 
-069d 20402afa call lpo_calibration 
-069e 6801c16f fetch 3 ,mem_clks_per_lpo 
-069f 207a0000 rtn blank 
-06a0 6800c091 fetch 1 ,mem_lpm_mode 
-06a1 207a0000 rtn blank 
-06a2 6800c65a fetch 1 ,mem_ssp_enable 
-06a3 203a06a6 branch p_lpm_dispatch_next ,blank 
-06a4 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-06a5 207a0000 rtn blank 
+067a c6130000 rtnmark1 mark_24g 
+067b 20402afa call lpo_calibration 
+067c 6801c16f fetch 3 ,mem_clks_per_lpo 
+067d 207a0000 rtn blank 
+067e 6800c091 fetch 1 ,mem_lpm_mode 
+067f 207a0000 rtn blank 
+0680 6800c65a fetch 1 ,mem_ssp_enable 
+0681 203a0684 branch p_lpm_dispatch_next ,blank 
+0682 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+0683 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-06a6 6800c4c0 fetch 1 ,mem_le_sc_calc 
-06a7 247a0000 nrtn blank 
-06a8 20402c3a call lpm_check_wake_lock 
-06a9 247a0000 nrtn blank 
-06aa 6800c040 fetch 1 ,mem_context 
-06ab 2fe00e03 compare 3 ,pdata ,0x7 
-06ac 2420ab9d nbranch lpm_dispatch_unconn ,true 
-06ad 68014042 fetch 2 ,mem_context + coffset_tsniff 
-06ae d840ffff arg 0xffff ,temp 
-06af 98467c00 isub temp ,null 
-06b0 20628000 rtn zero 
-06b1 20202b7d branch lpm_dispatch_next + 9 
+0684 6800c4c0 fetch 1 ,mem_le_sc_calc 
+0685 247a0000 nrtn blank 
+0686 20402c3a call lpm_check_wake_lock 
+0687 247a0000 nrtn blank 
+0688 6800c040 fetch 1 ,mem_context 
+0689 2fe00e03 compare 3 ,pdata ,0x7 
+068a 2420ab9d nbranch lpm_dispatch_unconn ,true 
+068b 68014042 fetch 2 ,mem_context + coffset_tsniff 
+068c d840ffff arg 0xffff ,temp 
+068d 98467c00 isub temp ,null 
+068e 20628000 rtn zero 
+068f 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-06b2 7855fc00 disable wake 
-06b3 68008030 fetch 1 ,mem_state 
-06b4 c4008000 rtnbit0 state_insniff 
-06b5 2436abd0 nbranch lpm_not_match ,match 
-06b6 20402bcb call lpm_match 
-06b7 680140c1 fetch 2 ,mem_rx_window_sniff 
-06b8 6001003e store 2 ,mem_rx_window 
-06b9 68008047 fetch 1 ,mem_arq 
-06ba c281abde bbit1 wack ,lpm_mult_short 
-06bb c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-06bc 20405274 call l2cap_malloc_is_fifo_empty 
-06bd 243a2bde nbranch lpm_mult_short ,blank 
-06be 205a06c0 call p_lpm_set_attemp_timeout ,blank 
-06bf 20202bbe branch lpm_set_mult + 13 
+0690 7855fc00 disable wake 
+0691 68008030 fetch 1 ,mem_state 
+0692 c4008000 rtnbit0 state_insniff 
+0693 2436abd0 nbranch lpm_not_match ,match 
+0694 20402bcb call lpm_match 
+0695 680140c1 fetch 2 ,mem_rx_window_sniff 
+0696 6001003e store 2 ,mem_rx_window 
+0697 68008047 fetch 1 ,mem_arq 
+0698 c281abde bbit1 wack ,lpm_mult_short 
+0699 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+069a 20405274 call l2cap_malloc_is_fifo_empty 
+069b 243a2bde nbranch lpm_mult_short ,blank 
+069c 205a069e call p_lpm_set_attemp_timeout ,blank 
+069d 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-06c0 70008a01 jam 1 ,mem_current_sniff_attempt 
-06c1 70008b00 jam 0 ,mem_current_sniff_timeout 
-06c2 20600000 rtn 
+069e 70008a01 jam 1 ,mem_current_sniff_attempt 
+069f 70008b00 jam 0 ,mem_current_sniff_timeout 
+06a0 20600000 rtn 
 
 p_mouse_bb_disconnected:
-06c3 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
-06c4 2020077d branch p_zcode_entrance 
+06a1 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
+06a2 2020075b branch p_zcode_entrance 
 
 p_hid_rx_process:
-06c5 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
-06c6 2020077d branch p_zcode_entrance 
+06a3 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
+06a4 2020075b branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-06c7 68008552 fetch 1 ,mem_rxbuf + 1 
-06c8 600084c9 store 1 ,mem_lmi_accepted_opcode 
-06c9 c00986cb beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-06ca 20205db4 branch parse_lmp_accepted + 3 
+06a5 68008552 fetch 1 ,mem_rxbuf + 1 
+06a6 600084c9 store 1 ,mem_lmi_accepted_opcode 
+06a7 c00986a9 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+06a8 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-06cb 20405dcf call parse_lmp_accepted_switch 
-06cc 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
-06cd 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06ce 207a0000 rtn blank 
-06cf 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
-06d0 20600000 rtn 
+06a9 20405dcf call parse_lmp_accepted_switch 
+06aa 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06ab 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06ac 207a0000 rtn blank 
+06ad 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
+06ae 20600000 rtn 
 
 p_send_lmp:
-06d1 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
-06d2 2020077d branch p_zcode_entrance 
+06af 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
+06b0 2020075b branch p_zcode_entrance 
 
 p_process_conn_sm:
-06d3 204062bc call lmo_fifo_check 
-06d4 247a0000 nrtn blank 
+06b1 204062bc call lmo_fifo_check 
+06b2 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06d5 68008055 fetch 1 ,mem_conn_sm 
-06d6 207a0000 rtn blank 
-06d7 c00206f5 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06d8 c00806da beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06d9 20206320 branch process_conn_sm_continue + 2 
+06b3 68008055 fetch 1 ,mem_conn_sm 
+06b4 207a0000 rtn blank 
+06b5 c00206d3 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06b6 c00806b8 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06b7 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06da 6800c55b fetch 1 ,mem_switch_flag 
-06db c1000000 rtneq switch_flag_init 
-06dc c00086de beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06dd 2020635f branch host_creat_conn_wait_switch + 3 
+06b8 6800c55b fetch 1 ,mem_switch_flag 
+06b9 c1000000 rtneq switch_flag_init 
+06ba c00086bc beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06bb 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06de 20748000 rtn master 
+06bc 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06df 6800816d fetch 1 ,mem_connection_options 
-06e0 c28006e2 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06e1 20206399 branch host_create_conn_auth_pair + 1 
+06bd 6800816d fetch 1 ,mem_connection_options 
+06be c28006c0 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06bf 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06e2 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06e3 c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06e4 6800c1bd fetch 1 ,mem_link_key_exists 
-06e5 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06e6 680084d1 fetch 1 ,mem_lmp_conn_state 
-06e7 c4018000 rtnbit0 sent_setup_complete 
-06e8 c4010000 rtnbit0 received_setup_complete 
-06e9 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ea 207a0000 rtn blank 
-06eb 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ec 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06ed d8400014 arg 20 ,temp 
-06ee 98408400 iadd temp ,temp 
-06ef 1c427e00 copy clkn_bt ,pdata 
-06f0 98467c00 isub temp ,null 
-06f1 242106f3 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06f2 20206349 branch host_create_conn_auth 
+06c0 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06c1 c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06c2 6800c1bd fetch 1 ,mem_link_key_exists 
+06c3 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+06c4 680084d1 fetch 1 ,mem_lmp_conn_state 
+06c5 c4018000 rtnbit0 sent_setup_complete 
+06c6 c4010000 rtnbit0 received_setup_complete 
+06c7 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06c8 207a0000 rtn blank 
+06c9 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+06ca 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+06cb d8400014 arg 20 ,temp 
+06cc 98408400 iadd temp ,temp 
+06cd 1c427e00 copy clkn_bt ,pdata 
+06ce 98467c00 isub temp ,null 
+06cf 242106d1 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+06d0 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-06f3 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06f4 20600000 rtn 
+06d1 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06d2 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06f5 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
-06f6 2020636f branch host_create_conn_send_conn_req 
+06d3 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
+06d4 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06f7 204062bc call lmo_fifo_check 
-06f8 243a7ddb nbranch check_51cmd_restore ,blank 
-06f9 68008a99 fetch 1 ,mem_fifo_temp 
-06fa c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06fb c00f86ff beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06fc c0100702 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06fd c009070c beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06fe 20207dca branch check_51cmd_once_continue + 2 
+06d5 204062bc call lmo_fifo_check 
+06d6 243a7ddb nbranch check_51cmd_restore ,blank 
+06d7 68008a99 fetch 1 ,mem_fifo_temp 
+06d8 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06d9 c00f86dd beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+06da c01006e0 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+06db c00906ea beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06dc 20207dca branch check_51cmd_once_continue + 2 
 
 p_flash_store_le_reconn_info:
-06ff 70018534 jam rec_4_mode ,mem_record_bt_mode 
-0700 6803044f fetch 6 ,mem_le_plap 
-0701 20200704 branch p_flash_store_reconn_info 
+06dd 70018534 jam rec_4_mode ,mem_record_bt_mode 
+06de 6803044f fetch 6 ,mem_le_plap 
+06df 202006e2 branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-0702 70018533 jam rec_3_mode ,mem_record_bt_mode 
-0703 68030040 fetch 6 ,mem_plap 
+06e0 70018533 jam rec_3_mode ,mem_record_bt_mode 
+06e1 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-0704 60030186 store 6 ,mem_temp_lap 
+06e2 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-0705 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0706 c4038000 rtnbit0 mouse_store_eeprom_flag 
-0707 d8e00007 arg mouse_store_eeprom_flag ,queue 
-0708 204043d2 call mouse_disable_function_flag 
-0709 204042e8 call mouse_check_device_addr 
+06e3 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+06e4 c4038000 rtnbit0 mouse_store_eeprom_flag 
+06e5 d8e00007 arg mouse_store_eeprom_flag ,queue 
+06e6 204043d2 call mouse_disable_function_flag 
+06e7 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-070a 204042fb call mouse_before_store_reconn_info 
-070b 20200339 branch p_mouse_store_flash_device_info 
+06e8 204042fb call mouse_before_store_reconn_info 
+06e9 20200335 branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
-070c 20405890 call le_fifo_check_full 
-070d 247a0000 nrtn blank 
-070e 20205abf branch le_l2cap_tx_update_req 
+06ea 20405890 call le_fifo_check_full 
+06eb 247a0000 nrtn blank 
+06ec 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-070f 704d1a01 jam 1 ,mem_power_ctrl_level 
-0710 704d1700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-0711 20600000 rtn 
+06ed 704d1a01 jam 1 ,mem_power_ctrl_level 
+06ee 704d1700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06ef 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-0712 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0713 1fe0fe01 increase 1 ,pdata 
-0714 6000cd17 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0715 20600000 rtn 
+06f0 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f1 1fe0fe01 increase 1 ,pdata 
+06f2 6000cd17 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06f3 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-0716 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0717 1fe67c02 sub pdata ,2 ,null 
-0718 2441071e ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-0719 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-071a c1000000 rtneq 0 
-071b 1fe0ffff increase -1 ,pdata 
-071c 6000cd17 store 1 ,mem_power_ctrl_pac_succ_cnt 
-071d 20600000 rtn 
+06f4 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f5 1fe67c02 sub pdata ,2 ,null 
+06f6 244106fc ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+06f7 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f8 c1000000 rtneq 0 
+06f9 1fe0ffff increase -1 ,pdata 
+06fa 6000cd17 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06fb 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-071e 704d1703 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-071f 20600000 rtn 
+06fc 704d1703 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+06fd 20600000 rtn 
 
 power_ctrl_start:
-0720 68014682 fetch 2 ,mem_ui_state_map 
-0721 c3858000 rtnbit1 ui_state_ble_adv 
-0722 c3838000 rtnbit1 ui_state_bt_reconnect 
-0723 c3830000 rtnbit1 ui_state_bt_discovery 
-0724 da204ca0 arg mem_rssi_signal_buf ,rega 
-0725 20400286 call p_rssi_average 
-0726 6008cd18 storet 1 ,mem_rssi_avg_received 
-0727 58000082 setarg rssi_dis_max_24g 
-0728 c513072a bmark1 mark_24g ,power_ctrl_start_next 
-0729 58000080 setarg rssi_dis_max_ble 
+06fe 68014682 fetch 2 ,mem_ui_state_map 
+06ff c3858000 rtnbit1 ui_state_ble_adv 
+0700 c3838000 rtnbit1 ui_state_bt_reconnect 
+0701 c3830000 rtnbit1 ui_state_bt_discovery 
+0702 da204ca0 arg mem_rssi_signal_buf ,rega 
+0703 20400286 call p_rssi_average 
+0704 6008cd18 storet 1 ,mem_rssi_avg_received 
+0705 58000082 setarg rssi_dis_max_24g 
+0706 c5130708 bmark1 mark_24g ,power_ctrl_start_next 
+0707 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-072a 98467c00 isub temp ,null 
-072b 24210742 nbranch power_ctrl_txpower_incrs_force ,positive 
-072c 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-072d 1fe67c02 sub pdata ,2 ,null 
-072e 24210732 nbranch power_ctrl_txpower_decrs_check ,positive 
-072f 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0730 c0000743 beq 0 ,power_ctrl_txpower_incrs 
-0731 20600000 rtn 
+0708 98467c00 isub temp ,null 
+0709 24210720 nbranch power_ctrl_txpower_incrs_force ,positive 
+070a 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+070b 1fe67c02 sub pdata ,2 ,null 
+070c 24210710 nbranch power_ctrl_txpower_decrs_check ,positive 
+070d 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+070e c0000721 beq 0 ,power_ctrl_txpower_incrs 
+070f 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0732 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0733 c1900000 rtnne 32 
-0734 704d1700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0710 6800cd17 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0711 c1900000 rtnne 32 
+0712 704d1700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0735 6808cd18 fetcht 1 ,mem_rssi_avg_received 
-0736 58000077 setarg rssi_dis_min_24g 
-0737 c5130739 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-0738 58000075 setarg rssi_dis_min_ble 
+0713 6808cd18 fetcht 1 ,mem_rssi_avg_received 
+0714 58000077 setarg rssi_dis_min_24g 
+0715 c5130717 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0716 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-0739 98467c00 isub temp ,null 
-073a 24610000 nrtn positive 
-073b 6800cd1a fetch 1 ,mem_power_ctrl_level 
-073c c000074a beq 0 ,power_ctrl_decrs_level0 
-073d 1fe0ffff increase -1 ,pdata 
-073e 6000cd1a store 1 ,mem_power_ctrl_level 
-073f c000074a beq 0 ,power_ctrl_decrs_level0 
+0717 98467c00 isub temp ,null 
+0718 24610000 nrtn positive 
+0719 6800cd1a fetch 1 ,mem_power_ctrl_level 
+071a c0000728 beq 0 ,power_ctrl_decrs_level0 
+071b 1fe0ffff increase -1 ,pdata 
+071c 6000cd1a store 1 ,mem_power_ctrl_level 
+071d c0000728 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0740 7041de00 jam tx_power_0db ,mem_tx_power 
-0741 20600000 rtn 
+071e 7041de00 jam tx_power_0db ,mem_tx_power 
+071f 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0742 704d1700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0720 704d1700 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0743 6800cd1a fetch 1 ,mem_power_ctrl_level 
-0744 c0010748 beq 2 ,power_ctrl_incrs_level2 
-0745 1fe0fe01 increase 1 ,pdata 
-0746 6000cd1a store 1 ,mem_power_ctrl_level 
-0747 c0008740 beq 1 ,power_ctrl_incrs_level1 
+0721 6800cd1a fetch 1 ,mem_power_ctrl_level 
+0722 c0010726 beq 2 ,power_ctrl_incrs_level2 
+0723 1fe0fe01 increase 1 ,pdata 
+0724 6000cd1a store 1 ,mem_power_ctrl_level 
+0725 c000871e beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-0748 7041de02 jam tx_power_5db ,mem_tx_power 
-0749 20600000 rtn 
+0726 7041de02 jam tx_power_5db ,mem_tx_power 
+0727 20600000 rtn 
 
 power_ctrl_decrs_level0:
-074a 7041de04 jam tx_power_f5db ,mem_tx_power 
-074b 20600000 rtn 
+0728 7041de04 jam tx_power_f5db ,mem_tx_power 
+0729 20600000 rtn 
 
 p_set_freq_tx:
-074c 60088017 storet 1 ,mem_last_freq 
-074d 1840a200 add temp ,0 ,rega 
-074e 20402981 call rf_write_freq 
-074f 58000500 setarg param_pll_setup 
-0750 20402a8f call sleep 
+072a 60088017 storet 1 ,mem_last_freq 
+072b 1840a200 add temp ,0 ,rega 
+072c 20402981 call rf_write_freq 
+072d 58000500 setarg param_pll_setup 
+072e 20402a8f call sleep 
 
 p_rf_tx_enable:
-0751 70890601 jam 0x1 ,rfen_adc 
-0752 7089003c jam 0x3c ,rfen_rx 
-0753 708901e0 jam 0xe0 ,rfen_tx 
-0754 2000000a nop 10 
-0755 70890201 jam 0x01 ,rfen_mdm 
-0756 7089023d jam 0x3d ,rfen_mdm 
-0757 2000000a nop 10 
-0758 708903b7 jam 0xb7 ,rfen_sn 
-0759 2000000a nop 10 
-075a 7089027d jam 0x7d ,rfen_mdm 
-075b 6800c1de fetch 1 ,mem_tx_power 
-075c c0010764 beq tx_power_5db ,p_set_tx_power_5db 
-075d c0020769 beq tx_power_f5db ,p_set_tx_power_f5db 
-075e c0100778 beq tx_power_pair ,p_set_tx_power_pair 
+072f 70890601 jam 0x1 ,rfen_adc 
+0730 7089003c jam 0x3c ,rfen_rx 
+0731 708901e0 jam 0xe0 ,rfen_tx 
+0732 2000000a nop 10 
+0733 70890201 jam 0x01 ,rfen_mdm 
+0734 7089023d jam 0x3d ,rfen_mdm 
+0735 2000000a nop 10 
+0736 708903b7 jam 0xb7 ,rfen_sn 
+0737 2000000a nop 10 
+0738 7089027d jam 0x7d ,rfen_mdm 
+0739 6800c1de fetch 1 ,mem_tx_power 
+073a c0010742 beq tx_power_5db ,p_set_tx_power_5db 
+073b c0020747 beq tx_power_f5db ,p_set_tx_power_f5db 
+073c c0100756 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-075f 2040076e call p_rx_low_sens 
-0760 708955d0 jam 0xd0 ,0x8955 
-0761 708956e0 jam 0xe0 ,0x8956 
-0762 7089586c jam 0x6c ,0x8958 
-0763 2020294b branch set_tx_power_0db 
+073d 2040074c call p_rx_low_sens 
+073e 708955d0 jam 0xd0 ,0x8955 
+073f 708956e0 jam 0xe0 ,0x8956 
+0740 7089586c jam 0x6c ,0x8958 
+0741 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0764 20400773 call p_rx_high_sens 
-0765 708955d0 jam 0xd0 ,0x8955 
-0766 708956e0 jam 0xe0 ,0x8956 
-0767 7089583c jam 0x3c ,0x8958 
-0768 20202953 branch set_tx_power_5db 
+0742 20400751 call p_rx_high_sens 
+0743 708955d0 jam 0xd0 ,0x8955 
+0744 708956e0 jam 0xe0 ,0x8956 
+0745 7089583c jam 0x3c ,0x8958 
+0746 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0769 2040076e call p_rx_low_sens 
-076a 708955d0 jam 0xd0 ,0x8955 
-076b 708956c0 jam 0xc0 ,0x8956 
-076c 7089586c jam 0x6c ,0x8958 
-076d 2020295b branch set_tx_power_f5db 
+0747 2040074c call p_rx_low_sens 
+0748 708955d0 jam 0xd0 ,0x8955 
+0749 708956c0 jam 0xc0 ,0x8956 
+074a 7089586c jam 0x6c ,0x8958 
+074b 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-076e 70894c5b jam 0x5b ,0x894c 
-076f 70894d96 jam 0x96 ,0x894d 
-0770 70894e2c jam 0x2c ,0x894e 
-0771 70894f46 jam 0x46 ,0x894f 
-0772 20600000 rtn 
+074c 70894c5b jam 0x5b ,0x894c 
+074d 70894d96 jam 0x96 ,0x894d 
+074e 70894e2c jam 0x2c ,0x894e 
+074f 70894f46 jam 0x46 ,0x894f 
+0750 20600000 rtn 
 
 p_rx_high_sens:
-0773 70894cfb jam 0xfb ,0x894c 
-0774 70894def jam 0xef ,0x894d 
-0775 70894eec jam 0xec ,0x894e 
-0776 70894f5e jam 0x5e ,0x894f 
-0777 20600000 rtn 
+0751 70894cfb jam 0xfb ,0x894c 
+0752 70894def jam 0xef ,0x894d 
+0753 70894eec jam 0xec ,0x894e 
+0754 70894f5e jam 0x5e ,0x894f 
+0755 20600000 rtn 
 
 p_set_tx_power_pair:
-0778 708956c2 jam 0xc2 ,0x8956 
-0779 708955d0 jam 0xd0 ,0x8955 
-077a 20600000 rtn 
+0756 708956c2 jam 0xc2 ,0x8956 
+0757 708955d0 jam 0xd0 ,0x8955 
+0758 20600000 rtn 
 
 p_shutdown_radio:
-077b 18002a08 force 8 ,radio_ctrl 
-077c 202028fa branch shutdown_radio + 1 
+0759 18002a08 force 8 ,radio_ctrl 
+075a 202028fa branch shutdown_radio + 1 
 
 p_zcode_entrance:
-077d 680891c5 fetcht 1 ,mem_zcode_temp_param0 
-077e 18518400 rshift4 temp ,temp 
-077f 6800cb4e fetch 1 ,mem_zcode_current_number 
-0780 98467c00 isub temp ,null 
-0781 20228798 branch p_zcode_run ,zero 
-0782 6008cb4e storet 1 ,mem_zcode_current_number 
-0783 18408401 increase 1 ,temp 
-0784 58000100 setarg zcode_buff_size 
-0785 984f8400 imul32 temp ,temp 
-0786 6801cb4f fetch 3 ,mem_xip_flash_offset 
-0787 98467e00 isub temp ,pdata 
-0788 6809cb52 fetcht 3 ,mem_flash_start_addr 
-0789 9840fe00 iadd temp ,pdata 
-078a 1fe0fffb increase -5 ,pdata 
-078b 6001cb55 store 3 ,mem_flash_address 
-078c 20400375 call p_flash_release_deep_power_down 
-078d 6801cb55 fetch 3 ,mem_flash_address 
-078e d8400100 arg zcode_buff_size ,temp 
-078f da201f00 arg mem_zcode_buff ,rega 
-0790 20406562 call spid_read_flash 
-0791 204002eb call p_mouse_spi_init 
-0792 58001f00 setarg mem_zcode_buff 
-0793 60014199 store 2 ,mem_patch_ptr 
-0794 70419b40 jam zcode_code_size ,mem_patch_len 
-0795 204064ca call load_ucode 
-0796 58000000 setarg 0 
-0797 60024199 store 4 ,mem_patch_ptr 
+075b 680891c5 fetcht 1 ,mem_zcode_temp_param0 
+075c 18518400 rshift4 temp ,temp 
+075d 6800cb4e fetch 1 ,mem_zcode_current_number 
+075e 98467c00 isub temp ,null 
+075f 20228776 branch p_zcode_run ,zero 
+0760 6008cb4e storet 1 ,mem_zcode_current_number 
+0761 18408401 increase 1 ,temp 
+0762 58000100 setarg zcode_buff_size 
+0763 984f8400 imul32 temp ,temp 
+0764 6801cb4f fetch 3 ,mem_xip_flash_offset 
+0765 98467e00 isub temp ,pdata 
+0766 6809cb52 fetcht 3 ,mem_flash_start_addr 
+0767 9840fe00 iadd temp ,pdata 
+0768 1fe0fffb increase -5 ,pdata 
+0769 6001cb55 store 3 ,mem_flash_address 
+076a 20400371 call p_flash_release_deep_power_down 
+076b 6801cb55 fetch 3 ,mem_flash_address 
+076c d8400100 arg zcode_buff_size ,temp 
+076d da201f00 arg mem_zcode_buff ,rega 
+076e 20406562 call spid_read_flash 
+076f 204002e7 call p_mouse_spi_init 
+0770 58001f00 setarg mem_zcode_buff 
+0771 60014199 store 2 ,mem_patch_ptr 
+0772 70419b40 jam zcode_code_size ,mem_patch_len 
+0773 204064ca call load_ucode 
+0774 58000000 setarg 0 
+0775 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-0798 680091c5 fetch 1 ,mem_zcode_temp_param0 
-0799 20200001 branch p_zcode 
+0776 680091c5 fetch 1 ,mem_zcode_temp_param0 
+0777 20200001 branch p_zcode 
 
 p_drawing_optima_init:
-079a df200005 arg 5 ,loopcnt 
-079b d8a04b0b arg mem_mouse_asm_flag ,contw 
-079c 20207ed4 branch clear_mem 
+0778 df200005 arg 5 ,loopcnt 
+0779 d8a04b0b arg mem_mouse_asm_flag ,contw 
+077a 20207ed4 branch clear_mem 
 
 p_drawing_optima:
-079d 6802469b fetch 4 ,mem_mouse_x 
-079e 207a0000 rtn blank 
-079f 204007ee call p_data_abs_check 
-07a0 58000006 setarg 0x06 
-07a1 204007e1 call p_data_greater_than_check 
-07a2 58000003 setarg 0x03 
-07a3 204007e7 call p_data_less_than_check 
-07a4 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-07a5 c00087a7 beq 1 ,p_drawing_optima_modify 
-07a6 2020079a branch p_drawing_optima_init 
+077b 6802469b fetch 4 ,mem_mouse_x 
+077c 207a0000 rtn blank 
+077d 204007cc call p_data_abs_check 
+077e 58000006 setarg 0x06 
+077f 204007bf call p_data_greater_than_check 
+0780 58000003 setarg 0x03 
+0781 204007c5 call p_data_less_than_check 
+0782 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+0783 c0008785 beq 1 ,p_drawing_optima_modify 
+0784 20200778 branch p_drawing_optima_init 
 
 p_drawing_optima_modify:
-07a7 68014b0c fetch 2 ,mem_mouse_x_pre 
-07a8 600111be store 2 ,mem_data_pre 
-07a9 6801469b fetch 2 ,mem_mouse_x 
-07aa 600111c0 store 2 ,mem_data_current 
-07ab 204007ba call p_drawing_optima_data 
-07ac 680111be fetch 2 ,mem_data_pre 
-07ad 60014b0c store 2 ,mem_mouse_x_pre 
-07ae 680111c0 fetch 2 ,mem_data_current 
-07af 6001469b store 2 ,mem_mouse_x 
-07b0 68014b0e fetch 2 ,mem_mouse_y_pre 
-07b1 600111be store 2 ,mem_data_pre 
-07b2 6801469d fetch 2 ,mem_mouse_y 
-07b3 600111c0 store 2 ,mem_data_current 
-07b4 204007ba call p_drawing_optima_data 
-07b5 680111be fetch 2 ,mem_data_pre 
-07b6 60014b0e store 2 ,mem_mouse_y_pre 
-07b7 680111c0 fetch 2 ,mem_data_current 
-07b8 6001469d store 2 ,mem_mouse_y 
-07b9 20600000 rtn 
+0785 68014b0c fetch 2 ,mem_mouse_x_pre 
+0786 600111be store 2 ,mem_data_pre 
+0787 6801469b fetch 2 ,mem_mouse_x 
+0788 600111c0 store 2 ,mem_data_current 
+0789 20400798 call p_drawing_optima_data 
+078a 680111be fetch 2 ,mem_data_pre 
+078b 60014b0c store 2 ,mem_mouse_x_pre 
+078c 680111c0 fetch 2 ,mem_data_current 
+078d 6001469b store 2 ,mem_mouse_x 
+078e 68014b0e fetch 2 ,mem_mouse_y_pre 
+078f 600111be store 2 ,mem_data_pre 
+0790 6801469d fetch 2 ,mem_mouse_y 
+0791 600111c0 store 2 ,mem_data_current 
+0792 20400798 call p_drawing_optima_data 
+0793 680111be fetch 2 ,mem_data_pre 
+0794 60014b0e store 2 ,mem_mouse_y_pre 
+0795 680111c0 fetch 2 ,mem_data_current 
+0796 6001469d store 2 ,mem_mouse_y 
+0797 20600000 rtn 
 
 p_drawing_optima_data:
-07ba 680111be fetch 2 ,mem_data_pre 
-07bb 680911c0 fetcht 2 ,mem_data_current 
-07bc 9840fe00 iadd temp ,pdata 
-07bd 600191c2 store 3 ,mem_data_sum 
-07be 2feffe10 isolate1 16 ,pdata 
-07bf 202087c7 branch p_data_sum_overflow ,true 
-07c0 680091c3 fetch 1 ,mem_data_sum + 1 
-07c1 c07f87ce beq 0xff ,p_data_sum_n 
-07c2 680091c2 fetch 1 ,mem_data_sum 
+0798 680111be fetch 2 ,mem_data_pre 
+0799 680911c0 fetcht 2 ,mem_data_current 
+079a 9840fe00 iadd temp ,pdata 
+079b 600191c2 store 3 ,mem_data_sum 
+079c 2feffe10 isolate1 16 ,pdata 
+079d 202087a5 branch p_data_sum_overflow ,true 
+079e 680091c3 fetch 1 ,mem_data_sum + 1 
+079f c07f87ac beq 0xff ,p_data_sum_n 
+07a0 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-07c3 1fe37e00 rshift pdata ,pdata 
-07c4 600111be store 2 ,mem_data_pre 
-07c5 600111c0 store 2 ,mem_data_current 
-07c6 20600000 rtn 
+07a1 1fe37e00 rshift pdata ,pdata 
+07a2 600111be store 2 ,mem_data_pre 
+07a3 600111c0 store 2 ,mem_data_current 
+07a4 20600000 rtn 
 
 p_data_sum_overflow:
-07c7 680091c3 fetch 1 ,mem_data_sum + 1 
-07c8 c00007cb beq 0 ,p_data_sum_overflow_p 
-07c9 680191c2 fetch 3 ,mem_data_sum 
-07ca 202007c3 branch p_data_store_pre 
+07a5 680091c3 fetch 1 ,mem_data_sum + 1 
+07a6 c00007a9 beq 0 ,p_data_sum_overflow_p 
+07a7 680191c2 fetch 3 ,mem_data_sum 
+07a8 202007a1 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-07cb 7011c400 jam 0 ,mem_data_sum + 2 
-07cc 680091c2 fetch 1 ,mem_data_sum 
-07cd 202007c3 branch p_data_store_pre 
+07a9 7011c400 jam 0 ,mem_data_sum + 2 
+07aa 680091c2 fetch 1 ,mem_data_sum 
+07ab 202007a1 branch p_data_store_pre 
 
 p_data_sum_n:
-07ce 680091c2 fetch 1 ,mem_data_sum 
-07cf 204007d9 call p_pdata_get_half 
-07d0 600091be store 1 ,mem_data_pre 
-07d1 600091c0 store 1 ,mem_data_current 
-07d2 203a07d7 branch p_data_zero ,blank 
-07d3 580000ff setarg 0xff 
+07ac 680091c2 fetch 1 ,mem_data_sum 
+07ad 204007b7 call p_pdata_get_half 
+07ae 600091be store 1 ,mem_data_pre 
+07af 600091c0 store 1 ,mem_data_current 
+07b0 203a07b5 branch p_data_zero ,blank 
+07b1 580000ff setarg 0xff 
 
 p_data_set_direction:
-07d4 600091bf store 1 ,mem_data_pre + 1 
-07d5 600091c1 store 1 ,mem_data_current + 1 
-07d6 20600000 rtn 
+07b2 600091bf store 1 ,mem_data_pre + 1 
+07b3 600091c1 store 1 ,mem_data_current + 1 
+07b4 20600000 rtn 
 
 p_data_zero:
-07d7 58000000 setarg 0 
-07d8 202007d4 branch p_data_set_direction 
+07b5 58000000 setarg 0 
+07b6 202007b2 branch p_data_set_direction 
 
 p_pdata_get_half:
-07d9 1fe67e00 sub pdata ,0 ,pdata 
-07da 60008aae store 1 ,mem_rega 
-07db 68008aae fetch 1 ,mem_rega 
-07dc 1fe37e00 rshift pdata ,pdata 
-07dd 60008aae store 1 ,mem_rega 
-07de 68008aae fetch 1 ,mem_rega 
-07df 1fe67e00 sub pdata ,0 ,pdata 
-07e0 20600000 rtn 
+07b7 1fe67e00 sub pdata ,0 ,pdata 
+07b8 60008aae store 1 ,mem_rega 
+07b9 68008aae fetch 1 ,mem_rega 
+07ba 1fe37e00 rshift pdata ,pdata 
+07bb 60008aae store 1 ,mem_rega 
+07bc 68008aae fetch 1 ,mem_rega 
+07bd 1fe67e00 sub pdata ,0 ,pdata 
+07be 20600000 rtn 
 
 p_data_greater_than_check:
-07e1 9a267c00 isub rega ,null 
-07e2 242107ec nbranch p_enable_asm ,positive 
-07e3 9a467c00 isub regb ,null 
-07e4 242107ec nbranch p_enable_asm ,positive 
+07bf 9a267c00 isub rega ,null 
+07c0 242107ca nbranch p_enable_asm ,positive 
+07c1 9a467c00 isub regb ,null 
+07c2 242107ca nbranch p_enable_asm ,positive 
 
 p_disable_asm:
-07e5 704b0b00 jam 0 ,mem_mouse_asm_flag 
-07e6 20600000 rtn 
+07c3 704b0b00 jam 0 ,mem_mouse_asm_flag 
+07c4 20600000 rtn 
 
 p_data_less_than_check:
-07e7 9a267c00 isub rega ,null 
-07e8 24610000 nrtn positive 
-07e9 9a467c00 isub regb ,null 
-07ea 24610000 nrtn positive 
-07eb 202007e5 branch p_disable_asm 
+07c5 9a267c00 isub rega ,null 
+07c6 24610000 nrtn positive 
+07c7 9a467c00 isub regb ,null 
+07c8 24610000 nrtn positive 
+07c9 202007c3 branch p_disable_asm 
 
 p_enable_asm:
-07ec 704b0b01 jam 1 ,mem_mouse_asm_flag 
-07ed 20600000 rtn 
+07ca 704b0b01 jam 1 ,mem_mouse_asm_flag 
+07cb 20600000 rtn 
 
 p_data_abs_check:
-07ee 6801469b fetch 2 ,mem_mouse_x 
-07ef 600111c0 store 2 ,mem_data_current 
-07f0 204007f7 call p_data_abs 
-07f1 1fe22200 copy pdata ,rega 
-07f2 6801469d fetch 2 ,mem_mouse_y 
-07f3 600111c0 store 2 ,mem_data_current 
-07f4 204007f7 call p_data_abs 
-07f5 1fe22400 copy pdata ,regb 
-07f6 20600000 rtn 
+07cc 6801469b fetch 2 ,mem_mouse_x 
+07cd 600111c0 store 2 ,mem_data_current 
+07ce 204007d5 call p_data_abs 
+07cf 1fe22200 copy pdata ,rega 
+07d0 6801469d fetch 2 ,mem_mouse_y 
+07d1 600111c0 store 2 ,mem_data_current 
+07d2 204007d5 call p_data_abs 
+07d3 1fe22400 copy pdata ,regb 
+07d4 20600000 rtn 
 
 p_data_abs:
-07f7 680091c1 fetch 1 ,mem_data_current + 1 
-07f8 c07f87fc beq 0xff ,p_data_reversal 
-07f9 680091c0 fetch 1 ,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:
-07fa 1fe17eff and_into 0xff ,pdata 
-07fb 20600000 rtn 
+07d8 1fe17eff and_into 0xff ,pdata 
+07d9 20600000 rtn 
 
 p_data_reversal:
-07fc 680111c0 fetch 2 ,mem_data_current 
-07fd 1fe67e00 sub pdata ,0 ,pdata 
-07fe 202007fa 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:
@@ -35444,8 +35412,8 @@
 20011 68014682  fetch 2 ,mem_ui_state_map
 20012 c28642b0  bbit1 ui_state_btn_down ,mouse_start_discovery
 20013 204033a9  call app_disconn_reason_clear
-20014 20400571  call p_mouse_check_key_gpio
-20015 c00284c7  beq mouse_lm_button ,p_mouse_null_enter_hibernate_enable
+20014 2040054f  call p_mouse_check_key_gpio
+20015 c00284a5  beq mouse_lm_button ,p_mouse_null_enter_hibernate_enable
 20016 202033a7  branch app_bb_hibernate
 
 z_hid_rx_process:
@@ -35647,18 +35615,18 @@
 60002 20600000  rtn
 
 z_mouse_start_discovery:
-60003 204002c9  call p_mouse_tx_power_init
+60003 204002c5  call p_mouse_tx_power_init
 60004 70479c00  jam 0 ,mem_mouse_clear_sensor_data_flag
 60005 68014682  fetch 2 ,mem_ui_state_map
 60006 c2858011  bbit1 ui_state_ble_adv ,z_mouse_start_discovery_norandom
 60007 680246d3  fetch mouse_flag_len ,mem_mouse_flag
 60008 c30c0011  bbit0 mouse_enable_ble_random_addre ,z_mouse_start_discovery_norandom
-60009 204005a2  call p_mouse_load_random_addr_increase_count
+60009 20400580  call p_mouse_load_random_addr_increase_count
 6000a 680947c2  fetcht 2 ,mem_random_addr_increase_count
 6000b 18408401  increase 1 ,temp
 6000c 600947c2  storet 2 ,mem_random_addr_increase_count
 6000d 600944a1  storet 2 ,mem_le_lap + 1
-6000e 2040033e  call p_mouse_store_random_addr_increase_count
+6000e 2040033a  call p_mouse_store_random_addr_increase_count
 6000f 180a7e00  random pdata
 60010 6000c4a0  store 1 ,mem_le_lap
 
@@ -35679,15 +35647,15 @@
 6001e 6800c092  fetch 1 ,mem_device_option
 6001f 2feffe00  isolate1 mode_3_mouse ,pdata
 60020 2040fddd  call check_51cmd_start_discovery ,true
-60021 20200503  branch p_mouse_discovery_multi_led_blink
+60021 202004e1  branch p_mouse_discovery_multi_led_blink
 
 z_check_51cmd_adv:
 60022 70479f00  jam 0 ,mem_mouse_le_reconnect_flag
-60023 204002dd  call p_le_check_adv_flag
+60023 204002d9  call p_le_check_adv_flag
 60024 58000005  setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable
 60025 e0c08000  istore 1 ,contr
 60026 d8c04b10  arg mem_le_adv_swift_pair ,contr
-60027 204005a9  call p_le_adv_data_update
+60027 20400587  call p_le_adv_data_update
 60028 20207df4  branch check_51cmd_adv
 org 0x70001
 
@@ -35723,7 +35691,7 @@
 70015 700a993c  jam bt_evt_24g_attempt_success ,mem_fifo_temp
 70016 20407d86  call ui_ipc_send_event
 70017 2040016c  call p_g24_txbuf_clear
-70018 202003a4  branch p_g24_transmit_by_interrupt_enable
+70018 20200382  branch p_g24_transmit_by_interrupt_enable
 
 z_g24_tx_attemp_data_prep:
 70019 70119eff  jam 0xff ,mem_24g_common_temp
@@ -35750,7 +35718,7 @@
 7002a c4088000  rtnbit0 mouse_enable_24g
 7002b c3818000  rtnbit1 mosue_24g_pairing_flag
 7002c c6130000  rtnmark1 mark_24g
-7002d 204002e6  call p_mouse_devce_led_off
+7002d 204002e2  call p_mouse_devce_led_off
 7002e d8e00003  arg mosue_24g_pairing_flag ,queue
 7002f 204043ce  call mouse_enable_function_flag
 70030 58000000  setarg 0
@@ -35796,7 +35764,7 @@
 8000b 242c0023  nbranch z_g24_auto_pair_retry ,sync
 8000c 24378023  nbranch z_g24_auto_pair_retry ,user3
 8000d 2040019c  call p_g24_ackpayload_parse
-8000e 204002c9  call p_mouse_tx_power_init
+8000e 204002c5  call p_mouse_tx_power_init
 8000f 68024c06  fetch 4 ,mem_24g_addr
 80010 680a4bea  fetcht 4 ,mem_24g_paring_addr
 80011 98467c00  isub temp ,null
@@ -35807,7 +35775,7 @@
 80016 700a993c  jam bt_evt_24g_attempt_success ,mem_fifo_temp
 80017 20407d86  call ui_ipc_send_event
 80018 2040016c  call p_g24_txbuf_clear
-80019 202003a4  branch p_g24_transmit_by_interrupt_enable
+80019 20200382  branch p_g24_transmit_by_interrupt_enable
 
 z7_g24_tx_attemp_data_prep:
 8001a 70119eff  jam 0xff ,mem_24g_common_temp
@@ -35884,7 +35852,7 @@
 z_mouse_setting_config:
 9000a 204000dc  call p_g24_set_device_addr
 9000b 20403e6e  call mouse_gpio_init
-9000c 204002e6  call p_mouse_devce_led_off
+9000c 204002e2  call p_mouse_devce_led_off
 9000d 6800c6ef  fetch 1 ,mem_config_low_voltage_alarm_gpio
 9000e 6000c715  store 1 ,mem_mouse_struct_led_gpio
 9000f 20404298  call mouse_led_on
@@ -35902,8 +35870,8 @@
 9001b 20405839  call le_set_justwork
 9001c 2040582c  call le_set_fixed_ltk
 9001d 20405818  call le_set_config_read_authentication
-9001e 2040059e  call p_le_addr_random_config
-9001f 2020032c  branch p_mouse_load_flash_info_check
+9001e 2040057c  call p_le_addr_random_config
+9001f 20200328  branch p_mouse_load_flash_info_check
 
 z_mouse_bt_sdp_update:
 90020 204074b9  call enable_authrom
@@ -36004,7 +35972,7 @@
 a002e 20200166  branch p_g24_transmit_abandon
 
 z_mouse_24g_pairing_complete:
-a002f 20400455  call p_mouse_24g_no_data_timer_init
+a002f 20400433  call p_mouse_24g_no_data_timer_init
 a0030 70478b01  jam 1 ,mem_mouse_24g_enter_lpm_enable
 a0031 d8e00003  arg mosue_24g_pairing_flag ,queue
 a0032 204043d2  call mouse_disable_function_flag
@@ -36012,11 +35980,11 @@
 a0034 60014707  store 2 ,mem_24g_pairing_timer_count
 a0035 7046a700  jam 0 ,mem_mouse_move_flag
 a0036 2040405d  call mouse_read_sensor_common
-a0037 204004ca  call p_mouse_null_enter_hibernate_disable
-a0038 204002c9  call p_mouse_tx_power_init
+a0037 204004a8  call p_mouse_null_enter_hibernate_disable
+a0038 204002c5  call p_mouse_tx_power_init
 a0039 68024c06  fetch 4 ,mem_24g_addr
 a003a 6002477b  store 4 ,mem_mouse_24g_addr
-a003b 20200339  branch p_mouse_store_flash_device_info
+a003b 20200335  branch p_mouse_store_flash_device_info
 org 0xb0001
 
 z_entrancea:
@@ -36029,11 +35997,11 @@
 
 z_mouse_24g_attempt_fail:
 b0007 704d1e00  jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt
-b0008 204002c9  call p_mouse_tx_power_init
+b0008 204002c5  call p_mouse_tx_power_init
 b0009 204001ab  call p_g24_check_51cmd_stop_24g
 b000a 7041bd00  jam 0 ,mem_link_key_exists
 b000b 204002a3  call p_mouse_setgpio_hibernate
-b000c 202004c7  branch p_mouse_null_enter_hibernate_enable
+b000c 202004a5  branch p_mouse_null_enter_hibernate_enable
 
 z_mouse_le_conn_param_update_rsp_recieved:
 b000d 68014509  fetch 2 ,mem_le_l2cap_signaling_conn_param_update_rsp_result
@@ -36045,7 +36013,7 @@
 b0013 58000009  setarg le_interval_11_25ms
 b0014 60014496  store 2 ,mem_le_interval_min
 b0015 60014498  store 2 ,mem_le_interval_min + 2
-b0016 20400437  call p_app_updata_le_param
+b0016 20400415  call p_app_updata_le_param
 b0017 7047c401  jam le_lpm_disable ,mem_mouse_le_conn_param_reject
 b0018 20600000  rtn
 
@@ -36066,7 +36034,7 @@
 b0022 60014498  store 2 ,mem_le_interval_min + 2
 b0023 7047c400  jam le_lpm_enable ,mem_mouse_le_conn_param_reject
 b0024 70479c00  jam 0 ,mem_mouse_clear_sensor_data_flag
-b0025 204003cb  call p_mouse_data_init
+b0025 204003a9  call p_mouse_data_init
 b0026 20405816  call le_clr_config_more_data
 b0027 202041d9  branch mouse_bb_disconnected
 
@@ -36077,15 +36045,15 @@
 b002b 6012004c  hstore 4 ,core_lpm_reg
 b002c 20402c21  call lpm_write_ctrl
 b002d 204074bd  call disable_authrom
-b002e 204002e6  call p_mouse_devce_led_off
+b002e 204002e2  call p_mouse_devce_led_off
 b002f 20403e9f  call mouse_before_hibernate_wheel_gpio_set
 b0030 6808cb23  fetcht 1 ,mem_24g_sw_gpio
 b0031 20406829  call gpio_out_active
 b0032 204002a3  call p_mouse_setgpio_hibernate
 b0033 6800c720  fetch 1 ,mem_device_flag
 b0034 1fe67c02  sub pdata ,mode_24g_device ,null
-b0035 20428596  call p_mouse_select_device_button_gpio_set_suspend ,zero
-b0036 2040036f  call p_flash_deep_power_down
+b0035 20428574  call p_mouse_select_device_button_gpio_set_suspend ,zero
+b0036 2040036b  call p_flash_deep_power_down
 b0037 68108081  hfetch 1 ,core_gpio_sel1
 b0038 1fe17ef7  and pdata ,0xf7 ,pdata
 b0039 60108081  hstore 1 ,core_gpio_sel1
@@ -36102,8 +36070,8 @@
 c0006 20600000  rtn
 
 z_mouse_le_bb_event_connected:
-c0007 204004ca  call p_mouse_null_enter_hibernate_disable
-c0008 204003cb  call p_mouse_data_init
+c0007 204004a8  call p_mouse_null_enter_hibernate_disable
+c0008 204003a9  call p_mouse_data_init
 c0009 202041c3  branch mouse_le_bb_event_connected
 
 z_mouse_sniff_not_accept:
@@ -36127,7 +36095,7 @@
 c0017 2020001a  branch z_mouse_le_ll_enable_start_enc_flag
 
 z_mouse_le_ll_reconn_start_encryt:
-c0018 20400437  call p_app_updata_le_param
+c0018 20400415  call p_app_updata_le_param
 c0019 7046c605  jam 5 ,mem_le_start_encrypt_timer
 
 z_mouse_le_ll_enable_start_enc_flag:
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/ZhongXinSheng/1066_M08/output/romcode.rom	(revision 1053)
+++ /branch/mouse_project/ZhongXinSheng/1066_M08/output/romcode.rom	(working copy)
@@ -24606,8 +24606,8 @@
 68014682
 c28642b0
 204033a9
-20400571
-c00284c7
+2040054f
+c00284a5
 202033a7
 68010264
 1fe20c00
@@ -24743,18 +24743,18 @@
 20207fe9
 c0280003
 20600000
-204002c9
+204002c5
 70479c00
 68014682
 c2858011
 680246d3
 c30c0011
-204005a2
+20400580
 680947c2
 18408401
 600947c2
 600944a1
-2040033e
+2040033a
 180a7e00
 6000c4a0
 20403418
@@ -24773,13 +24773,13 @@
 6800c092
 2feffe00
 2040fddd
-20200503
+202004e1
 70479f00
-204002dd
+204002d9
 58000005
 e0c08000
 d8c04b10
-204005a9
+20400587
 20207df4
 c0300004
 c0308027
@@ -24804,7 +24804,7 @@
 700a993c
 20407d86
 2040016c
-202003a4
+20200382
 70119eff
 6800cbdf
 6000919f
@@ -24825,7 +24825,7 @@
 c4088000
 c3818000
 c6130000
-204002e6
+204002e2
 d8e00003
 204043ce
 58000000
@@ -24856,7 +24856,7 @@
 242c0023
 24378023
 2040019c
-204002c9
+204002c5
 68024c06
 680a4bea
 98467c00
@@ -24867,7 +24867,7 @@
 700a993c
 20407d86
 2040016c
-202003a4
+20200382
 70119eff
 6800cbdf
 6000919f
@@ -24917,7 +24917,7 @@
 20600000
 204000dc
 20403e6e
-204002e6
+204002e2
 6800c6ef
 6000c715
 20404298
@@ -24935,8 +24935,8 @@
 20405839
 2040582c
 20405818
-2040059e
-2020032c
+2040057c
+20200328
 204074b9
 d8c08c00
 d8a04876
@@ -25010,7 +25010,7 @@
 68024bbe
 204001c1
 20200166
-20400455
+20400433
 70478b01
 d8e00003
 204043d2
@@ -25018,11 +25018,11 @@
 60014707
 7046a700
 2040405d
-204004ca
-204002c9
+204004a8
+204002c5
 68024c06
 6002477b
-20200339
+20200335
 c0500007
 c050800d
 c0510020
@@ -25030,11 +25030,11 @@
 c0520028
 20600000
 704d1e00
-204002c9
+204002c5
 204001ab
 7041bd00
 204002a3
-202004c7
+202004a5
 68014509
 c1000000
 68008441
@@ -25044,7 +25044,7 @@
 58000009
 60014496
 60014498
-20400437
+20400415
 7047c401
 20600000
 68014682
@@ -25059,7 +25059,7 @@
 60014498
 7047c400
 70479c00
-204003cb
+204003a9
 20405816
 202041d9
 78347c00
@@ -25068,15 +25068,15 @@
 6012004c
 20402c21
 204074bd
-204002e6
+204002e2
 20403e9f
 6808cb23
 20406829
 204002a3
 6800c720
 1fe67c02
-20428596
-2040036f
+20428574
+2040036b
 68108081
 1fe17ef7
 60108081
@@ -25088,8 +25088,8 @@
 c0598015
 c05a001c
 20600000
-204004ca
-204003cb
+204004a8
+204003a9
 202041c3
 6800c808
 c1010000
@@ -25105,7 +25105,7 @@
 6800c79f
 c0008018
 2020001a
-20400437
+20400415
 7046c605
 d8e00001
 202041b9
@@ -25113,4 +25113,4 @@
 704b0100
 704b0a00
 202041d9
-00003b1f
+0000db76
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/ZhongXinSheng/1066_M08/program/patch.prog	(revision 1053)
+++ /branch/mouse_project/ZhongXinSheng/1066_M08/program/patch.prog	(working copy)
@@ -25,6 +25,9 @@
 
 // zcode start
 p_zcode:
+
+//only for power on once
+p_wake_from_power:
 ifdef BLE
 	call p_mouse_data_init
 endif
@@ -36,44 +39,56 @@
 	fetch 1,mem_bt_ui_button_timeout
 	store 1,mem_bt_ui_button_count	//bt key timer init
 	call mouse_bt_discovery_button_down_disable
-
+	call p_mouse_spi_init
 ifdef MOUSE_SMOOTHER	
 	call p_drawing_optima_init
 endif
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
-	nop 1
+	call p_mouse_cb_fuction
+	call p_mouse_wakeup_from_power
+	branch p_mouse_setting_config
+
+p_mouse_cb_fuction:
+ifdef G24
+	setarg p_mouse_g24_package_data
+	store 2,mem_cb_24g_data
+endif	
+ifdef BLE
+	setarg p_mouse_le
+	store 2,mem_cb_le_process
+	setarg p_le_mouse_bb_event_connect_complete
+	store 2,mem_cb_att_write
+endif
+ifdef CLASSIC_BT
+	setarg p_mouse_bt
+	store 2,mem_cb_bt_process
+endif	
+	setarg p_mouse_before_lpm
+	store 2,mem_cb_before_lpm
+	setarg p_mouse_priority_bb_event
+	store 2,mem_cb_bb_event_process
+	setarg p_mouse_idle
+	store 2,mem_cb_idle_process
+	setarg p_mouse_before_hibernate
+	store 2,mem_cb_before_hibernate
+	setarg p_mouse_bb_event_timer
+	store 2,mem_cb_event_timer
+	rtn	
+
+p_mouse_wakeup_from_power:
+	setarg 25
+	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+	ncall p_mouse_24g_transmit_by_interrupt_exit_count_max,wake
+	call p_mouse_init_sunt
+	call p_mouse_sensor_powerdown
+p_mouse_wakeup_no_from_power:
+	fetch 1,mem_reconn_times_init
+	store 1,mem_reconn_times
+	rtn
+p_mouse_24g_transmit_by_interrupt_exit_count_max:
+	setarg 375
+	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+	rtn
+
 	nop 1
 	nop 1
 	nop 1
@@ -571,185 +586,22 @@
 	arg mem_24g_rxpayload,contw	//ack payload buffer 
 	branch memcpy
 
-//p_g24_start_pairing_sm1:
-//	set1 mark_24g,mark
-//	call p_g24_pair_init
-//p_g24_set_pairing_sm_1:
-//	jam STATE_24G_PAIRING_1,mem_24g_pairing_sm
-//	rtn
-
-//p_g24_pair_init:
-//	jam TX_POWER_PAIR,mem_tx_power
-//	jam 0,mem_24g_pid
-//	jam G24_PAIR_CH,mem_24g_ch
-//	fetch 4,mem_24g_paring_addr
-//	branch p_g24_update_addr_and_synccrc8
-
 p_g24_pairing_sm:
 	jam ZCODE_90,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	fetch 1,mem_24g_ensure
-//	beq ENSURE_ON_24G,enable_user
-//	fetch 1,mem_24g_pairing_sm
-//	beq STATE_24G_PAIRING_1,p_g24_pairing_sm_1
-//	beq STATE_24G_PAIRING_2,p_g24_pairing_sm_2
-//	beq STATE_24G_PAIRING_3,p_g24_pairing_sm_3
-//	branch assert
-
-//p_g24_pairing_sm_1:
-//	jam STATE_24G_PAIRING_1_WAITING_ACK,mem_24g_pairing_sm
-//	jam 0xaa,mem_24g_common_temp
-//	branch p_g24_pairing_sm_common
-//p_g24_pairing_sm_2:
-//	jam STATE_24G_PAIRING_2_WAITING_ACK,mem_24g_pairing_sm
-//	jam 0x55,mem_24g_common_temp
-//	branch p_g24_pairing_sm_common
-//p_g24_pairing_sm_3:
-//	jam STATE_24G_PAIRING_3_WAITING_ACK,mem_24g_pairing_sm
-//	jam 0x22,mem_24g_common_temp
-//p_g24_pairing_sm_common:
-//	fetch 1,mem_24g_data_type
-//	and_into bits_data,pdata
-//	store 1,mem_24g_common_temp+1
-//	fetch 4,mem_24g_device_addr
-//	store 4,mem_24g_common_temp+2
-//p_g24_put_pairing_data_in_buff:
-//	jam 0,mem_24g_common_temp+6
-//	arg mem_24g_common_temp,rega
-//	arg 7,temp
-//	call p_g24_put_data_in_buff
-//	call p_g24_txdata_enable_tx
-//	branch enable_user
-
 p_g24_paring_mode:
 	jam ZCODE_91,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-
-//	fetch 1,mem_24g_pairing_sm
-//	rtneq STATE_24G_PAIRING_SUCCESS
-//	beq STATE_24G_PAIRING_1_WAITING_ACK,p_g24_pairing_sm_1_waiting_ack
-//	beq STATE_24G_PAIRING_2_WAITING_ACK,p_g24_pairing_sm_2_waiting_ack
-//	beq STATE_24G_PAIRING_3_WAITING_ACK,p_g24_pairing_sm_3_waiting_ack
-//	rtn
-
-
-//p_g24_pairing_sm_1_waiting_ack:
-//	jam STATE_24G_PAIRING_2,mem_24g_pairing_sm
-//	branch p_g24_transmit_abandon
-//p_g24_pairing_sm_2_waiting_ack:
-//	jam STATE_24G_PAIRING_3,mem_24g_pairing_sm
-//	branch p_g24_transmit_abandon
-//p_g24_pairing_sm_3_waiting_ack:
-//	jam STATE_24G_PAIRING_SUCCESS,mem_24g_pairing_sm
-//	jam BT_EVT_24G_PAIRING_COMPLETE,mem_fifo_temp
-//	call ui_ipc_send_event	
-//	fetch 4,mem_24g_rxpayload+2
-//	call p_g24_update_addr_and_synccrc8
-//	branch p_g24_transmit_abandon
-
 p_g24_start_24g_mode:
 	jam ZCODE_60,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	set0 mark_24g,mark
-//	call p_g24_ch_syncword_crc8_init
-//	fetch 1,mem_24g_pairing_sm
-//	rtnne STATE_24G_PAIRING_SUCCESS
-//	call p_g24_tx_attemp_data_prep
-//p_g24_tx_attemp_dongle:
-//	setarg 0
-//	store 2,mem_24g_check_dongle_times
-//p_g24_tx_attemp_dongle_loop:
-//	call lpo_calibration
-//	nop 2000
-//	fetch 1,mem_24g_check_dongle_times
-//	beq 0xff,p_g24_stop_g24_mode
-//	call p_g24_transmit_receive_ack
-//	nbranch p_g24_attemp_txdata_retry,sync
-//	nbranch p_g24_attemp_txdata_retry,user3
-//p_g24_tx_attemp_dongle_succ:
-//	set1 mark_24g,mark
-//	setarg 0
-//	store 2,mem_24g_check_dongle_times
-//	jam BT_EVT_24G_ATTEMPT_SUCCESS,mem_fifo_temp
-//	call ui_ipc_send_event
-//	call p_g24_txbuf_clear
-//	branch p_g24_transmit_by_interrupt_enable
-
-//p_g24_tx_attemp_data_prep:
-//	jam 0xff,mem_24g_common_temp
-//	fetch 1,mem_24g_data_type
-//	store 1,mem_24g_common_temp+1
-//	fetch 4,mem_24g_device_addr
-//	store 4,mem_24g_common_temp+2
-//	arg 6,temp
-//	arg mem_24g_common_temp,rega
-//	call p_g24_put_data_in_buff
-//	branch p_g24_transmit_prep
-	
-//p_g24_attemp_txdata_retry:
-//	fetch 2,mem_24g_check_dongle_times
-//	increase 1,pdata
-//	store 2,mem_24g_check_dongle_times
-//	call p_g24_ch
-//	branch p_g24_tx_attemp_dongle_loop
-
 p_g24_auto_pair_start:
 	jam ZCODE_70,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	set0 mark_24g,mark
-//	call p_g24_auto_pair_all_powerful
-//	call p_g24_tx_attemp_data_prep
-//p_g24_auto_pair_restart:
-//	jam 0,mem_24g_check_dongle_times
-//p_g24_auto_pair_start_loop:
-//	call lpo_calibration
-//	nop 2000
-//	fetch 1,mem_24g_check_dongle_times
-//	beq 0xff,p_g24_stop_g24_mode
-//	call p_g24_transmit_receive_ack
-//	nbranch p_g24_auto_pair_retry,sync
-//	nbranch p_g24_auto_pair_retry,user3
-//	call p_g24_ackpayload_parse
-//	call p_mouse_tx_power_init
-//	fetch 4,mem_24g_addr
-//	fetcht 4,mem_24g_paring_addr
-//	isub temp,null
-//	branch p_g24_start_pairing_sm1,zero
-//	branch p_g24_tx_attemp_dongle_succ
-
-//p_g24_auto_pair_retry:
-//	fetch 1,mem_24g_check_dongle_times
-//	increase 1,pdata
-//	store 1,mem_24g_check_dongle_times
-//	fetch 1,mem_24g_auto_paring_switch
-//	increase 1,pdata
-//	and_into 1,pdata
-//	store 1,mem_24g_auto_paring_switch
-//	beq 0,p_g24_auto_pair_device_attemp
-//	beq 1,p_g24_auto_pair_pair_attemp
-//	rtn
-	
-//p_g24_auto_pair_all_powerful:
-//	jam TX_POWER_PAIR,mem_tx_power
-//	setarg 0x0f0f
-//	store 2,mem_24g_addr
-//	istore 2,contw
-//p_g24_ch_syncword_crc8_init:	
-//	call p_g24_syncword_crc8
-//	branch p_g24_ch
-
-//p_g24_auto_pair_device_attemp:
-//	call p_g24_auto_pair_all_powerful
-//	branch p_g24_auto_pair_start_loop
-
-//p_g24_auto_pair_pair_attemp:
-//	call p_g24_pair_init
-//	branch p_g24_auto_pair_start_loop
-
 p_g24_check_51cmd_stop_24g:
 	set0 mark_24g,mark
 	call le_disable
@@ -1166,7 +1018,9 @@
 endif
 endif
 	call app_lpm_mult_enable
-	branch p_device_init_common,wake
+	call enable_authrom
+	branch p_device_wake_from_lpm,wake
+p_device_wake_from_power:	
 ifdef DEBUGLOG
 ifdef DEBUGLOG_STATUS
 	setarg DEBUGLOG_DTYPE_STATUS
@@ -1176,37 +1030,14 @@
 	call debuglog_push
 endif
 endif
-//ifdef BLE
-//	call p_mouse_data_init
-//endif
-//	fetch 1,mem_tx_power
-//	store 1,mem_tx_power_temp
-//	call power_ctrl_pac_succ_cnt_init
-//	fetch 1,mem_ui_button_timeout
-//	store 1,mem_combination_ui_button_count	//combination key timer init
-//	fetch 1,mem_bt_ui_button_timeout
-//	store 1,mem_bt_ui_button_count	//bt key timer init
-//	call mouse_bt_discovery_button_down_disable
-p_device_init_common:
-	call p_mouse_init
-	branch enable_authrom
-
-p_mouse_init:
-	ncall p_mouse_setting_config,wake
-	call p_mouse_spi_init
-	rtn wake
 ifdef RF_DEBUG
 	call test_gpio_init
 endif
-//ifdef MOUSE_SMOOTHER	
-//	call p_drawing_optima_init
-//endif
-	call p_mouse_cb_fuction
+	call p_wake_from_power
 ifdef G24	
 	call p_mouse_check_key_gpio
 	beq MOUSE_LR_BUTTON,p_mouse_24g_pairing_button
 endif
-	call p_mouse_wakeup_from_power
 p_mouse_check_reconn_target:
 	call p_mouse_tx_power_init
 	fetch 1,mem_device_flag
@@ -1221,8 +1052,10 @@
 ifdef BLE
 	beq REC_4_MODE,p_mouse4_0_check_reconn_target
 endif	
-	//enter hibernate if it is in its factory state
-	branch p_mouse_null_enter_hibernate_enable
+	branch p_mouse_null_enter_hibernate_enable	//enter hibernate if it is in its factory state
+
+p_device_wake_from_lpm:
+	branch p_mouse_spi_init
 
 p_mouse_tx_power_init:
 	fetch 1,mem_tx_power_temp
@@ -1274,22 +1107,8 @@
 p_mouse_24g_pairing_button:
 	jam ZCODE_61,mem_zcode_temp_param0
 	branch p_zcode_entrance
-//	fetch 1,mem_device_flag
-//	rtneq MODE_BT_DEVICE1
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	rtnbit0 MOUSE_ENABLE_24G
-//	rtnbit1 MOSUE_24G_PAIRING_FLAG
-//	rtnmark1 mark_24g
-//	call p_mouse_devce_led_off
-//	arg MOSUE_24G_PAIRING_FLAG,queue
-//	call mouse_enable_function_flag
-//	setarg 0
-//	store 2,mem_mouse_direct_timer
-//	store 1,mem_mouse_send_blank_timer
-//	store 2,mem_24g_check_dongle_times
-//	call mouse_stop_discovery
-//	branch p_g24_start_pairing_sm1
 endif
+
 p_mouse_devce_led_off:
 	call mouse_device1_led_on
 	call mouse_device2_led_on
@@ -1374,109 +1193,6 @@
 p_mouse_setting_config:
 	jam ZCODE_80,mem_zcode_temp_param0
 	branch p_zcode_entrance
-//ifdef G24
-//	call p_g24_set_device_addr
-//endif
-	//disable usb function
-//	hfetch 1,core_usb_config
-//	set0 4,pdata
-//	hstore 1,core_usb_config
-//	fetcht 1,mem_24g_sw_gpio
-//	call gpio_config_output
-//	fetcht 1,mem_flash_ncs_gpio
-//	call gpio_config_output
-//	call mouse_gpio_init
-//	
-//	call mouse_param_init
-//ifdef CLASSIC_BT
-//	call p_mouse_bt_sdp_update
-//endif	
-//	setarg 0
-//	store 2,mem_lpm_interval
-//	call load_adc_init
-//	call mouse_adc_init
-//ifdef BLE	
-//	call le_set_config_fixed_ltk
-//	call le_set_justwork
-//	call le_set_fixed_ltk
-//	call le_set_config_read_authentication
-//	call p_le_addr_random_config
-//endif
-//	branch p_mouse_load_flash_info_check
-	
-
-//p_mouse_init_iic:
-//	call iic_init_390k
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	isolate1 MOUSE_ENABLE_2K_EEPROM,pdata
-//	ncall clear_eeprom_size_2k,true
-//	call mouse_load_eeprom_dpi
-//	call p_mouse_init_environment
-//	call p_mouse_set_24g_addr_eeprom
-//	branch iicd_read_eep_data
-
-
-//ifdef CLASSIC_BT
-//p_mouse_bt_sdp_update:
-//	jam ZCODE_80,mem_zcode_temp_param0
-//	branch p_zcode_entrance
-
-
-//	call enable_authrom
-//	arg 0x8c00,contr
-//	arg mem_mouse_uuid_list,contw
-//	arg 369,loopcnt
-//	call memcpy
-//	//Attribute: HID SSR Host Max Latency
-//	setarg 0x0f0209
-//	istore 3,contw
-//	setarg 0x120009
-//	istore 3,contw
-//	//Attribute: HID SSR Host Min Timeout
-//	setarg 0x100209
-//	istore 3,contw
-//	setarg 0x000009
-//	istore 3,contw
-//	arg 0x8d71,contr
-//	arg 265,loopcnt
-//	call memcpy
-//	
-//	jam 0,mem_mouse_uuid_list+23	//Service Record Handle: 0x 00 01 00 00
-//	jam 0x6d,mem_mouse_uuid_list+15	//total length
-//	setarg 0x401f
-//	store 2,mem_mouse_uuid_list+357	//timeout
-//	setarg 0x6d04
-//	store 2,mem_mouse_uuid_list+462	//VID
-//	setarg 0x16b0
-//	store 2,mem_mouse_uuid_list+468	//PID
-
-//	setarg mem_mouse_uuid_list				//bt sdp start address
-//	store 2,mem_ui_uuid_table
-//	rtn
-//endif	
-
-
-//p_mouse_init_environment:
-//	call app_initflag_check
-//	branch mouse_eeprom_load_recon_info,zero
-//ifdef BLE
-//	call p_le_addr_random_config
-//endif
-//	branch mouse_init_environment+2
-
-
-//p_app_flag_store:
-//	arg 2,temp
-//	arg mem_timeup,rega
-//	arg MOUSE_EEPROM_MODULE_INIT_FLAG,regb
-//	branch iicd_write_protect_eep_data
-
-//p_app_initflag_check:
-//	arg 2,temp
-//	arg mem_pdatatemp,rega
-//	arg MOUSE_EEPROM_MODULE_INIT_FLAG,regb
-//	branch app_initflag_check+4
-
 
 //ncs gpio output high
 p_flash_ncs_disable:
@@ -1592,29 +1308,21 @@
 	jam FLASH_COMMAND_RELEASE_DEEP_POWER_DOWN,mem_temp
 	branch p_spid_write_flash_cmd
 	
-p_mouse_24g_transmit_by_interrupt_exit_count_max:
-	setarg 375
-	store 2,mem_24g_transmit_by_interrupt_exit_count_init
-	rtn
+//p_mouse_24g_transmit_by_interrupt_exit_count_max:
+//	setarg 375
+//	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+//	rtn
 
-p_mouse_wakeup_from_power:
-	setarg 25
-	store 2,mem_24g_transmit_by_interrupt_exit_count_init
-	ncall p_mouse_24g_transmit_by_interrupt_exit_count_max,wake
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	bbit0 MOUSE_ENABLE_WAKEUP_FROM_POWER,p_mouse_wakeup_no_from_power
-//	fetch 1,mem_wakup_from_power_flag
-//	isolate0 gpio_latch,pdata
-//	nbranch p_mouse_wakeup_no_from_power,true
-	call p_mouse_init_sunt
-	call p_mouse_sensor_powerdown
-p_mouse_wakeup_no_from_power:
-	fetch 1,mem_reconn_times_init
-	store 1,mem_reconn_times
-	rtn
-//	fetch 1,mem_config_function_enable	//standard do not need it
-//	rtnbit1 ENABLE_SELECT_DEVICE_BY_GPIO_BUTTON
-//	rtnbit1 ENABLE_SELECT_DEVICE_BY_SWITCH
+//p_mouse_wakeup_from_power:
+//	setarg 25
+//	store 2,mem_24g_transmit_by_interrupt_exit_count_init
+//	ncall p_mouse_24g_transmit_by_interrupt_exit_count_max,wake
+//	call p_mouse_init_sunt
+//	call p_mouse_sensor_powerdown
+//p_mouse_wakeup_no_from_power:
+//	fetch 1,mem_reconn_times_init
+//	store 1,mem_reconn_times
+//	rtn
 p_mouse_start_24g_mode:
 //	fetch MOUSE_FLAG_LEN,mem_mouse_flag
 //	rtnbit0 MOUSE_ENABLE_24G
@@ -1635,32 +1343,32 @@
 	loop p_pdata_0xff_check_loop
 	rtn
 
-p_mouse_cb_fuction:
-ifdef G24
-	setarg p_mouse_g24_package_data
-	store 2,mem_cb_24g_data
-endif	
-ifdef BLE
-	setarg p_mouse_le
-	store 2,mem_cb_le_process
-	setarg p_le_mouse_bb_event_connect_complete
-	store 2,mem_cb_att_write
-endif
-ifdef CLASSIC_BT
-	setarg p_mouse_bt
-	store 2,mem_cb_bt_process
-endif	
-	setarg p_mouse_before_lpm
-	store 2,mem_cb_before_lpm
-	setarg p_mouse_priority_bb_event
-	store 2,mem_cb_bb_event_process
-	setarg p_mouse_idle
-	store 2,mem_cb_idle_process
-	setarg p_mouse_before_hibernate
-	store 2,mem_cb_before_hibernate
-	setarg p_mouse_bb_event_timer
-	store 2,mem_cb_event_timer
-	rtn
+//p_mouse_cb_fuction:
+//ifdef G24
+//	setarg p_mouse_g24_package_data
+//	store 2,mem_cb_24g_data
+//endif	
+//ifdef BLE
+//	setarg p_mouse_le
+//	store 2,mem_cb_le_process
+//	setarg p_le_mouse_bb_event_connect_complete
+//	store 2,mem_cb_att_write
+//endif
+//ifdef CLASSIC_BT
+//	setarg p_mouse_bt
+//	store 2,mem_cb_bt_process
+//endif	
+//	setarg p_mouse_before_lpm
+//	store 2,mem_cb_before_lpm
+//	setarg p_mouse_priority_bb_event
+//	store 2,mem_cb_bb_event_process
+//	setarg p_mouse_idle
+//	store 2,mem_cb_idle_process
+//	setarg p_mouse_before_hibernate
+//	store 2,mem_cb_before_hibernate
+//	setarg p_mouse_bb_event_timer
+//	store 2,mem_cb_event_timer
+//	rtn
 
 ifdef G24
 p_mouse_g24_package_data:
@@ -1898,26 +1606,11 @@
 	jam ZCODE_B0,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	call p_mouse_init_sensor_reset
-//	call p_mouse_null_enter_hibernate_disable
-//	call p_mouse_data_init
-//	branch mouse_le_bb_event_connected
-
 p_mouse_le_bb_disconnected:
 	call p_mouse_sensor_powerdown_check	//sensor power down
 	jam ZCODE_A2,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	call p_mouse_sensor_powerdown_check
-//	setarg LE_INTERVAL_8_75MS
-//	store 2,mem_le_interval_min
-//	store 2,mem_le_interval_min+2
-//	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
-//	jam 0,mem_mouse_clear_sensor_data_flag
-//	call p_mouse_data_init
-//	call le_clr_config_more_data
-//	branch mouse_bb_disconnected
-
 p_mouse_le_enc_info:
 p_app_updata_le_param:
 	jam BT_CMD_LE_UPDATE_CONN,mem_fifo_temp
@@ -1927,32 +1620,9 @@
 	jam ZCODE_B3,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	fetch 1,mem_mouse_le_reconnect_flag
-//	beq 1,p_mouse_le_ll_reconn_start_encryt
-//	branch p_mouse_le_ll_enable_start_enc_flag
-
-//p_mouse_le_ll_reconn_start_encryt:
-//	call p_app_updata_le_param
-//	jam 5,mem_le_start_encrypt_timer
-//p_mouse_le_ll_enable_start_enc_flag:
-//	arg LL_START_ENC_FLAG,queue
-//	branch mouse_le_enable_connect_flag
-
 p_mouse_le_conn_param_update_rsp_recieved:
 	jam ZCODE_A1,mem_zcode_temp_param0
 	branch p_zcode_entrance
-
-//	fetch 2,mem_le_l2cap_signaling_conn_param_update_rsp_result
-//	rtneq BLE_SIGNALING_CONNECT_PARAMETER_UPDATE_ACCEPTED
-//	fetch 1,mem_le_tsniff
-//	rshift2 pdata,pdata
-//	sub pdata,LE_INTERVAL_15MS,null
-//	rtn positive
-//	setarg LE_INTERVAL_11_25MS
-//	store 2,mem_le_interval_min
-//	store 2,mem_le_interval_min+2
-//	call p_app_updata_le_param
-//	branch p_mouse_le_conn_param_lpm_disable
 endif
 
 
@@ -1961,13 +1631,6 @@
 p_mouse_bb_event_reconn_failed:
 	jam ZCODE_A3,mem_zcode_temp_param0
 	branch p_zcode_entrance
-//	fetch 2,mem_ui_state_map
-//	rtnbit1 UI_STATE_BTN_DOWN
-//	rtnbit1 UI_STATE_BT_DISCOVERY
-//	rtnbit1 UI_STATE_BLE_ADV
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	rtnbit1 MOUSE_BT_DISCOVERY_BUTTON_DOWN_FLAG
-//	branch app_bb_hibernate
 
 p_mouse_irtual_cable_unplug:
 	call mouse_irtual_cable_unplug
@@ -1976,12 +1639,6 @@
 p_mouse_sniff_not_accept:
 	jam ZCODE_B1,mem_zcode_temp_param0
 	branch p_zcode_entrance
-//	fetch 1,mem_mouse_enter_sniff_count
-//	rtneq 2
-//	increase 1,pdata
-//	store 1,mem_mouse_enter_sniff_count
-//	jam 0x12,mem_sniff_param_interval	//89Hz
-//	branch app_bt_enter_sniff
 
 p_mouse_bb_event_connected:
 	call p_mouse_init_sensor_reset
@@ -1994,21 +1651,10 @@
 	call p_mouse_sensor_powerdown_check	//sensor power down
 	jam ZCODE_B4,mem_zcode_temp_param0
 	branch p_zcode_entrance
-//	jam 0,mem_bt_rcvd_switch_req_accept
-//	jam 0,mem_bt_send_lmp_setup_complete
-//	jam 0,mem_mouse_bt_send_first_package_flag
-//	call p_mouse_sensor_powerdown_check
-//	branch mouse_bb_disconnected
 
 p_mouse_enter_sniff_check:
 	jam ZCODE_B2,mem_zcode_temp_param0
 	branch p_zcode_entrance
-
-//	fetch 1,mem_mouse_enter_sniff_count
-//	rtnne 2
-//	jam 0,mem_mouse_enter_sniff_count
-//	jam 0x0e,mem_sniff_param_interval	//89Hz
-//	branch app_bt_enter_sniff
 endif
 
 ifdef G24
@@ -2017,38 +1663,11 @@
 	jam ZCODE_92,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-
-//	call p_mouse_init_sensor_reset
-
-//	jam 1,mem_mouse_24g_enter_lpm_enable
-//	arg MOSUE_24G_PAIRING_FLAG,queue
-//	call mouse_disable_function_flag
-//	setarg 0
-//	store 2,mem_24g_pairing_timer_count
-//	jam 0,mem_mouse_move_flag
-//	
-//	call mouse_read_sensor_common
-//	call p_mouse_null_enter_hibernate_disable
-//	call p_mouse_tx_power_init
-//	
-//	fetch 4,mem_24g_addr
-//	store 4,mem_mouse_24g_addr
-
-//	branch p_mouse_store_flash_device_info
-
 p_mouse_24g_attempt_fail:
 	call p_mouse_sensor_powerdown_check	//sensor power down
 	jam ZCODE_A0,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	call p_mouse_sensor_powerdown_check
-//	jam G24_TX_TIMER_INT_DISABLE,mem_24g_transmit_by_interrupt
-//	call p_mouse_tx_power_init
-//	call p_g24_check_51cmd_stop_24g
-//	jam 0,mem_link_key_exists
-//	call p_mouse_setgpio_hibernate
-//	branch app_enter_hibernate
-
 p_mouse_24g_attempt_success:
 	call p_mouse_null_enter_hibernate_disable
 	call p_mouse_init_sensor_reset
@@ -2063,37 +1682,6 @@
 	jam ZCODE_A4,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-/*
-	enable user
-	hfetch 4,0x8138
-	setflag user,26,pdata
-	hstore 4,core_lpm_reg
-	call lpm_write_ctrl
-	call p_mouse_sensor_powerdown_check
-	call disable_authrom
-	call p_mouse_devce_led_off
-	fetch 1,mem_config_low_voltage_alarm_gpio
-	store 1,mem_mouse_struct_led_gpio
-	call mouse_led_on
-	call mouse_before_hibernate_wheel_gpio_set
-	fetcht 1,mem_24g_sw_gpio
-	call gpio_config_output
-	fetcht 1,mem_24g_sw_gpio
-	call gpio_out_active
-	call p_mouse_setgpio_hibernate
-	fetch 1,mem_device_flag
-	sub pdata,MODE_24G_DEVICE,null
-	call p_mouse_select_device_button_gpio_set_suspend,zero
-
-	call p_flash_deep_power_down
-	hfetch 1,core_gpio_sel1
-	and pdata,0xf7,pdata
-	hstore 1,core_gpio_sel1  //disable flash spi
-
-	fetcht 1,mem_sensor_data_gpio
-	branch gpio_clr_wake
-*/
-
 p_mouse_sensor_powerdown_check:
 	fetch 1,mem_mouse_init_sensor_reset_flag
 	rtn blank
@@ -2620,54 +2208,12 @@
 ifdef BLE
 p_le_addr_random_config:
 	jam ZCODE_81,mem_zcode_temp_param0
-	branch p_zcode_entrance
-//	call load_adc_init
-//	fetch 2,mem_0_5_adc_io_data	//adc data from otp
-//	nbranch p_le_otp_adc_empty,blank
-//	setarg 0x1122
-//p_le_otp_adc_empty:
-//	store 2,mem_random_addr_increase_count
-//	rtn
-	
+	branch p_zcode_entrance	
 
 p_mouse_start_discovery:
 	jam ZCODE_50,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-
-//	call p_mouse_tx_power_init
-//	jam 0,mem_mouse_clear_sensor_data_flag
-//	fetch 2,mem_ui_state_map
-//	bbit1 UI_STATE_BLE_ADV,p_mouse_start_discovery_norandom
-//	fetch MOUSE_FLAG_LEN,mem_mouse_flag
-//	bbit0 MOUSE_ENABLE_BLE_RANDOM_ADDRE,p_mouse_start_discovery_norandom
-//ifdef BLE
-//	call p_mouse_load_random_addr_increase_count
-//	fetcht 2,mem_random_addr_increase_count
-//	increase 1,temp
-//	storet 2,mem_random_addr_increase_count
-//	storet 2,mem_le_lap+1
-//	call p_mouse_store_random_addr_increase_count
-//	random pdata
-//	store 1,mem_le_lap
-//endif
-//p_mouse_start_discovery_norandom:
-//	call app_lpm_mult_disable
-//	fetch 2,mem_discovery_timeout
-//	store 2,mem_mouse_discovery_timer
-//	jam 6,mem_connection_options
-//	setarg 0
-//	store 2,mem_mouse_no_data_timer
-//	store 2,mem_mouse_direct_timer
-//	arg MOUSE_STORE_EEPROM_FLAG,queue
-//	call mouse_enable_function_flag
-//	call mouse_bt_discovery_button_down_disable
-//	fetch 1,mem_device_option
-//	isolate1 MODE_4_MOUSE,pdata
-//	call p_check_51cmd_adv,true
-//	call mouse_start_discovery_norandom+13
-//	branch p_mouse_discovery_multi_led_blink
-
 p_mouse_load_random_addr_increase_count:
 	call p_flash_release_deep_power_down
 	arg 2,temp
@@ -2677,17 +2223,6 @@
 	iadd regb,pdata
 	branch spid_read_flash
 
-//p_check_51cmd_adv:
-//	jam 0,mem_mouse_le_reconnect_flag
-//	call p_le_check_adv_flag
-//	setarg ADV_FLAG_BREDR_NOT_SUPPORTED |ADV_FLAG_LIMITED_DISCOVERABLE
-//	istore 1,contr
-
-//	arg mem_le_adv_swift_pair,contr
-//	call p_le_adv_data_update
-//	
-//	branch check_51cmd_adv
-
 p_le_adv_data_update:
 	arg mem_le_adv_data+11,contw
 	arg 19,loopcnt
@@ -2737,48 +2272,10 @@
 	jam ZCODE_40,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	call p_mouse_le_conn_param_check
-//	branch le_update_param+8
-//p_mouse_le_lpm_mult_reinit:
-//	fetch 1,mem_lpm_mult_init
-//	store 1,mem_lpm_mult
-//p_mouse_le_conn_param_lpm_enable:
-//	jam LE_LPM_ENABLE,mem_mouse_le_conn_param_reject
-//	rtn
-//p_mouse_le_conn_param_lpm_disable:
-//	jam LE_LPM_DISABLE,mem_mouse_le_conn_param_reject
-//	rtn
-//p_mouse_le_conn_param_check:
-//	fetch 1,mem_le_new_conninterval
-//	sub pdata,LE_INTERVAL_15MS,null
-//	nbranch p_mouse_le_conn_param_lpm_disable,positive
-//	fetch 1,mem_le_new_connslavelatency
-//	fetcht 1,mem_lpm_mult_init
-//	isub temp,null
-//	branch p_mouse_le_lpm_mult_reinit,positive
-//	fetch 1,mem_le_new_connslavelatency
-//	store 1,mem_lpm_mult
-//	branch p_mouse_le_conn_param_lpm_enable
-
 p_le_update_channel_map:
 	jam ZCODE_41,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	fetch 1,mem_le_state
-//	rtnbit0 lestate_update_map
-//	call p_le_channel_map_overflow_check
-//	nrtn user
-//	branch le_update_channel_map+3
-//p_le_channel_map_overflow_check:
-//	enable user
-//	fetch 1,mem_le_event_count+1
-//	rshift4 pdata,pdata
-//	rtnne 0x0f
-//	fetch 1,mem_le_instant+1
-//	rshift4 pdata,pdata
-//	rtnne 0x00
-//	branch disable_user
-
 p_le_prepare_tx:
 	fetch 1,mem_le_arq
 	bbit1 wak,p_le_prepare_tx_wak
@@ -2971,12 +2468,6 @@
 	jam ZCODE_82,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	call le_parse_smp_pairing_failed
-//	fetch 1,mem_le_state	//disable update conn param
-//	set0 lestate_update_param,pdata
-//	store 1,mem_le_state
-//	branch le_parse_terminate_ind
-
 p_le_adv_not_match:
 	fetch 1,mem_le_ch_mapped
 	bne 39,le_adv_loop
@@ -3042,21 +2533,6 @@
 p_page_wait_fhs_reply_ok:
 	jam ZCODE_00,mem_zcode_temp_param0
 	branch p_zcode_entrance
-// 	fetch 1, mem_page_rcv_fhs
-//	increase 1,pdata
-//	store 1, mem_page_rcv_fhs
-//	call prepare_newconn
-//p_master_newconn_loop:
-// 	set1 mark_first_packet,mark
-//	call master_newconn_once
-//	branch p_newconn_poll_responded,sync
-//	set0 mark_first_packet,mark
-//	call new_conn_timeout
-//	nbranch p_master_newconn_loop,blank
-//	branch page_restart
-//p_newconn_poll_responded:
-//	set0 mark_first_packet,mark
-//	branch newconn_poll_responded
 
 p_role_switch_master:
 	call role_switch_check
@@ -3163,48 +2639,9 @@
 	jam ZCODE_10,mem_zcode_temp_param0
 	branch p_zcode_entrance
 
-//	jam 0,mem_mouse_enter_sniff_count
-//	jam 0x0e,mem_sniff_param_interval	//115Hz
-//	call mouse_bb_discon_clear_stack
-//	fetch APP_DISC_RSN_SIZE,mem_app_disconn_reason
-//	bbit1 APP_DISC_BLE,mouse4_0_event_bb_disconn
-//	bbit1 APP_DISC_BY_BUTTON,app_disconn_reason_clear
-//	bbit1 APP_DISC_AFTER_PAIRING,p_mouse_event_light_state_pairing
-//	bbit1 APP_DISC_AFTER_RECONN,p_mouse_event_light_state_hibernate
-//	bbit1 APP_DISC_AFTER_SNIFF,p_mouse_event_light_state_hibernate
-//	branch mouse_start_discovery
-
-//p_mouse_event_light_state_pairing:
-//	bbit1 APP_DISC_AFTER_HANDSHAKE,p_mouse_event_light_state_hibernate
-//	bbit1 APP_DISC_AFTER_SNIFF,p_mouse_event_light_state_hibernate
-//	branch mouse_start_discovery
-//p_mouse_event_light_state_hibernate:
-//	fetch 2,mem_ui_state_map
-//	bbit1 UI_STATE_BTN_DOWN,mouse_start_discovery
-//	call app_disconn_reason_clear
-//	call p_mouse_check_key_gpio
-//	beq MOUSE_LM_BUTTON,p_mouse_null_enter_hibernate_enable
-//	branch app_bb_hibernate
-
 p_hid_rx_process:
 	jam ZCODE_11,mem_zcode_temp_param0
 	branch p_zcode_entrance
-//	fetch 2,mem_l2cap_payload_ptr
-//	copy pdata,contr
-//	ifetch 1,contr
-//	store 1,mem_l2cap_rcv
-//	and pdata,0x0f,temp
-//	rshift4 pdata,pdata //hidtype
-//	beq hid_type_set_protocol,p_hid_rx_set_protocol
-//	branch hid_rx_process+6
-//p_hid_rx_set_protocol:
-//	call hid_rx_process_handshake
-//	jam 0,mem_mouse_bt_boot_mode
-//	fetch 1,mem_l2cap_rcv
-//	isolate1 0,pdata
-//	rtn true
-//	jam 1,mem_mouse_bt_boot_mode	//boot mode
-//	rtn
 
 p_parse_lmp_accepted:
 	fetch 1,mem_rxbuf+1
@@ -3219,94 +2656,11 @@
 	jam 2,mem_bt_send_lmp_setup_complete
 	rtn
 
-
 p_send_lmp:
 	jam ZCODE_20,mem_zcode_temp_param0
 	branch p_zcode_entrance
-//	disable user
-//	call lmo_fifo_process
-//ifdef DEBUGLOG
-//ifdef DEBUGLOG_SEND_LMP
-//	setarg DEBUGLOG_DTYPE_SEND_LMP
-//	store 2,mem_debuglog_datatype
-//	fetch 1,mem_lmi_opcode
-//	store 1,mem_debuglog_dataval+1
-//	fetch 1,mem_lmp_to_send
-//	store 1,mem_debuglog_dataval
-//	fetch 1,mem_lmp_to_send
-//	store 2,mem_debuglog_dataval
-//	ncall debuglog_push,blank
-//endif
-//endif
-//	fetch 1,mem_lmp_to_send
-//	rtn blank
-//	bbit1 7,p_send_lmp_escape
-//	beq LMP_ACCEPTED,p_send_lmp_accepted
-//	beq LMP_SETUP_COMPLETE,p_send_lmp_setup_complete
-//	beq LMP_SNIFF_REQ, p_send_lmp_sniff_req
-//	branch send_lmp0
-//p_send_lmp_escape:
-//	beq LMP_EXT_FEATURES_RES,p_send_lmpext_features_res
-//	beq LMP_EXT_FEATURES_REQ,p_send_lmpext_features_req	
-//	branch send_lmp_escape
-//p_send_lmpext_features_res:
-//	call p_check_ssp_enable
-//	fetch 1,mem_lmp_to_send
-//	branch send_lmpext_features_res
-//p_send_lmpext_features_req:
-//	call p_check_ssp_enable
-//	fetch 1,mem_lmp_to_send
-//	branch send_lmpext_features_req
-//p_check_ssp_enable:
-//	fetch 1,mem_ssp_enable 
-//	branch ssp_disable,blank
-//	branch ssp_enable
-
-//p_send_lmp_setup_complete:
-//	jam 1,mem_bt_send_lmp_setup_complete
-//	branch send_lmp_setup_complete
-
-//p_send_lmp_sniff_req:
-//	jam 4,mem_mouse_bt_send_first_package_timer
-//	branch send_lmp_sniff_req
-	
-
-//p_send_lmp_accepted:
-//	force 2,pdata
-//	call msg_send_lmp
-//	fetch 1,mem_lmi_opcode
-//	istore 1,contw
-//	store 1,mem_lmi_opcode_temp
-//	call send_lmp_follow
-//ifdef DEBUGLOG
-//ifdef DEBUGLOG_MISC
-//	setarg DEBUGLOG_DTYPE_MISC
-//	store 2,mem_debuglog_datatype
-//	fetch 1,mem_lmi_opcode_temp
-//	store 1,mem_debuglog_dataval
-//	call debuglog_push	
-//endif
-//endif
-//	fetch 1,mem_lmi_opcode_temp
-//	beq LMP_MAX_SLOT_REQ,p_send_lmp_accepted_max_slot_req	//sumsung a5100 patch
-//	branch send_lmp_accepted+7
-
-
-//p_send_lmp_accepted_max_slot_req:
-//	fetch 1,mem_bt_rcvd_switch_req_accept
-//	rtn blank
-//	jam 0,mem_bt_rcvd_switch_req_accept
-//	fetch 1,mem_bt_send_lmp_setup_complete
-//	rtnne 2
-//	jam 1,mem_bt_send_max_slot_req_accept_after_switch
-//	copy clkn_bt,pdata
-//	store 4,mem_aurand_send_delay_time
-//	rtn
 
 p_process_conn_sm:
-//	jam ZCODE_30,mem_zcode_temp_param0
-//	branch p_zcode_entrance
-
 	call lmo_fifo_check
 	nrtn blank
 p_process_conn_sm_continue:
