Index: output/flash.dat
===================================================================
--- /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/output/flash.dat	(revision 3989)
+++ /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-86
+ce
 1f
 20
 20
@@ -11,7 +11,7 @@
 20
 40
 03
-b1
+bd
 68
 00
 c1
@@ -23,7 +23,7 @@
 20
 40
 06
-e1
+fc
 68
 00
 c6
@@ -39,11 +39,11 @@
 20
 40
 03
-34
+3b
 20
 40
 07
-79
+8c
 20
 40
 00
@@ -59,7 +59,7 @@
 58
 00
 03
-7a
+86
 60
 01
 4d
@@ -67,7 +67,7 @@
 58
 00
 03
-94
+a0
 60
 01
 41
@@ -75,7 +75,7 @@
 58
 00
 06
-22
+4e
 60
 01
 41
@@ -83,7 +83,7 @@
 58
 00
 03
-cc
+d8
 60
 01
 41
@@ -99,15 +99,15 @@
 58
 00
 04
-0a
+16
 60
 01
 41
 f5
 58
 00
-03
-f4
+04
+00
 60
 01
 41
@@ -115,7 +115,7 @@
 58
 00
 04
-41
+4d
 60
 01
 41
@@ -123,7 +123,7 @@
 58
 00
 04
-48
+54
 60
 01
 41
@@ -275,43 +275,43 @@
 c0
 42
 87
-4d
+60
 c0
 44
 87
-1e
+31
 c0
 0d
 86
-3b
+66
 c0
 13
 06
-3d
+68
 c0
 24
 06
-59
+84
 c0
 25
 06
-60
+8b
 c0
 28
 86
-69
+94
 c0
 2c
 86
-57
+82
 c0
 53
 86
-6e
+99
 c0
 56
 86
-84
+af
 c0
 65
 b3
@@ -319,7 +319,7 @@
 c0
 74
 86
-95
+c0
 c0
 50
 80
@@ -338,24 +338,24 @@
 94
 c0
 71
-84
-fd
+85
+27
 c0
 73
 05
-22
+4c
 c0
 75
 05
-59
+83
 c0
 75
 85
-60
+8a
 c0
 76
 05
-74
+9e
 20
 20
 2a
@@ -363,71 +363,71 @@
 c0
 1c
 85
-7e
+a8
 c0
 21
 85
-86
+b0
 c0
 25
 05
-8c
+b6
 c0
 2b
 85
-8f
+b9
 c0
 2c
 85
-91
+bb
 c0
 31
 85
-93
+bd
 c0
 33
 05
-bd
+ec
 c0
 33
-85
-d4
+86
+03
 c0
 35
 06
-0d
+39
 c0
 3b
 86
-18
+44
 c0
 02
 86
-97
+c2
 c0
 40
 06
-99
+c4
 c0
 41
 06
-a3
+ce
 c0
 44
 06
-a5
+d0
 c0
 46
 06
-28
+54
 c0
 46
 86
-34
+60
 c0
 7d
 06
-c9
+e4
 20
 20
 2a
@@ -447,7 +447,7 @@
 20
 40
 03
-8b
+97
 20
 40
 74
@@ -622,8 +622,8 @@
 00
 20
 40
-06
-f2
+07
+05
 20
 40
 00
@@ -635,7 +635,7 @@
 c0
 00
 83
-7d
+89
 20
 40
 00
@@ -1002,16 +1002,16 @@
 a6
 20
 40
-06
-e8
+05
+dd
 20
 20
 01
 d2
 20
 40
-06
-e8
+05
+dd
 70
 4d
 1d
@@ -1223,7 +1223,7 @@
 20
 40
 03
-ab
+b7
 70
 4c
 16
@@ -1379,7 +1379,7 @@
 20
 40
 06
-e4
+ff
 68
 00
 cb
@@ -1547,11 +1547,11 @@
 20
 40
 07
-15
+28
 20
 40
-06
-e8
+05
+dd
 20
 20
 01
@@ -1631,11 +1631,11 @@
 20
 20
 07
-4f
+62
 20
 40
 06
-e1
+fc
 70
 11
 c5
@@ -1643,7 +1643,7 @@
 20
 20
 07
-4f
+62
 70
 11
 c5
@@ -1651,7 +1651,7 @@
 20
 20
 07
-4f
+62
 79
 3f
 80
@@ -2519,7 +2519,7 @@
 20
 40
 03
-81
+8d
 20
 40
 02
@@ -2642,8 +2642,8 @@
 00
 20
 20
-04
-fd
+05
+27
 70
 89
 5b
@@ -2667,7 +2667,7 @@
 20
 35
 83
-34
+3b
 68
 01
 c4
@@ -2691,7 +2691,7 @@
 20
 40
 05
-31
+5b
 c0
 01
 82
@@ -2715,7 +2715,7 @@
 20
 40
 04
-e9
+f6
 68
 00
 c2
@@ -2731,7 +2731,7 @@
 20
 20
 04
-ae
+bb
 68
 00
 cc
@@ -2759,11 +2759,11 @@
 20
 40
 04
-e9
+f6
 20
 40
 03
-71
+7d
 20
 34
 01
@@ -2775,7 +2775,7 @@
 20
 20
 07
-4f
+62
 68
 03
 41
@@ -2843,7 +2843,7 @@
 20
 40
 05
-70
+9a
 20
 20
 7d
@@ -2915,11 +2915,11 @@
 20
 20
 07
-4f
+62
 20
 40
 03
-34
+3b
 20
 40
 40
@@ -3051,7 +3051,7 @@
 20
 40
 03
-34
+3b
 58
 00
 80
@@ -3074,8 +3074,8 @@
 00
 20
 20
-04
-fd
+05
+27
 68
 00
 c6
@@ -3086,8 +3086,8 @@
 7a
 20
 20
-04
-fd
+05
+27
 20
 40
 02
@@ -3123,7 +3123,7 @@
 20
 20
 07
-4f
+62
 68
 08
 cb
@@ -3191,7 +3191,7 @@
 20
 40
 03
-6f
+7b
 20
 40
 44
@@ -3211,7 +3211,7 @@
 20
 22
 83
-5a
+66
 60
 09
 47
@@ -3230,28 +3230,56 @@
 7a
 20
 40
+05
+11
+68
+01
+47
+0f
+20
+3a
 03
-6f
+26
+68
+00
+c2
+31
+c2
+80
+b4
+0a
 20
 40
 03
-3a
+7b
 20
 40
 03
-51
+41
 20
 40
 03
-46
+53
 20
 40
 03
-3d
+5d
+20
+40
+03
+48
+20
+40
+03
+45
 20
 40
 03
 0e
+20
+40
+03
+53
 d8
 40
 00
@@ -3275,15 +3303,15 @@
 20
 40
 03
-46
+48
 20
 40
 03
-3d
+45
 20
 40
 03
-67
+73
 70
 42
 12
@@ -3318,40 +3346,20 @@
 32
 20
 40
-65
-2a
-58
-01
-86
-a0
-20
-40
-2a
-8f
+03
+53
 20
 40
 65
-0b
-58
-00
-01
-fa
-60
-11
-00
-8c
-58
-00
-00
-05
+2b
 20
 40
-64
-f3
+03
+59
 c2
 80
 03
-3d
+45
 20
 60
 00
@@ -3400,11 +3408,51 @@
 60
 00
 00
-58
-00
-47
-7f
-d8
+20
+40
+65
+0b
+58
+01
+86
+a0
+20
+40
+2a
+8f
+20
+40
+03
+59
+c3
+00
+83
+53
+20
+60
+00
+00
+58
+00
+01
+fa
+60
+11
+00
+8c
+58
+00
+00
+05
+20
+20
+64
+f3
+58
+00
+47
+7f
+d8
 40
 47
 20
@@ -3427,11 +3475,11 @@
 20
 40
 03
-6f
+7b
 20
 40
 03
-51
+5d
 20
 20
 65
@@ -3439,15 +3487,15 @@
 20
 40
 03
-57
+63
 20
 40
 05
-69
+93
 20
 40
 05
-62
+8c
 68
 00
 c7
@@ -3455,11 +3503,11 @@
 c0
 00
 83
-62
+6e
 c0
 01
 03
-62
+6e
 20
 40
 02
@@ -3527,7 +3575,7 @@
 20
 20
 03
-68
+74
 df
 20
 00
@@ -3559,7 +3607,7 @@
 c2
 00
 03
-75
+81
 20
 60
 00
@@ -3603,7 +3651,7 @@
 20
 40
 03
-89
+95
 d8
 c0
 19
@@ -3611,7 +3659,7 @@
 20
 40
 03
-89
+95
 d8
 c0
 1a
@@ -3619,7 +3667,7 @@
 20
 40
 03
-89
+95
 d8
 c0
 1b
@@ -3643,7 +3691,7 @@
 20
 40
 03
-89
+95
 d8
 a0
 19
@@ -3651,7 +3699,7 @@
 20
 40
 03
-89
+95
 d8
 a0
 1a
@@ -3659,7 +3707,7 @@
 20
 40
 03
-89
+95
 d8
 a0
 1b
@@ -3667,7 +3715,7 @@
 20
 20
 03
-89
+95
 20
 40
 58
@@ -3683,7 +3731,7 @@
 c0
 7f
 83
-9b
+a7
 68
 00
 c6
@@ -3703,7 +3751,7 @@
 20
 5a
 03
-f1
+fd
 68
 02
 46
@@ -3723,15 +3771,15 @@
 20
 40
 03
-a8
+b4
 20
 40
 03
-ab
+b7
 20
 40
 03
-c7
+d3
 da
 20
 46
@@ -3743,7 +3791,7 @@
 20
 54
 03
-b6
+c2
 20
 60
 00
@@ -3831,7 +3879,7 @@
 20
 34
 03
-be
+ca
 20
 60
 00
@@ -3919,7 +3967,7 @@
 20
 5a
 03
-f1
+fd
 68
 02
 46
@@ -3943,15 +3991,15 @@
 20
 40
 03
-a8
+b4
 20
 40
 03
-ab
+b7
 20
 40
 03
-c7
+d3
 68
 00
 cb
@@ -3959,7 +4007,7 @@
 c0
 00
 83
-e0
+ec
 68
 00
 cb
@@ -4067,7 +4115,7 @@
 20
 40
 05
-44
+6e
 68
 08
 c6
@@ -4079,11 +4127,11 @@
 20
 20
 84
-08
+14
 20
 40
 05
-4d
+77
 68
 00
 c6
@@ -4122,8 +4170,8 @@
 2d
 20
 40
-04
-fa
+05
+07
 20
 40
 3d
@@ -4135,7 +4183,7 @@
 20
 40
 05
-4d
+77
 20
 20
 3d
@@ -4147,35 +4195,35 @@
 c0
 0a
 04
-1c
+28
 c0
 0a
 84
-1f
+2b
 c0
 14
 84
-22
+2e
 c0
 19
 04
-24
+30
 c0
 20
 04
-26
+32
 c0
 02
 04
-28
+34
 c0
 09
 84
-28
+34
 c0
 13
 84
-2a
+36
 c0
 0c
 b3
@@ -4183,31 +4231,31 @@
 c0
 10
 84
-2c
+38
 c0
 00
 84
-2e
+3a
 c0
 01
 04
-33
+3f
 c0
 15
 84
-36
+42
 c0
 1c
 84
-38
+44
 c0
 1d
 04
-3b
+47
 c0
 1e
 04
-3e
+4a
 20
 20
 41
@@ -4223,11 +4271,11 @@
 20
 20
 07
-4f
+62
 20
 40
 04
-44
+50
 70
 11
 c5
@@ -4235,7 +4283,7 @@
 20
 20
 07
-4f
+62
 70
 0a
 99
@@ -4251,7 +4299,7 @@
 20
 20
 07
-4f
+62
 70
 11
 c5
@@ -4259,7 +4307,7 @@
 20
 20
 07
-4f
+62
 70
 11
 c5
@@ -4267,7 +4315,7 @@
 20
 20
 07
-4f
+62
 20
 40
 43
@@ -4283,7 +4331,7 @@
 20
 20
 07
-4f
+62
 20
 40
 02
@@ -4291,11 +4339,11 @@
 20
 40
 04
-b1
+be
 20
 40
-04
-f5
+05
+02
 70
 48
 09
@@ -4307,7 +4355,7 @@
 20
 40
 04
-44
+50
 70
 11
 c5
@@ -4315,7 +4363,7 @@
 20
 20
 07
-4f
+62
 70
 11
 c5
@@ -4323,7 +4371,7 @@
 20
 20
 07
-4f
+62
 20
 40
 02
@@ -4335,11 +4383,11 @@
 20
 20
 07
-4f
+62
 20
 40
 04
-44
+50
 70
 11
 c5
@@ -4347,11 +4395,11 @@
 20
 20
 07
-4f
+62
 20
 40
 04
-b1
+be
 20
 40
 02
@@ -4363,7 +4411,7 @@
 20
 40
 04
-44
+50
 70
 11
 c5
@@ -4371,7 +4419,7 @@
 20
 20
 07
-4f
+62
 68
 00
 ca
@@ -4390,24 +4438,28 @@
 03
 20
 40
-03
-f6
+05
+0a
 20
 40
 04
-b4
+02
 20
 40
 04
-87
+c1
 20
 40
 04
-a3
+94
 20
 40
 04
-8c
+b0
+20
+40
+04
+99
 20
 40
 42
@@ -4415,11 +4467,11 @@
 20
 40
 04
-58
+65
 20
 40
 04
-80
+8d
 20
 40
 42
@@ -4427,19 +4479,19 @@
 20
 40
 04
-69
+76
 20
 40
 04
-72
+7f
 20
 40
 04
-78
+85
 20
 40
 04
-61
+6e
 20
 40
 42
@@ -4447,7 +4499,7 @@
 20
 40
 04
-64
+71
 20
 20
 42
@@ -4463,7 +4515,7 @@
 20
 20
 84
-5e
+6b
 68
 00
 c7
@@ -4507,7 +4559,7 @@
 da
 40
 04
-67
+74
 20
 20
 33
@@ -4539,7 +4591,7 @@
 da
 40
 04
-6f
+7c
 20
 20
 33
@@ -4563,7 +4615,7 @@
 da
 40
 04
-75
+82
 20
 20
 33
@@ -4579,7 +4631,7 @@
 20
 20
 04
-85
+92
 68
 00
 cb
@@ -4595,7 +4647,7 @@
 da
 40
 04
-7d
+8a
 20
 20
 33
@@ -4619,7 +4671,7 @@
 da
 40
 04
-83
+90
 20
 20
 33
@@ -4647,7 +4699,7 @@
 da
 40
 04
-8a
+97
 20
 20
 33
@@ -4679,7 +4731,7 @@
 20
 20
 84
-94
+a1
 20
 40
 43
@@ -4699,7 +4751,7 @@
 20
 40
 04
-97
+a4
 20
 20
 43
@@ -4711,7 +4763,7 @@
 da
 40
 04
-9a
+a7
 20
 20
 33
@@ -4775,7 +4827,7 @@
 20
 3a
 04
-ac
+b9
 1f
 e0
 ff
@@ -4835,11 +4887,11 @@
 c0
 00
 04
-ba
+c7
 c0
 00
 84
-c4
+d1
 20
 60
 00
@@ -4847,7 +4899,7 @@
 20
 40
 04
-d4
+e1
 68
 00
 cb
@@ -4871,7 +4923,7 @@
 20
 42
 84
-c2
+cf
 20
 60
 00
@@ -4883,7 +4935,7 @@
 20
 20
 04
-e2
+ef
 68
 00
 cb
@@ -4915,7 +4967,7 @@
 20
 3a
 04
-d0
+dd
 68
 00
 cb
@@ -4923,7 +4975,7 @@
 20
 3a
 04
-e0
+ed
 1f
 e0
 ff
@@ -4939,11 +4991,11 @@
 c0
 00
 84
-e2
+ef
 c0
 00
 04
-d4
+e1
 20
 60
 00
@@ -4959,7 +5011,7 @@
 c0
 01
 04
-db
+e8
 68
 08
 cb
@@ -5011,7 +5063,7 @@
 24
 3a
 04
-e6
+f3
 70
 4b
 25
@@ -5099,7 +5151,7 @@
 20
 20
 04
-e0
+ed
 70
 4b
 2b
@@ -5111,23 +5163,139 @@
 20
 20
 04
-f1
+fe
+68
+01
+4b
+2d
+24
+7a
+00
+00
 68
 00
 c6
+ce
+1f
 e0
-c0
+fe
 01
+60
+00
+c6
+ce
+1f
+e6
+7c
+0a
+20
+61
+00
+00
+20
+40
+68
+a8
+70
+46
+ce
+00
+20
+40
+68
+eb
+20
+40
+69
+08
+60
+01
+47
+0f
+da
+20
+47
+09
+20
+40
 05
 1a
+70
+4a
+fd
+01
+20
+20
+43
+e7
+ea
+24
+00
+00
+60
+04
+0a
+9a
+68
+09
+0a
+9c
+68
+01
+0a
+a0
+98
+46
+7c
+00
+24
+21
+69
+44
+68
+09
+0a
+9e
+98
+46
+7c
+00
+24
+21
+69
+40
+68
+00
+c2
+31
+79
+3f
+fe
+00
+60
+00
+c2
+31
+20
+60
+00
+00
+68
+00
+c6
+e0
+c0
+01
+05
+44
 c0
 03
 05
-0a
+34
 c0
 03
 85
-12
+3c
 68
 00
 c7
@@ -5135,7 +5303,7 @@
 20
 5a
 05
-10
+3a
 68
 00
 c7
@@ -5143,7 +5311,7 @@
 c0
 00
 85
-07
+31
 c0
 01
 bd
@@ -5171,7 +5339,7 @@
 20
 5a
 05
-10
+3a
 68
 00
 c7
@@ -5179,7 +5347,7 @@
 c0
 00
 85
-18
+42
 c0
 01
 bd
@@ -5203,7 +5371,7 @@
 20
 5a
 05
-10
+3a
 68
 00
 c7
@@ -5211,7 +5379,7 @@
 c0
 00
 85
-18
+42
 c0
 01
 bd
@@ -5235,7 +5403,7 @@
 20
 5a
 05
-10
+3a
 68
 00
 c7
@@ -5247,7 +5415,7 @@
 c0
 01
 85
-20
+4a
 20
 20
 3d
@@ -5275,7 +5443,7 @@
 20
 40
 05
-55
+7f
 20
 40
 40
@@ -5287,15 +5455,15 @@
 20
 40
 05
-2f
+59
 24
 34
 05
-2c
+56
 20
 40
 07
-70
+83
 20
 20
 3f
@@ -5303,7 +5471,7 @@
 20
 40
 07
-79
+8c
 70
 4b
 37
@@ -5315,7 +5483,7 @@
 20
 40
 05
-31
+5b
 20
 20
 40
@@ -5327,7 +5495,7 @@
 20
 40
 05
-34
+5e
 20
 20
 40
@@ -5339,7 +5507,7 @@
 20
 40
 05
-4d
+77
 68
 08
 c6
@@ -5359,7 +5527,7 @@
 20
 40
 05
-4d
+77
 68
 08
 c6
@@ -5379,7 +5547,7 @@
 20
 40
 05
-44
+6e
 68
 08
 c6
@@ -5451,7 +5619,7 @@
 20
 20
 05
-48
+72
 68
 08
 c6
@@ -5463,7 +5631,7 @@
 20
 20
 05
-4e
+78
 68
 00
 c6
@@ -5483,11 +5651,11 @@
 20
 40
 04
-c2
+cf
 20
 40
 04
-b1
+be
 28
 0f
 fe
@@ -5507,7 +5675,7 @@
 20
 20
 07
-4f
+62
 70
 11
 c5
@@ -5515,11 +5683,11 @@
 20
 20
 07
-4f
+62
 20
 40
 03
-6f
+7b
 d8
 40
 00
@@ -5547,7 +5715,7 @@
 20
 40
 03
-6f
+7b
 d8
 40
 00
@@ -5626,8 +5794,8 @@
 d7
 20
 20
-04
-f5
+05
+02
 68
 00
 c5
@@ -5654,8 +5822,8 @@
 1e
 20
 40
-06
-f2
+07
+05
 20
 20
 53
@@ -5703,7 +5871,7 @@
 20
 20
 07
-4f
+62
 70
 11
 c5
@@ -5711,7 +5879,7 @@
 20
 20
 07
-4f
+62
 68
 00
 84
@@ -5719,11 +5887,11 @@
 c2
 82
 85
-a7
+dc
 20
 40
 06
-e4
+ff
 68
 00
 c7
@@ -5731,7 +5899,7 @@
 24
 3a
 05
-9d
+c7
 68
 00
 84
@@ -5739,7 +5907,7 @@
 c3
 02
 05
-a1
+cb
 68
 00
 82
@@ -5747,7 +5915,7 @@
 20
 3a
 05
-a1
+cb
 20
 20
 56
@@ -5775,7 +5943,7 @@
 c0
 82
 85
-a4
+ce
 70
 47
 8e
@@ -5787,19 +5955,11 @@
 20
 5a
 03
-ba
+c6
 20
 20
 56
 22
-20
-40
-05
-a9
-20
-20
-05
-b5
 68
 00
 c6
@@ -5841,17 +6001,45 @@
 c3
 dc
 20
-40
+20
 56
 50
 20
-60
+40
+05
+d1
+68
 00
+cd
+23
+1f
+e6
+7c
+02
+24
+41
+07
+03
+68
 00
+cd
+23
+c1
+00
+00
+00
+1f
+e0
+ff
+ff
+60
+00
+cd
+23
 20
-20
-06
-e8
+60
+00
+00
 68
 00
 c7
@@ -5935,7 +6123,7 @@
 c0
 01
 85
-cc
+fb
 20
 20
 56
@@ -5947,7 +6135,7 @@
 c0
 00
 85
-cf
+fe
 20
 20
 5c
@@ -5978,12 +6166,12 @@
 00
 c0
 02
-05
-d8
+06
+07
 c0
 03
 06
-05
+34
 20
 20
 56
@@ -5995,7 +6183,7 @@
 20
 40
 05
-b6
+e5
 20
 40
 7e
@@ -6010,8 +6198,8 @@
 77
 c0
 08
-05
-e7
+06
+16
 1f
 ec
 84
@@ -6022,8 +6210,8 @@
 24
 20
 21
-05
-f5
+06
+24
 d8
 40
 47
@@ -6106,8 +6294,8 @@
 00
 c0
 05
-05
-f7
+06
+26
 20
 20
 58
@@ -6122,8 +6310,8 @@
 e9
 c2
 81
-85
-fe
+86
+2d
 68
 01
 04
@@ -6150,16 +6338,16 @@
 00
 24
 22
-85
-fa
+86
+29
 20
 40
 5a
 42
 24
 34
-05
-fa
+06
+29
 70
 04
 7a
@@ -6175,11 +6363,7 @@
 c0
 00
 86
-09
-c0
-02
-86
-0b
+37
 20
 20
 5a
@@ -6192,14 +6376,6 @@
 20
 5b
 09
-70
-11
-c5
-82
-20
-20
-07
-4f
 68
 00
 80
@@ -6211,7 +6387,7 @@
 20
 40
 06
-13
+3f
 d8
 e0
 00
@@ -6251,7 +6427,7 @@
 20
 37
 06
-1b
+47
 24
 36
 d8
@@ -6347,7 +6523,7 @@
 20
 40
 06
-35
+61
 60
 18
 80
@@ -6364,18 +6540,14 @@
 10
 80
 81
-79
-20
-7e
-00
-79
-3f
+1f
+e1
 fe
 01
-79
-3f
-fe
-03
+1f
+e1
+7e
+f5
 60
 10
 80
@@ -6391,7 +6563,7 @@
 20
 20
 07
-4f
+62
 20
 40
 21
@@ -6427,7 +6599,7 @@
 c5
 05
 86
-4a
+75
 20
 40
 24
@@ -6435,11 +6607,11 @@
 24
 3a
 06
-43
+6e
 c5
 16
 86
-53
+7e
 20
 20
 21
@@ -6479,7 +6651,7 @@
 20
 20
 06
-43
+6e
 68
 02
 01
@@ -6543,7 +6715,7 @@
 20
 40
 86
-64
+8f
 20
 20
 24
@@ -6558,16 +6730,16 @@
 03
 20
 40
-86
-e8
+85
+dd
 24
 40
 86
-e4
+ff
 20
 20
-06
-f2
+07
+05
 20
 40
 24
@@ -6619,7 +6791,7 @@
 20
 3a
 06
-78
+a3
 68
 00
 c5
@@ -6727,7 +6899,7 @@
 20
 5a
 06
-92
+bd
 20
 20
 2b
@@ -6751,7 +6923,7 @@
 20
 20
 07
-4f
+62
 70
 11
 c5
@@ -6759,7 +6931,7 @@
 20
 20
 07
-4f
+62
 68
 00
 85
@@ -6771,7 +6943,7 @@
 c0
 09
 86
-9d
+c8
 20
 20
 5d
@@ -6807,7 +6979,7 @@
 20
 20
 07
-4f
+62
 20
 40
 62
@@ -6827,11 +6999,11 @@
 c0
 02
 06
-c7
+e2
 c0
 08
 06
-ac
+d7
 20
 20
 63
@@ -6847,99 +7019,35 @@
 c0
 00
 86
-b0
-20
-20
-63
-5f
-20
-74
-80
-00
-68
-00
-81
-6d
-c2
-80
-06
-b4
-20
-20
-63
-99
-68
-00
-cb
-01
-c0
-00
-e3
-9d
-68
-00
-c1
-bd
-20
-3a
-63
-a9
-68
-00
-84
-d1
-c4
-01
-80
-00
-c4
-01
-00
-00
-68
-00
-cb
-00
-20
-7a
-00
-00
-70
-4b
-00
-00
-68
-02
-04
-e9
-d8
-40
-00
-14
-98
-40
-84
-00
-1c
-42
-7e
+db
+20
+20
+63
+5f
+20
+74
+80
 00
-98
-46
-7c
+68
 00
-24
-21
+81
+6d
+c2
+80
 06
-c5
+df
 20
 20
 63
-49
-70
-4b
+99
+68
 00
+cb
 01
+c0
+00
+e3
+9d
 20
 60
 00
@@ -6971,15 +7079,15 @@
 c0
 0f
 86
-d1
+ec
 c0
 10
 06
-d4
+ef
 c0
 09
 06
-de
+f9
 20
 20
 7d
@@ -6995,7 +7103,7 @@
 20
 20
 06
-d6
+f1
 70
 01
 85
@@ -7076,38 +7184,6 @@
 60
 00
 00
-68
-00
-cd
-23
-1f
-e6
-7c
-02
-24
-41
-06
-f0
-68
-00
-cd
-23
-c1
-00
-00
-00
-1f
-e0
-ff
-ff
-60
-00
-cd
-23
-20
-60
-00
-00
 70
 4d
 23
@@ -7150,8 +7226,8 @@
 82
 c5
 13
-06
-fc
+07
+0f
 58
 00
 00
@@ -7163,7 +7239,7 @@
 24
 21
 07
-14
+27
 68
 00
 cd
@@ -7175,7 +7251,7 @@
 24
 21
 07
-04
+17
 68
 00
 cd
@@ -7183,7 +7259,7 @@
 c0
 00
 07
-15
+28
 20
 60
 00
@@ -7211,7 +7287,7 @@
 c5
 13
 07
-0b
+1e
 58
 00
 00
@@ -7231,7 +7307,7 @@
 c0
 00
 07
-1c
+2f
 1f
 e0
 ff
@@ -7243,7 +7319,7 @@
 c0
 00
 07
-1c
+2f
 70
 41
 de
@@ -7263,7 +7339,7 @@
 c0
 01
 07
-1a
+2d
 1f
 e0
 fe
@@ -7275,7 +7351,7 @@
 c0
 00
 87
-12
+25
 70
 41
 de
@@ -7359,19 +7435,19 @@
 c0
 01
 07
-36
+49
 c0
 02
 07
-3b
+4e
 c0
 10
 07
-4a
+5d
 20
 40
 07
-40
+53
 70
 89
 55
@@ -7391,7 +7467,7 @@
 20
 40
 07
-45
+58
 70
 89
 55
@@ -7411,7 +7487,7 @@
 20
 40
 07
-40
+53
 70
 89
 55
@@ -7507,7 +7583,7 @@
 20
 22
 87
-6e
+81
 60
 08
 cb
@@ -7551,7 +7627,7 @@
 20
 40
 03
-6f
+7b
 68
 01
 cb
@@ -7583,11 +7659,11 @@
 24
 22
 87
-5f
+72
 20
 40
 03
-34
+3b
 58
 00
 1f
@@ -7631,7 +7707,7 @@
 20
 40
 07
-d0
+e2
 58
 00
 00
@@ -7639,7 +7715,7 @@
 20
 40
 07
-c3
+d5
 58
 00
 00
@@ -7647,7 +7723,7 @@
 20
 40
 07
-c9
+db
 68
 00
 cb
@@ -7655,7 +7731,7 @@
 c0
 00
 87
-7c
+8f
 df
 20
 00
@@ -7687,7 +7763,7 @@
 20
 40
 07
-8f
+a2
 68
 01
 11
@@ -7723,7 +7799,7 @@
 20
 40
 07
-97
+aa
 68
 01
 11
@@ -7775,7 +7851,7 @@
 20
 20
 07
-9f
+b1
 68
 01
 11
@@ -7804,10 +7880,6 @@
 08
 cd
 68
-20
-20
-07
-9f
 60
 01
 91
@@ -7819,7 +7891,7 @@
 20
 20
 87
-a9
+bb
 68
 00
 91
@@ -7827,7 +7899,7 @@
 c0
 7f
 87
-b0
+c2
 68
 00
 91
@@ -7855,7 +7927,7 @@
 c0
 00
 07
-ad
+bf
 68
 01
 91
@@ -7863,7 +7935,7 @@
 20
 20
 07
-a5
+b7
 70
 11
 c4
@@ -7875,7 +7947,7 @@
 20
 20
 07
-a5
+b7
 68
 00
 91
@@ -7883,7 +7955,7 @@
 20
 40
 07
-bb
+cd
 60
 00
 91
@@ -7895,7 +7967,7 @@
 20
 3a
 07
-b9
+cb
 58
 00
 00
@@ -7919,7 +7991,7 @@
 20
 20
 07
-b6
+c8
 1f
 e6
 7e
@@ -7959,7 +8031,7 @@
 24
 21
 07
-ce
+e0
 9a
 46
 7c
@@ -7967,7 +8039,7 @@
 24
 21
 07
-ce
+e0
 70
 4b
 0b
@@ -7995,7 +8067,7 @@
 20
 20
 07
-c7
+d9
 70
 4b
 0b
@@ -8015,7 +8087,7 @@
 20
 40
 07
-d9
+eb
 1f
 e2
 22
@@ -8031,7 +8103,7 @@
 20
 40
 07
-d9
+eb
 1f
 e2
 24
@@ -8047,7 +8119,7 @@
 c0
 7f
 87
-de
+f0
 68
 00
 91
@@ -8071,9 +8143,9 @@
 20
 20
 07
-dc
-8c
-61
+ee
+d5
+3d
 aa
 55
 08
@@ -8649,7 +8721,7 @@
 00
 2d
 42
-01
+00
 32
 aa
 55
@@ -8659,10 +8731,10 @@
 47
 a4
 01
-18
-01
-40
-01
+c8
+00
+d2
+00
 aa
 55
 19
@@ -9104,7 +9176,7 @@
 00
 51
 4b
-9b
+e3
 2f
 00
 ff
@@ -9155,11 +9227,11 @@
 20
 40
 04
-b1
+be
 20
 40
 03
-b1
+bd
 20
 20
 41
@@ -9223,7 +9295,7 @@
 20
 40
 04
-22
+2e
 70
 46
 c6
@@ -9415,7 +9487,7 @@
 20
 20
 04
-ae
+bb
 68
 01
 45
@@ -9455,7 +9527,7 @@
 20
 40
 04
-22
+2e
 70
 47
 c4
@@ -9519,7 +9591,7 @@
 20
 40
 03
-b1
+bd
 20
 40
 58
@@ -9571,11 +9643,11 @@
 20
 42
 85
-52
+7c
 20
 40
 03
-67
+73
 68
 10
 80
@@ -9839,7 +9911,7 @@
 20
 40
 04
-b1
+be
 20
 40
 02
@@ -9971,15 +10043,15 @@
 20
 40
 05
-5e
+88
 20
 40
 03
-6f
+7b
 20
 40
 03
-36
+3d
 68
 01
 c7
@@ -10007,7 +10079,7 @@
 20
 40
 03
-73
+7f
 24
 34
 02
@@ -10235,7 +10307,7 @@
 20
 20
 03
-7d
+89
 70
 11
 9e
@@ -10483,7 +10555,7 @@
 20
 20
 03
-7d
+89
 70
 11
 9e
@@ -10675,7 +10747,7 @@
 c2
 85
 80
-12
+11
 68
 02
 46
@@ -10683,11 +10755,11 @@
 c3
 0c
 00
-12
+11
 20
 40
 05
-62
+8c
 68
 09
 47
@@ -10704,10 +10776,6 @@
 09
 44
 a1
-20
-40
-03
-2b
 18
 0a
 7e
@@ -10779,7 +10847,7 @@
 20
 40
 80
-26
+25
 68
 00
 c0
@@ -10795,7 +10863,7 @@
 20
 20
 04
-ee
+fb
 70
 47
 9f
@@ -10819,7 +10887,7 @@
 20
 40
 05
-70
+9a
 20
 20
 7d
@@ -10900,6 +10968,10 @@
 00
 00
 00
+00
+00
+00
+00
 20
 20
 00
@@ -10911,7 +10983,7 @@
 c0
 20
 80
-16
+18
 20
 60
 00
@@ -10960,6 +11032,14 @@
 21
 00
 0a
+60
+01
+44
+96
+60
+01
+44
+98
 68
 00
 c3
@@ -10982,8 +11062,8 @@
 d8
 60
 00
-c1
-72
+c7
+c5
 20
 20
 00
@@ -10999,7 +11079,7 @@
 20
 40
 00
-1b
+1d
 24
 74
 00
@@ -11148,14 +11228,6 @@
 00
 00
 00
-00
-00
-00
-00
-00
-00
-00
-00
 20
 20
 00
@@ -11751,11 +11823,11 @@
 20
 40
 05
-31
+5b
 c0
 02
 84
-ae
+bb
 20
 20
 33
@@ -12184,5 +12256,5 @@
 55
 00
 00
-82
-e7
+09
+67
Index: output/program.lis
===================================================================
--- /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/output/program.lis	(revision 3989)
+++ /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/output/program.lis	(working copy)
@@ -7,37 +7,37 @@
 p_zcode:
 
 p_wake_from_power:
-0001 204003b1 call p_mouse_data_init 
+0001 204003bd call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000cca1 store 1 ,mem_tx_power_temp 
-0004 204006e1 call power_ctrl_pac_succ_cnt_init 
+0004 204006fc 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 204043ca call mouse_bt_discovery_button_down_disable 
-0008 20400334 call p_mouse_spi_init 
-0009 20400779 call p_drawing_optima_init 
+0008 2040033b call p_mouse_spi_init 
+0009 2040078c call p_drawing_optima_init 
 000a 2040000d call p_mouse_cb_fuction 
 000b 20400020 call p_mouse_wakeup_from_power 
 000c 2020030a branch p_mouse_setting_config 
 
 p_mouse_cb_fuction:
-000d 5800037a setarg p_mouse_g24_package_data 
+000d 58000386 setarg p_mouse_g24_package_data 
 000e 60014d1b store 2 ,mem_cb_24g_data 
-000f 58000394 setarg p_mouse_le 
+000f 580003a0 setarg p_mouse_le 
 0010 600141ef store 2 ,mem_cb_le_process 
-0011 58000622 setarg p_le_mouse_bb_event_connect_complete 
+0011 5800064e setarg p_le_mouse_bb_event_connect_complete 
 0012 600141f9 store 2 ,mem_cb_att_write 
-0013 580003cc setarg p_mouse_bt 
+0013 580003d8 setarg p_mouse_bt 
 0014 600141f1 store 2 ,mem_cb_bt_process 
 0015 58000273 setarg p_mouse_before_lpm 
 0016 600141ed store 2 ,mem_cb_before_lpm 
-0017 5800040a setarg p_mouse_priority_bb_event 
+0017 58000416 setarg p_mouse_priority_bb_event 
 0018 600141f5 store 2 ,mem_cb_bb_event_process 
-0019 580003f4 setarg p_mouse_idle 
+0019 58000400 setarg p_mouse_idle 
 001a 600141f3 store 2 ,mem_cb_idle_process 
-001b 58000441 setarg p_mouse_before_hibernate 
+001b 5800044d setarg p_mouse_before_hibernate 
 001c 600141eb store 2 ,mem_cb_before_hibernate 
-001d 58000448 setarg p_mouse_bb_event_timer 
+001d 58000454 setarg p_mouse_bb_event_timer 
 001e 600141fd store 2 ,mem_cb_event_timer 
 001f 20600000 rtn 
 
@@ -83,54 +83,54 @@
 0040 c2840059 bbit1 8 ,pf_patch_ext 
 0041 c000806b beq patch00_1 ,p_soft_reset_1 
 0042 c0010075 beq patch00_2 ,p_soft_reset_2 
-0043 c042874d beq patch10_5 ,p_shutdown_radio 
-0044 c044871e beq patch11_1 ,p_set_freq_tx 
-0045 c00d863b beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0046 c013063d beq patch04_6 ,p_role_switch_master 
-0047 c0240659 beq patch09_0 ,p_quit_connection_cont 
-0048 c0250660 beq patch09_2 ,p_prepare_tx 
-0049 c0288669 beq patch0a_1 ,p_slave_conn_recv_packet 
-004a c02c8657 beq patch0b_1 ,p_process_dmh 
-004b c053866e beq patch14_7 ,p_lpm_dispatch 
-004c c0568684 beq patch15_5 ,p_lpm_set_mult 
+0043 c0428760 beq patch10_5 ,p_shutdown_radio 
+0044 c0448731 beq patch11_1 ,p_set_freq_tx 
+0045 c00d8666 beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0046 c0130668 beq patch04_6 ,p_role_switch_master 
+0047 c0240684 beq patch09_0 ,p_quit_connection_cont 
+0048 c025068b beq patch09_2 ,p_prepare_tx 
+0049 c0288694 beq patch0a_1 ,p_slave_conn_recv_packet 
+004a c02c8682 beq patch0b_1 ,p_process_dmh 
+004b c0538699 beq patch14_7 ,p_lpm_dispatch 
+004c c05686af beq patch15_5 ,p_lpm_set_mult 
 004d c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004e c0748695 beq patch1d_1 ,p_mouse_bb_disconnected 
+004e c07486c0 beq patch1d_1 ,p_mouse_bb_disconnected 
 004f c050807e beq patch14_1 ,p_init_param 
 0050 c0588083 beq patch16_1 ,p_lpm_check_wake_lock 
 0051 c0590091 beq patch16_2 ,p_g24_dispatch 
 0052 c0620294 beq patch18_4 ,p_device_init 
-0053 c07184fd beq patch1c_3 ,p_mouse_seting_dpi 
-0054 c0730522 beq patch1c_6 ,p_mouse_motion 
-0055 c0750559 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0056 c0758560 beq patch1d_3 ,p_mouse_start_discovery 
-0057 c0760574 beq patch1d_4 ,p_mouse_stop_discovery 
+0053 c0718527 beq patch1c_3 ,p_mouse_seting_dpi 
+0054 c073054c beq patch1c_6 ,p_mouse_motion 
+0055 c0750583 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0056 c075858a beq patch1d_3 ,p_mouse_start_discovery 
+0057 c076059e beq patch1d_4 ,p_mouse_stop_discovery 
 0058 20202a8e branch loop 
 
 pf_patch_ext:
-0059 c01c857e beq patch27_1 ,p_le_slave_match 
-005a c0218586 beq patch28_3 ,p_le_next_adv_channel 
-005b c025058c beq patch29_2 ,p_le_receive_skip 
-005c c02b858f beq patch2a_7 ,p_le_update_param 
-005d c02c8591 beq patch2b_1 ,p_le_update_channel_map 
-005e c0318593 beq patch2c_3 ,p_le_prepare_tx 
-005f c03305bd beq patch2c_6 ,p_le_parse 
-0060 c03385d4 beq patch2c_7 ,p_le_parse_l2cap 
-0061 c035060d beq patch2d_2 ,p_le_adv_not_match 
-0062 c03b8618 beq patch2e_7 ,p_le_lpm_setmult 
-0063 c0028697 beq patch20_5 ,p_hid_rx_process 
-0064 c0400699 beq patch30_0 ,p_parse_lmp_accepted 
-0065 c04106a3 beq patch30_2 ,p_send_lmp 
-0066 c04406a5 beq patch31_0 ,p_process_conn_sm 
-0067 c0460628 beq patch31_4 ,p_twspi_reset 
-0068 c0468634 beq patch31_5 ,p_spid_init 
-0069 c07d06c9 beq patch3f_2 ,p_check_51cmd_once_continue 
+0059 c01c85a8 beq patch27_1 ,p_le_slave_match 
+005a c02185b0 beq patch28_3 ,p_le_next_adv_channel 
+005b c02505b6 beq patch29_2 ,p_le_receive_skip 
+005c c02b85b9 beq patch2a_7 ,p_le_update_param 
+005d c02c85bb beq patch2b_1 ,p_le_update_channel_map 
+005e c03185bd beq patch2c_3 ,p_le_prepare_tx 
+005f c03305ec beq patch2c_6 ,p_le_parse 
+0060 c0338603 beq patch2c_7 ,p_le_parse_l2cap 
+0061 c0350639 beq patch2d_2 ,p_le_adv_not_match 
+0062 c03b8644 beq patch2e_7 ,p_le_lpm_setmult 
+0063 c00286c2 beq patch20_5 ,p_hid_rx_process 
+0064 c04006c4 beq patch30_0 ,p_parse_lmp_accepted 
+0065 c04106ce beq patch30_2 ,p_send_lmp 
+0066 c04406d0 beq patch31_0 ,p_process_conn_sm 
+0067 c0460654 beq patch31_4 ,p_twspi_reset 
+0068 c0468660 beq patch31_5 ,p_spid_init 
+0069 c07d06e4 beq patch3f_2 ,p_check_51cmd_once_continue 
 006a 20202a8e branch loop 
 
 p_soft_reset_1:
 006b d8a009ae arg mem_sp_state ,contw 
 006c df20000c arg 12 ,loopcnt 
 006d 20407ed4 call clear_mem 
-006e 2040038b call p_mouse_le_txbuff_load 
+006e 20400397 call p_mouse_le_txbuff_load 
 006f 204074c1 call init_memp 
 0070 20406a03 call rfcomm_init 
 0071 20405cf6 call init_lmp 
@@ -188,10 +188,10 @@
 0097 2040014f call p_g24_transmit_packet 
 0098 6800cbfa fetch 1 ,mem_24g_pairing_sm 
 0099 c1ff8000 rtnne state_24g_pairing_success 
-009a 204006f2 call power_ctrl_start 
+009a 20400705 call power_ctrl_start 
 009b 204000a3 call g24_long_sleep_shorter_param_update 
 009c 6800cb27 fetch 1 ,mem_mouse_multi_led_state 
-009d c000837d beq on ,p_g24_transmit_by_interrupt_enable 
+009d c0008389 beq on ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 009e 204000ce call p_g24_lpm_wait 
@@ -319,11 +319,11 @@
 00f6 793ffe04 set0 bit_hop ,pdata 
 00f7 6000cbeb store 1 ,mem_24g_data_type 
 00f8 6000cba6 store 1 ,mem_24g_txpayload 
-00f9 204006e8 call power_ctrl_pac_succ_decrs 
+00f9 204005dd call power_ctrl_pac_succ_decrs 
 00fa 202001d2 branch p_g24_ch 
 
 p_g24_rf_hop_fastly_exit:
-00fb 204006e8 call power_ctrl_pac_succ_decrs 
+00fb 204005dd call power_ctrl_pac_succ_decrs 
 00fc 704d1d00 jam 0 ,mem_24g_hop_fastly_cnt 
 00fd 202000ea branch p_g24_transmit_rf_ctrl_clear 
 
@@ -400,7 +400,7 @@
 012f 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-0130 204003ab call p_mouse_data_xy_release 
+0130 204003b7 call p_mouse_data_xy_release 
 0131 704c1600 jam 0 ,mem_24g_abort_pac 
 0132 1a20fe01 add rega ,1 ,pdata 
 0133 6000cbea store 1 ,mem_24g_datalen 
@@ -449,7 +449,7 @@
 0154 24378171 nbranch p_g24_retransmit ,user3 
 0155 20400163 call p_g24_txbuf_clear 
 0156 2040018e call p_g24_ackpayload_parse 
-0157 204006e4 call power_ctrl_pac_succ_incrs 
+0157 204006ff call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 0158 6800cbe9 fetch 1 ,mem_24g_pid 
@@ -507,8 +507,8 @@
 0180 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-0181 20400715 call power_ctrl_txpower_incrs 
-0182 204006e8 call power_ctrl_pac_succ_decrs 
+0181 20400728 call power_ctrl_txpower_incrs 
+0182 204005dd call power_ctrl_pac_succ_decrs 
 0183 202001d2 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -534,18 +534,18 @@
 
 p_g24_pairing_sm:
 0195 7011c590 jam zcode_90 ,mem_zcode_temp_param0 
-0196 2020074f branch p_zcode_entrance 
+0196 20200762 branch p_zcode_entrance 
 
 p_g24_paring_mode_start:
-0197 204006e1 call power_ctrl_pac_succ_cnt_init 
+0197 204006fc call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
 0198 7011c591 jam zcode_91 ,mem_zcode_temp_param0 
-0199 2020074f branch p_zcode_entrance 
+0199 20200762 branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 019a 7011c570 jam zcode_70 ,mem_zcode_temp_param0 
-019b 2020074f branch p_zcode_entrance 
+019b 20200762 branch p_zcode_entrance 
 
 p_g24_check_51cmd_stop_24g:
 019c 793f8026 set0 mark_24g ,mark 
@@ -816,7 +816,7 @@
 
 p_mouse_before_lpm:
 0273 c6130000 rtnmark1 mark_24g 
-0274 20400381 call p_mouse_le_txbuff_save 
+0274 2040038d call p_mouse_le_txbuff_save 
 0275 2040027d call p_mouse_setgpio_lpm 
 0276 6800c040 fetch 1 ,mem_context 
 0277 c300027a bbit0 state_inconn ,p_clear_wake 
@@ -859,7 +859,7 @@
 p_mouse_set_sdio_high:
 0291 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
 0292 207a0000 rtn blank 
-0293 202004fd branch p_mouse_seting_sensor_type 
+0293 20200527 branch p_mouse_seting_sensor_type 
 
 p_device_init:
 0294 70895b86 jam 0x86 ,0x895b 
@@ -867,7 +867,7 @@
 0296 2040296c call initialize_radio 
 0297 20403416 call app_lpm_mult_enable 
 0298 204074b9 call enable_authrom 
-0299 20358334 branch p_mouse_spi_init ,wake 
+0299 2035833b branch p_mouse_spi_init ,wake 
 
 p_device_wake_from_power:
 029a 6801c4a3 fetch 3 ,mem_le_lap + 3 
@@ -875,7 +875,7 @@
 029c 20400001 call p_wake_from_power 
 029d 6800c241 fetch 1 ,mem_power_on_flag 
 029e c28102a1 bbit1 2 ,p_mouse_skip_24g_pair 
-029f 20400531 call p_mouse_check_key_gpio 
+029f 2040055b call p_mouse_check_key_gpio 
 02a0 c00182d6 beq mouse_lr_button ,p_mouse_24g_pairing_button 
 
 p_mouse_skip_24g_pair:
@@ -885,11 +885,11 @@
 02a2 6800c720 fetch 1 ,mem_device_flag 
 02a3 c00102af beq mode_24g_device ,p_mouse_connect_24g_mode 
 02a4 c07f82af beq mode_default_device ,p_mouse_connect_24g_mode 
-02a5 204004e9 call p_mouse_mode_bt_device1_multi_led_on 
+02a5 204004f6 call p_mouse_mode_bt_device1_multi_led_on 
 02a6 6800c210 fetch 1 ,mem_xrecord_mode 
 02a7 c01982b5 beq rec_3_mode ,p_mouse3_0_check_reconn_target 
 02a8 c01a02b8 beq rec_4_mode ,p_mouse4_0_check_reconn_target 
-02a9 202004ae branch p_mouse_null_enter_hibernate_enable 
+02a9 202004bb branch p_mouse_null_enter_hibernate_enable 
 
 p_mouse_tx_power_init:
 02aa 6800cca1 fetch 1 ,mem_tx_power_temp 
@@ -902,15 +902,15 @@
 
 p_mouse_connect_24g_mode:
 02af 70472002 jam mode_24g_device ,mem_device_flag 
-02b0 204004e9 call p_mouse_mode_24g_device_multi_led_on 
+02b0 204004f6 call p_mouse_mode_24g_device_multi_led_on 
 
 p_mouse_start_24g_mode:
-02b1 20400371 call p_g24_factory_check 
+02b1 2040037d call p_g24_factory_check 
 02b2 2034019a branch p_g24_auto_pair_start ,user 
 
 p_g24_start_24g_mode:
 02b3 7011c560 jam zcode_60 ,mem_zcode_temp_param0 
-02b4 2020074f branch p_zcode_entrance 
+02b4 20200762 branch p_zcode_entrance 
 
 p_mouse3_0_check_reconn_target:
 02b5 680341d0 fetch 6 ,mem_hci_plap 
@@ -933,7 +933,7 @@
 02c2 58000004 setarg adv_flag_bredr_not_supported 
 02c3 e0c08000 istore 1 ,contr 
 02c4 d8c04390 arg mem_le_scan_data ,contr 
-02c5 20400570 call p_le_adv_data_update 
+02c5 2040059a call p_le_adv_data_update 
 02c6 20207df4 branch check_51cmd_adv 
 
 p_le_check_adv_flag:
@@ -961,10 +961,10 @@
 
 p_mouse_24g_pairing_button:
 02d6 7011c561 jam zcode_61 ,mem_zcode_temp_param0 
-02d7 2020074f branch p_zcode_entrance 
+02d7 20200762 branch p_zcode_entrance 
 
 p_mouse_init_sunt:
-02d8 20400334 call p_mouse_spi_init 
+02d8 2040033b call p_mouse_spi_init 
 02d9 204040c0 call mouse_spi_sdio_gpio_pollup 
 
 p_mouse_init_sensor:
@@ -1011,7 +1011,7 @@
 02f8 20600000 rtn 
 
 p_mouse_sensor_poweron:
-02f9 20400334 call p_mouse_spi_init 
+02f9 2040033b call p_mouse_spi_init 
 02fa 58008006 setarg 0x8006 
 02fb 20406413 call twspi_write 
 02fc 20002ee0 nop 12000 
@@ -1019,12 +1019,12 @@
 p_mouse_dpi_config:
 02fd 6800c77a fetch 1 ,mem_mouse_dpi 
 02fe c07f8300 beq 0xff ,p_mouse_dpi_config_default 
-02ff 202004fd branch p_mouse_seting_dpi 
+02ff 20200527 branch p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
 0300 6800c6e1 fetch 1 ,mem_config_sensor_motion 
 0301 6000c77a store 1 ,mem_mouse_dpi 
-0302 202004fd branch p_mouse_seting_dpi 
+0302 20200527 branch p_mouse_seting_dpi 
 
 p_mouse_sensor_powerdown:
 0303 204002d8 call p_mouse_init_sunt 
@@ -1037,7 +1037,7 @@
 
 p_mouse_setting_config:
 030a 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
-030b 2020074f branch p_zcode_entrance 
+030b 20200762 branch p_zcode_entrance 
 
 p_flash_ncs_disable:
 030c 6808cb45 fetcht 1 ,mem_flash_ncs_gpio 
@@ -1060,12 +1060,12 @@
 031b 20600000 rtn 
 
 p_mouse_load_flash_info_check:
-031c 2040036f call p_flash_release_deep_power_down 
+031c 2040037b call p_flash_release_deep_power_down 
 031d 20404423 call mouse_load_flash_flag 
 031e 68014778 fetch 2 ,mem_store_flag 
 031f d840aa55 arg eeprom_init_flag ,temp 
 0320 98467c00 isub temp ,null 
-0321 2022835a branch p_mouse_load_flash_device_info ,zero 
+0321 20228366 branch p_mouse_load_flash_device_info ,zero 
 0322 60094778 storet 2 ,mem_store_flag 
 
 p_mouse_store_default_info:
@@ -1074,1721 +1074,1747 @@
 0325 6000c77a store 1 ,mem_mouse_dpi 
 
 p_mouse_store_flash_device_info:
-0326 2040036f call p_flash_release_deep_power_down 
-0327 2040033a call p_flash_erase_sector 
-0328 20400351 call p_mouse_information_flash_parameters 
-0329 20400346 call p_spid_write_flash 
-032a 2040033d call p_wait_flash_done 
+0326 20400511 call p_mouse_adc_read_once 
+0327 6801470f fetch 2 ,mem_mouse_vdd_now_vol 
+0328 203a0326 branch p_mouse_store_flash_device_info ,blank 
+0329 6800c231 fetch 1 ,mem_adc_power_flag 
+032a c280b40a bbit1 1 ,app_enter_hibernate 
+032b 2040037b call p_flash_release_deep_power_down 
+032c 20400341 call p_flash_erase_sector 
+032d 20400353 call p_flash_write_enable 
+032e 2040035d call p_mouse_information_flash_parameters 
+032f 20400348 call p_spid_write_flash 
+0330 20400345 call p_wait_flash_done 
 
 p_mouse_store_random_addr_increase_count:
-032b 2040030e call p_spid_init_flash 
-032c d8400002 arg 2 ,temp 
-032d da2047c2 arg mem_random_addr_increase_count ,rega 
-032e da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-032f 6801c700 fetch 3 ,mem_flash_base 
-0330 9a40fe00 iadd regb ,pdata 
-0331 20400346 call p_spid_write_flash 
-0332 2040033d call p_wait_flash_done 
-0333 20400367 call p_flash_deep_power_down 
+0331 2040030e call p_spid_init_flash 
+0332 20400353 call p_flash_write_enable 
+0333 d8400002 arg 2 ,temp 
+0334 da2047c2 arg mem_random_addr_increase_count ,rega 
+0335 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+0336 6801c700 fetch 3 ,mem_flash_base 
+0337 9a40fe00 iadd regb ,pdata 
+0338 20400348 call p_spid_write_flash 
+0339 20400345 call p_wait_flash_done 
+033a 20400373 call p_flash_deep_power_down 
 
 p_mouse_spi_init:
-0334 70421276 jam 0x76 ,mem_spi_init_clk 
-0335 20203d36 branch mouse_spi_init 
+033b 70421276 jam 0x76 ,mem_spi_init_clk 
+033c 20203d36 branch mouse_spi_init 
 
 p_mouse_set_24g_addr_flash:
-0336 d8400004 arg 4 ,temp 
-0337 da204c12 arg mem_24g_addr ,rega 
-0338 da40005b arg mouse_g24_addr_eeprom_offect ,regb 
-0339 20600000 rtn 
+033d d8400004 arg 4 ,temp 
+033e da204c12 arg mem_24g_addr ,rega 
+033f da40005b arg mouse_g24_addr_eeprom_offect ,regb 
+0340 20600000 rtn 
 
 p_flash_erase_sector:
-033a 6801c700 fetch 3 ,mem_flash_base 
-033b 6001c232 store 3 ,mem_spi_write_addr 
-033c 2040652a call flash_erase_sector + 2 
+0341 6801c700 fetch 3 ,mem_flash_base 
+0342 6001c232 store 3 ,mem_spi_write_addr 
+0343 20400353 call p_flash_write_enable 
+0344 2040652b call flash_erase_sector + 3 
 
 p_wait_flash_done:
-033d 580186a0 setarg 100000 
-033e 20402a8f call sleep 
-033f 2040650b call spid_unlock_flash 
-0340 580001fa setarg mem_spid_rbuf 
-0341 6011008c hstore 2 ,core_spid_rxaddr 
-0342 58000005 setarg flash_read_satus 
-0343 204064f3 call spid_read_reg 
-0344 c280033d bbit1 flash_status_wip ,p_wait_flash_done 
-0345 20600000 rtn 
+0345 20400359 call p_flash_read_status 
+0346 c2800345 bbit1 flash_status_wip ,p_wait_flash_done 
+0347 20600000 rtn 
 
 p_spid_write_flash:
-0346 1fe22600 copy pdata ,regc 
-0347 1a227e00 copy rega ,pdata 
-0348 1fe0fffc increase -4 ,pdata 
-0349 1fe22400 copy pdata ,regb 
-034a ea420000 ifetch 4 ,regb 
-034b 60024b47 store 4 ,mem_write_flash_head_temp 
-034c 1a627e00 copy regc ,pdata 
-034d 20406552 call spid_write_flash 
-034e 68024b47 fetch 4 ,mem_write_flash_head_temp 
-034f e2420000 istore 4 ,regb 
-0350 20600000 rtn 
+0348 1fe22600 copy pdata ,regc 
+0349 1a227e00 copy rega ,pdata 
+034a 1fe0fffc increase -4 ,pdata 
+034b 1fe22400 copy pdata ,regb 
+034c ea420000 ifetch 4 ,regb 
+034d 60024b47 store 4 ,mem_write_flash_head_temp 
+034e 1a627e00 copy regc ,pdata 
+034f 20406552 call spid_write_flash 
+0350 68024b47 fetch 4 ,mem_write_flash_head_temp 
+0351 e2420000 istore 4 ,regb 
+0352 20600000 rtn 
+
+p_flash_write_enable:
+0353 2040650b call spid_unlock_flash 
+0354 580186a0 setarg 100000 
+0355 20402a8f call sleep 
+0356 20400359 call p_flash_read_status 
+0357 c3008353 bbit0 flash_status_wel ,p_flash_write_enable 
+0358 20600000 rtn 
+
+p_flash_read_status:
+0359 580001fa setarg mem_spid_rbuf 
+035a 6011008c hstore 2 ,core_spid_rxaddr 
+035b 58000005 setarg flash_read_satus 
+035c 202064f3 branch spid_read_reg 
 
 p_mouse_information_flash_parameters:
-0351 5800477f setarg mem_mouse_information_end 
-0352 d8404720 arg mem_mouse_information_start ,temp 
-0353 98460400 isub temp ,temp 
-0354 6801c700 fetch 3 ,mem_flash_base 
-0355 da204720 arg mem_mouse_information_start ,rega 
-0356 20600000 rtn 
+035d 5800477f setarg mem_mouse_information_end 
+035e d8404720 arg mem_mouse_information_start ,temp 
+035f 98460400 isub temp ,temp 
+0360 6801c700 fetch 3 ,mem_flash_base 
+0361 da204720 arg mem_mouse_information_start ,rega 
+0362 20600000 rtn 
 
 p_mouse_read_flash:
-0357 2040036f call p_flash_release_deep_power_down 
-0358 20400351 call p_mouse_information_flash_parameters 
-0359 20206562 branch spid_read_flash 
+0363 2040037b call p_flash_release_deep_power_down 
+0364 2040035d call p_mouse_information_flash_parameters 
+0365 20206562 branch spid_read_flash 
 
 p_mouse_load_flash_device_info:
-035a 20400357 call p_mouse_read_flash 
-035b 20400569 call p_mouse_load_fast_conn_flag 
-035c 20400562 call p_mouse_load_random_addr_increase_count 
-035d 6800c720 fetch 1 ,mem_device_flag 
-035e c0008362 beq mode_bt_device1 ,p_mouse_load_flash_device_info_next 
-035f c0010362 beq mode_24g_device ,p_mouse_load_flash_device_info_next 
-0360 204002ad call p_mouse_check_select_device_by_switch 
-0361 20200323 branch p_mouse_store_default_info 
+0366 20400363 call p_mouse_read_flash 
+0367 20400593 call p_mouse_load_fast_conn_flag 
+0368 2040058c call p_mouse_load_random_addr_increase_count 
+0369 6800c720 fetch 1 ,mem_device_flag 
+036a c000836e beq mode_bt_device1 ,p_mouse_load_flash_device_info_next 
+036b c001036e beq mode_24g_device ,p_mouse_load_flash_device_info_next 
+036c 204002ad call p_mouse_check_select_device_by_switch 
+036d 20200323 branch p_mouse_store_default_info 
 
 p_mouse_load_flash_device_info_next:
-0362 204002ad call p_mouse_check_select_device_by_switch 
-0363 2040431a call mouse_select_reconn_device 
-0364 6802477b fetch 4 ,mem_mouse_24g_addr 
-0365 60024c12 store 4 ,mem_24g_addr 
-0366 20600000 rtn 
+036e 204002ad call p_mouse_check_select_device_by_switch 
+036f 2040431a call mouse_select_reconn_device 
+0370 6802477b fetch 4 ,mem_mouse_24g_addr 
+0371 60024c12 store 4 ,mem_24g_addr 
+0372 20600000 rtn 
 
 p_flash_deep_power_down:
-0367 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
+0373 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
 
 p_spid_write_flash_cmd:
-0368 2040030e call p_spid_init_flash 
-0369 204069ac call delay_nop100 
-036a 2040650b call spid_unlock_flash 
-036b da204b47 arg mem_write_flash_head_temp ,rega 
-036c 68088aa2 fetcht 1 ,mem_temp 
-036d 20406556 call spid_write_flash_common 
-036e 202069ac branch delay_nop100 
+0374 2040030e call p_spid_init_flash 
+0375 204069ac call delay_nop100 
+0376 2040650b call spid_unlock_flash 
+0377 da204b47 arg mem_write_flash_head_temp ,rega 
+0378 68088aa2 fetcht 1 ,mem_temp 
+0379 20406556 call spid_write_flash_common 
+037a 202069ac branch delay_nop100 
 
 p_flash_release_deep_power_down:
-036f 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
-0370 20200368 branch p_spid_write_flash_cmd 
+037b 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
+037c 20200374 branch p_spid_write_flash_cmd 
 
 p_g24_factory_check:
-0371 df200002 arg 2 ,loopcnt 
-0372 d8c04c12 arg mem_24g_addr ,contr 
+037d df200002 arg 2 ,loopcnt 
+037e d8c04c12 arg mem_24g_addr ,contr 
 
 p_pdata_0xff_check:
-0373 20407fe7 call enable_user 
-0374 5800ffff setarg 0xffff 
+037f 20407fe7 call enable_user 
+0380 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-0375 e8c90000 ifetcht 2 ,contr 
-0376 98467c00 isub temp ,null 
-0377 2442ffe9 ncall disable_user ,zero 
-0378 c2000375 loop p_pdata_0xff_check_loop 
-0379 20600000 rtn 
+0381 e8c90000 ifetcht 2 ,contr 
+0382 98467c00 isub temp ,null 
+0383 2442ffe9 ncall disable_user ,zero 
+0384 c2000381 loop p_pdata_0xff_check_loop 
+0385 20600000 rtn 
 
 p_mouse_g24_package_data:
-037a 20404401 call mouse_g24_package_data 
-037b 6801469f fetch 2 ,mem_mouse_z 
-037c 207a0000 rtn blank 
+0386 20404401 call mouse_g24_package_data 
+0387 6801469f fetch 2 ,mem_mouse_z 
+0388 207a0000 rtn blank 
 
 p_g24_transmit_by_interrupt_enable:
-037d 704d2a01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-037e 58000000 setarg 0 
-037f 60014d2b store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0380 20600000 rtn 
+0389 704d2a01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+038a 58000000 setarg 0 
+038b 60014d2b store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+038c 20600000 rtn 
 
 p_mouse_le_txbuff_save:
-0381 d8c01800 arg mem_le_tx_buffer0 ,contr 
-0382 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
-0383 20400389 call p_mouse_le_txbuff_copy 
-0384 d8c01900 arg mem_le_tx_buffer1 ,contr 
-0385 20400389 call p_mouse_le_txbuff_copy 
-0386 d8c01a00 arg mem_le_tx_buffer2 ,contr 
-0387 20400389 call p_mouse_le_txbuff_copy 
-0388 d8c01b00 arg mem_le_tx_buffer3 ,contr 
+038d d8c01800 arg mem_le_tx_buffer0 ,contr 
+038e d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
+038f 20400395 call p_mouse_le_txbuff_copy 
+0390 d8c01900 arg mem_le_tx_buffer1 ,contr 
+0391 20400395 call p_mouse_le_txbuff_copy 
+0392 d8c01a00 arg mem_le_tx_buffer2 ,contr 
+0393 20400395 call p_mouse_le_txbuff_copy 
+0394 d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-0389 df20001b arg 27 ,loopcnt 
-038a 20207f01 branch memcpy 
+0395 df20001b arg 27 ,loopcnt 
+0396 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-038b d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
-038c d8a01800 arg mem_le_tx_buffer0 ,contw 
-038d 20400389 call p_mouse_le_txbuff_copy 
-038e d8a01900 arg mem_le_tx_buffer1 ,contw 
-038f 20400389 call p_mouse_le_txbuff_copy 
-0390 d8a01a00 arg mem_le_tx_buffer2 ,contw 
-0391 20400389 call p_mouse_le_txbuff_copy 
-0392 d8a01b00 arg mem_le_tx_buffer3 ,contw 
-0393 20200389 branch p_mouse_le_txbuff_copy 
+0397 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
+0398 d8a01800 arg mem_le_tx_buffer0 ,contw 
+0399 20400395 call p_mouse_le_txbuff_copy 
+039a d8a01900 arg mem_le_tx_buffer1 ,contw 
+039b 20400395 call p_mouse_le_txbuff_copy 
+039c d8a01a00 arg mem_le_tx_buffer2 ,contw 
+039d 20400395 call p_mouse_le_txbuff_copy 
+039e d8a01b00 arg mem_le_tx_buffer3 ,contw 
+039f 20200395 branch p_mouse_le_txbuff_copy 
 
 p_mouse_le:
-0394 20405892 call le_fifo_check_nearly_full 
-0395 247a0000 nrtn blank 
-0396 6800cd32 fetch 1 ,mem_mouse_fast_conn_flag 
-0397 c07f839b beq 0xff ,p_mouse_le_next 
-0398 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-0399 1fe17e03 and pdata ,0x03 ,pdata 
-039a c1818000 rtnne 0x03 
+03a0 20405892 call le_fifo_check_nearly_full 
+03a1 247a0000 nrtn blank 
+03a2 6800cd32 fetch 1 ,mem_mouse_fast_conn_flag 
+03a3 c07f83a7 beq 0xff ,p_mouse_le_next 
+03a4 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03a5 1fe17e03 and pdata ,0x03 ,pdata 
+03a6 c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-039b 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
-039c 205a03f1 call p_mouse_clear_sensor_data ,blank 
-039d 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-039e c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-039f 20403f97 call mouse_motion 
-03a0 24740000 nrtn user 
-03a1 204003a8 call p_mouse_le_current_mult_update 
-03a2 204003ab call p_mouse_data_xy_release 
-03a3 204003c7 call p_mouse_wheel_trigger 
+03a7 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03a8 205a03fd call p_mouse_clear_sensor_data ,blank 
+03a9 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03aa c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03ab 20403f97 call mouse_motion 
+03ac 24740000 nrtn user 
+03ad 204003b4 call p_mouse_le_current_mult_update 
+03ae 204003b7 call p_mouse_data_xy_release 
+03af 204003d3 call p_mouse_wheel_trigger 
 
 p_mouse_data_push:
-03a4 da20469a arg mem_mouse_key ,rega 
-03a5 20407e3d call queue_push 
-03a6 205403b6 call p_mouse_queue_increase ,user 
-03a7 20600000 rtn 
+03b0 da20469a arg mem_mouse_key ,rega 
+03b1 20407e3d call queue_push 
+03b2 205403c2 call p_mouse_queue_increase ,user 
+03b3 20600000 rtn 
 
 p_mouse_le_current_mult_update:
-03a8 70417200 jam 0 ,mem_lpm_mult 
-03a9 704b5f1e jam 30 ,mem_mouse_le_current_mult_timer 
-03aa 20600000 rtn 
+03b4 70417200 jam 0 ,mem_lpm_mult 
+03b5 704b5f1e jam 30 ,mem_mouse_le_current_mult_timer 
+03b6 20600000 rtn 
 
 p_mouse_data_xy_release:
-03ab 6800cb5e fetch 1 ,mem_mouse_long_mult_flag 
-03ac c1808000 rtnne 1 
-03ad 58000000 setarg 0 
-03ae 6000cb5e store 1 ,mem_mouse_long_mult_flag 
-03af 6002469b store 4 ,mem_mouse_x 
-03b0 202002f9 branch p_mouse_sensor_poweron 
+03b7 6800cb5e fetch 1 ,mem_mouse_long_mult_flag 
+03b8 c1808000 rtnne 1 
+03b9 58000000 setarg 0 
+03ba 6000cb5e store 1 ,mem_mouse_long_mult_flag 
+03bb 6002469b store 4 ,mem_mouse_x 
+03bc 202002f9 branch p_mouse_sensor_poweron 
 
 p_mouse_data_init:
-03b1 7047a007 jam 7 ,mem_mouse_data_queue 
-03b2 7047a104 jam 4 ,mem_mouse_data_queue + 1 
-03b3 580047a0 setarg mem_mouse_data_queue 
-03b4 60014218 store 2 ,mem_queue_ptr 
-03b5 20207e38 branch queue_init 
+03bd 7047a007 jam 7 ,mem_mouse_data_queue 
+03be 7047a104 jam 4 ,mem_mouse_data_queue + 1 
+03bf 580047a0 setarg mem_mouse_data_queue 
+03c0 60014218 store 2 ,mem_queue_ptr 
+03c1 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-03b6 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-03b7 1fe0fe01 increase 1 ,pdata 
-03b8 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-03b9 20600000 rtn 
+03c2 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03c3 1fe0fe01 increase 1 ,pdata 
+03c4 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+03c5 20600000 rtn 
 
 p_mouse_data_pull:
-03ba da20469a arg mem_mouse_key ,rega 
-03bb 20407e54 call queue_pop 
-03bc 203403be branch p_mouse_fill_data_le ,user 
-03bd 20600000 rtn 
+03c6 da20469a arg mem_mouse_key ,rega 
+03c7 20407e54 call queue_pop 
+03c8 203403ca branch p_mouse_fill_data_le ,user 
+03c9 20600000 rtn 
 
 p_mouse_fill_data_le:
-03be 20405652 call le_clear_md 
-03bf 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-03c0 1fe67c01 sub pdata ,1 ,null 
-03c1 24415650 ncall le_set_md ,positive 
-03c2 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-03c3 207a0000 rtn blank 
-03c4 1fe0ffff increase -1 ,pdata 
-03c5 6000c7c1 store 1 ,mem_mouse_data_queue_num 
-03c6 20203f90 branch mouse_fill_data_le 
+03ca 20405652 call le_clear_md 
+03cb 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03cc 1fe67c01 sub pdata ,1 ,null 
+03cd 24415650 ncall le_set_md ,positive 
+03ce 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+03cf 207a0000 rtn blank 
+03d0 1fe0ffff increase -1 ,pdata 
+03d1 6000c7c1 store 1 ,mem_mouse_data_queue_num 
+03d2 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-03c7 6801469f fetch 2 ,mem_mouse_z 
-03c8 207a0000 rtn blank 
-03c9 70480601 jam 1 ,mem_mouse_wheel_trigger 
-03ca 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
-03cb 20600000 rtn 
+03d3 6801469f fetch 2 ,mem_mouse_z 
+03d4 207a0000 rtn blank 
+03d5 70480601 jam 1 ,mem_mouse_wheel_trigger 
+03d6 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
+03d7 20600000 rtn 
 
 p_mouse_bt:
-03cc 20770000 rtn attempt 
-03cd 6800c1e2 fetch 1 ,mem_app_handshake_flag 
-03ce 207a0000 rtn blank 
-03cf 20405271 call l2cap_malloc_is_fifo_nearly_full 
-03d0 247a0000 nrtn blank 
-03d1 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03d2 205a03f1 call p_mouse_clear_sensor_data ,blank 
-03d3 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03d4 c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
-03d5 c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
-03d6 20403f97 call mouse_motion 
-03d7 24740000 nrtn user 
-03d8 204003a8 call p_mouse_le_current_mult_update 
-03d9 204003ab call p_mouse_data_xy_release 
-03da 204003c7 call p_mouse_wheel_trigger 
-03db 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
-03dc c00083e0 beq 1 ,p_mouse_send_data_boot_mode 
-03dd 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
-03de 207a0000 rtn blank 
-03df 20203f81 branch mouse_send_data 
+03d8 20770000 rtn attempt 
+03d9 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+03da 207a0000 rtn blank 
+03db 20405271 call l2cap_malloc_is_fifo_nearly_full 
+03dc 247a0000 nrtn blank 
+03dd 6800c79c fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03de 205a03fd call p_mouse_clear_sensor_data ,blank 
+03df 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03e0 c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+03e1 c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+03e2 20403f97 call mouse_motion 
+03e3 24740000 nrtn user 
+03e4 204003b4 call p_mouse_le_current_mult_update 
+03e5 204003b7 call p_mouse_data_xy_release 
+03e6 204003d3 call p_mouse_wheel_trigger 
+03e7 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
+03e8 c00083ec beq 1 ,p_mouse_send_data_boot_mode 
+03e9 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
+03ea 207a0000 rtn blank 
+03eb 20203f81 branch mouse_send_data 
 
 p_mouse_send_data_boot_mode:
-03e0 6800c69a fetch 1 ,mem_mouse_key 
-03e1 6000cb04 store 1 ,mem_mouse_bt_boot_data 
-03e2 6800c69b fetch 1 ,mem_mouse_x 
-03e3 e0a08000 istore 1 ,contw 
-03e4 6800c69d fetch 1 ,mem_mouse_y 
-03e5 e0a08000 istore 1 ,contw 
-03e6 6801469f fetch 2 ,mem_mouse_z 
-03e7 e0a10000 istore 2 ,contw 
-03e8 da200007 arg 7 ,rega 
-03e9 20404d63 call hid_malloc_tx_buff 
-03ea 6801424e fetch 2 ,mem_hid_int_remote_cid 
-03eb e0a10000 istore 2 ,contw 
-03ec 580002a1 setarg 0x02a1 
-03ed e0a10000 istore 2 ,contw 
-03ee 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
-03ef e0a28000 istore 5 ,contw 
-03f0 20600000 rtn 
+03ec 6800c69a fetch 1 ,mem_mouse_key 
+03ed 6000cb04 store 1 ,mem_mouse_bt_boot_data 
+03ee 6800c69b fetch 1 ,mem_mouse_x 
+03ef e0a08000 istore 1 ,contw 
+03f0 6800c69d fetch 1 ,mem_mouse_y 
+03f1 e0a08000 istore 1 ,contw 
+03f2 6801469f fetch 2 ,mem_mouse_z 
+03f3 e0a10000 istore 2 ,contw 
+03f4 da200007 arg 7 ,rega 
+03f5 20404d63 call hid_malloc_tx_buff 
+03f6 6801424e fetch 2 ,mem_hid_int_remote_cid 
+03f7 e0a10000 istore 2 ,contw 
+03f8 580002a1 setarg 0x02a1 
+03f9 e0a10000 istore 2 ,contw 
+03fa 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
+03fb e0a28000 istore 5 ,contw 
+03fc 20600000 rtn 
 
 p_mouse_clear_sensor_data:
-03f1 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
-03f2 20405814 call le_set_config_more_data 
-03f3 202002e0 branch p_mouse_init_sensor_reset 
+03fd 70479c01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+03fe 20405814 call le_set_config_more_data 
+03ff 202002e0 branch p_mouse_init_sensor_reset 
 
 p_mouse_idle:
-03f4 20407e34 call ui_check_paring_button 
-03f5 20203ee0 branch mouse_wheel_check 
+0400 20407e34 call ui_check_paring_button 
+0401 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-03f6 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03f7 20400544 call p_gpio_set_input_pd 
-03f8 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03f9 2040681d call gpio_get_bit 
-03fa 20208408 branch p_mouse_dpi_up ,true 
-03fb 2040054d call p_gpio_set_input_pu 
+0402 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+0403 2040056e call p_gpio_set_input_pd 
+0404 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+0405 2040681d call gpio_get_bit 
+0406 20208414 branch p_mouse_dpi_up ,true 
+0407 20400577 call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
-03fc 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-03fd c1000000 rtneq dpi_button_state_down 
-03fe 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-03ff 6800c77a fetch 1 ,mem_mouse_dpi 
-0400 1fe0fe01 increase 1 ,pdata 
-0401 1fe17e03 and pdata ,0x03 ,pdata 
-0402 6000c77a store 1 ,mem_mouse_dpi 
-0403 1fe0fe02 increase 2 ,pdata 
-0404 6000cb2d store 1 ,mem_mouse_multi_led_blink_count 
-0405 204004fa call p_mouse_dpi_multi_led_blink 
-0406 20403d7e call mouse_seting_dpi 
-0407 20200326 branch p_mouse_store_flash_device_info 
+0408 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+0409 c1000000 rtneq dpi_button_state_down 
+040a 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+040b 6800c77a fetch 1 ,mem_mouse_dpi 
+040c 1fe0fe01 increase 1 ,pdata 
+040d 1fe17e03 and pdata ,0x03 ,pdata 
+040e 6000c77a store 1 ,mem_mouse_dpi 
+040f 1fe0fe02 increase 2 ,pdata 
+0410 6000cb2d store 1 ,mem_mouse_multi_led_blink_count 
+0411 20400507 call p_mouse_dpi_multi_led_blink 
+0412 20403d7e call mouse_seting_dpi 
+0413 20200326 branch p_mouse_store_flash_device_info 
 
 p_mouse_dpi_up:
-0408 2040054d call p_gpio_set_input_pu 
-0409 20203d62 branch mouse_dpi_up 
+0414 20400577 call p_gpio_set_input_pu 
+0415 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-040a 1a627e00 copy regc ,pdata 
-040b c00a041c beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-040c c00a841f beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-040d c0148422 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-040e c0190424 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-040f c0200426 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0410 c0020428 beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-0411 c0098428 beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
-0412 c013842a beq bt_evt_virtual_cable_unplug ,p_mouse_irtual_cable_unplug 
-0413 c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
-0414 c010842c beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
-0415 c000842e beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-0416 c0010433 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
-0417 c0158436 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
-0418 c01c8438 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0419 c01d043b beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-041a c01e043e beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-041b 2020417d branch mouse_priority_bb_event + 1 
+0416 1a627e00 copy regc ,pdata 
+0417 c00a0428 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0418 c00a842b beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0419 c014842e beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+041a c0190430 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+041b c0200432 beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+041c c0020434 beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+041d c0098434 beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
+041e c0138436 beq bt_evt_virtual_cable_unplug ,p_mouse_irtual_cable_unplug 
+041f c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
+0420 c0108438 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
+0421 c000843a beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+0422 c001043f beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
+0423 c0158442 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
+0424 c01c8444 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0425 c01d0447 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0426 c01e044a beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0427 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-041c 204002e0 call p_mouse_init_sensor_reset 
-041d 7011c5b0 jam zcode_b0 ,mem_zcode_temp_param0 
-041e 2020074f branch p_zcode_entrance 
+0428 204002e0 call p_mouse_init_sensor_reset 
+0429 7011c5b0 jam zcode_b0 ,mem_zcode_temp_param0 
+042a 20200762 branch p_zcode_entrance 
 
 p_mouse_le_bb_disconnected:
-041f 20400444 call p_mouse_sensor_powerdown_check 
-0420 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0421 2020074f branch p_zcode_entrance 
+042b 20400450 call p_mouse_sensor_powerdown_check 
+042c 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
+042d 20200762 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-0422 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-0423 20207d8f branch ui_ipc_send_cmd 
+042e 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+042f 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-0424 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
-0425 2020074f branch p_zcode_entrance 
+0430 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
+0431 20200762 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-0426 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0427 2020074f branch p_zcode_entrance 
+0432 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
+0433 20200762 branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
-0428 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
-0429 2020074f branch p_zcode_entrance 
+0434 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
+0435 20200762 branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
-042a 2040438e call mouse_irtual_cable_unplug 
-042b 202033a7 branch app_bb_hibernate 
+0436 2040438e call mouse_irtual_cable_unplug 
+0437 202033a7 branch app_bb_hibernate 
 
 p_mouse_sniff_not_accept:
-042c 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
-042d 2020074f branch p_zcode_entrance 
+0438 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
+0439 20200762 branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
-042e 204002e0 call p_mouse_init_sensor_reset 
-042f 204004b1 call p_mouse_null_enter_hibernate_disable 
-0430 204004f5 call p_mouse_discovey_led_blink_off 
-0431 70480900 jam 0 ,mem_mouse_send_switch_req_timer 
-0432 202042ca branch mouse_stop_discovery 
+043a 204002e0 call p_mouse_init_sensor_reset 
+043b 204004be call p_mouse_null_enter_hibernate_disable 
+043c 20400502 call p_mouse_discovey_led_blink_off 
+043d 70480900 jam 0 ,mem_mouse_send_switch_req_timer 
+043e 202042ca branch mouse_stop_discovery 
 
 p_mouse_bb_event_disconnected:
-0433 20400444 call p_mouse_sensor_powerdown_check 
-0434 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
-0435 2020074f branch p_zcode_entrance 
+043f 20400450 call p_mouse_sensor_powerdown_check 
+0440 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
+0441 20200762 branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
-0436 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
-0437 2020074f branch p_zcode_entrance 
+0442 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
+0443 20200762 branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
-0438 204002e0 call p_mouse_init_sensor_reset 
-0439 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
-043a 2020074f branch p_zcode_entrance 
+0444 204002e0 call p_mouse_init_sensor_reset 
+0445 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
+0446 20200762 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
-043b 20400444 call p_mouse_sensor_powerdown_check 
-043c 7011c5a0 jam zcode_a0 ,mem_zcode_temp_param0 
-043d 2020074f branch p_zcode_entrance 
+0447 20400450 call p_mouse_sensor_powerdown_check 
+0448 7011c5a0 jam zcode_a0 ,mem_zcode_temp_param0 
+0449 20200762 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
-043e 204004b1 call p_mouse_null_enter_hibernate_disable 
-043f 204002e0 call p_mouse_init_sensor_reset 
-0440 20203f8d branch mouse_no_data_timer_init 
+044a 204004be call p_mouse_null_enter_hibernate_disable 
+044b 204002e0 call p_mouse_init_sensor_reset 
+044c 20203f8d branch mouse_no_data_timer_init 
 
 p_mouse_before_hibernate:
-0441 20400444 call p_mouse_sensor_powerdown_check 
-0442 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
-0443 2020074f branch p_zcode_entrance 
+044d 20400450 call p_mouse_sensor_powerdown_check 
+044e 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
+044f 20200762 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
-0444 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
-0445 207a0000 rtn blank 
-0446 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
-0447 20200303 branch p_mouse_sensor_powerdown 
+0450 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
+0451 207a0000 rtn blank 
+0452 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
+0453 20200303 branch p_mouse_sensor_powerdown 
 
 p_mouse_bb_event_timer:
-0448 204003f6 call p_mouse_dpi_check 
-0449 204004b4 call p_mouse_multi_led_blink_timer 
-044a 20400487 call p_mouse_wheel_trigger_timer 
-044b 204004a3 call p_mouse_null_enter_hibernate_timer 
-044c 2040048c call p_mouse_bt_discovery_check 
-044d 20404234 call mouse_check_discovery_timeout_timer 
-044e 20400458 call p_mouse_check_select_device_by_switch_timer 
-044f 20400480 call p_mouse_g24_long_sleep_param_update_timer 
-0450 20404237 call mouse_check_direct_timeout_timer 
-0451 20400469 call p_mouse_le_enable_att_list_timer 
-0452 20400472 call p_mouse_le_current_mult_update_timer 
-0453 20400478 call p_le_send_smp_security_request_timer 
-0454 20400461 call p_mouse_send_switch_req_timer 
-0455 20404231 call mouse_check_hid_handshake_timer 
-0456 20400464 call p_mouse_bt_check_sniff_req_timeout_timer 
-0457 2020423a branch mouse_check_no_data_timeout_timer 
+0454 2040050a call p_mouse_adc_read 
+0455 20400402 call p_mouse_dpi_check 
+0456 204004c1 call p_mouse_multi_led_blink_timer 
+0457 20400494 call p_mouse_wheel_trigger_timer 
+0458 204004b0 call p_mouse_null_enter_hibernate_timer 
+0459 20400499 call p_mouse_bt_discovery_check 
+045a 20404234 call mouse_check_discovery_timeout_timer 
+045b 20400465 call p_mouse_check_select_device_by_switch_timer 
+045c 2040048d call p_mouse_g24_long_sleep_param_update_timer 
+045d 20404237 call mouse_check_direct_timeout_timer 
+045e 20400476 call p_mouse_le_enable_att_list_timer 
+045f 2040047f call p_mouse_le_current_mult_update_timer 
+0460 20400485 call p_le_send_smp_security_request_timer 
+0461 2040046e call p_mouse_send_switch_req_timer 
+0462 20404231 call mouse_check_hid_handshake_timer 
+0463 20400471 call p_mouse_bt_check_sniff_req_timeout_timer 
+0464 2020423a branch mouse_check_no_data_timeout_timer 
 
 p_mouse_check_select_device_by_switch_timer:
-0458 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-0459 2040681d call gpio_get_bit 
-045a 2020845e branch p_mouse_cheak_select_24gdevice ,true 
+0465 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+0466 2040681d call gpio_get_bit 
+0467 2020846b branch p_mouse_cheak_select_24gdevice ,true 
 
 p_mouse_select_btdevice:
-045b 6800c720 fetch 1 ,mem_device_flag 
-045c c080e59a bne mode_bt_device1 ,soft_reset_chip 
-045d 20600000 rtn 
+0468 6800c720 fetch 1 ,mem_device_flag 
+0469 c080e59a bne mode_bt_device1 ,soft_reset_chip 
+046a 20600000 rtn 
 
 p_mouse_cheak_select_24gdevice:
-045e 6800c720 fetch 1 ,mem_device_flag 
-045f c081659a bne mode_24g_device ,soft_reset_chip 
-0460 20600000 rtn 
+046b 6800c720 fetch 1 ,mem_device_flag 
+046c c081659a bne mode_24g_device ,soft_reset_chip 
+046d 20600000 rtn 
 
 p_mouse_send_switch_req_timer:
-0461 da604809 arg mem_mouse_send_switch_req_timer ,regc 
-0462 da40637a arg host_create_conn_resend ,regb 
-0463 2020336d branch timer_single_step 
+046e da604809 arg mem_mouse_send_switch_req_timer ,regc 
+046f da40637a arg host_create_conn_resend ,regb 
+0470 2020336d branch timer_single_step 
 
 p_mouse_bt_check_sniff_req_timeout_timer:
-0464 da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
-0465 da400467 arg p_mouse_bt_send_first_package ,regb 
-0466 2020336d branch timer_single_step 
+0471 da604b09 arg mem_mouse_bt_send_first_package_timer ,regc 
+0472 da400474 arg p_mouse_bt_send_first_package ,regb 
+0473 2020336d branch timer_single_step 
 
 p_mouse_bt_send_first_package:
-0467 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
-0468 20600000 rtn 
+0474 704b0a01 jam 1 ,mem_mouse_bt_send_first_package_flag 
+0475 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-0469 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-046a da403d60 arg mouse_le_write_enable ,regb 
-046b 2020336d branch timer_single_step 
+0476 da6046c6 arg mem_le_start_encrypt_timer ,regc 
+0477 da403d60 arg mouse_le_write_enable ,regb 
+0478 2020336d branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-046c da6046ae arg mem_mouse_direct_timer ,regc 
-046d da40046f arg p_mouse_check_direct_timeout ,regb 
-046e 20203374 branch timer_single_step_2b 
+0479 da6046ae arg mem_mouse_direct_timer ,regc 
+047a da40047c arg p_mouse_check_direct_timeout ,regb 
+047b 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-046f 6800cb2f fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0470 247a0000 nrtn blank 
-0471 20204266 branch mouse_check_direct_timeout 
+047c 6800cb2f fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+047d 247a0000 nrtn blank 
+047e 20204266 branch mouse_check_direct_timeout 
 
 p_mouse_le_current_mult_update_timer:
-0472 da604b5f arg mem_mouse_le_current_mult_timer ,regc 
-0473 da400475 arg p_mouse_le_current_mult_reinit ,regb 
-0474 2020336d branch timer_single_step 
+047f da604b5f arg mem_mouse_le_current_mult_timer ,regc 
+0480 da400482 arg p_mouse_le_current_mult_reinit ,regb 
+0481 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-0475 6800c7c5 fetch 1 ,mem_lpm_mult_init 
-0476 6000c172 store 1 ,mem_lpm_mult 
-0477 20200485 branch p_mouse_long_mult_flag_enable 
+0482 6800c7c5 fetch 1 ,mem_lpm_mult_init 
+0483 6000c172 store 1 ,mem_lpm_mult 
+0484 20200492 branch p_mouse_long_mult_flag_enable 
 
 p_le_send_smp_security_request_timer:
-0478 6800cb63 fetch 1 ,mem_mouse_le_bb_connected_flag 
-0479 207a0000 rtn blank 
-047a da604b61 arg mem_mouse_send_secutiry_request_timer ,regc 
-047b da40047d arg p_le_pairing_sm_start_check ,regb 
-047c 2020336d branch timer_single_step 
+0485 6800cb63 fetch 1 ,mem_mouse_le_bb_connected_flag 
+0486 207a0000 rtn blank 
+0487 da604b61 arg mem_mouse_send_secutiry_request_timer ,regc 
+0488 da40048a arg p_le_pairing_sm_start_check ,regb 
+0489 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-047d 6800cb62 fetch 1 ,mem_le_send_security_request_flag 
-047e 247a0000 nrtn blank 
-047f 20205bf5 branch le_pairing_sm_start 
+048a 6800cb62 fetch 1 ,mem_le_send_security_request_flag 
+048b 247a0000 nrtn blank 
+048c 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_g24_long_sleep_param_update_timer:
-0480 da604b60 arg mem_24g_long_sleep_param_update_timer ,regc 
-0481 da400483 arg p_mouse_g24_long_sleep_normal_param ,regb 
-0482 2020336d branch timer_single_step 
+048d da604b60 arg mem_24g_long_sleep_param_update_timer ,regc 
+048e da400490 arg p_mouse_g24_long_sleep_normal_param ,regb 
+048f 2020336d branch timer_single_step 
 
 p_mouse_g24_long_sleep_normal_param:
-0483 58249f00 setarg g24_long_sleep_step2 
-0484 6001cc19 store 3 ,mem_24g_enter_hibernate 
+0490 58249f00 setarg g24_long_sleep_step2 
+0491 6001cc19 store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
-0485 704b5e01 jam 1 ,mem_mouse_long_mult_flag 
-0486 20600000 rtn 
+0492 704b5e01 jam 1 ,mem_mouse_long_mult_flag 
+0493 20600000 rtn 
 
 p_mouse_wheel_trigger_timer:
-0487 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
-0488 da40048a arg p_mouse_wheel_trigger_disable ,regb 
-0489 2020336d branch timer_single_step 
+0494 da604807 arg mem_mouse_wheel_trigger_timer ,regc 
+0495 da400497 arg p_mouse_wheel_trigger_disable ,regb 
+0496 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-048a 70480600 jam 0 ,mem_mouse_wheel_trigger 
-048b 20600000 rtn 
+0497 70480600 jam 0 ,mem_mouse_wheel_trigger 
+0498 20600000 rtn 
 
 p_mouse_bt_discovery_check:
-048c 6800c720 fetch 1 ,mem_device_flag 
-048d c1010000 rtneq mode_24g_device 
+0499 6800c720 fetch 1 ,mem_device_flag 
+049a c1010000 rtneq mode_24g_device 
 
 p_mouse_bt_discovery_by_button:
-048e 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
-048f 2040681d call gpio_get_bit 
-0490 20208494 branch p_mouse_bt_discovery_commbination_key_down ,true 
+049b 6808c6ec fetcht 1 ,mem_config_bt_button_gpio 
+049c 2040681d call gpio_get_bit 
+049d 202084a1 branch p_mouse_bt_discovery_commbination_key_down ,true 
 
 p_mouse_bt_discovery_commbination_key_up:
-0491 204043a9 call mouse_bt_discovery_commbination_key_up 
-0492 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-0493 202043d2 branch mouse_disable_function_flag 
+049e 204043a9 call mouse_bt_discovery_commbination_key_up 
+049f d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+04a0 202043d2 branch mouse_disable_function_flag 
 
 p_mouse_bt_discovery_commbination_key_down:
-0494 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-0495 20400497 call p_mouse_bt_discovery_timer 
-0496 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
+04a1 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+04a2 204004a4 call p_mouse_bt_discovery_timer 
+04a3 202043b0 branch mouse_bt_discovery_commbination_key_down + 1 
 
 p_mouse_bt_discovery_timer:
-0497 da6046da arg mem_combination_ui_button_count ,regc 
-0498 da40049a arg p_mouse_long_button_bt_discovery ,regb 
-0499 2020336d branch timer_single_step 
+04a4 da6046da arg mem_combination_ui_button_count ,regc 
+04a5 da4004a7 arg p_mouse_long_button_bt_discovery ,regb 
+04a6 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-049a 68014682 fetch 2 ,mem_ui_state_map 
-049b 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-049c 2040c2d4 call mouse_stop_le_adv ,true 
-049d 68014682 fetch 2 ,mem_ui_state_map 
-049e 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-049f 2040c392 call mouse_cancel_reconnect ,true 
-04a0 d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
-04a1 204043ce call mouse_enable_function_flag 
-04a2 202043b8 branch mouse_long_button_bt_discovry 
+04a7 68014682 fetch 2 ,mem_ui_state_map 
+04a8 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+04a9 2040c2d4 call mouse_stop_le_adv ,true 
+04aa 68014682 fetch 2 ,mem_ui_state_map 
+04ab 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+04ac 2040c392 call mouse_cancel_reconnect ,true 
+04ad d8e00009 arg mouse_bt_discovery_button_long_down_flag ,queue 
+04ae 204043ce call mouse_enable_function_flag 
+04af 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_null_enter_hibernate_timer:
-04a3 6800cb2f fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-04a4 247a0000 nrtn blank 
-04a5 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
-04a6 207a0000 rtn blank 
-04a7 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
-04a8 203a04ac branch p_mouse_null_enter_hibernate ,blank 
-04a9 1fe0ffff increase -1 ,pdata 
-04aa 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
-04ab 20600000 rtn 
+04b0 6800cb2f fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+04b1 247a0000 nrtn blank 
+04b2 6800c79d fetch 1 ,mem_mouse_null_enter_hibernate_flag 
+04b3 207a0000 rtn blank 
+04b4 6800c79e fetch 1 ,mem_mouse_null_enter_hibernate_timer 
+04b5 203a04b9 branch p_mouse_null_enter_hibernate ,blank 
+04b6 1fe0ffff increase -1 ,pdata 
+04b7 6000c79e store 1 ,mem_mouse_null_enter_hibernate_timer 
+04b8 20600000 rtn 
 
 p_mouse_null_enter_hibernate:
-04ac 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-04ad 2020340a branch app_enter_hibernate 
+04b9 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+04ba 2020340a branch app_enter_hibernate 
 
 p_mouse_null_enter_hibernate_enable:
-04ae 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
-04af 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
-04b0 20600000 rtn 
+04bb 70479d01 jam 1 ,mem_mouse_null_enter_hibernate_flag 
+04bc 70479e28 jam 40 ,mem_mouse_null_enter_hibernate_timer 
+04bd 20600000 rtn 
 
 p_mouse_null_enter_hibernate_disable:
-04b1 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
-04b2 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
-04b3 20600000 rtn 
+04be 70479d00 jam 0 ,mem_mouse_null_enter_hibernate_flag 
+04bf 70479e00 jam 0 ,mem_mouse_null_enter_hibernate_timer 
+04c0 20600000 rtn 
 
 p_mouse_multi_led_blink_timer:
-04b4 6800cb25 fetch 1 ,mem_mouse_multi_led_blink_enable 
-04b5 207a0000 rtn blank 
-04b6 6800cb28 fetch 1 ,mem_mouse_multi_led_type 
-04b7 c00004ba beq multi_led_on ,p_mouse_multi_led_type_on 
-04b8 c00084c4 beq multi_led_blink ,p_mouse_multi_led_type_blink 
-04b9 20600000 rtn 
+04c1 6800cb25 fetch 1 ,mem_mouse_multi_led_blink_enable 
+04c2 207a0000 rtn blank 
+04c3 6800cb28 fetch 1 ,mem_mouse_multi_led_type 
+04c4 c00004c7 beq multi_led_on ,p_mouse_multi_led_type_on 
+04c5 c00084d1 beq multi_led_blink ,p_mouse_multi_led_type_blink 
+04c6 20600000 rtn 
 
 p_mouse_multi_led_type_on:
-04ba 204004d4 call p_mouse_multi_led_on 
-04bb 6800cb29 fetch 1 ,mem_mouse_multi_led_on_timer 
-04bc 1fe0fe01 increase 1 ,pdata 
-04bd 6000cb29 store 1 ,mem_mouse_multi_led_on_timer 
-04be 6808cb2a fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-04bf 98467c00 isub temp ,null 
-04c0 204284c2 call p_mouse_multi_led_off_poweron2s ,zero 
-04c1 20600000 rtn 
+04c7 204004e1 call p_mouse_multi_led_on 
+04c8 6800cb29 fetch 1 ,mem_mouse_multi_led_on_timer 
+04c9 1fe0fe01 increase 1 ,pdata 
+04ca 6000cb29 store 1 ,mem_mouse_multi_led_on_timer 
+04cb 6808cb2a fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+04cc 98467c00 isub temp ,null 
+04cd 204284cf call p_mouse_multi_led_off_poweron2s ,zero 
+04ce 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-04c2 704b2f00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-04c3 202004e2 branch p_mouse_multi_led_off 
+04cf 704b2f00 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+04d0 202004ef branch p_mouse_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-04c4 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_timer 
-04c5 1fe0ffff increase -1 ,pdata 
-04c6 6000cb2c store 1 ,mem_mouse_multi_led_blink_timer 
-04c7 247a0000 nrtn blank 
-04c8 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-04c9 6000cb2c store 1 ,mem_mouse_multi_led_blink_timer 
-04ca 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-04cb 203a04d0 branch p_mouse_multi_led_blink_count_no_limited ,blank 
-04cc 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_count 
-04cd 203a04e0 branch p_mouse_multi_led_blink_off ,blank 
-04ce 1fe0ffff increase -1 ,pdata 
-04cf 6000cb2d store 1 ,mem_mouse_multi_led_blink_count 
+04d1 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_timer 
+04d2 1fe0ffff increase -1 ,pdata 
+04d3 6000cb2c store 1 ,mem_mouse_multi_led_blink_timer 
+04d4 247a0000 nrtn blank 
+04d5 6800cb2b fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+04d6 6000cb2c store 1 ,mem_mouse_multi_led_blink_timer 
+04d7 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+04d8 203a04dd branch p_mouse_multi_led_blink_count_no_limited ,blank 
+04d9 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_count 
+04da 203a04ed branch p_mouse_multi_led_blink_off ,blank 
+04db 1fe0ffff increase -1 ,pdata 
+04dc 6000cb2d store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-04d0 6800cb27 fetch 1 ,mem_mouse_multi_led_state 
-04d1 c00084e2 beq on ,p_mouse_multi_led_off 
-04d2 c00004d4 beq off ,p_mouse_multi_led_on 
-04d3 20600000 rtn 
+04dd 6800cb27 fetch 1 ,mem_mouse_multi_led_state 
+04de c00084ef beq on ,p_mouse_multi_led_off 
+04df c00004e1 beq off ,p_mouse_multi_led_on 
+04e0 20600000 rtn 
 
 p_mouse_multi_led_on:
-04d4 704b2701 jam on ,mem_mouse_multi_led_state 
-04d5 6800c720 fetch 1 ,mem_device_flag 
-04d6 c00104db beq mode_24g_device ,p_mouse_multi_down_led_on 
+04e1 704b2701 jam on ,mem_mouse_multi_led_state 
+04e2 6800c720 fetch 1 ,mem_device_flag 
+04e3 c00104e8 beq mode_24g_device ,p_mouse_multi_down_led_on 
 
 p_mouse_multi_up_led_on:
-04d7 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
-04d8 2040680e call gpio_config_output 
-04d9 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
-04da 20206825 branch gpio_out_inactive 
+04e4 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
+04e5 2040680e call gpio_config_output 
+04e6 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
+04e7 20206825 branch gpio_out_inactive 
 
 p_mouse_multi_down_led_on:
-04db 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
-04dc 79200407 set1 7 ,temp 
-04dd 2040680e call gpio_config_output 
-04de 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
-04df 20206829 branch gpio_out_active 
+04e8 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
+04e9 79200407 set1 7 ,temp 
+04ea 2040680e call gpio_config_output 
+04eb 6808cb26 fetcht 1 ,mem_mouse_multi_led_gpio 
+04ec 20206829 branch gpio_out_active 
 
 p_mouse_multi_led_blink_off:
-04e0 58000000 setarg 0 
-04e1 6001cb2c store 3 ,mem_mouse_multi_led_blink_timer 
+04ed 58000000 setarg 0 
+04ee 6001cb2c store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-04e2 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_count 
-04e3 243a04e6 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-04e4 704b2500 jam 0 ,mem_mouse_multi_led_blink_enable 
-04e5 704b2800 jam 0 ,mem_mouse_multi_led_type 
+04ef 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_count 
+04f0 243a04f3 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+04f1 704b2500 jam 0 ,mem_mouse_multi_led_blink_enable 
+04f2 704b2800 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-04e6 704b2900 jam 0 ,mem_mouse_multi_led_on_timer 
-04e7 704b2700 jam off ,mem_mouse_multi_led_state 
-04e8 2020028e branch p_mouse_multi_led_gpio_set_float 
+04f3 704b2900 jam 0 ,mem_mouse_multi_led_on_timer 
+04f4 704b2700 jam off ,mem_mouse_multi_led_state 
+04f5 2020028e branch p_mouse_multi_led_gpio_set_float 
 
 p_mouse_mode_bt_device1_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-04e9 704b2f01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-04ea 704b2501 jam on ,mem_mouse_multi_led_blink_enable 
-04eb 704b2800 jam multi_led_on ,mem_mouse_multi_led_type 
-04ec 704b2900 jam 0 ,mem_mouse_multi_led_on_timer 
-04ed 20600000 rtn 
+04f6 704b2f01 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+04f7 704b2501 jam on ,mem_mouse_multi_led_blink_enable 
+04f8 704b2800 jam multi_led_on ,mem_mouse_multi_led_type 
+04f9 704b2900 jam 0 ,mem_mouse_multi_led_on_timer 
+04fa 20600000 rtn 
 
 p_mouse_discovery_multi_led_blink:
-04ee 704b2b03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-04ef 704b2e00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-04f0 704b2d01 jam 1 ,mem_mouse_multi_led_blink_count 
+04fb 704b2b03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+04fc 704b2e00 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+04fd 704b2d01 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-04f1 704b2c05 jam 5 ,mem_mouse_multi_led_blink_timer 
-04f2 704b2501 jam on ,mem_mouse_multi_led_blink_enable 
-04f3 704b2801 jam multi_led_blink ,mem_mouse_multi_led_type 
-04f4 20600000 rtn 
+04fe 704b2c05 jam 5 ,mem_mouse_multi_led_blink_timer 
+04ff 704b2501 jam on ,mem_mouse_multi_led_blink_enable 
+0500 704b2801 jam multi_led_blink ,mem_mouse_multi_led_type 
+0501 20600000 rtn 
 
 p_mouse_discovey_led_blink_off:
-04f5 6800cb29 fetch 1 ,mem_mouse_multi_led_on_timer 
-04f6 247a0000 nrtn blank 
-04f7 6800cb2f fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-04f8 247a0000 nrtn blank 
-04f9 202004e0 branch p_mouse_multi_led_blink_off 
+0502 6800cb29 fetch 1 ,mem_mouse_multi_led_on_timer 
+0503 247a0000 nrtn blank 
+0504 6800cb2f fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0505 247a0000 nrtn blank 
+0506 202004ed branch p_mouse_multi_led_blink_off 
 
 p_mouse_dpi_multi_led_blink:
-04fa 704b2b03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-04fb 704b2e01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-04fc 202004f1 branch p_mouse_multi_led_blink_enable 
+0507 704b2b03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+0508 704b2e01 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+0509 202004fe branch p_mouse_multi_led_blink_enable 
+
+p_mouse_adc_read:
+050a 68014b2d fetch 2 ,mem_mouse_multi_led_blink_count 
+050b 247a0000 nrtn blank 
+050c 6800c6ce fetch 1 ,mem_adc_read_timer 
+050d 1fe0fe01 increase 1 ,pdata 
+050e 6000c6ce store 1 ,mem_adc_read_timer 
+050f 1fe67c0a sub pdata ,10 ,null 
+0510 20610000 rtn positive 
+
+p_mouse_adc_read_once:
+0511 204068a8 call adc_init_data 
+0512 7046ce00 jam 0 ,mem_adc_read_timer 
+0513 204068eb call adc_set_mode 
+0514 20406908 call vdd_calculate_by_mode 
+0515 6001470f store 2 ,mem_mouse_vdd_now_vol 
+0516 da204709 arg mem_mouse_vdd_calculate_set ,rega 
+0517 2040051a call p_adc_bat_percent_lowpower_out 
+0518 704afd01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0519 202043e7 branch mouse_adc_low_voltage 
+
+p_adc_bat_percent_lowpower_out:
+051a ea240000 ifetch 8 ,rega 
+051b 60040a9a store 8 ,mem_pdatatemp 
+051c 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+051d 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+051e 98467c00 isub temp ,null 
+051f 24216944 nbranch adc_set_no_power_flag ,positive 
+0520 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+0521 98467c00 isub temp ,null 
+0522 24216940 nbranch adc_set_low_power_flag ,positive 
+
+p_adc_clear_low_power_flag:
+0523 6800c231 fetch 1 ,mem_adc_power_flag 
+0524 793ffe00 set0 0 ,pdata 
+0525 6000c231 store 1 ,mem_adc_power_flag 
+0526 20600000 rtn 
 
 p_mouse_seting_dpi:
 
 p_mouse_seting_sensor_type:
-04fd 6800c6e0 fetch 1 ,mem_config_sensor_type 
-04fe c001051a beq ka8 ,p_mouse_seting_ka8_dpi 
-04ff c003050a beq p3065_xy ,p_mouse_seting_3065xy_dpi 
-0500 c0038512 beq ma8650 ,p_mouse_seting_8009_dpi 
+0527 6800c6e0 fetch 1 ,mem_config_sensor_type 
+0528 c0010544 beq ka8 ,p_mouse_seting_ka8_dpi 
+0529 c0030534 beq p3065_xy ,p_mouse_seting_3065xy_dpi 
+052a c003853c beq ma8650 ,p_mouse_seting_8009_dpi 
 
 p_mouse_seting_3205_dpi:
-0501 6800c77a fetch 1 ,mem_mouse_dpi 
-0502 205a0510 call p_mouse_3065xy_dpi_recount ,blank 
-0503 6800c77a fetch 1 ,mem_mouse_dpi 
-0504 c0008507 beq mouse_dpi_level2 ,p_mouse_3205_set_cpi1 
-0505 c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
-0506 20203d88 branch mouse_set_cpi2 
+052b 6800c77a fetch 1 ,mem_mouse_dpi 
+052c 205a053a call p_mouse_3065xy_dpi_recount ,blank 
+052d 6800c77a fetch 1 ,mem_mouse_dpi 
+052e c0008531 beq mouse_dpi_level2 ,p_mouse_3205_set_cpi1 
+052f c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
+0530 20203d88 branch mouse_set_cpi2 
 
 p_mouse_3205_set_cpi1:
-0507 6800c77f fetch 1 ,mem_320x_dpi_1 
-0508 1fe0ffff increase -1 ,pdata 
-0509 20203dbe branch mouse_p3205_dpi 
+0531 6800c77f fetch 1 ,mem_320x_dpi_1 
+0532 1fe0ffff increase -1 ,pdata 
+0533 20203dbe branch mouse_p3205_dpi 
 
 p_mouse_seting_3065xy_dpi:
-050a 6800c77a fetch 1 ,mem_mouse_dpi 
-050b 205a0510 call p_mouse_3065xy_dpi_recount ,blank 
-050c 6800c77a fetch 1 ,mem_mouse_dpi 
-050d c0008518 beq mouse_dpi_level2 ,p_mouse_8009_set_cpi1 
-050e c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
-050f 20203d88 branch mouse_set_cpi2 
+0534 6800c77a fetch 1 ,mem_mouse_dpi 
+0535 205a053a call p_mouse_3065xy_dpi_recount ,blank 
+0536 6800c77a fetch 1 ,mem_mouse_dpi 
+0537 c0008542 beq mouse_dpi_level2 ,p_mouse_8009_set_cpi1 
+0538 c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
+0539 20203d88 branch mouse_set_cpi2 
 
 p_mouse_3065xy_dpi_recount:
-0510 70477a01 jam mouse_dpi_level2 ,mem_mouse_dpi 
-0511 20600000 rtn 
+053a 70477a01 jam mouse_dpi_level2 ,mem_mouse_dpi 
+053b 20600000 rtn 
 
 p_mouse_seting_8009_dpi:
-0512 6800c77a fetch 1 ,mem_mouse_dpi 
-0513 205a0510 call p_mouse_3065xy_dpi_recount ,blank 
-0514 6800c77a fetch 1 ,mem_mouse_dpi 
-0515 c0008518 beq mouse_dpi_level2 ,p_mouse_8009_set_cpi1 
-0516 c001bd88 beq mouse_dpi_level4 ,mouse_set_cpi2 
-0517 20203d8a branch mouse_set_cpi1 
+053c 6800c77a fetch 1 ,mem_mouse_dpi 
+053d 205a053a call p_mouse_3065xy_dpi_recount ,blank 
+053e 6800c77a fetch 1 ,mem_mouse_dpi 
+053f c0008542 beq mouse_dpi_level2 ,p_mouse_8009_set_cpi1 
+0540 c001bd88 beq mouse_dpi_level4 ,mouse_set_cpi2 
+0541 20203d8a branch mouse_set_cpi1 
 
 p_mouse_8009_set_cpi1:
-0518 7046b500 jam 0 ,mem_mouse_cpi_count 
-0519 20203dc1 branch mouse_p3205_dpi + 3 
+0542 7046b500 jam 0 ,mem_mouse_cpi_count 
+0543 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_seting_ka8_dpi:
-051a 6800c77a fetch 1 ,mem_mouse_dpi 
-051b 205a0510 call p_mouse_3065xy_dpi_recount ,blank 
-051c 6800c77a fetch 1 ,mem_mouse_dpi 
-051d c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
-051e c0018520 beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
-051f 20203d8e branch mouse_set_cpi4 
+0544 6800c77a fetch 1 ,mem_mouse_dpi 
+0545 205a053a call p_mouse_3065xy_dpi_recount ,blank 
+0546 6800c77a fetch 1 ,mem_mouse_dpi 
+0547 c000bd88 beq mouse_dpi_level2 ,mouse_set_cpi2 
+0548 c001854a beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
+0549 20203d8e branch mouse_set_cpi4 
 
 p_mouse_ka8_set_cpi3:
-0520 58000005 setarg 5 
-0521 20203dbe branch mouse_p3205_dpi 
+054a 58000005 setarg 5 
+054b 20203dbe branch mouse_p3205_dpi 
 
 p_mouse_motion:
-0522 78547c00 disable user 
-0523 58000000 setarg 0 
-0524 6003469b store 6 ,mem_mouse_x 
-0525 20400555 call p_mouse_cheak_sensor_data 
-0526 20404079 call mouse_zwheel 
-0527 2040407e call mouse_t_zwheel 
-0528 2040052f call p_mouse_key 
-0529 2434052c nbranch p_mouse_motion_nodata ,user 
-052a 20400770 call p_drawing_optima 
-052b 20203fa0 branch mouse_motion + 9 
+054c 78547c00 disable user 
+054d 58000000 setarg 0 
+054e 6003469b store 6 ,mem_mouse_x 
+054f 2040057f call p_mouse_cheak_sensor_data 
+0550 20404079 call mouse_zwheel 
+0551 2040407e call mouse_t_zwheel 
+0552 20400559 call p_mouse_key 
+0553 24340556 nbranch p_mouse_motion_nodata ,user 
+0554 20400783 call p_drawing_optima 
+0555 20203fa0 branch mouse_motion + 9 
 
 p_mouse_motion_nodata:
-052c 20400779 call p_drawing_optima_init 
-052d 704b3700 jam 0 ,mem_low_power_check_count 
-052e 20600000 rtn 
+0556 2040078c call p_drawing_optima_init 
+0557 704b3700 jam 0 ,mem_low_power_check_count 
+0558 20600000 rtn 
 
 p_mouse_key:
-052f 20400531 call p_mouse_check_key_gpio 
-0530 2020409a branch mouse_key + 1 
+0559 2040055b call p_mouse_check_key_gpio 
+055a 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-0531 da200000 arg 0 ,rega 
-0532 20400534 call p_mouse_check_lkey_gpio 
-0533 2020408e branch mouse_check_key_gpio_output 
+055b da200000 arg 0 ,rega 
+055c 2040055e call p_mouse_check_lkey_gpio 
+055d 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_lkey_gpio:
-0534 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0535 2040054d call p_gpio_set_input_pu 
-0536 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0537 2040681d call gpio_get_bit 
-0538 7920a200 setflag true ,0 ,rega 
+055e 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+055f 20400577 call p_gpio_set_input_pu 
+0560 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0561 2040681d call gpio_get_bit 
+0562 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-0539 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-053a 2040054d call p_gpio_set_input_pu 
-053b 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-053c 2040681d call gpio_get_bit 
-053d 7920a201 setflag true ,1 ,rega 
+0563 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0564 20400577 call p_gpio_set_input_pu 
+0565 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0566 2040681d call gpio_get_bit 
+0567 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-053e 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-053f 20400544 call p_gpio_set_input_pd 
-0540 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-0541 2040681d call gpio_get_bit 
-0542 7d20a202 nsetflag true ,2 ,rega 
-0543 20600000 rtn 
+0568 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0569 2040056e call p_gpio_set_input_pd 
+056a 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+056b 2040681d call gpio_get_bit 
+056c 7d20a202 nsetflag true ,2 ,rega 
+056d 20600000 rtn 
 
 p_gpio_set_input_pd:
-0544 793f8407 set0 gpio_active_bit ,temp 
-0545 d8a08078 arg core_gpio_pu0 ,contw 
-0546 20406830 call gpio_set_bit 
-0547 79200407 set1 gpio_active_bit ,temp 
+056e 793f8407 set0 gpio_active_bit ,temp 
+056f d8a08078 arg core_gpio_pu0 ,contw 
+0570 20406830 call gpio_set_bit 
+0571 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-0548 d8a0807c arg core_gpio_pd0 ,contw 
-0549 20406830 call gpio_set_bit 
-054a 793f8407 set0 gpio_active_bit ,temp 
-054b d8a08070 arg core_gpio_oe0 ,contw 
-054c 20206830 branch gpio_set_bit 
+0572 d8a0807c arg core_gpio_pd0 ,contw 
+0573 20406830 call gpio_set_bit 
+0574 793f8407 set0 gpio_active_bit ,temp 
+0575 d8a08070 arg core_gpio_oe0 ,contw 
+0576 20206830 branch gpio_set_bit 
 
 p_gpio_set_input_pu:
-054d 79200407 set1 gpio_active_bit ,temp 
+0577 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pu1:
-054e d8a08078 arg core_gpio_pu0 ,contw 
-054f 20406830 call gpio_set_bit 
-0550 793f8407 set0 gpio_active_bit ,temp 
-0551 20200548 branch p_gpio_set_input_pd4 
+0578 d8a08078 arg core_gpio_pu0 ,contw 
+0579 20406830 call gpio_set_bit 
+057a 793f8407 set0 gpio_active_bit ,temp 
+057b 20200572 branch p_gpio_set_input_pd4 
 
 p_mouse_select_device_button_gpio_set_suspend:
-0552 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+057c 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
 
 p_mouse_set_gpio_suspend:
-0553 793f8407 set0 gpio_active_bit ,temp 
-0554 2020054e branch p_gpio_set_input_pu1 
+057d 793f8407 set0 gpio_active_bit ,temp 
+057e 20200578 branch p_gpio_set_input_pu1 
 
 p_mouse_cheak_sensor_data:
-0555 6800c6e0 fetch 1 ,mem_config_sensor_type 
+057f 6800c6e0 fetch 1 ,mem_config_sensor_type 
 
 p_mouse_p32xx_sensor_motion:
-0556 20403fc0 call mouse_clear_sensor_data 
-0557 78547c00 disable user 
-0558 20203fe7 branch mouse_p32xx_sensor_motion_2 
+0580 20403fc0 call mouse_clear_sensor_data 
+0581 78547c00 disable user 
+0582 20203fe7 branch mouse_p32xx_sensor_motion_2 
 
 p_mouse_bb_event_discovery_btn:
-0559 204004c2 call p_mouse_multi_led_off_poweron2s 
-055a 204004b1 call p_mouse_null_enter_hibernate_disable 
-055b 280ffe26 isolate1 mark_24g ,mark 
-055c 2040819c call p_g24_check_51cmd_stop_24g ,true 
-055d 2020426d branch mouse_bb_event_discovery_btn + 1 
+0583 204004cf call p_mouse_multi_led_off_poweron2s 
+0584 204004be call p_mouse_null_enter_hibernate_disable 
+0585 280ffe26 isolate1 mark_24g ,mark 
+0586 2040819c call p_g24_check_51cmd_stop_24g ,true 
+0587 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
-055e 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
-055f 2020074f branch p_zcode_entrance 
+0588 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
+0589 20200762 branch p_zcode_entrance 
 
 p_mouse_start_discovery:
-0560 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
-0561 2020074f branch p_zcode_entrance 
+058a 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
+058b 20200762 branch p_zcode_entrance 
 
 p_mouse_load_random_addr_increase_count:
-0562 2040036f call p_flash_release_deep_power_down 
-0563 d8400002 arg 2 ,temp 
-0564 da2047c2 arg mem_random_addr_increase_count ,rega 
-0565 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-0566 6801c700 fetch 3 ,mem_flash_base 
-0567 9a40fe00 iadd regb ,pdata 
-0568 20206562 branch spid_read_flash 
+058c 2040037b call p_flash_release_deep_power_down 
+058d d8400002 arg 2 ,temp 
+058e da2047c2 arg mem_random_addr_increase_count ,rega 
+058f da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+0590 6801c700 fetch 3 ,mem_flash_base 
+0591 9a40fe00 iadd regb ,pdata 
+0592 20206562 branch spid_read_flash 
 
 p_mouse_load_fast_conn_flag:
-0569 2040036f call p_flash_release_deep_power_down 
-056a d8400001 arg 1 ,temp 
-056b da204d32 arg mem_mouse_fast_conn_flag ,rega 
-056c da400064 arg mouse_fast_conn_flag_offset ,regb 
-056d 6801c700 fetch 3 ,mem_flash_base 
-056e 9a40fe00 iadd regb ,pdata 
-056f 20206562 branch spid_read_flash 
+0593 2040037b call p_flash_release_deep_power_down 
+0594 d8400001 arg 1 ,temp 
+0595 da204d32 arg mem_mouse_fast_conn_flag ,rega 
+0596 da400064 arg mouse_fast_conn_flag_offset ,regb 
+0597 6801c700 fetch 3 ,mem_flash_base 
+0598 9a40fe00 iadd regb ,pdata 
+0599 20206562 branch spid_read_flash 
 
 p_le_adv_data_update:
-0570 d8a0437b arg mem_le_adv_data + 11 ,contw 
-0571 df200013 arg 19 ,loopcnt 
-0572 20407f01 call memcpy 
-0573 202057b8 branch le_modified_name_adv 
+059a d8a0437b arg mem_le_adv_data + 11 ,contw 
+059b df200013 arg 19 ,loopcnt 
+059c 20407f01 call memcpy 
+059d 202057b8 branch le_modified_name_adv 
 
 p_mouse_stop_discovery:
-0574 58000000 setarg 0 
-0575 600146ac store 2 ,mem_mouse_discovery_timer 
-0576 204002f9 call p_mouse_sensor_poweron 
-0577 6800c092 fetch 1 ,mem_device_option 
-0578 2feffe01 isolate1 mode_4_mouse ,pdata 
-0579 2040c2d4 call mouse_stop_le_adv ,true 
-057a 6800c092 fetch 1 ,mem_device_option 
-057b 2feffe00 isolate1 mode_3_mouse ,pdata 
-057c 2040c2d7 call mouse_stop_bt3_discovery ,true 
-057d 202004f5 branch p_mouse_discovey_led_blink_off 
+059e 58000000 setarg 0 
+059f 600146ac store 2 ,mem_mouse_discovery_timer 
+05a0 204002f9 call p_mouse_sensor_poweron 
+05a1 6800c092 fetch 1 ,mem_device_option 
+05a2 2feffe01 isolate1 mode_4_mouse ,pdata 
+05a3 2040c2d4 call mouse_stop_le_adv ,true 
+05a4 6800c092 fetch 1 ,mem_device_option 
+05a5 2feffe00 isolate1 mode_3_mouse ,pdata 
+05a6 2040c2d7 call mouse_stop_bt3_discovery ,true 
+05a7 20200502 branch p_mouse_discovey_led_blink_off 
 
 p_le_slave_match:
-057e 6800c50f fetch 1 ,mem_le_md_count 
-057f 1fe0fe01 pincrease 1 
-0580 6000c50f store 1 ,mem_le_md_count 
-0581 c0065395 beq le_md_max_count ,le_slave_cont 
-0582 204055aa call le_acknowledge 
-0583 2040561e call le_prepare_tx 
-0584 204006f2 call power_ctrl_start 
-0585 2020538f branch le_slave_match + 7 
+05a8 6800c50f fetch 1 ,mem_le_md_count 
+05a9 1fe0fe01 pincrease 1 
+05aa 6000c50f store 1 ,mem_le_md_count 
+05ab c0065395 beq le_md_max_count ,le_slave_cont 
+05ac 204055aa call le_acknowledge 
+05ad 2040561e call le_prepare_tx 
+05ae 20400705 call power_ctrl_start 
+05af 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-0586 68008016 fetch 1 ,mem_le_ch_mapped 
-0587 1fe0fe01 increase 1 ,pdata 
-0588 60008016 store 1 ,mem_le_ch_mapped 
-0589 c1940000 rtnne 40 
-058a 70001625 jam 37 ,mem_le_ch_mapped 
-058b 20600000 rtn 
+05b0 68008016 fetch 1 ,mem_le_ch_mapped 
+05b1 1fe0fe01 increase 1 ,pdata 
+05b2 60008016 store 1 ,mem_le_ch_mapped 
+05b3 c1940000 rtnne 40 
+05b4 70001625 jam 37 ,mem_le_ch_mapped 
+05b5 20600000 rtn 
 
 p_le_receive_skip:
-058c 204029bb call save_rssi 
-058d 20400220 call p_rssi_signal 
-058e 202054a3 branch le_receive_skip + 2 
+05b6 204029bb call save_rssi 
+05b7 20400220 call p_rssi_signal 
+05b8 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-058f 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
-0590 2020074f branch p_zcode_entrance 
+05b9 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
+05ba 20200762 branch p_zcode_entrance 
 
 p_le_update_channel_map:
-0591 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
-0592 2020074f branch p_zcode_entrance 
+05bb 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
+05bc 20200762 branch p_zcode_entrance 
 
 p_le_prepare_tx:
-0593 68008456 fetch 1 ,mem_le_arq 
-0594 c28285a7 bbit1 wak ,p_le_prepare_tx_wak 
-0595 204006e4 call power_ctrl_pac_succ_incrs 
-0596 6800c78e fetch 1 ,mem_empty_count 
-0597 243a059d nbranch p_le_send_empyt ,blank 
-0598 6800843f fetch 1 ,mem_le_state 
-0599 c30205a1 bbit0 lestate_encryption ,p_le_tx_4 
-059a 680082da fetch 1 ,mem_le_rxbuf + 1 
-059b 203a05a1 branch p_le_tx_4 ,blank 
-059c 20205664 branch le_send_empty 
+05bd 68008456 fetch 1 ,mem_le_arq 
+05be c28285dc bbit1 wak ,p_le_prepare_tx_wak 
+05bf 204006ff call power_ctrl_pac_succ_incrs 
+05c0 6800c78e fetch 1 ,mem_empty_count 
+05c1 243a05c7 nbranch p_le_send_empyt ,blank 
+05c2 6800843f fetch 1 ,mem_le_state 
+05c3 c30205cb bbit0 lestate_encryption ,p_le_tx_4 
+05c4 680082da fetch 1 ,mem_le_rxbuf + 1 
+05c5 203a05cb branch p_le_tx_4 ,blank 
+05c6 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-059d 6800c78e fetch 1 ,mem_empty_count 
-059e 1fe0ffff increase -1 ,pdata 
-059f 6000c78e store 1 ,mem_empty_count 
-05a0 20205664 branch le_send_empty 
+05c7 6800c78e fetch 1 ,mem_empty_count 
+05c8 1fe0ffff increase -1 ,pdata 
+05c9 6000c78e store 1 ,mem_empty_count 
+05ca 20205664 branch le_send_empty 
 
 p_le_tx_4:
-05a1 6800c4c4 fetch 1 ,mem_le_pairing_state 
-05a2 c08285a4 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-05a3 70478e03 jam 3 ,mem_empty_count 
+05cb 6800c4c4 fetch 1 ,mem_le_pairing_state 
+05cc c08285ce bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+05cd 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-05a4 20405892 call le_fifo_check_nearly_full 
-05a5 205a03ba call p_mouse_data_pull ,blank 
-05a6 20205622 branch le_prepare_tx + 4 
-
-p_le_prepare_tx_wak:
-05a7 204005a9 call p_le_check_tx_retransmit_setmd 
-05a8 202005b5 branch p_le_power_ctrl_pac_succ_decrs 
+05ce 20405892 call le_fifo_check_nearly_full 
+05cf 205a03c6 call p_mouse_data_pull ,blank 
+05d0 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-05a9 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05aa 1fe17e03 and pdata ,0x03 ,pdata 
-05ab c1818000 rtnne 0x03 
-05ac 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
-05ad 207a0000 rtn blank 
-05ae 6800c3dd fetch 1 ,mem_le_txlen 
-05af 207a0000 rtn blank 
-05b0 6800c3dc fetch 1 ,mem_le_txheader 
-05b1 79207e04 set1 md ,pdata 
-05b2 6000c3dc store 1 ,mem_le_txheader 
-05b3 20405650 call le_set_md 
-05b4 20600000 rtn 
+05d1 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05d2 1fe17e03 and pdata ,0x03 ,pdata 
+05d3 c1818000 rtnne 0x03 
+05d4 6800c7c1 fetch 1 ,mem_mouse_data_queue_num 
+05d5 207a0000 rtn blank 
+05d6 6800c3dd fetch 1 ,mem_le_txlen 
+05d7 207a0000 rtn blank 
+05d8 6800c3dc fetch 1 ,mem_le_txheader 
+05d9 79207e04 set1 md ,pdata 
+05da 6000c3dc store 1 ,mem_le_txheader 
+05db 20205650 branch le_set_md 
+
+p_le_prepare_tx_wak:
+05dc 204005d1 call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
-05b5 202006e8 branch power_ctrl_pac_succ_decrs 
+
+power_ctrl_pac_succ_decrs:
+05dd 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05de 1fe67c02 sub pdata ,2 ,null 
+05df 24410703 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+05e0 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05e1 c1000000 rtneq 0 
+05e2 1fe0ffff increase -1 ,pdata 
+05e3 6000cd23 store 1 ,mem_power_ctrl_pac_succ_cnt 
+05e4 20600000 rtn 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-05b6 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-05b7 207a0000 rtn blank 
-05b8 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05b9 1fe17e03 and pdata ,0x03 ,pdata 
-05ba c1018000 rtneq 0x03 
-05bb 7046c601 jam 1 ,mem_le_start_encrypt_timer 
-05bc 20600000 rtn 
+05e5 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+05e6 207a0000 rtn blank 
+05e7 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05e8 1fe17e03 and pdata ,0x03 ,pdata 
+05e9 c1018000 rtneq 0x03 
+05ea 7046c601 jam 1 ,mem_le_start_encrypt_timer 
+05eb 20600000 rtn 
 
 p_le_parse:
-05bd c6078000 rtnmark1 mark_old_packet 
-05be 20405890 call le_fifo_check_full 
-05bf 247a0000 nrtn blank 
-05c0 680082d9 fetch 1 ,mem_le_rxbuf 
-05c1 1fe17e03 and pdata ,0x3 ,pdata 
-05c2 6000c50c store 1 ,mem_le_packet_llid 
-05c3 e8c08000 ifetch 1 ,contr 
-05c4 1fe17e1f and pdata ,0x1f ,pdata 
-05c5 6000c50b store 1 ,mem_le_packet_size 
-05c6 207a0000 rtn blank 
-05c7 18c27e00 copy contr ,pdata 
-05c8 6001450d store 2 ,mem_le_payload_ptr 
-05c9 6800c50c fetch 1 ,mem_le_packet_llid 
-05ca c00185cc beq llid_le_ll ,p_le_parse_ll 
-05cb 2020568d branch le_parse_l2cap 
+05ec c6078000 rtnmark1 mark_old_packet 
+05ed 20405890 call le_fifo_check_full 
+05ee 247a0000 nrtn blank 
+05ef 680082d9 fetch 1 ,mem_le_rxbuf 
+05f0 1fe17e03 and pdata ,0x3 ,pdata 
+05f1 6000c50c store 1 ,mem_le_packet_llid 
+05f2 e8c08000 ifetch 1 ,contr 
+05f3 1fe17e1f and pdata ,0x1f ,pdata 
+05f4 6000c50b store 1 ,mem_le_packet_size 
+05f5 207a0000 rtn blank 
+05f6 18c27e00 copy contr ,pdata 
+05f7 6001450d store 2 ,mem_le_payload_ptr 
+05f8 6800c50c fetch 1 ,mem_le_packet_llid 
+05f9 c00185fb beq llid_le_ll ,p_le_parse_ll 
+05fa 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-05cc 680082db fetch 1 ,mem_le_rxbuf + 2 
-05cd c00085cf beq ll_channel_map_req ,p_le_parse_channel_map_req 
-05ce 20205c65 branch le_parse_ll + 1 
+05fb 680082db fetch 1 ,mem_le_rxbuf + 2 
+05fc c00085fe beq ll_channel_map_req ,p_le_parse_channel_map_req 
+05fd 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_channel_map_req:
-05cf e8c28000 ifetch 5 ,contr 
-05d0 6002c3ce store 5 ,mem_le_new_map 
-05d1 e8c10000 ifetch 2 ,contr 
-05d2 6001045f store 2 ,mem_le_instant 
-05d3 20205c8a branch le_parse_channel_map_req + 7 
+05fe e8c28000 ifetch 5 ,contr 
+05ff 6002c3ce store 5 ,mem_le_new_map 
+0600 e8c10000 ifetch 2 ,contr 
+0601 6001045f store 2 ,mem_le_instant 
+0602 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-05d4 e8c10000 ifetch 2 ,contr 
-05d5 c00205d8 beq le_l2cap_cid_att ,p_le_parse_att 
-05d6 c0030605 beq le_l2cap_cid_smp ,p_le_parse_smp 
-05d7 20205698 branch le_parse_l2cap + 11 
+0603 e8c10000 ifetch 2 ,contr 
+0604 c0020607 beq le_l2cap_cid_att ,p_le_parse_att 
+0605 c0030634 beq le_l2cap_cid_smp ,p_le_parse_smp 
+0606 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-05d8 20407ea5 call store_contr 
-05d9 204005b6 call p_mouse_le_reconn_write_enable_timer_reinit 
-05da 20407e9f call get_contr 
-05db e8c18000 ifetch 3 ,contr 
-05dc 60018477 store 3 ,mem_le_att_opcode 
-05dd c00805e7 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-05de 1fec8400 rshift8 pdata ,temp 
-05df 18467c24 sub temp ,0x24 ,null 
-05e0 202105f5 branch p_le_parse_att1 ,positive 
-05e1 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
-05e2 600944bc storet 2 ,mem_ui_le_uuid_table 
-05e3 204058ad call le_parse_att + 2 
-05e4 58008e7a setarg 0x8e7a 
-05e5 600144bc store 2 ,mem_ui_le_uuid_table 
-05e6 20600000 rtn 
+0607 20407ea5 call store_contr 
+0608 204005e5 call p_mouse_le_reconn_write_enable_timer_reinit 
+0609 20407e9f call get_contr 
+060a e8c18000 ifetch 3 ,contr 
+060b 60018477 store 3 ,mem_le_att_opcode 
+060c c0080616 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+060d 1fec8400 rshift8 pdata ,temp 
+060e 18467c24 sub temp ,0x24 ,null 
+060f 20210624 branch p_le_parse_att1 ,positive 
+0610 d84047c6 arg mem_mouse_le_uuid_sup ,temp 
+0611 600944bc storet 2 ,mem_ui_le_uuid_table 
+0612 204058ad call le_parse_att + 2 
+0613 58008e7a setarg 0x8e7a 
+0614 600144bc store 2 ,mem_ui_le_uuid_table 
+0615 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-05e7 204059fa call le_parse_att_read_by_group_type_request 
-05e8 20405879 call le_fifo_get_last_tx_ptr 
-05e9 18c08c07 increase 7 ,contr 
-05ea e8c08000 ifetch 1 ,contr 
-05eb c1888000 rtnne attop_read_by_group_type_response 
-05ec 18c08c05 increase 5 ,contr 
-05ed e8c10000 ifetch 2 ,contr 
-05ee d8401812 arg uuid_service_hids ,temp 
-05ef 98467c00 isub temp ,null 
-05f0 24628000 nrtn zero 
-05f1 18c08dfc increase -4 ,contr 
-05f2 5800002b setarg 0x2b 
-05f3 e0c10000 istore 2 ,contr 
-05f4 20600000 rtn 
+0616 204059fa call le_parse_att_read_by_group_type_request 
+0617 20405879 call le_fifo_get_last_tx_ptr 
+0618 18c08c07 increase 7 ,contr 
+0619 e8c08000 ifetch 1 ,contr 
+061a c1888000 rtnne attop_read_by_group_type_response 
+061b 18c08c05 increase 5 ,contr 
+061c e8c10000 ifetch 2 ,contr 
+061d d8401812 arg uuid_service_hids ,temp 
+061e 98467c00 isub temp ,null 
+061f 24628000 nrtn zero 
+0620 18c08dfc increase -4 ,contr 
+0621 5800002b setarg 0x2b 
+0622 e0c10000 istore 2 ,contr 
+0623 20600000 rtn 
 
 p_le_parse_att1:
-05f5 c00505f7 beq attop_read_request ,p_le_parse_att_read_request 
-05f6 202058ad branch le_parse_att + 2 
+0624 c0050626 beq attop_read_request ,p_le_parse_att_read_request 
+0625 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-05f7 68090478 fetcht 2 ,mem_le_att_handle 
-05f8 6800c4e9 fetch 1 ,mem_le_configuration 
-05f9 c28185fe bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0626 68090478 fetcht 2 ,mem_le_att_handle 
+0627 6800c4e9 fetch 1 ,mem_le_configuration 
+0628 c281862d bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-05fa 68010478 fetch 2 ,mem_le_att_handle 
-05fb c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-05fc 68090478 fetcht 2 ,mem_le_att_handle 
-05fd 202059bf branch le_send_att_read_response 
+0629 68010478 fetch 2 ,mem_le_att_handle 
+062a c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+062b 68090478 fetcht 2 ,mem_le_att_handle 
+062c 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-05fe 680144fa fetch 2 ,mem_le_pairing_handle 
-05ff 98467c00 isub temp ,null 
-0600 242285fa nbranch p_le_send_att_read_response ,zero 
-0601 20405a42 call le_check_encrypt_state 
-0602 243405fa nbranch p_le_send_att_read_response ,user 
-0603 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-0604 20205a77 branch le_send_att_error_response 
+062d 680144fa fetch 2 ,mem_le_pairing_handle 
+062e 98467c00 isub temp ,null 
+062f 24228629 nbranch p_le_send_att_read_response ,zero 
+0630 20405a42 call le_check_encrypt_state 
+0631 24340629 nbranch p_le_send_att_read_response ,user 
+0632 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+0633 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-0605 e8c08000 ifetch 1 ,contr 
-0606 c0008609 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0607 c002860b beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0608 20205af6 branch le_parse_smp + 2 
+0634 e8c08000 ifetch 1 ,contr 
+0635 c0008637 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0636 20205af6 branch le_parse_smp + 2 
 
 p_le_parse_smp_pairing_request:
-0609 704b6201 jam 1 ,mem_le_send_security_request_flag 
-060a 20205b09 branch le_parse_smp_pairing_request 
-
-p_le_parse_smp_pairing_failed:
-060b 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
-060c 2020074f branch p_zcode_entrance 
+0637 704b6201 jam 1 ,mem_le_send_security_request_flag 
+0638 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_adv_not_match:
-060d 68008016 fetch 1 ,mem_le_ch_mapped 
-060e c093d6f2 bne 39 ,le_adv_loop 
-060f 20400613 call p_le_adv_random_delay 
-0610 d8e00000 arg le_adv_interval_timer ,queue 
-0611 68014482 fetch 2 ,mem_le_adv_interval 
-0612 20207f08 branch timer_init 
+0639 68008016 fetch 1 ,mem_le_ch_mapped 
+063a c093d6f2 bne 39 ,le_adv_loop 
+063b 2040063f call p_le_adv_random_delay 
+063c d8e00000 arg le_adv_interval_timer ,queue 
+063d 68014482 fetch 2 ,mem_le_adv_interval 
+063e 20207f08 branch timer_init 
 
 p_le_adv_random_delay:
-0613 180a7e00 random pdata 
-0614 d84001ff arg 0x1ff ,temp 
-0615 98417e00 iand temp ,pdata 
-0616 1fe0fefa add pdata ,250 ,pdata 
-0617 20203cbe branch delay 
+063f 180a7e00 random pdata 
+0640 d84001ff arg 0x1ff ,temp 
+0641 98417e00 iand temp ,pdata 
+0642 1fe0fefa add pdata ,250 ,pdata 
+0643 20203cbe branch delay 
 
 p_le_lpm_setmult:
-0618 7855fc00 disable wake 
-0619 2037061b branch p_le_lpm_set_mult_attempt ,attempt 
-061a 2436d806 nbranch le_lpm_lost ,match 
+0644 7855fc00 disable wake 
+0645 20370647 branch p_le_lpm_set_mult_attempt ,attempt 
+0646 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-061b 20402bcb call lpm_match 
-061c 680140c1 fetch 2 ,mem_rx_window_sniff 
-061d 6001044d store 2 ,mem_le_receive_window 
-061e 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-061f 2fe00603 compare 3 ,pdata ,3 
-0620 2420abde nbranch lpm_mult_short ,true 
-0621 202057fb branch le_lpm_set_mult_attempt + 3 
+0647 20402bcb call lpm_match 
+0648 680140c1 fetch 2 ,mem_rx_window_sniff 
+0649 6001044d store 2 ,mem_le_receive_window 
+064a 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+064b 2fe00603 compare 3 ,pdata ,3 
+064c 2420abde nbranch lpm_mult_short ,true 
+064d 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-0622 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
-0623 247a0000 nrtn blank 
-0624 68008478 fetch 1 ,mem_le_att_handle 
-0625 1fe67e1a sub pdata ,26 ,pdata 
-0626 24628000 nrtn zero 
-0627 20203d60 branch mouse_le_write_enable 
+064e 6800c79f fetch 1 ,mem_mouse_le_reconnect_flag 
+064f 247a0000 nrtn blank 
+0650 68008478 fetch 1 ,mem_le_att_handle 
+0651 1fe67e1a sub pdata ,26 ,pdata 
+0652 24628000 nrtn zero 
+0653 20203d60 branch mouse_le_write_enable 
 
 p_twspi_reset:
-0628 68108077 hfetch 1 ,core_gpio_out3 
-0629 1fe17efd and_into 0xfd ,pdata 
-062a 60108077 hstore 1 ,core_gpio_out3 
-062b 68188073 hfetcht 1 ,core_gpio_oe3 
-062c 18418402 or_into 0x2 ,temp 
-062d 60188073 hstoret 1 ,core_gpio_oe3 
-062e 204063ee call twspi_disable 
-062f 184104fd and_into 0xfd ,temp 
-0630 2000000d nop 13 
-0631 20400635 call p_twspi_enable 
-0632 60188073 hstoret 1 ,core_gpio_oe3 
-0633 20600000 rtn 
+0654 68108077 hfetch 1 ,core_gpio_out3 
+0655 1fe17efd and_into 0xfd ,pdata 
+0656 60108077 hstore 1 ,core_gpio_out3 
+0657 68188073 hfetcht 1 ,core_gpio_oe3 
+0658 18418402 or_into 0x2 ,temp 
+0659 60188073 hstoret 1 ,core_gpio_oe3 
+065a 204063ee call twspi_disable 
+065b 184104fd and_into 0xfd ,temp 
+065c 2000000d nop 13 
+065d 20400661 call p_twspi_enable 
+065e 60188073 hstoret 1 ,core_gpio_oe3 
+065f 20600000 rtn 
 
 p_spid_init:
-0634 204064dd call spid_init_common 
+0660 204064dd call spid_init_common 
 
 p_twspi_enable:
-0635 68108081 hfetch 1 ,core_gpio_sel1 
-0636 79207e00 set1 0 ,pdata 
-0637 793ffe01 set0 1 ,pdata 
-0638 793ffe03 set0 3 ,pdata 
-0639 60108081 hstore 1 ,core_gpio_sel1 
-063a 20600000 rtn 
+0661 68108081 hfetch 1 ,core_gpio_sel1 
+0662 1fe1fe01 or pdata ,0x01 ,pdata 
+0663 1fe17ef5 and pdata ,0xf5 ,pdata 
+0664 60108081 hstore 1 ,core_gpio_sel1 
+0665 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-063b 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
-063c 2020074f branch p_zcode_entrance 
+0666 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
+0667 20200762 branch p_zcode_entrance 
 
 p_role_switch_master:
-063d 204021c9 call role_switch_check 
-063e 24740000 nrtn user 
+0668 204021c9 call role_switch_check 
+0669 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-063f 78547c00 disable user 
-0640 70001120 jam param_newconnto ,mem_newconnto_counter 
-0641 793f800b set0 mark_fhs_already_good ,mark 
-0642 793f802d set0 mark_role_switch_receive_fhs ,mark 
+066a 78547c00 disable user 
+066b 70001120 jam param_newconnto ,mem_newconnto_counter 
+066c 793f800b set0 mark_fhs_already_good ,mark 
+066d 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-0643 20402a4f call rf_setup_time_master_slot 
-0644 204022e6 call master_recv_packet 
-0645 c505864a bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-0646 20402455 call new_conn_timeout 
-0647 243a0643 nbranch p_roles_waitfhs_loop ,blank 
-0648 c5168653 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-0649 202021ec branch role_switch_fail_master 
+066e 20402a4f call rf_setup_time_master_slot 
+066f 204022e6 call master_recv_packet 
+0670 c5058675 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+0671 20402455 call new_conn_timeout 
+0672 243a066e nbranch p_roles_waitfhs_loop ,blank 
+0673 c516867e bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+0674 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-064a 20402a4d call rf_setup_time_slave_slot 
-064b d8200010 arg type_id ,type 
-064c 204022dc call master_send_packet 
-064d 7920002d set1 mark_role_switch_receive_fhs ,mark 
-064e 793f800b set0 mark_fhs_already_good ,mark 
-064f 68008077 fetch 1 ,mem_amaddr 
-0650 98000800 iforce am_addr 
-0651 70001102 jam 2 ,mem_newconnto_counter 
-0652 20200643 branch p_roles_waitfhs_loop 
+0675 20402a4d call rf_setup_time_slave_slot 
+0676 d8200010 arg type_id ,type 
+0677 204022dc call master_send_packet 
+0678 7920002d set1 mark_role_switch_receive_fhs ,mark 
+0679 793f800b set0 mark_fhs_already_good ,mark 
+067a 68008077 fetch 1 ,mem_amaddr 
+067b 98000800 iforce am_addr 
+067c 70001102 jam 2 ,mem_newconnto_counter 
+067d 2020066e branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-0653 68020165 fetch 4 ,mem_clke_bt 
-0654 1fe0fe08 pincrease 8 
-0655 60020165 store 4 ,mem_clke_bt 
-0656 202021f8 branch roles_replyto_fhs + 4 
+067e 68020165 fetch 4 ,mem_clke_bt 
+067f 1fe0fe08 pincrease 8 
+0680 60020165 store 4 ,mem_clke_bt 
+0681 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-0657 c516264d bmark1 mark_first_packet ,end_of_packet 
-0658 2020258f branch process_dmh + 1 
+0682 c516264d bmark1 mark_first_packet ,end_of_packet 
+0683 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-0659 204033af call app_disconn_reason_collect_bt 
-065a 204026e9 call sniff_exit 
-065b 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
-065c 20407d86 call ui_ipc_send_event 
-065d 20405cf7 call init_lmp_work 
-065e 20404d6b call l2cap_init_work 
-065f 2020246e branch quit_connection_cont + 8 
+0684 204033af call app_disconn_reason_collect_bt 
+0685 204026e9 call sniff_exit 
+0686 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0687 20407d86 call ui_ipc_send_event 
+0688 20405cf7 call init_lmp_work 
+0689 20404d6b call l2cap_init_work 
+068a 2020246e branch quit_connection_cont + 8 
 
 p_prepare_tx:
-0660 68008030 fetch 1 ,mem_state 
-0661 2feffe00 isolate1 state_inconn ,pdata 
-0662 20408664 call p_bt_power_ctrl ,true 
-0663 2020248a branch prepare_tx + 1 
+068b 68008030 fetch 1 ,mem_state 
+068c 2feffe00 isolate1 state_inconn ,pdata 
+068d 2040868f call p_bt_power_ctrl ,true 
+068e 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-0664 68008047 fetch 1 ,mem_arq 
-0665 2feffe03 isolate1 wack ,pdata 
-0666 204086e8 call power_ctrl_pac_succ_decrs ,true 
-0667 244086e4 ncall power_ctrl_pac_succ_incrs ,true 
-0668 202006f2 branch power_ctrl_start 
+068f 68008047 fetch 1 ,mem_arq 
+0690 2feffe03 isolate1 wack ,pdata 
+0691 204085dd call power_ctrl_pac_succ_decrs ,true 
+0692 244086ff ncall power_ctrl_pac_succ_incrs ,true 
+0693 20200705 branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-0669 204024f0 call slave_receive_master_slot 
-066a 242c28f9 nbranch shutdown_radio ,sync 
-066b 204029bb call save_rssi 
-066c 20400220 call p_rssi_signal 
-066d 20202518 branch slave_conn_recv_packet + 4 
+0694 204024f0 call slave_receive_master_slot 
+0695 242c28f9 nbranch shutdown_radio ,sync 
+0696 204029bb call save_rssi 
+0697 20400220 call p_rssi_signal 
+0698 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-066e c6130000 rtnmark1 mark_24g 
-066f 20402afa call lpo_calibration 
-0670 6801c16f fetch 3 ,mem_clks_per_lpo 
-0671 207a0000 rtn blank 
-0672 6800c091 fetch 1 ,mem_lpm_mode 
-0673 207a0000 rtn blank 
-0674 6800c65a fetch 1 ,mem_ssp_enable 
-0675 203a0678 branch p_lpm_dispatch_next ,blank 
-0676 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-0677 207a0000 rtn blank 
+0699 c6130000 rtnmark1 mark_24g 
+069a 20402afa call lpo_calibration 
+069b 6801c16f fetch 3 ,mem_clks_per_lpo 
+069c 207a0000 rtn blank 
+069d 6800c091 fetch 1 ,mem_lpm_mode 
+069e 207a0000 rtn blank 
+069f 6800c65a fetch 1 ,mem_ssp_enable 
+06a0 203a06a3 branch p_lpm_dispatch_next ,blank 
+06a1 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+06a2 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0678 6800c4c0 fetch 1 ,mem_le_sc_calc 
-0679 247a0000 nrtn blank 
-067a 20402c3a call lpm_check_wake_lock 
-067b 247a0000 nrtn blank 
-067c 6800c040 fetch 1 ,mem_context 
-067d 2fe00e03 compare 3 ,pdata ,0x7 
-067e 2420ab9d nbranch lpm_dispatch_unconn ,true 
-067f 68014042 fetch 2 ,mem_context + coffset_tsniff 
-0680 d840ffff arg 0xffff ,temp 
-0681 98467c00 isub temp ,null 
-0682 20628000 rtn zero 
-0683 20202b7d branch lpm_dispatch_next + 9 
+06a3 6800c4c0 fetch 1 ,mem_le_sc_calc 
+06a4 247a0000 nrtn blank 
+06a5 20402c3a call lpm_check_wake_lock 
+06a6 247a0000 nrtn blank 
+06a7 6800c040 fetch 1 ,mem_context 
+06a8 2fe00e03 compare 3 ,pdata ,0x7 
+06a9 2420ab9d nbranch lpm_dispatch_unconn ,true 
+06aa 68014042 fetch 2 ,mem_context + coffset_tsniff 
+06ab d840ffff arg 0xffff ,temp 
+06ac 98467c00 isub temp ,null 
+06ad 20628000 rtn zero 
+06ae 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-0684 7855fc00 disable wake 
-0685 68008030 fetch 1 ,mem_state 
-0686 c4008000 rtnbit0 state_insniff 
-0687 2436abd0 nbranch lpm_not_match ,match 
-0688 20402bcb call lpm_match 
-0689 680140c1 fetch 2 ,mem_rx_window_sniff 
-068a 6001003e store 2 ,mem_rx_window 
-068b 68008047 fetch 1 ,mem_arq 
-068c c281abde bbit1 wack ,lpm_mult_short 
-068d c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-068e 20405274 call l2cap_malloc_is_fifo_empty 
-068f 243a2bde nbranch lpm_mult_short ,blank 
-0690 205a0692 call p_lpm_set_attemp_timeout ,blank 
-0691 20202bbe branch lpm_set_mult + 13 
+06af 7855fc00 disable wake 
+06b0 68008030 fetch 1 ,mem_state 
+06b1 c4008000 rtnbit0 state_insniff 
+06b2 2436abd0 nbranch lpm_not_match ,match 
+06b3 20402bcb call lpm_match 
+06b4 680140c1 fetch 2 ,mem_rx_window_sniff 
+06b5 6001003e store 2 ,mem_rx_window 
+06b6 68008047 fetch 1 ,mem_arq 
+06b7 c281abde bbit1 wack ,lpm_mult_short 
+06b8 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+06b9 20405274 call l2cap_malloc_is_fifo_empty 
+06ba 243a2bde nbranch lpm_mult_short ,blank 
+06bb 205a06bd call p_lpm_set_attemp_timeout ,blank 
+06bc 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-0692 70008a01 jam 1 ,mem_current_sniff_attempt 
-0693 70008b00 jam 0 ,mem_current_sniff_timeout 
-0694 20600000 rtn 
+06bd 70008a01 jam 1 ,mem_current_sniff_attempt 
+06be 70008b00 jam 0 ,mem_current_sniff_timeout 
+06bf 20600000 rtn 
 
 p_mouse_bb_disconnected:
-0695 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
-0696 2020074f branch p_zcode_entrance 
+06c0 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
+06c1 20200762 branch p_zcode_entrance 
 
 p_hid_rx_process:
-0697 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
-0698 2020074f branch p_zcode_entrance 
+06c2 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
+06c3 20200762 branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-0699 68008552 fetch 1 ,mem_rxbuf + 1 
-069a 600084c9 store 1 ,mem_lmi_accepted_opcode 
-069b c009869d beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-069c 20205db4 branch parse_lmp_accepted + 3 
+06c4 68008552 fetch 1 ,mem_rxbuf + 1 
+06c5 600084c9 store 1 ,mem_lmi_accepted_opcode 
+06c6 c00986c8 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+06c7 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-069d 20405dcf call parse_lmp_accepted_switch 
-069e 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
-069f 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06a0 207a0000 rtn blank 
-06a1 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
-06a2 20600000 rtn 
+06c8 20405dcf call parse_lmp_accepted_switch 
+06c9 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06ca 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06cb 207a0000 rtn blank 
+06cc 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
+06cd 20600000 rtn 
 
 p_send_lmp:
-06a3 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
-06a4 2020074f branch p_zcode_entrance 
+06ce 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
+06cf 20200762 branch p_zcode_entrance 
 
 p_process_conn_sm:
-06a5 204062bc call lmo_fifo_check 
-06a6 247a0000 nrtn blank 
+06d0 204062bc call lmo_fifo_check 
+06d1 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06a7 68008055 fetch 1 ,mem_conn_sm 
-06a8 207a0000 rtn blank 
-06a9 c00206c7 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06aa c00806ac beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06ab 20206320 branch process_conn_sm_continue + 2 
+06d2 68008055 fetch 1 ,mem_conn_sm 
+06d3 207a0000 rtn blank 
+06d4 c00206e2 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06d5 c00806d7 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06d6 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06ac 6800c55b fetch 1 ,mem_switch_flag 
-06ad c1000000 rtneq switch_flag_init 
-06ae c00086b0 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06af 2020635f branch host_creat_conn_wait_switch + 3 
+06d7 6800c55b fetch 1 ,mem_switch_flag 
+06d8 c1000000 rtneq switch_flag_init 
+06d9 c00086db beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06da 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06b0 20748000 rtn master 
+06db 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06b1 6800816d fetch 1 ,mem_connection_options 
-06b2 c28006b4 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06b3 20206399 branch host_create_conn_auth_pair + 1 
+06dc 6800816d fetch 1 ,mem_connection_options 
+06dd c28006df bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06de 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06b4 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06b5 c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06b6 6800c1bd fetch 1 ,mem_link_key_exists 
-06b7 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06b8 680084d1 fetch 1 ,mem_lmp_conn_state 
-06b9 c4018000 rtnbit0 sent_setup_complete 
-06ba c4010000 rtnbit0 received_setup_complete 
-06bb 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06bc 207a0000 rtn blank 
-06bd 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06be 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06bf d8400014 arg 20 ,temp 
-06c0 98408400 iadd temp ,temp 
-06c1 1c427e00 copy clkn_bt ,pdata 
-06c2 98467c00 isub temp ,null 
-06c3 242106c5 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06c4 20206349 branch host_create_conn_auth 
-
-p_bt_send_max_slot_req_accept_after_switch_wait:
-06c5 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06c6 20600000 rtn 
+06df 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06e0 c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06e1 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06c7 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
-06c8 2020636f branch host_create_conn_send_conn_req 
+06e2 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
+06e3 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06c9 204062bc call lmo_fifo_check 
-06ca 243a7ddb nbranch check_51cmd_restore ,blank 
-06cb 68008a99 fetch 1 ,mem_fifo_temp 
-06cc c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06cd c00f86d1 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06ce c01006d4 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06cf c00906de beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06d0 20207dca branch check_51cmd_once_continue + 2 
+06e4 204062bc call lmo_fifo_check 
+06e5 243a7ddb nbranch check_51cmd_restore ,blank 
+06e6 68008a99 fetch 1 ,mem_fifo_temp 
+06e7 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06e8 c00f86ec beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+06e9 c01006ef beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+06ea c00906f9 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06eb 20207dca branch check_51cmd_once_continue + 2 
 
 p_flash_store_le_reconn_info:
-06d1 70018534 jam rec_4_mode ,mem_record_bt_mode 
-06d2 6803044f fetch 6 ,mem_le_plap 
-06d3 202006d6 branch p_flash_store_reconn_info 
+06ec 70018534 jam rec_4_mode ,mem_record_bt_mode 
+06ed 6803044f fetch 6 ,mem_le_plap 
+06ee 202006f1 branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-06d4 70018533 jam rec_3_mode ,mem_record_bt_mode 
-06d5 68030040 fetch 6 ,mem_plap 
+06ef 70018533 jam rec_3_mode ,mem_record_bt_mode 
+06f0 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-06d6 60030186 store 6 ,mem_temp_lap 
+06f1 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-06d7 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-06d8 c4038000 rtnbit0 mouse_store_eeprom_flag 
-06d9 d8e00007 arg mouse_store_eeprom_flag ,queue 
-06da 204043d2 call mouse_disable_function_flag 
-06db 204042e8 call mouse_check_device_addr 
+06f2 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+06f3 c4038000 rtnbit0 mouse_store_eeprom_flag 
+06f4 d8e00007 arg mouse_store_eeprom_flag ,queue 
+06f5 204043d2 call mouse_disable_function_flag 
+06f6 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-06dc 204042fb call mouse_before_store_reconn_info 
-06dd 20200326 branch p_mouse_store_flash_device_info 
+06f7 204042fb call mouse_before_store_reconn_info 
+06f8 20200326 branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
-06de 20405890 call le_fifo_check_full 
-06df 247a0000 nrtn blank 
-06e0 20205abf branch le_l2cap_tx_update_req 
+06f9 20405890 call le_fifo_check_full 
+06fa 247a0000 nrtn blank 
+06fb 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-06e1 704d2601 jam 1 ,mem_power_ctrl_level 
-06e2 704d2300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06e3 20600000 rtn 
+06fc 704d2601 jam 1 ,mem_power_ctrl_level 
+06fd 704d2300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06fe 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06e4 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06e5 1fe0fe01 increase 1 ,pdata 
-06e6 6000cd23 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06e7 20600000 rtn 
-
-power_ctrl_pac_succ_decrs:
-06e8 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06e9 1fe67c02 sub pdata ,2 ,null 
-06ea 244106f0 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-06eb 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ec c1000000 rtneq 0 
-06ed 1fe0ffff increase -1 ,pdata 
-06ee 6000cd23 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06ef 20600000 rtn 
+06ff 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0700 1fe0fe01 increase 1 ,pdata 
+0701 6000cd23 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0702 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-06f0 704d2303 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-06f1 20600000 rtn 
+0703 704d2303 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0704 20600000 rtn 
 
 power_ctrl_start:
-06f2 68014682 fetch 2 ,mem_ui_state_map 
-06f3 c3858000 rtnbit1 ui_state_ble_adv 
-06f4 c3838000 rtnbit1 ui_state_bt_reconnect 
-06f5 c3830000 rtnbit1 ui_state_bt_discovery 
-06f6 da204cac arg mem_rssi_signal_buf ,rega 
-06f7 20400263 call p_rssi_average 
-06f8 6008cd24 storet 1 ,mem_rssi_avg_received 
-06f9 58000082 setarg rssi_dis_max_24g 
-06fa c51306fc bmark1 mark_24g ,power_ctrl_start_next 
-06fb 58000080 setarg rssi_dis_max_ble 
+0705 68014682 fetch 2 ,mem_ui_state_map 
+0706 c3858000 rtnbit1 ui_state_ble_adv 
+0707 c3838000 rtnbit1 ui_state_bt_reconnect 
+0708 c3830000 rtnbit1 ui_state_bt_discovery 
+0709 da204cac arg mem_rssi_signal_buf ,rega 
+070a 20400263 call p_rssi_average 
+070b 6008cd24 storet 1 ,mem_rssi_avg_received 
+070c 58000082 setarg rssi_dis_max_24g 
+070d c513070f bmark1 mark_24g ,power_ctrl_start_next 
+070e 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-06fc 98467c00 isub temp ,null 
-06fd 24210714 nbranch power_ctrl_txpower_incrs_force ,positive 
-06fe 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06ff 1fe67c02 sub pdata ,2 ,null 
-0700 24210704 nbranch power_ctrl_txpower_decrs_check ,positive 
-0701 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0702 c0000715 beq 0 ,power_ctrl_txpower_incrs 
-0703 20600000 rtn 
+070f 98467c00 isub temp ,null 
+0710 24210727 nbranch power_ctrl_txpower_incrs_force ,positive 
+0711 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0712 1fe67c02 sub pdata ,2 ,null 
+0713 24210717 nbranch power_ctrl_txpower_decrs_check ,positive 
+0714 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0715 c0000728 beq 0 ,power_ctrl_txpower_incrs 
+0716 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0704 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0705 c1900000 rtnne 32 
-0706 704d2300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0717 6800cd23 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0718 c1900000 rtnne 32 
+0719 704d2300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0707 6808cd24 fetcht 1 ,mem_rssi_avg_received 
-0708 58000077 setarg rssi_dis_min_24g 
-0709 c513070b bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-070a 58000075 setarg rssi_dis_min_ble 
+071a 6808cd24 fetcht 1 ,mem_rssi_avg_received 
+071b 58000077 setarg rssi_dis_min_24g 
+071c c513071e bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+071d 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-070b 98467c00 isub temp ,null 
-070c 24610000 nrtn positive 
-070d 6800cd26 fetch 1 ,mem_power_ctrl_level 
-070e c000071c beq 0 ,power_ctrl_decrs_level0 
-070f 1fe0ffff increase -1 ,pdata 
-0710 6000cd26 store 1 ,mem_power_ctrl_level 
-0711 c000071c beq 0 ,power_ctrl_decrs_level0 
+071e 98467c00 isub temp ,null 
+071f 24610000 nrtn positive 
+0720 6800cd26 fetch 1 ,mem_power_ctrl_level 
+0721 c000072f beq 0 ,power_ctrl_decrs_level0 
+0722 1fe0ffff increase -1 ,pdata 
+0723 6000cd26 store 1 ,mem_power_ctrl_level 
+0724 c000072f beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0712 7041de00 jam tx_power_0db ,mem_tx_power 
-0713 20600000 rtn 
+0725 7041de00 jam tx_power_0db ,mem_tx_power 
+0726 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0714 704d2300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0727 704d2300 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0715 6800cd26 fetch 1 ,mem_power_ctrl_level 
-0716 c001071a beq 2 ,power_ctrl_incrs_level2 
-0717 1fe0fe01 increase 1 ,pdata 
-0718 6000cd26 store 1 ,mem_power_ctrl_level 
-0719 c0008712 beq 1 ,power_ctrl_incrs_level1 
+0728 6800cd26 fetch 1 ,mem_power_ctrl_level 
+0729 c001072d beq 2 ,power_ctrl_incrs_level2 
+072a 1fe0fe01 increase 1 ,pdata 
+072b 6000cd26 store 1 ,mem_power_ctrl_level 
+072c c0008725 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-071a 7041de02 jam tx_power_5db ,mem_tx_power 
-071b 20600000 rtn 
+072d 7041de02 jam tx_power_5db ,mem_tx_power 
+072e 20600000 rtn 
 
 power_ctrl_decrs_level0:
-071c 7041de04 jam tx_power_f5db ,mem_tx_power 
-071d 20600000 rtn 
+072f 7041de04 jam tx_power_f5db ,mem_tx_power 
+0730 20600000 rtn 
 
 p_set_freq_tx:
-071e 60088017 storet 1 ,mem_last_freq 
-071f 1840a200 add temp ,0 ,rega 
-0720 20402981 call rf_write_freq 
-0721 58000500 setarg param_pll_setup 
-0722 20402a8f call sleep 
+0731 60088017 storet 1 ,mem_last_freq 
+0732 1840a200 add temp ,0 ,rega 
+0733 20402981 call rf_write_freq 
+0734 58000500 setarg param_pll_setup 
+0735 20402a8f call sleep 
 
 p_rf_tx_enable:
-0723 70890601 jam 0x1 ,rfen_adc 
-0724 7089003c jam 0x3c ,rfen_rx 
-0725 708901e0 jam 0xe0 ,rfen_tx 
-0726 2000000a nop 10 
-0727 70890201 jam 0x01 ,rfen_mdm 
-0728 7089023d jam 0x3d ,rfen_mdm 
-0729 2000000a nop 10 
-072a 708903b7 jam 0xb7 ,rfen_sn 
-072b 2000000a nop 10 
-072c 7089027d jam 0x7d ,rfen_mdm 
-072d 6800c1de fetch 1 ,mem_tx_power 
-072e c0010736 beq tx_power_5db ,p_set_tx_power_5db 
-072f c002073b beq tx_power_f5db ,p_set_tx_power_f5db 
-0730 c010074a beq tx_power_pair ,p_set_tx_power_pair 
+0736 70890601 jam 0x1 ,rfen_adc 
+0737 7089003c jam 0x3c ,rfen_rx 
+0738 708901e0 jam 0xe0 ,rfen_tx 
+0739 2000000a nop 10 
+073a 70890201 jam 0x01 ,rfen_mdm 
+073b 7089023d jam 0x3d ,rfen_mdm 
+073c 2000000a nop 10 
+073d 708903b7 jam 0xb7 ,rfen_sn 
+073e 2000000a nop 10 
+073f 7089027d jam 0x7d ,rfen_mdm 
+0740 6800c1de fetch 1 ,mem_tx_power 
+0741 c0010749 beq tx_power_5db ,p_set_tx_power_5db 
+0742 c002074e beq tx_power_f5db ,p_set_tx_power_f5db 
+0743 c010075d beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0731 20400740 call p_rx_low_sens 
-0732 708955d0 jam 0xd0 ,0x8955 
-0733 708956e0 jam 0xe0 ,0x8956 
-0734 7089586c jam 0x6c ,0x8958 
-0735 2020294b branch set_tx_power_0db 
+0744 20400753 call p_rx_low_sens 
+0745 708955d0 jam 0xd0 ,0x8955 
+0746 708956e0 jam 0xe0 ,0x8956 
+0747 7089586c jam 0x6c ,0x8958 
+0748 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0736 20400745 call p_rx_high_sens 
-0737 708955d0 jam 0xd0 ,0x8955 
-0738 708956e0 jam 0xe0 ,0x8956 
-0739 7089583c jam 0x3c ,0x8958 
-073a 20202953 branch set_tx_power_5db 
+0749 20400758 call p_rx_high_sens 
+074a 708955d0 jam 0xd0 ,0x8955 
+074b 708956e0 jam 0xe0 ,0x8956 
+074c 7089583c jam 0x3c ,0x8958 
+074d 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-073b 20400740 call p_rx_low_sens 
-073c 708955d0 jam 0xd0 ,0x8955 
-073d 708956c0 jam 0xc0 ,0x8956 
-073e 7089586c jam 0x6c ,0x8958 
-073f 2020295b branch set_tx_power_f5db 
+074e 20400753 call p_rx_low_sens 
+074f 708955d0 jam 0xd0 ,0x8955 
+0750 708956c0 jam 0xc0 ,0x8956 
+0751 7089586c jam 0x6c ,0x8958 
+0752 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0740 70894c5b jam 0x5b ,0x894c 
-0741 70894d96 jam 0x96 ,0x894d 
-0742 70894e2c jam 0x2c ,0x894e 
-0743 70894f46 jam 0x46 ,0x894f 
-0744 20600000 rtn 
+0753 70894c5b jam 0x5b ,0x894c 
+0754 70894d96 jam 0x96 ,0x894d 
+0755 70894e2c jam 0x2c ,0x894e 
+0756 70894f46 jam 0x46 ,0x894f 
+0757 20600000 rtn 
 
 p_rx_high_sens:
-0745 70894cfb jam 0xfb ,0x894c 
-0746 70894def jam 0xef ,0x894d 
-0747 70894eec jam 0xec ,0x894e 
-0748 70894f5e jam 0x5e ,0x894f 
-0749 20600000 rtn 
+0758 70894cfb jam 0xfb ,0x894c 
+0759 70894def jam 0xef ,0x894d 
+075a 70894eec jam 0xec ,0x894e 
+075b 70894f5e jam 0x5e ,0x894f 
+075c 20600000 rtn 
 
 p_set_tx_power_pair:
-074a 708956c2 jam 0xc2 ,0x8956 
-074b 708955d0 jam 0xd0 ,0x8955 
-074c 20600000 rtn 
+075d 708956c2 jam 0xc2 ,0x8956 
+075e 708955d0 jam 0xd0 ,0x8955 
+075f 20600000 rtn 
 
 p_shutdown_radio:
-074d 18002a08 force 8 ,radio_ctrl 
-074e 202028fa branch shutdown_radio + 1 
+0760 18002a08 force 8 ,radio_ctrl 
+0761 202028fa branch shutdown_radio + 1 
 
 p_zcode_entrance:
-074f 680891c5 fetcht 1 ,mem_zcode_temp_param0 
-0750 18518400 rshift4 temp ,temp 
-0751 6800cb50 fetch 1 ,mem_zcode_current_number 
-0752 98467c00 isub temp ,null 
-0753 2022876e branch p_zcode_run ,zero 
-0754 6008cb50 storet 1 ,mem_zcode_current_number 
-0755 18408401 increase 1 ,temp 
-0756 58000100 setarg zcode_buff_size 
-0757 984f8400 imul32 temp ,temp 
-0758 6801cb51 fetch 3 ,mem_xip_flash_offset 
-0759 98467e00 isub temp ,pdata 
-075a 6809cb54 fetcht 3 ,mem_flash_start_addr 
-075b 9840fe00 iadd temp ,pdata 
-075c 1fe0fffb increase -5 ,pdata 
-075d 6001cb57 store 3 ,mem_flash_address 
-075e 2040036f call p_flash_release_deep_power_down 
+0762 680891c5 fetcht 1 ,mem_zcode_temp_param0 
+0763 18518400 rshift4 temp ,temp 
+0764 6800cb50 fetch 1 ,mem_zcode_current_number 
+0765 98467c00 isub temp ,null 
+0766 20228781 branch p_zcode_run ,zero 
+0767 6008cb50 storet 1 ,mem_zcode_current_number 
+0768 18408401 increase 1 ,temp 
+0769 58000100 setarg zcode_buff_size 
+076a 984f8400 imul32 temp ,temp 
+076b 6801cb51 fetch 3 ,mem_xip_flash_offset 
+076c 98467e00 isub temp ,pdata 
+076d 6809cb54 fetcht 3 ,mem_flash_start_addr 
+076e 9840fe00 iadd temp ,pdata 
+076f 1fe0fffb increase -5 ,pdata 
+0770 6001cb57 store 3 ,mem_flash_address 
+0771 2040037b call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-075f 6801cb57 fetch 3 ,mem_flash_address 
-0760 d8400100 arg zcode_buff_size ,temp 
-0761 da201f00 arg mem_zcode_buff ,rega 
-0762 20406562 call spid_read_flash 
-0763 68021f00 fetch 4 ,mem_zcode_buff 
-0764 680a4b5a fetcht 4 ,mem_zcode_head 
-0765 98467c00 isub temp ,null 
-0766 2422875f nbranch p_zcode_read_loop ,zero 
-0767 20400334 call p_mouse_spi_init 
-0768 58001f00 setarg mem_zcode_buff 
-0769 60014199 store 2 ,mem_patch_ptr 
-076a 70419b40 jam zcode_code_size ,mem_patch_len 
-076b 204064ca call load_ucode 
-076c 58000000 setarg 0 
-076d 60024199 store 4 ,mem_patch_ptr 
+0772 6801cb57 fetch 3 ,mem_flash_address 
+0773 d8400100 arg zcode_buff_size ,temp 
+0774 da201f00 arg mem_zcode_buff ,rega 
+0775 20406562 call spid_read_flash 
+0776 68021f00 fetch 4 ,mem_zcode_buff 
+0777 680a4b5a fetcht 4 ,mem_zcode_head 
+0778 98467c00 isub temp ,null 
+0779 24228772 nbranch p_zcode_read_loop ,zero 
+077a 2040033b call p_mouse_spi_init 
+077b 58001f00 setarg mem_zcode_buff 
+077c 60014199 store 2 ,mem_patch_ptr 
+077d 70419b40 jam zcode_code_size ,mem_patch_len 
+077e 204064ca call load_ucode 
+077f 58000000 setarg 0 
+0780 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-076e 680091c5 fetch 1 ,mem_zcode_temp_param0 
-076f 20200001 branch p_zcode 
+0781 680091c5 fetch 1 ,mem_zcode_temp_param0 
+0782 20200001 branch p_zcode 
 
 p_drawing_optima:
-0770 6802469b fetch 4 ,mem_mouse_x 
-0771 207a0000 rtn blank 
-0772 204007d0 call p_data_abs_check 
-0773 58000006 setarg 0x06 
-0774 204007c3 call p_data_greater_than_check 
-0775 58000003 setarg 0x03 
-0776 204007c9 call p_data_less_than_check 
-0777 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-0778 c000877c beq 1 ,p_drawing_optima_modify 
+0783 6802469b fetch 4 ,mem_mouse_x 
+0784 207a0000 rtn blank 
+0785 204007e2 call p_data_abs_check 
+0786 58000006 setarg 0x06 
+0787 204007d5 call p_data_greater_than_check 
+0788 58000003 setarg 0x03 
+0789 204007db call p_data_less_than_check 
+078a 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+078b c000878f beq 1 ,p_drawing_optima_modify 
 
 p_drawing_optima_init:
-0779 df200005 arg 5 ,loopcnt 
-077a d8a04b0b arg mem_mouse_asm_flag ,contw 
-077b 20207ed4 branch clear_mem 
+078c df200005 arg 5 ,loopcnt 
+078d d8a04b0b arg mem_mouse_asm_flag ,contw 
+078e 20207ed4 branch clear_mem 
 
 p_drawing_optima_modify:
-077c 68014b0c fetch 2 ,mem_mouse_x_pre 
-077d 600111be store 2 ,mem_data_pre 
-077e 6801469b fetch 2 ,mem_mouse_x 
-077f 600111c0 store 2 ,mem_data_current 
-0780 2040078f call p_drawing_optima_data_x 
-0781 680111be fetch 2 ,mem_data_pre 
-0782 60014b0c store 2 ,mem_mouse_x_pre 
-0783 680111c0 fetch 2 ,mem_data_current 
-0784 6001469b store 2 ,mem_mouse_x 
-0785 68014b0e fetch 2 ,mem_mouse_y_pre 
-0786 600111be store 2 ,mem_data_pre 
-0787 6801469d fetch 2 ,mem_mouse_y 
-0788 600111c0 store 2 ,mem_data_current 
-0789 20400797 call p_drawing_optima_data_y 
-078a 680111be fetch 2 ,mem_data_pre 
-078b 60014b0e store 2 ,mem_mouse_y_pre 
-078c 680111c0 fetch 2 ,mem_data_current 
-078d 6001469d store 2 ,mem_mouse_y 
-078e 20600000 rtn 
+078f 68014b0c fetch 2 ,mem_mouse_x_pre 
+0790 600111be store 2 ,mem_data_pre 
+0791 6801469b fetch 2 ,mem_mouse_x 
+0792 600111c0 store 2 ,mem_data_current 
+0793 204007a2 call p_drawing_optima_data_x 
+0794 680111be fetch 2 ,mem_data_pre 
+0795 60014b0c store 2 ,mem_mouse_x_pre 
+0796 680111c0 fetch 2 ,mem_data_current 
+0797 6001469b store 2 ,mem_mouse_x 
+0798 68014b0e fetch 2 ,mem_mouse_y_pre 
+0799 600111be store 2 ,mem_data_pre 
+079a 6801469d fetch 2 ,mem_mouse_y 
+079b 600111c0 store 2 ,mem_data_current 
+079c 204007aa call p_drawing_optima_data_y 
+079d 680111be fetch 2 ,mem_data_pre 
+079e 60014b0e store 2 ,mem_mouse_y_pre 
+079f 680111c0 fetch 2 ,mem_data_current 
+07a0 6001469d store 2 ,mem_mouse_y 
+07a1 20600000 rtn 
 
 p_drawing_optima_data_x:
-078f 680111be fetch 2 ,mem_data_pre 
-0790 680911c0 fetcht 2 ,mem_data_current 
-0791 9840fe00 iadd temp ,pdata 
-0792 6808cd67 fetcht 1 ,mem_mouse_data_xtemp 
-0793 9840fe00 iadd temp ,pdata 
-0794 1fe10401 and pdata ,0x01 ,temp 
-0795 6008cd67 storet 1 ,mem_mouse_data_xtemp 
-0796 2020079f branch p_drawing_optima_data 
+07a2 680111be fetch 2 ,mem_data_pre 
+07a3 680911c0 fetcht 2 ,mem_data_current 
+07a4 9840fe00 iadd temp ,pdata 
+07a5 6808cd67 fetcht 1 ,mem_mouse_data_xtemp 
+07a6 9840fe00 iadd temp ,pdata 
+07a7 1fe10401 and pdata ,0x01 ,temp 
+07a8 6008cd67 storet 1 ,mem_mouse_data_xtemp 
+07a9 202007b1 branch p_drawing_optima_data 
 
 p_drawing_optima_data_y:
-0797 680111be fetch 2 ,mem_data_pre 
-0798 680911c0 fetcht 2 ,mem_data_current 
-0799 9840fe00 iadd temp ,pdata 
-079a 6808cd68 fetcht 1 ,mem_mouse_data_ytemp 
-079b 9840fe00 iadd temp ,pdata 
-079c 1fe10401 and pdata ,0x01 ,temp 
-079d 6008cd68 storet 1 ,mem_mouse_data_ytemp 
-079e 2020079f branch p_drawing_optima_data 
+07aa 680111be fetch 2 ,mem_data_pre 
+07ab 680911c0 fetcht 2 ,mem_data_current 
+07ac 9840fe00 iadd temp ,pdata 
+07ad 6808cd68 fetcht 1 ,mem_mouse_data_ytemp 
+07ae 9840fe00 iadd temp ,pdata 
+07af 1fe10401 and pdata ,0x01 ,temp 
+07b0 6008cd68 storet 1 ,mem_mouse_data_ytemp 
 
 p_drawing_optima_data:
-079f 600191c2 store 3 ,mem_data_sum 
-07a0 2feffe10 isolate1 16 ,pdata 
-07a1 202087a9 branch p_data_sum_overflow ,true 
-07a2 680091c3 fetch 1 ,mem_data_sum + 1 
-07a3 c07f87b0 beq 0xff ,p_data_sum_n 
-07a4 680091c2 fetch 1 ,mem_data_sum 
+07b1 600191c2 store 3 ,mem_data_sum 
+07b2 2feffe10 isolate1 16 ,pdata 
+07b3 202087bb branch p_data_sum_overflow ,true 
+07b4 680091c3 fetch 1 ,mem_data_sum + 1 
+07b5 c07f87c2 beq 0xff ,p_data_sum_n 
+07b6 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-07a5 1fe37e00 rshift pdata ,pdata 
-07a6 600111be store 2 ,mem_data_pre 
-07a7 600111c0 store 2 ,mem_data_current 
-07a8 20600000 rtn 
+07b7 1fe37e00 rshift pdata ,pdata 
+07b8 600111be store 2 ,mem_data_pre 
+07b9 600111c0 store 2 ,mem_data_current 
+07ba 20600000 rtn 
 
 p_data_sum_overflow:
-07a9 680091c3 fetch 1 ,mem_data_sum + 1 
-07aa c00007ad beq 0 ,p_data_sum_overflow_p 
-07ab 680191c2 fetch 3 ,mem_data_sum 
-07ac 202007a5 branch p_data_store_pre 
+07bb 680091c3 fetch 1 ,mem_data_sum + 1 
+07bc c00007bf beq 0 ,p_data_sum_overflow_p 
+07bd 680191c2 fetch 3 ,mem_data_sum 
+07be 202007b7 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-07ad 7011c400 jam 0 ,mem_data_sum + 2 
-07ae 680091c2 fetch 1 ,mem_data_sum 
-07af 202007a5 branch p_data_store_pre 
+07bf 7011c400 jam 0 ,mem_data_sum + 2 
+07c0 680091c2 fetch 1 ,mem_data_sum 
+07c1 202007b7 branch p_data_store_pre 
 
 p_data_sum_n:
-07b0 680091c2 fetch 1 ,mem_data_sum 
-07b1 204007bb call p_pdata_get_half 
-07b2 600091be store 1 ,mem_data_pre 
-07b3 600091c0 store 1 ,mem_data_current 
-07b4 203a07b9 branch p_data_zero ,blank 
-07b5 580000ff setarg 0xff 
+07c2 680091c2 fetch 1 ,mem_data_sum 
+07c3 204007cd call p_pdata_get_half 
+07c4 600091be store 1 ,mem_data_pre 
+07c5 600091c0 store 1 ,mem_data_current 
+07c6 203a07cb branch p_data_zero ,blank 
+07c7 580000ff setarg 0xff 
 
 p_data_set_direction:
-07b6 600091bf store 1 ,mem_data_pre + 1 
-07b7 600091c1 store 1 ,mem_data_current + 1 
-07b8 20600000 rtn 
+07c8 600091bf store 1 ,mem_data_pre + 1 
+07c9 600091c1 store 1 ,mem_data_current + 1 
+07ca 20600000 rtn 
 
 p_data_zero:
-07b9 58000000 setarg 0 
-07ba 202007b6 branch p_data_set_direction 
+07cb 58000000 setarg 0 
+07cc 202007c8 branch p_data_set_direction 
 
 p_pdata_get_half:
-07bb 1fe67e00 sub pdata ,0 ,pdata 
-07bc 60008aae store 1 ,mem_rega 
-07bd 68008aae fetch 1 ,mem_rega 
-07be 1fe37e00 rshift pdata ,pdata 
-07bf 60008aae store 1 ,mem_rega 
-07c0 68008aae fetch 1 ,mem_rega 
-07c1 1fe67e00 sub pdata ,0 ,pdata 
-07c2 20600000 rtn 
+07cd 1fe67e00 sub pdata ,0 ,pdata 
+07ce 60008aae store 1 ,mem_rega 
+07cf 68008aae fetch 1 ,mem_rega 
+07d0 1fe37e00 rshift pdata ,pdata 
+07d1 60008aae store 1 ,mem_rega 
+07d2 68008aae fetch 1 ,mem_rega 
+07d3 1fe67e00 sub pdata ,0 ,pdata 
+07d4 20600000 rtn 
 
 p_data_greater_than_check:
-07c3 9a267c00 isub rega ,null 
-07c4 242107ce nbranch p_enable_asm ,positive 
-07c5 9a467c00 isub regb ,null 
-07c6 242107ce nbranch p_enable_asm ,positive 
+07d5 9a267c00 isub rega ,null 
+07d6 242107e0 nbranch p_enable_asm ,positive 
+07d7 9a467c00 isub regb ,null 
+07d8 242107e0 nbranch p_enable_asm ,positive 
 
 p_disable_asm:
-07c7 704b0b00 jam 0 ,mem_mouse_asm_flag 
-07c8 20600000 rtn 
+07d9 704b0b00 jam 0 ,mem_mouse_asm_flag 
+07da 20600000 rtn 
 
 p_data_less_than_check:
-07c9 9a267c00 isub rega ,null 
-07ca 24610000 nrtn positive 
-07cb 9a467c00 isub regb ,null 
-07cc 24610000 nrtn positive 
-07cd 202007c7 branch p_disable_asm 
+07db 9a267c00 isub rega ,null 
+07dc 24610000 nrtn positive 
+07dd 9a467c00 isub regb ,null 
+07de 24610000 nrtn positive 
+07df 202007d9 branch p_disable_asm 
 
 p_enable_asm:
-07ce 704b0b01 jam 1 ,mem_mouse_asm_flag 
-07cf 20600000 rtn 
+07e0 704b0b01 jam 1 ,mem_mouse_asm_flag 
+07e1 20600000 rtn 
 
 p_data_abs_check:
-07d0 6801469b fetch 2 ,mem_mouse_x 
-07d1 600111c0 store 2 ,mem_data_current 
-07d2 204007d9 call p_data_abs 
-07d3 1fe22200 copy pdata ,rega 
-07d4 6801469d fetch 2 ,mem_mouse_y 
-07d5 600111c0 store 2 ,mem_data_current 
-07d6 204007d9 call p_data_abs 
-07d7 1fe22400 copy pdata ,regb 
-07d8 20600000 rtn 
+07e2 6801469b fetch 2 ,mem_mouse_x 
+07e3 600111c0 store 2 ,mem_data_current 
+07e4 204007eb call p_data_abs 
+07e5 1fe22200 copy pdata ,rega 
+07e6 6801469d fetch 2 ,mem_mouse_y 
+07e7 600111c0 store 2 ,mem_data_current 
+07e8 204007eb call p_data_abs 
+07e9 1fe22400 copy pdata ,regb 
+07ea 20600000 rtn 
 
 p_data_abs:
-07d9 680091c1 fetch 1 ,mem_data_current + 1 
-07da c07f87de beq 0xff ,p_data_reversal 
-07db 680091c0 fetch 1 ,mem_data_current 
+07eb 680091c1 fetch 1 ,mem_data_current + 1 
+07ec c07f87f0 beq 0xff ,p_data_reversal 
+07ed 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-07dc 1fe17eff and_into 0xff ,pdata 
-07dd 20600000 rtn 
+07ee 1fe17eff and_into 0xff ,pdata 
+07ef 20600000 rtn 
 
 p_data_reversal:
-07de 680111c0 fetch 2 ,mem_data_current 
-07df 1fe67e00 sub pdata ,0 ,pdata 
-07e0 202007dc branch p_data_abs_store 
+07f0 680111c0 fetch 2 ,mem_data_current 
+07f1 1fe67e00 sub pdata ,0 ,pdata 
+07f2 202007ee branch p_data_abs_store 
               org 0x10001
 
 z_entrance0:
@@ -2841,8 +2867,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 20400531 call p_mouse_check_key_gpio 
-20015 c00284ae beq mouse_lm_button ,p_mouse_null_enter_hibernate_enable 
+20014 2040055b call p_mouse_check_key_gpio 
+20015 c00284bb beq mouse_lm_button ,p_mouse_null_enter_hibernate_enable 
 20016 202033a7 branch app_bb_hibernate 
 
 z_hid_rx_process:
@@ -2990,7 +3016,7 @@
 
 z_entrance4:
 50001 c0200004 beq zcode_40 ,z_le_update_param 
-50002 c0208016 beq zcode_41 ,z_le_update_channel_map 
+50002 c0208018 beq zcode_41 ,z_le_update_channel_map 
 50003 20600000 rtn 
 
 z_le_update_param:
@@ -3013,30 +3039,32 @@
 5000c 6800c3d6 fetch 1 ,mem_le_new_conninterval 
 5000d 1fe67c0c sub pdata ,le_interval_15ms ,null 
 5000e 2421000a nbranch z_mouse_le_conn_param_lpm_disable ,positive 
-5000f 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-50010 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
-50011 98467c00 isub temp ,null 
-50012 20210006 branch z_mouse_le_lpm_mult_reinit ,positive 
-50013 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
-50014 6000c172 store 1 ,mem_lpm_mult 
-50015 20200008 branch z_mouse_le_conn_param_lpm_enable 
+5000f 60014496 store 2 ,mem_le_interval_min 
+50010 60014498 store 2 ,mem_le_interval_min + 2 
+50011 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+50012 6808c7c5 fetcht 1 ,mem_lpm_mult_init 
+50013 98467c00 isub temp ,null 
+50014 20210006 branch z_mouse_le_lpm_mult_reinit ,positive 
+50015 6800c3d8 fetch 1 ,mem_le_new_connslavelatency 
+50016 6000c7c5 store 1 ,mem_lpm_mult_init 
+50017 20200008 branch z_mouse_le_conn_param_lpm_enable 
 
 z_le_update_channel_map:
-50016 6800843f fetch 1 ,mem_le_state 
-50017 c4030000 rtnbit0 lestate_update_map 
-50018 2040001b call z_le_channel_map_overflow_check 
-50019 24740000 nrtn user 
-5001a 202055a0 branch le_update_channel_map + 3 
+50018 6800843f fetch 1 ,mem_le_state 
+50019 c4030000 rtnbit0 lestate_update_map 
+5001a 2040001d call z_le_channel_map_overflow_check 
+5001b 24740000 nrtn user 
+5001c 202055a0 branch le_update_channel_map + 3 
 
 z_le_channel_map_overflow_check:
-5001b 78347c00 enable user 
-5001c 6800845a fetch 1 ,mem_le_event_count + 1 
-5001d 1ff1fe00 rshift4 pdata ,pdata 
-5001e c1878000 rtnne 0x0f 
-5001f 68008460 fetch 1 ,mem_le_instant + 1 
-50020 1ff1fe00 rshift4 pdata ,pdata 
-50021 c1800000 rtnne 0x00 
-50022 20207fe9 branch disable_user 
+5001d 78347c00 enable user 
+5001e 6800845a fetch 1 ,mem_le_event_count + 1 
+5001f 1ff1fe00 rshift4 pdata ,pdata 
+50020 c1878000 rtnne 0x0f 
+50021 68008460 fetch 1 ,mem_le_instant + 1 
+50022 1ff1fe00 rshift4 pdata ,pdata 
+50023 c1800000 rtnne 0x00 
+50024 20207fe9 branch disable_user 
               org 0x60001
 
 z_entrance5:
@@ -3048,48 +3076,47 @@
 60004 204002aa call p_mouse_tx_power_init 
 60005 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 60006 68014682 fetch 2 ,mem_ui_state_map 
-60007 c2858012 bbit1 ui_state_ble_adv ,z_mouse_start_discovery_norandom 
+60007 c2858011 bbit1 ui_state_ble_adv ,z_mouse_start_discovery_norandom 
 60008 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-60009 c30c0012 bbit0 mouse_enable_ble_random_addre ,z_mouse_start_discovery_norandom 
-6000a 20400562 call p_mouse_load_random_addr_increase_count 
+60009 c30c0011 bbit0 mouse_enable_ble_random_addre ,z_mouse_start_discovery_norandom 
+6000a 2040058c call p_mouse_load_random_addr_increase_count 
 6000b 680947c2 fetcht 2 ,mem_random_addr_increase_count 
 6000c 18408401 increase 1 ,temp 
 6000d 600947c2 storet 2 ,mem_random_addr_increase_count 
 6000e 600944a1 storet 2 ,mem_le_lap + 1 
-6000f 2040032b call p_mouse_store_random_addr_increase_count 
-60010 180a7e00 random pdata 
-60011 6000c4a0 store 1 ,mem_le_lap 
+6000f 180a7e00 random pdata 
+60010 6000c4a0 store 1 ,mem_le_lap 
 
 z_mouse_start_discovery_norandom:
-60012 6801cd2f fetch 3 ,mem_le_lap_high_3b 
-60013 6001c4a3 store 3 ,mem_le_lap + 3 
-60014 204002ce call p_mouse_le_fast_conn_disable 
-60015 20403418 call app_lpm_mult_disable 
-60016 68014687 fetch 2 ,mem_discovery_timeout 
-60017 600146ac store 2 ,mem_mouse_discovery_timer 
-60018 70016d06 jam 6 ,mem_connection_options 
-60019 58000000 setarg 0 
-6001a 600146b0 store 2 ,mem_mouse_no_data_timer 
-6001b 600146ae store 2 ,mem_mouse_direct_timer 
-6001c d8e00007 arg mouse_store_eeprom_flag ,queue 
-6001d 204043ce call mouse_enable_function_flag 
-6001e 204043ca call mouse_bt_discovery_button_down_disable 
-6001f 6800c092 fetch 1 ,mem_device_option 
-60020 2feffe01 isolate1 mode_4_mouse ,pdata 
-60021 20408026 call z_check_51cmd_adv ,true 
-60022 6800c092 fetch 1 ,mem_device_option 
-60023 2feffe00 isolate1 mode_3_mouse ,pdata 
-60024 2040fddd call check_51cmd_start_discovery ,true 
-60025 202004ee branch p_mouse_discovery_multi_led_blink 
+60011 6801cd2f fetch 3 ,mem_le_lap_high_3b 
+60012 6001c4a3 store 3 ,mem_le_lap + 3 
+60013 204002ce call p_mouse_le_fast_conn_disable 
+60014 20403418 call app_lpm_mult_disable 
+60015 68014687 fetch 2 ,mem_discovery_timeout 
+60016 600146ac store 2 ,mem_mouse_discovery_timer 
+60017 70016d06 jam 6 ,mem_connection_options 
+60018 58000000 setarg 0 
+60019 600146b0 store 2 ,mem_mouse_no_data_timer 
+6001a 600146ae store 2 ,mem_mouse_direct_timer 
+6001b d8e00007 arg mouse_store_eeprom_flag ,queue 
+6001c 204043ce call mouse_enable_function_flag 
+6001d 204043ca call mouse_bt_discovery_button_down_disable 
+6001e 6800c092 fetch 1 ,mem_device_option 
+6001f 2feffe01 isolate1 mode_4_mouse ,pdata 
+60020 20408025 call z_check_51cmd_adv ,true 
+60021 6800c092 fetch 1 ,mem_device_option 
+60022 2feffe00 isolate1 mode_3_mouse ,pdata 
+60023 2040fddd call check_51cmd_start_discovery ,true 
+60024 202004fb branch p_mouse_discovery_multi_led_blink 
 
 z_check_51cmd_adv:
-60026 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
-60027 204002c7 call p_le_check_adv_flag 
-60028 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
-60029 e0c08000 istore 1 ,contr 
-6002a d8c04b10 arg mem_le_adv_swift_pair ,contr 
-6002b 20400570 call p_le_adv_data_update 
-6002c 20207df4 branch check_51cmd_adv 
+60025 70479f00 jam 0 ,mem_mouse_le_reconnect_flag 
+60026 204002c7 call p_le_check_adv_flag 
+60027 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
+60028 e0c08000 istore 1 ,contr 
+60029 d8c04b10 arg mem_le_adv_swift_pair ,contr 
+6002a 2040059a call p_le_adv_data_update 
+6002b 20207df4 branch check_51cmd_adv 
               org 0x70001
 
 z_entrance6:
@@ -3123,7 +3150,7 @@
 70014 60014c17 store 2 ,mem_24g_check_dongle_times 
 70015 20402f20 call g24_app_tx_attempt_success 
 70016 20400163 call p_g24_txbuf_clear 
-70017 2020037d branch p_g24_transmit_by_interrupt_enable 
+70017 20200389 branch p_g24_transmit_by_interrupt_enable 
 
 z_g24_tx_attemp_data_prep:
 70018 70119eff jam 0xff ,mem_24g_common_temp 
@@ -3206,7 +3233,7 @@
 80016 60014c17 store 2 ,mem_24g_check_dongle_times 
 80017 20402f20 call g24_app_tx_attempt_success 
 80018 20400163 call p_g24_txbuf_clear 
-80019 2020037d branch p_g24_transmit_by_interrupt_enable 
+80019 20200389 branch p_g24_transmit_by_interrupt_enable 
 
 z7_g24_tx_attemp_data_prep:
 8001a 70119eff jam 0xff ,mem_24g_common_temp 
@@ -3294,16 +3321,16 @@
 90014 20405839 call le_set_justwork 
 90015 2040582c call le_set_fixed_ltk 
 90016 20405818 call le_set_config_read_authentication 
-90017 2040055e call p_le_addr_random_config 
-90018 2040036f call p_flash_release_deep_power_down 
-90019 20400336 call p_mouse_set_24g_addr_flash 
+90017 20400588 call p_le_addr_random_config 
+90018 2040037b call p_flash_release_deep_power_down 
+90019 2040033d call p_mouse_set_24g_addr_flash 
 9001a 6801c700 fetch 3 ,mem_flash_base 
 9001b 9a40fe00 iadd regb ,pdata 
 9001c 20406562 call spid_read_flash 
 9001d 2040031c call p_mouse_load_flash_info_check 
 9001e df200003 arg 3 ,loopcnt 
 9001f d8c04722 arg mem_device1_addr ,contr 
-90020 20400373 call p_pdata_0xff_check 
+90020 2040037f call p_pdata_0xff_check 
 90021 243402ce nbranch p_mouse_le_fast_conn_disable ,user 
 90022 204002d0 call p_mouse_fast_conn_init 
 90023 20600000 rtn 
@@ -3414,7 +3441,7 @@
 a0033 60014707 store 2 ,mem_24g_pairing_timer_count 
 a0034 7046a700 jam 0 ,mem_mouse_move_flag 
 a0035 2040405d call mouse_read_sensor_common 
-a0036 204004b1 call p_mouse_null_enter_hibernate_disable 
+a0036 204004be call p_mouse_null_enter_hibernate_disable 
 a0037 204002aa call p_mouse_tx_power_init 
 a0038 68024c12 fetch 4 ,mem_24g_addr 
 a0039 6002477b store 4 ,mem_mouse_24g_addr 
@@ -3436,7 +3463,7 @@
 b0009 2040019c call p_g24_check_51cmd_stop_24g 
 b000a 7041bd00 jam 0 ,mem_link_key_exists 
 b000b 2040027f call p_mouse_setgpio_hibernate 
-b000c 202004ae branch p_mouse_null_enter_hibernate_enable 
+b000c 202004bb 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 
@@ -3448,7 +3475,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 20400422 call p_app_updata_le_param 
+b0016 2040042e call p_app_updata_le_param 
 b0017 7047c401 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
 b0018 20600000 rtn 
 
@@ -3470,7 +3497,7 @@
 b0023 60014498 store 2 ,mem_le_interval_min + 2 
 b0024 7047c400 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 b0025 70479c00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-b0026 204003b1 call p_mouse_data_init 
+b0026 204003bd call p_mouse_data_init 
 b0027 20405816 call le_clr_config_more_data 
 b0028 202041d9 branch mouse_bb_disconnected 
 
@@ -3485,8 +3512,8 @@
 b0030 2040027f call p_mouse_setgpio_hibernate 
 b0031 6800c720 fetch 1 ,mem_device_flag 
 b0032 1fe67c02 sub pdata ,mode_24g_device ,null 
-b0033 20428552 call p_mouse_select_device_button_gpio_set_suspend ,zero 
-b0034 20400367 call p_flash_deep_power_down 
+b0033 2042857c call p_mouse_select_device_button_gpio_set_suspend ,zero 
+b0034 20400373 call p_flash_deep_power_down 
 b0035 68108081 hfetch 1 ,core_gpio_sel1 
 b0036 1fe17ef7 and pdata ,0xf7 ,pdata 
 b0037 60108081 hstore 1 ,core_gpio_sel1 
@@ -3512,8 +3539,8 @@
 c000a 704b6114 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 z_mouse_le_bb_event_connected_next:
-c000b 204004b1 call p_mouse_null_enter_hibernate_disable 
-c000c 204003b1 call p_mouse_data_init 
+c000b 204004be call p_mouse_null_enter_hibernate_disable 
+c000c 204003bd call p_mouse_data_init 
 c000d 202041c3 branch mouse_le_bb_event_connected 
 
 z_mouse_sniff_not_accept:
@@ -3537,7 +3564,7 @@
 c001b 2020001e branch z_mouse_le_ll_enable_start_enc_flag 
 
 z_mouse_le_ll_reconn_start_encryt:
-c001c 20400422 call p_app_updata_le_param 
+c001c 2040042e call p_app_updata_le_param 
 c001d 7046c605 jam 5 ,mem_le_start_encrypt_timer 
 
 z_mouse_le_ll_enable_start_enc_flag:
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/output/romcode.rom	(revision 3989)
+++ /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/output/romcode.rom	(working copy)
@@ -32,8 +32,8 @@
 68014682
 c28642b0
 204033a9
-20400531
-c00284ae
+2040055b
+c00284bb
 202033a7
 68010264
 1fe20c00
@@ -134,7 +134,7 @@
 70480914
 2020636f
 c0200004
-c0208016
+c0208018
 20600000
 2040000c
 2020557d
@@ -147,16 +147,18 @@
 6800c3d6
 1fe67c0c
 2421000a
+60014496
+60014498
 6800c3d8
 6808c7c5
 98467c00
 20210006
 6800c3d8
-6000c172
+6000c7c5
 20200008
 6800843f
 c4030000
-2040001b
+2040001d
 24740000
 202055a0
 78347c00
@@ -173,15 +175,14 @@
 204002aa
 70479c00
 68014682
-c2858012
+c2858011
 680246d3
-c30c0012
-20400562
+c30c0011
+2040058c
 680947c2
 18408401
 600947c2
 600944a1
-2040032b
 180a7e00
 6000c4a0
 6801cd2f
@@ -199,17 +200,17 @@
 204043ca
 6800c092
 2feffe01
-20408026
+20408025
 6800c092
 2feffe00
 2040fddd
-202004ee
+202004fb
 70479f00
 204002c7
 58000005
 e0c08000
 d8c04b10
-20400570
+2040059a
 20207df4
 c0300004
 c0308026
@@ -233,7 +234,7 @@
 60014c17
 20402f20
 20400163
-2020037d
+20200389
 70119eff
 6800cbeb
 6000919f
@@ -295,7 +296,7 @@
 60014c17
 20402f20
 20400163
-2020037d
+20200389
 70119eff
 6800cbeb
 6000919f
@@ -356,16 +357,16 @@
 20405839
 2040582c
 20405818
-2040055e
-2040036f
-20400336
+20400588
+2040037b
+2040033d
 6801c700
 9a40fe00
 20406562
 2040031c
 df200003
 d8c04722
-20400373
+2040037f
 243402ce
 204002d0
 20600000
@@ -449,7 +450,7 @@
 60014707
 7046a700
 2040405d
-204004b1
+204004be
 204002aa
 68024c12
 6002477b
@@ -466,7 +467,7 @@
 2040019c
 7041bd00
 2040027f
-202004ae
+202004bb
 68014509
 c1000000
 68008441
@@ -476,7 +477,7 @@
 58000009
 60014496
 60014498
-20400422
+2040042e
 7047c401
 20600000
 68014682
@@ -492,7 +493,7 @@
 60014498
 7047c400
 70479c00
-204003b1
+204003bd
 20405816
 202041d9
 78347c00
@@ -505,8 +506,8 @@
 2040027f
 6800c720
 1fe67c02
-20428552
-20400367
+2042857c
+20400373
 68108081
 1fe17ef7
 60108081
@@ -525,8 +526,8 @@
 6800c79f
 243a000b
 704b6114
-204004b1
-204003b1
+204004be
+204003bd
 202041c3
 6800c808
 c1010000
@@ -542,7 +543,7 @@
 6800c79f
 c000801c
 2020001e
-20400422
+2040042e
 7046c605
 d8e00001
 202041b9
@@ -550,4 +551,4 @@
 704b0100
 704b0a00
 202041d9
-0000b775
+00001984
Index: patch/patch.prog
===================================================================
--- /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/patch/patch.prog	(revision 3989)
+++ /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/patch/patch.prog	(working copy)
@@ -11,7 +11,7 @@
 define BLE
 define CLASSIC_BT
 define MOUSE_SMOOTHER
-//define ADC_ENABLE
+define ADC_ENABLE
 //define P24G_LOG
 //define RF_DEBUG
 define BLE_FAST_CONN_ENABLE
@@ -1292,13 +1292,21 @@
 //	store 4,mem_mouse_24g_addr
 //	store 4,mem_24g_addr
 p_mouse_store_flash_device_info:
+	call p_mouse_adc_read_once
+	fetch 2,mem_mouse_vdd_now_vol
+	branch p_mouse_store_flash_device_info,blank
+	fetch 1,mem_adc_power_flag
+	bbit1 1,app_enter_hibernate
+
 	call p_flash_release_deep_power_down
 	call p_flash_erase_sector
+	call p_flash_write_enable
 	call p_mouse_information_flash_parameters
 	call p_spid_write_flash
 	call p_wait_flash_done
 p_mouse_store_random_addr_increase_count:
 	call p_spid_init_flash
+	call p_flash_write_enable
 	arg 2,temp
 	arg mem_random_addr_increase_count,rega
 	arg MOUSE_RANDOM_ADDR_COUNT_EEPROM_OFFSET,regb
@@ -1320,18 +1328,13 @@
 p_flash_erase_sector:
 	fetch 3,mem_flash_base
 	store 3,mem_spi_write_addr
-	call flash_erase_sector+2
+	call p_flash_write_enable
+	call flash_erase_sector+3
 p_wait_flash_done:
-	setarg 100000	
-	call sleep
-	call spid_unlock_flash
-	setarg mem_spid_rbuf
-	hstore 2,core_spid_rxaddr
-	setarg FLASH_READ_SATUS
-	call spid_read_reg
+	call p_flash_read_status
 	bbit1 FLASH_STATUS_WIP,p_wait_flash_done
-	rtn
-
+	rtn 
+	
 p_spid_write_flash:
 	copy pdata,regc
 	copy rega,pdata
@@ -1345,6 +1348,20 @@
 	istore 4,regb
 	rtn
 
+p_flash_write_enable:
+	call spid_unlock_flash
+	setarg 100000	
+	call sleep
+	call p_flash_read_status
+	bbit0 FLASH_STATUS_WEL,p_flash_write_enable
+	rtn
+
+p_flash_read_status:
+	setarg mem_spid_rbuf
+	hstore 2,core_spid_rxaddr
+	setarg FLASH_READ_SATUS
+	branch spid_read_reg
+
 p_mouse_information_flash_parameters:
 	setarg mem_mouse_information_end
 	arg mem_mouse_information_start,temp
@@ -1751,7 +1768,7 @@
 p_mouse_bb_event_timer:
 ifdef ADC_ENABLE
 	call p_mouse_adc_read
-	call p_mouse_low_voltage_led_timer
+	//call p_mouse_low_voltage_led_timer
 endif
 	call p_mouse_dpi_check
 	call p_mouse_multi_led_blink_timer
@@ -2037,30 +2054,29 @@
 	store 1,mem_adc_read_timer
 	sub pdata,10,null              //1s read adc
 	rtn positive
-	
+p_mouse_adc_read_once:	
 	call adc_init_data
-	
 	jam 0,mem_adc_read_timer
 	call adc_set_mode
 	call vdd_calculate_by_mode
 	store 2,mem_mouse_vdd_now_vol
 	arg mem_mouse_vdd_calculate_set,rega
 	call p_adc_bat_percent_lowpower_out
-	fetch 1,mem_adc_power_flag
-	bbit1 1,app_enter_hibernate
-	bbit0 0,p_mouse_adc_no_low_voltage
+	//fetch 1,mem_adc_power_flag
+	//bbit1 1,app_enter_hibernate
+	//bbit0 0,p_mouse_adc_no_low_voltage
 	jam 1,mem_mouse_adc_last_low_voltage_flag
 	branch mouse_adc_low_voltage
 
-p_mouse_adc_no_low_voltage:
-	call mouse_adc_no_low_voltage
-	fetch 1,mem_mouse_adc_last_low_voltage_flag
-	rtn blank
-	jam 0,mem_mouse_adc_last_low_voltage_flag
-p_mouse_adc_low_volatage_led_off:
-	fetch 1,mem_config_low_voltage_alarm_gpio
-	store 1,mem_mouse_struct_led_gpio
-	branch mouse_led_on
+//p_mouse_adc_no_low_voltage:
+//	call mouse_adc_no_low_voltage
+//	fetch 1,mem_mouse_adc_last_low_voltage_flag
+//	rtn blank
+//	jam 0,mem_mouse_adc_last_low_voltage_flag
+//p_mouse_adc_low_volatage_led_off:
+//	fetch 1,mem_config_low_voltage_alarm_gpio
+//	store 1,mem_mouse_struct_led_gpio
+//	branch mouse_led_on
 
 //p_adc_set_mode:
 //	fetch 1,mem_adc_config_flag
@@ -2091,7 +2107,7 @@
 	set0 0,pdata
 	store 1,mem_adc_power_flag
 	rtn
-
+/*
 p_mouse_low_voltage_led_timer:
 	fetch 1,mem_low_power_led_blink_flag
 	nrtn blank	//15s no action
@@ -2116,7 +2132,7 @@
 p_mouse_adc_low_volatage_led_timer_count_clean:
 	jam 1,mem_adc_low_volatage_led_timer_count
 	branch mouse_low_voltage_led_off
-
+*/
 endif
 
 p_mouse_seting_dpi:
@@ -2417,10 +2433,6 @@
 	call p_mouse_data_pull,blank
 	branch le_prepare_tx+4
 
-p_le_prepare_tx_wak:
-	call p_le_check_tx_retransmit_setmd
-	branch p_le_power_ctrl_pac_succ_decrs
-
 p_le_check_tx_retransmit_setmd:
 	fetch 1,mem_le_connect_status_flag
 	and pdata,0x03,pdata
@@ -2432,20 +2444,21 @@
 	fetch 1,mem_le_txheader
 	set1 md,pdata
 	store 1,mem_le_txheader
-	call le_set_md
-ifdef DEBUGLOG
-ifdef DEBUGLOG_MISC
-	setarg DEBUGLOG_DTYPE_MISC
-	store 2,mem_debuglog_datatype
-	setarg MISC_LE_RETRANSMIT_MD
-	store 2,mem_debuglog_dataval
-	call debuglog_push	
-endif
-endif
-	rtn
+	branch le_set_md
+//ifdef DEBUGLOG
+//ifdef DEBUGLOG_MISC
+//	setarg DEBUGLOG_DTYPE_MISC
+//	store 2,mem_debuglog_datatype
+//	setarg MISC_LE_RETRANSMIT_MD
+//	store 2,mem_debuglog_dataval
+//	call debuglog_push	
+//endif
+//endif
+//	rtn
 
 	
-	
+p_le_prepare_tx_wak:
+	call p_le_check_tx_retransmit_setmd
 p_le_power_ctrl_pac_succ_decrs:
 ifdef DEBUGLOG
 ifdef DEBUGLOG_MISC
@@ -2456,7 +2469,15 @@
 	call debuglog_push	
 endif
 endif
-	branch power_ctrl_pac_succ_decrs
+power_ctrl_pac_succ_decrs:
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	sub pdata,2,null
+	ncall power_ctrl_pac_succ_cnt_reinit,positive
+	fetch 1,mem_power_ctrl_pac_succ_cnt
+	rtneq 0
+	increase -1,pdata
+	store 1,mem_power_ctrl_pac_succ_cnt
+	rtn
 
 p_mouse_le_reconn_write_enable_timer_reinit:
 	fetch 1,mem_mouse_le_reconnect_flag
@@ -2579,16 +2600,16 @@
 p_le_parse_smp:
 	ifetch 1,contr
 	beq SMP_PAIRING_REQUEST,p_le_parse_smp_pairing_request
-	beq SMP_PAIRING_FAILED,p_le_parse_smp_pairing_failed
+	//beq SMP_PAIRING_FAILED,p_le_parse_smp_pairing_failed
 	branch le_parse_smp+2
 
 p_le_parse_smp_pairing_request:
 	jam 1,mem_le_send_security_request_flag
 	branch le_parse_smp_pairing_request
 
-p_le_parse_smp_pairing_failed:
-	jam ZCODE_82,mem_zcode_temp_param0
-	branch p_zcode_entrance
+//p_le_parse_smp_pairing_failed:
+//	jam ZCODE_82,mem_zcode_temp_param0
+//	branch p_zcode_entrance
 
 p_le_adv_not_match:
 	fetch 1,mem_le_ch_mapped
@@ -2644,9 +2665,8 @@
 	call spid_init_common
 p_twspi_enable:
 	hfetch 1,core_gpio_sel1
-	set1 0,pdata
-	set0 1,pdata
-	set0 3,pdata
+	or pdata,0x01,pdata
+	and pdata,0xf5,pdata
 	hstore 1,core_gpio_sel1  //enable spi
 	rtn
 
@@ -2828,26 +2848,27 @@
 p_host_create_conn_auth_pair_true:
 	fetch 1,mem_bt_send_lmp_setup_complete
 	beq 1,host_create_conn_auth_pair_true
+	rtn
 	//sumsung a5100 patch
-	fetch 1,mem_link_key_exists
-	branch host_create_conn_auth_pair_nokey,blank
-	fetch 1,mem_lmp_conn_state
-	rtnbit0 SENT_SETUP_COMPLETE
-	rtnbit0 RECEIVED_SETUP_COMPLETE
-	fetch 1,mem_bt_send_max_slot_req_accept_after_switch
-	rtn blank
-	jam 0,mem_bt_send_max_slot_req_accept_after_switch	
-	fetch 4,mem_aurand_send_delay_time
-	arg 20,temp
-	iadd temp,temp
-	copy clkn_bt,pdata
-	isub temp,null
-	nbranch p_bt_send_max_slot_req_accept_after_switch_wait,positive
-	branch host_create_conn_auth
+//	fetch 1,mem_link_key_exists
+//	branch host_create_conn_auth_pair_nokey,blank
+//	fetch 1,mem_lmp_conn_state
+//	rtnbit0 SENT_SETUP_COMPLETE
+//	rtnbit0 RECEIVED_SETUP_COMPLETE
+//	fetch 1,mem_bt_send_max_slot_req_accept_after_switch
+//	rtn blank
+//	jam 0,mem_bt_send_max_slot_req_accept_after_switch	
+//	fetch 4,mem_aurand_send_delay_time
+//	arg 20,temp
+//	iadd temp,temp
+//	copy clkn_bt,pdata
+//	isub temp,null
+//	nbranch p_bt_send_max_slot_req_accept_after_switch_wait,positive
+//	branch host_create_conn_auth
 
-p_bt_send_max_slot_req_accept_after_switch_wait:
-	jam 1,mem_bt_send_max_slot_req_accept_after_switch
-	rtn
+//p_bt_send_max_slot_req_accept_after_switch_wait:
+//	jam 1,mem_bt_send_max_slot_req_accept_after_switch
+//	rtn
 
 p_host_create_conn_send_conn_req:
 	jam 20,mem_mouse_send_switch_req_timer
@@ -2962,15 +2983,7 @@
 	increase 1,pdata
 	store 1,mem_power_ctrl_pac_succ_cnt
 	rtn
-power_ctrl_pac_succ_decrs:
-	fetch 1,mem_power_ctrl_pac_succ_cnt
-	sub pdata,2,null
-	ncall power_ctrl_pac_succ_cnt_reinit,positive
-	fetch 1,mem_power_ctrl_pac_succ_cnt
-	rtneq 0
-	increase -1,pdata
-	store 1,mem_power_ctrl_pac_succ_cnt
-	rtn
+
 power_ctrl_pac_succ_cnt_reinit:
 	jam 3,mem_power_ctrl_pac_succ_cnt
 	rtn
@@ -3404,8 +3417,7 @@
 	iadd temp,pdata
 	and pdata,0x01,temp
 	storet 1,mem_mouse_data_ytemp
-	branch p_drawing_optima_data
-
+	//branch p_drawing_optima_data
 /**********
 input:data_pre,data_current
 output:data_pre,data_current after optima
Index: patch/z.prog
===================================================================
--- /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/patch/z.prog	(revision 3989)
+++ /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/patch/z.prog	(working copy)
@@ -258,12 +258,14 @@
 	fetch 1,mem_le_new_conninterval
 	sub pdata,LE_INTERVAL_15MS,null
 	nbranch z_mouse_le_conn_param_lpm_disable,positive
+	store 2,mem_le_interval_min
+	store 2,mem_le_interval_min+2
 	fetch 1,mem_le_new_connslavelatency
 	fetcht 1,mem_lpm_mult_init
 	isub temp,null
 	branch z_mouse_le_lpm_mult_reinit,positive
 	fetch 1,mem_le_new_connslavelatency
-	store 1,mem_lpm_mult
+	store 1,mem_lpm_mult_init
 	branch z_mouse_le_conn_param_lpm_enable
 
 z_le_update_channel_map:
@@ -305,7 +307,7 @@
 	increase 1,temp
 	storet 2,mem_random_addr_increase_count
 	storet 2,mem_le_lap+1
-	call p_mouse_store_random_addr_increase_count
+//	call p_mouse_store_random_addr_increase_count
 	random pdata
 	store 1,mem_le_lap
 endif
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/sched/mouse.dat	(revision 3989)
+++ /branch/mouse_project/ZhongXinSheng/ZXS_1059/JDT_172_BD/sched/mouse.dat	(working copy)
@@ -144,11 +144,11 @@
 
 mem_device_number:02 #max device number
 mem_24g_device_number:02 #devie 2 :24g mode
-mem_adc_config_flag:01 #0 vinlpm 1 hvin 2 gpio
+mem_adc_config_flag:00 #0 vinlpm 1 hvin 2 gpio
 mem_adc_channel:32 #gpio5
 mem_mouse_vdd_full_vol:a4 01#4.2V
-18 01#mem_mouse_vdd_empty_vol:5a 00# 2.8V
-40 01#mem_mouse_vdd_low_vol:64 00  #3.2v
+c8 00#mem_mouse_vdd_empty_vol:5a 00# 2.0V
+d2 00#mem_mouse_vdd_low_vol:64 00  #2.1V
 
 mem_config_sensor_type:00
 02 #mem_config_sensor_motion:02
