Index: output/flash.dat
===================================================================
--- /branch/mouse_project/XZR/XZR_1066/SM391_1066/output/flash.dat	(revision 4056)
+++ /branch/mouse_project/XZR/XZR_1066/SM391_1066/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-72
+a2
 1f
 20
 20
@@ -11,7 +11,7 @@
 20
 40
 03
-ba
+c6
 68
 00
 c1
@@ -23,7 +23,7 @@
 20
 40
 07
-5b
+67
 68
 00
 c6
@@ -47,7 +47,7 @@
 20
 40
 03
-33
+35
 20
 40
 00
@@ -67,11 +67,11 @@
 20
 20
 07
-bb
+c7
 58
 00
 03
-83
+8f
 60
 01
 4d
@@ -79,7 +79,7 @@
 58
 00
 03
-9d
+a9
 60
 01
 41
@@ -87,7 +87,7 @@
 58
 00
 06
-2f
+3b
 60
 01
 41
@@ -95,7 +95,7 @@
 58
 00
 03
-d5
+e1
 60
 01
 41
@@ -111,15 +111,15 @@
 58
 00
 04
-13
+20
 60
 01
 41
 f5
 58
 00
-03
-fd
+04
+09
 60
 01
 41
@@ -127,7 +127,7 @@
 58
 00
 04
-50
+5d
 60
 01
 41
@@ -135,7 +135,7 @@
 58
 00
 04
-59
+66
 60
 01
 41
@@ -163,7 +163,7 @@
 20
 40
 04
-56
+63
 68
 00
 c7
@@ -183,7 +183,7 @@
 20
 20
 05
-1d
+28
 58
 00
 01
@@ -279,47 +279,47 @@
 c0
 42
 87
-b6
+c2
 c0
 44
 87
-7e
+8a
 c0
 45
 07
-b8
+c4
 c0
 0d
 86
-44
+50
 c0
 13
 06
-46
+52
 c0
 24
 06
-62
+6e
 c0
 25
 06
-69
+75
 c0
 28
 86
-83
+8f
 c0
 2c
 86
-60
+6c
 c0
 53
 86
-88
+94
 c0
 56
 86
-a0
+ac
 c0
 65
 b3
@@ -327,7 +327,7 @@
 c0
 74
 86
-b1
+bd
 c0
 50
 80
@@ -347,23 +347,23 @@
 c0
 71
 85
-1f
+2a
 c0
 73
 05
-43
+4f
 c0
 75
 05
-76
+82
 c0
 75
 85
-7b
+87
 c0
 76
 05
-81
+8d
 20
 20
 2a
@@ -371,71 +371,71 @@
 c0
 1c
 85
-87
+93
 c0
 21
 85
-8f
+9b
 c0
 25
 05
-95
+a1
 c0
 2b
 85
-98
+a4
 c0
 2c
 85
-9a
+a6
 c0
 31
 85
-9c
+a8
 c0
 33
 05
-cb
+d7
 c0
 33
 85
-e2
+ee
 c0
 35
 06
-1b
+27
 c0
 3b
 86
-25
+31
 c0
 02
 86
-b5
+c1
 c0
 40
 06
-b7
+c3
 c0
 41
 06
-c1
+cd
 c0
 44
 06
-d5
+e1
 c0
 46
 06
-31
+3d
 c0
 46
 86
-3d
+49
 c0
 7d
-06
-f9
+07
+05
 20
 20
 2a
@@ -447,7 +447,7 @@
 20
 40
 04
-a7
+b4
 24
 60
 80
@@ -459,7 +459,7 @@
 20
 40
 04
-a7
+b4
 24
 60
 80
@@ -483,11 +483,11 @@
 20
 40
 04
-c7
+d4
 20
 20
 03
-24
+27
 20
 80
 00
@@ -519,7 +519,7 @@
 20
 40
 03
-94
+a0
 20
 40
 74
@@ -691,7 +691,7 @@
 20
 40
 06
-71
+7d
 20
 40
 00
@@ -703,7 +703,7 @@
 c0
 00
 83
-86
+92
 20
 40
 02
@@ -731,7 +731,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -739,7 +739,7 @@
 20
 20
 07
-bb
+c7
 58
 01
 77
@@ -967,7 +967,7 @@
 20
 20
 07
-bb
+c7
 70
 4d
 93
@@ -999,7 +999,7 @@
 20
 20
 04
-56
+63
 68
 00
 cc
@@ -1107,7 +1107,7 @@
 20
 40
 05
-bc
+c8
 20
 20
 01
@@ -1179,7 +1179,7 @@
 20
 40
 07
-5e
+6a
 70
 4b
 52
@@ -1231,7 +1231,7 @@
 20
 40
 05
-bc
+c8
 70
 4d
 75
@@ -1491,7 +1491,7 @@
 20
 40
 03
-b4
+c0
 70
 4c
 6e
@@ -1703,11 +1703,11 @@
 20
 40
 07
-75
+81
 20
 40
 05
-bc
+c8
 20
 20
 01
@@ -1871,11 +1871,11 @@
 20
 20
 07
-bb
+c7
 20
 40
 07
-5b
+67
 70
 11
 c5
@@ -1883,7 +1883,7 @@
 20
 20
 07
-bb
+c7
 79
 3f
 80
@@ -2595,7 +2595,7 @@
 20
 40
 03
-8a
+96
 20
 40
 02
@@ -2775,7 +2775,7 @@
 20
 20
 05
-1f
+2d
 70
 89
 5b
@@ -2799,7 +2799,7 @@
 20
 35
 83
-33
+35
 68
 01
 c4
@@ -2835,7 +2835,7 @@
 20
 40
 05
-4e
+5a
 c0
 02
 82
@@ -2847,7 +2847,7 @@
 20
 40
 04
-ab
+b8
 da
 20
 47
@@ -2867,7 +2867,7 @@
 20
 22
 83
-76
+82
 1f
 e0
 ff
@@ -2915,7 +2915,7 @@
 20
 40
 07
-4e
+5a
 70
 4b
 51
@@ -2939,7 +2939,7 @@
 20
 20
 07
-bb
+c7
 da
 20
 43
@@ -3003,11 +3003,11 @@
 20
 20
 07
-bb
+c7
 20
 40
 03
-33
+35
 20
 40
 40
@@ -3023,7 +3023,7 @@
 c0
 18
 83
-09
+0c
 20
 40
 40
@@ -3055,7 +3055,7 @@
 20
 40
 05
-15
+22
 68
 00
 c6
@@ -3063,7 +3063,11 @@
 c0
 2d
 02
-fe
+ff
+c0
+2a
+03
+0a
 20
 20
 40
@@ -3079,11 +3083,11 @@
 20
 40
 03
-02
+03
 20
 20
 05
-1b
+28
 ea
 61
 00
@@ -3111,11 +3115,19 @@
 20
 20
 03
+03
+70
+46
+e0
 02
 20
+60
+00
+00
+20
 40
 05
-15
+22
 20
 20
 40
@@ -3179,7 +3191,7 @@
 20
 40
 03
-68
+74
 20
 40
 44
@@ -3199,7 +3211,7 @@
 20
 22
 83
-57
+64
 60
 09
 47
@@ -3223,31 +3235,39 @@
 20
 40
 03
-68
+74
 20
 40
 03
-3a
+40
 20
 40
 03
-51
+4f
 20
 40
 03
-46
+5e
 20
 40
 03
-3d
+53
 20
 40
 03
-35
+44
 20
 40
 03
-0b
+37
+20
+40
+03
+0e
+20
+40
+03
+4f
 d8
 40
 00
@@ -3260,26 +3280,14 @@
 40
 00
 5f
-68
-01
-c7
-00
-9a
-40
-fe
-00
-20
-40
-03
-46
 20
 40
 03
-3d
+3c
 20
 40
 03
-60
+6d
 70
 42
 12
@@ -3291,7 +3299,11 @@
 20
 40
 03
-0b
+0e
+20
+40
+03
+4f
 d8
 40
 00
@@ -3304,10 +3316,22 @@
 40
 00
 5a
+68
+01
+c7
+00
+9a
+40
+fe
+00
+20
+40
+03
+53
 20
 20
 03
-2e
+44
 68
 01
 c7
@@ -3318,20 +3342,24 @@
 32
 20
 40
-65
-2a
-58
-01
-86
-a0
+03
+4f
 20
 40
-2a
-8f
+65
+2b
 20
 40
-65
-0b
+03
+47
+c2
+80
+03
+44
+20
+60
+00
+00
 58
 00
 01
@@ -3344,14 +3372,38 @@
 00
 00
 05
+18
+00
+04
+01
+60
+00
+81
+f5
+58
+00
+01
+f5
+60
+11
+00
+8a
+20
 20
-40
 64
-f3
-c2
-80
+f6
+20
+40
+65
+0b
+20
+40
 03
-3d
+47
+c3
+00
+83
+4f
 20
 60
 00
@@ -3427,11 +3479,11 @@
 20
 40
 03
-68
+74
 20
 40
 03
-51
+5e
 20
 40
 65
@@ -3439,11 +3491,11 @@
 20
 40
 03
-6a
+76
 20
 40
 03
-71
+7d
 20
 40
 43
@@ -3467,15 +3519,11 @@
 20
 40
 03
-0b
+0e
 20
 40
 69
 ac
-20
-40
-65
-0b
 da
 20
 4b
@@ -3499,11 +3547,11 @@
 20
 20
 03
-61
+6e
 20
 40
 03
-68
+74
 d8
 40
 00
@@ -3531,7 +3579,7 @@
 20
 40
 03
-68
+74
 d8
 40
 00
@@ -3547,7 +3595,7 @@
 20
 20
 03
-6e
+7a
 70
 47
 20
@@ -3555,7 +3603,7 @@
 20
 40
 07
-4e
+5a
 70
 11
 c5
@@ -3563,7 +3611,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -3571,7 +3619,7 @@
 20
 20
 07
-bb
+c7
 20
 40
 7f
@@ -3595,7 +3643,7 @@
 c2
 00
 03
-7e
+8a
 20
 60
 00
@@ -3639,7 +3687,7 @@
 20
 40
 03
-92
+9e
 d8
 c0
 19
@@ -3647,7 +3695,7 @@
 20
 40
 03
-92
+9e
 d8
 c0
 1a
@@ -3655,7 +3703,7 @@
 20
 40
 03
-92
+9e
 d8
 c0
 1b
@@ -3679,7 +3727,7 @@
 20
 40
 03
-92
+9e
 d8
 a0
 19
@@ -3687,7 +3735,7 @@
 20
 40
 03
-92
+9e
 d8
 a0
 1a
@@ -3695,7 +3743,7 @@
 20
 40
 03
-92
+9e
 d8
 a0
 1b
@@ -3703,7 +3751,7 @@
 20
 20
 03
-92
+9e
 20
 40
 58
@@ -3719,7 +3767,7 @@
 c0
 7f
 83
-a4
+b0
 68
 00
 c6
@@ -3738,8 +3786,8 @@
 9e
 20
 5a
-03
-fa
+04
+06
 68
 02
 46
@@ -3759,15 +3807,15 @@
 20
 40
 03
-b1
+bd
 20
 40
 03
-b4
+c0
 20
 40
 03
-d0
+dc
 da
 20
 46
@@ -3779,7 +3827,7 @@
 20
 54
 03
-bf
+cb
 20
 60
 00
@@ -3867,7 +3915,7 @@
 20
 34
 03
-c7
+d3
 20
 60
 00
@@ -3954,8 +4002,8 @@
 9e
 20
 5a
-03
-fa
+04
+06
 68
 02
 46
@@ -3979,15 +4027,15 @@
 20
 40
 03
-b1
+bd
 20
 40
 03
-b4
+c0
 20
 40
 03
-d0
+dc
 68
 00
 cb
@@ -3995,7 +4043,7 @@
 c0
 00
 83
-e9
+f5
 68
 00
 cb
@@ -4095,7 +4143,7 @@
 20
 40
 04
-00
+0c
 20
 20
 3e
@@ -4107,7 +4155,7 @@
 20
 40
 05
-70
+7c
 68
 08
 c6
@@ -4119,11 +4167,11 @@
 20
 20
 84
-11
+1e
 20
 40
 05
-6b
+77
 68
 00
 c6
@@ -4163,7 +4211,11 @@
 20
 40
 07
-4b
+57
+20
+40
+03
+37
 20
 20
 3d
@@ -4171,7 +4223,7 @@
 20
 40
 05
-6b
+77
 20
 20
 3d
@@ -4183,31 +4235,31 @@
 c0
 0a
 04
-24
+31
 c0
 0a
 84
-26
+33
 c0
 14
 84
-29
+36
 c0
 19
 04
-2b
+38
 c0
 20
 04
-2d
+3a
 c0
 02
 04
-2f
+3c
 c0
 09
 84
-2f
+3c
 c0
 0c
 b3
@@ -4215,31 +4267,31 @@
 c0
 10
 84
-33
+40
 c0
 00
 84
-35
+42
 c0
 01
 04
-3a
+47
 c0
 15
 84
-3d
+4a
 c0
 1c
 84
-3f
+4c
 c0
 1d
 04
-44
+51
 c0
 1e
 04
-4b
+58
 20
 20
 41
@@ -4251,11 +4303,11 @@
 20
 20
 07
-bb
+c7
 20
 40
 04
-53
+60
 70
 11
 c5
@@ -4263,7 +4315,7 @@
 20
 20
 07
-bb
+c7
 70
 0a
 99
@@ -4279,7 +4331,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -4287,7 +4339,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -4295,7 +4347,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -4303,7 +4355,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -4311,7 +4363,7 @@
 20
 20
 07
-bb
+c7
 70
 4b
 ba
@@ -4335,7 +4387,7 @@
 20
 40
 04
-53
+60
 70
 11
 c5
@@ -4343,7 +4395,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -4351,7 +4403,7 @@
 20
 20
 07
-bb
+c7
 70
 4b
 ba
@@ -4371,7 +4423,7 @@
 20
 20
 07
-bb
+c7
 70
 4b
 b9
@@ -4383,11 +4435,11 @@
 20
 40
 07
-4b
+57
 20
 40
 04
-53
+60
 70
 4b
 52
@@ -4399,7 +4451,7 @@
 20
 20
 07
-bb
+c7
 70
 4b
 67
@@ -4423,7 +4475,7 @@
 20
 40
 04
-53
+60
 70
 11
 c5
@@ -4431,7 +4483,7 @@
 20
 20
 07
-bb
+c7
 68
 00
 cb
@@ -4459,19 +4511,19 @@
 20
 40
 04
-d2
+df
 20
 40
 05
-05
+12
 20
 40
 04
-88
+95
 20
 40
 04
-ab
+b8
 20
 40
 42
@@ -4483,31 +4535,31 @@
 20
 40
 04
-8d
+9a
 20
 40
 04
-94
+a1
 20
 40
 04
-74
+81
 20
 40
 04
-71
+7e
 20
 40
 04
-7a
+87
 20
 40
 04
-80
+8d
 20
 40
 04
-69
+76
 20
 40
 42
@@ -4515,11 +4567,11 @@
 20
 40
 04
-6c
+79
 20
 20
 07
-11
+1d
 da
 60
 48
@@ -4539,7 +4591,7 @@
 da
 40
 04
-6f
+7c
 20
 20
 33
@@ -4571,7 +4623,7 @@
 da
 40
 04
-77
+84
 20
 20
 33
@@ -4595,7 +4647,7 @@
 da
 40
 04
-7d
+8a
 20
 20
 33
@@ -4627,7 +4679,7 @@
 da
 40
 04
-85
+92
 20
 20
 33
@@ -4651,7 +4703,7 @@
 da
 40
 04
-8b
+98
 20
 20
 33
@@ -4671,7 +4723,7 @@
 da
 40
 04
-90
+9d
 20
 20
 33
@@ -4699,7 +4751,7 @@
 da
 40
 04
-97
+a4
 20
 20
 33
@@ -4719,7 +4771,7 @@
 da
 40
 04
-9c
+a9
 20
 20
 33
@@ -4775,7 +4827,7 @@
 20
 40
 05
-6b
+77
 68
 08
 c6
@@ -4787,15 +4839,15 @@
 20
 40
 04
-a7
+b4
 24
 20
 84
-b6
+c3
 20
 40
 04
-99
+a6
 68
 00
 c6
@@ -4835,7 +4887,7 @@
 24
 3a
 04
-ce
+db
 68
 00
 c6
@@ -4855,7 +4907,7 @@
 24
 41
 04
-c1
+ce
 68
 00
 c6
@@ -4875,7 +4927,7 @@
 20
 40
 04
-c7
+d4
 70
 41
 bd
@@ -4883,7 +4935,7 @@
 20
 40
 03
-24
+27
 68
 02
 46
@@ -4971,7 +5023,7 @@
 20
 40
 04
-f0
+fd
 20
 40
 69
@@ -4995,7 +5047,7 @@
 20
 41
 04
-ed
+fa
 60
 01
 47
@@ -5006,8 +5058,8 @@
 09
 20
 40
-04
-f8
+05
+05
 68
 00
 c2
@@ -5019,7 +5071,7 @@
 c3
 00
 04
-e8
+f5
 70
 4a
 ff
@@ -5047,7 +5099,7 @@
 20
 20
 07
-3f
+4b
 d8
 40
 00
@@ -5171,7 +5223,7 @@
 24
 41
 05
-0f
+1c
 1f
 e6
 7c
@@ -5179,11 +5231,11 @@
 20
 21
 05
-11
+1e
 20
 20
 05
-13
+20
 70
 46
 cf
@@ -5211,7 +5263,7 @@
 20
 40
 03
-33
+35
 58
 00
 80
@@ -5231,15 +5283,7 @@
 20
 40
 03
-02
-68
-00
-c7
-7a
-c0
-ff
-85
-1f
+03
 68
 00
 c6
@@ -5250,32 +5294,36 @@
 7a
 68
 00
+c7
+7a
+1f
+e6
+7c
+01
+20
+42
+85
+36
+68
+00
 c6
 e0
 c0
 02
 05
-3c
+4b
 c0
 03
 05
-2f
+3b
 c0
 2d
 05
-2f
-68
-00
-c7
-7a
-1f
-e6
-7c
+3b
+c0
 01
-20
-42
-85
-2a
+05
+45
 68
 00
 c7
@@ -5283,7 +5331,7 @@
 c0
 00
 05
-2c
+38
 c0
 01
 bd
@@ -5316,26 +5364,14 @@
 00
 c7
 7a
-1f
-e6
-7c
-01
-20
-42
-85
-2a
-68
-00
-c7
-7a
 c0
 00
 05
-38
+41
 c0
 01
 85
-3a
+43
 68
 00
 cb
@@ -5355,7 +5391,7 @@
 20
 20
 05
-36
+3f
 68
 00
 cb
@@ -5363,19 +5399,31 @@
 20
 20
 05
-36
+3f
 68
 00
 c7
 7a
-1f
-e6
-7c
+c0
+00
+3d
+88
+c0
 01
-20
-42
 85
-2a
+49
+20
+20
+3d
+8e
+58
+00
+00
+05
+20
+20
+3d
+be
 68
 00
 c7
@@ -5419,7 +5467,7 @@
 20
 40
 05
-4c
+58
 24
 74
 00
@@ -5431,7 +5479,7 @@
 20
 40
 05
-4e
+5a
 20
 20
 40
@@ -5443,7 +5491,7 @@
 20
 40
 05
-51
+5d
 20
 20
 40
@@ -5455,7 +5503,7 @@
 20
 40
 05
-6b
+77
 68
 08
 c6
@@ -5475,7 +5523,7 @@
 20
 40
 05
-6b
+77
 68
 08
 c6
@@ -5495,7 +5543,7 @@
 20
 40
 05
-6b
+77
 68
 08
 c6
@@ -5515,7 +5563,7 @@
 20
 40
 05
-70
+7c
 68
 08
 c6
@@ -5531,7 +5579,7 @@
 20
 40
 05
-6b
+77
 68
 08
 c6
@@ -5539,7 +5587,7 @@
 20
 40
 05
-70
+7c
 68
 08
 c6
@@ -5571,7 +5619,7 @@
 20
 20
 05
-74
+80
 79
 3f
 84
@@ -5615,7 +5663,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -5623,7 +5671,7 @@
 20
 20
 07
-bb
+c7
 d8
 a0
 43
@@ -5643,7 +5691,7 @@
 20
 40
 07
-39
+45
 58
 00
 00
@@ -5691,7 +5739,7 @@
 20
 40
 06
-71
+7d
 20
 20
 53
@@ -5739,7 +5787,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -5747,7 +5795,7 @@
 20
 20
 07
-bb
+c7
 68
 00
 84
@@ -5755,11 +5803,11 @@
 c2
 82
 85
-bb
+c7
 20
 40
 07
-5e
+6a
 68
 00
 c7
@@ -5767,7 +5815,7 @@
 24
 3a
 05
-a6
+b2
 68
 00
 84
@@ -5775,7 +5823,7 @@
 c3
 02
 05
-aa
+b6
 68
 00
 82
@@ -5783,7 +5831,7 @@
 20
 3a
 05
-aa
+b6
 20
 20
 56
@@ -5811,7 +5859,7 @@
 c0
 82
 85
-ad
+b9
 70
 47
 8e
@@ -5823,7 +5871,7 @@
 20
 5a
 03
-c3
+cf
 20
 20
 56
@@ -5875,7 +5923,7 @@
 20
 40
 05
-b0
+bc
 68
 00
 cd
@@ -5887,7 +5935,7 @@
 24
 41
 07
-62
+6e
 68
 00
 cd
@@ -5991,7 +6039,7 @@
 c0
 01
 85
-da
+e6
 20
 20
 56
@@ -6003,7 +6051,7 @@
 c0
 00
 85
-dd
+e9
 20
 20
 5c
@@ -6035,11 +6083,11 @@
 c0
 02
 05
-e6
+f2
 c0
 03
 06
-13
+1f
 20
 20
 56
@@ -6051,7 +6099,7 @@
 20
 40
 05
-c4
+d0
 20
 40
 7e
@@ -6066,8 +6114,8 @@
 77
 c0
 08
-05
-f5
+06
+01
 1f
 ec
 84
@@ -6079,7 +6127,7 @@
 20
 21
 06
-03
+0f
 d8
 40
 47
@@ -6163,7 +6211,7 @@
 c0
 05
 06
-05
+11
 20
 20
 58
@@ -6179,7 +6227,7 @@
 c2
 81
 86
-0c
+18
 68
 01
 04
@@ -6207,7 +6255,7 @@
 24
 22
 86
-08
+14
 20
 40
 5a
@@ -6215,7 +6263,7 @@
 24
 34
 06
-08
+14
 70
 04
 7a
@@ -6231,11 +6279,11 @@
 c0
 00
 86
-17
+23
 c0
 02
 86
-19
+25
 20
 20
 5a
@@ -6255,7 +6303,7 @@
 20
 20
 07
-bb
+c7
 68
 00
 80
@@ -6303,7 +6351,7 @@
 20
 37
 06
-28
+34
 24
 36
 d8
@@ -6343,7 +6391,7 @@
 20
 20
 07
-bb
+c7
 68
 10
 80
@@ -6383,7 +6431,7 @@
 20
 40
 06
-3e
+4a
 60
 18
 80
@@ -6427,7 +6475,7 @@
 20
 20
 07
-bb
+c7
 20
 40
 21
@@ -6463,7 +6511,7 @@
 c5
 05
 86
-53
+5f
 20
 40
 24
@@ -6471,11 +6519,11 @@
 24
 3a
 06
-4c
+58
 c5
 16
 86
-5c
+68
 20
 20
 21
@@ -6515,7 +6563,7 @@
 20
 20
 06
-4c
+58
 68
 02
 01
@@ -6579,7 +6627,7 @@
 20
 40
 86
-6d
+79
 20
 20
 24
@@ -6595,11 +6643,11 @@
 20
 40
 85
-bc
+c8
 24
 40
 87
-5e
+6a
 68
 01
 46
@@ -6635,7 +6683,7 @@
 c5
 13
 06
-7b
+87
 58
 00
 00
@@ -6647,7 +6695,7 @@
 24
 21
 07
-74
+80
 68
 00
 cd
@@ -6659,7 +6707,7 @@
 24
 21
 07
-64
+70
 68
 00
 cd
@@ -6667,7 +6715,7 @@
 c0
 00
 07
-75
+81
 20
 60
 00
@@ -6731,7 +6779,7 @@
 20
 3a
 06
-94
+a0
 68
 00
 c5
@@ -6839,7 +6887,7 @@
 20
 5a
 06
-ae
+ba
 20
 20
 2b
@@ -6871,7 +6919,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -6879,7 +6927,7 @@
 20
 20
 07
-bb
+c7
 68
 00
 85
@@ -6891,7 +6939,7 @@
 c0
 09
 86
-bb
+c7
 20
 20
 5d
@@ -6939,23 +6987,23 @@
 c2
 83
 86
-cb
+d7
 c0
 01
 86
-cd
+d9
 c0
 18
 86
-d1
+dd
 c0
 0b
 86
-d3
+df
 c0
 03
 86
-cf
+db
 20
 20
 60
@@ -6967,7 +7015,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -6975,7 +7023,7 @@
 20
 20
 07
-bb
+c7
 70
 11
 c5
@@ -6983,7 +7031,7 @@
 20
 20
 07
-bb
+c7
 70
 4b
 03
@@ -7018,12 +7066,12 @@
 00
 c0
 02
-06
-f7
+07
+03
 c0
 08
 06
-dc
+e8
 20
 20
 63
@@ -7039,7 +7087,7 @@
 c0
 00
 86
-e0
+ec
 20
 20
 63
@@ -7055,7 +7103,7 @@
 c2
 80
 06
-e4
+f0
 20
 20
 63
@@ -7122,8 +7170,8 @@
 00
 24
 21
-06
-f5
+07
+01
 20
 20
 63
@@ -7163,15 +7211,15 @@
 c0
 0f
 87
-04
+10
 c0
 10
 07
-07
+13
 c0
 09
 07
-01
+0d
 20
 20
 7d
@@ -7199,7 +7247,7 @@
 20
 20
 07
-09
+15
 70
 01
 85
@@ -7239,7 +7287,7 @@
 20
 20
 03
-24
+27
 68
 00
 cb
@@ -7255,11 +7303,11 @@
 c0
 00
 07
-17
+23
 c0
 00
 87
-21
+2d
 20
 60
 00
@@ -7267,7 +7315,7 @@
 20
 40
 07
-31
+3d
 68
 00
 cb
@@ -7291,7 +7339,7 @@
 20
 42
 87
-1f
+2b
 20
 60
 00
@@ -7303,7 +7351,7 @@
 20
 20
 07
-3f
+4b
 68
 00
 cb
@@ -7335,7 +7383,7 @@
 20
 3a
 07
-2d
+39
 68
 00
 cb
@@ -7343,7 +7391,7 @@
 20
 3a
 07
-3d
+49
 1f
 e0
 ff
@@ -7359,11 +7407,11 @@
 c0
 00
 87
-3f
+4b
 c0
 00
 07
-31
+3d
 20
 60
 00
@@ -7379,15 +7427,15 @@
 c0
 00
 87
-37
+43
 c0
 01
 07
-36
+42
 20
 20
 07
-38
+44
 20
 20
 44
@@ -7431,7 +7479,7 @@
 24
 3a
 07
-43
+4f
 70
 4b
 27
@@ -7483,7 +7531,7 @@
 20
 20
 07
-57
+63
 70
 4b
 31
@@ -7595,7 +7643,7 @@
 c5
 13
 07
-6b
+77
 58
 00
 00
@@ -7615,7 +7663,7 @@
 c0
 00
 07
-7c
+88
 1f
 e0
 ff
@@ -7627,7 +7675,7 @@
 c0
 00
 07
-7c
+88
 70
 41
 de
@@ -7647,7 +7695,7 @@
 c0
 01
 07
-7a
+86
 1f
 e0
 fe
@@ -7659,7 +7707,7 @@
 c0
 00
 87
-72
+7e
 70
 41
 de
@@ -7743,23 +7791,23 @@
 c0
 01
 07
-97
+a3
 c0
 01
 87
-9c
+a8
 c0
 02
 07
-a4
+b0
 c0
 10
 07
-b3
+bf
 20
 40
 07
-a9
+b5
 70
 89
 55
@@ -7779,7 +7827,7 @@
 20
 40
 07
-ae
+ba
 70
 89
 55
@@ -7799,7 +7847,7 @@
 20
 40
 07
-a9
+b5
 70
 89
 4b
@@ -7831,7 +7879,7 @@
 20
 40
 07
-a9
+b5
 70
 89
 55
@@ -7939,7 +7987,7 @@
 20
 22
 87
-da
+e6
 60
 08
 cb
@@ -7983,7 +8031,7 @@
 20
 40
 03
-68
+74
 68
 01
 cb
@@ -8015,11 +8063,11 @@
 24
 22
 87
-cb
+d7
 20
 40
 03
-33
+35
 58
 00
 1f
@@ -8052,8 +8100,8 @@
 20
 00
 01
-56
-9a
+7b
+af
 aa
 55
 08
@@ -9014,7 +9062,7 @@
 00
 b4
 4b
-02
+03
 00
 aa
 55
@@ -9151,14 +9199,14 @@
 00
 57
 4b
-d0
-31
+00
+32
 00
 55
 aa
 aa
 55
-60
+61
 24
 ff
 20
@@ -9560,7 +9608,7 @@
 20
 20
 03
-86
+92
 68
 02
 4c
@@ -9760,7 +9808,7 @@
 20
 40
 04
-29
+36
 70
 46
 c6
@@ -9784,7 +9832,7 @@
 20
 40
 07
-4b
+57
 70
 4b
 01
@@ -9800,7 +9848,7 @@
 20
 40
 03
-24
+27
 20
 20
 41
@@ -9840,7 +9888,7 @@
 20
 40
 03
-ba
+c6
 20
 20
 41
@@ -10020,7 +10068,7 @@
 20
 40
 04
-29
+36
 70
 47
 c6
@@ -10068,7 +10116,7 @@
 20
 40
 07
-4b
+57
 70
 4b
 6a
@@ -10096,7 +10144,7 @@
 20
 40
 03
-ba
+c6
 20
 40
 58
@@ -10104,7 +10152,7 @@
 20
 40
 03
-24
+27
 20
 20
 41
@@ -10132,11 +10180,11 @@
 20
 40
 07
-3d
+49
 20
 40
 05
-13
+20
 70
 4b
 ba
@@ -10144,7 +10192,7 @@
 20
 40
 03
-24
+27
 20
 40
 3e
@@ -10156,7 +10204,7 @@
 20
 40
 03
-60
+6d
 68
 10
 80
@@ -10376,7 +10424,7 @@
 20
 40
 04
-4f
+5c
 70
 47
 8b
@@ -10420,7 +10468,7 @@
 20
 20
 03
-24
+27
 00
 00
 00
@@ -10544,11 +10592,11 @@
 20
 40
 05
-79
+85
 20
 40
 03
-19
+1c
 df
 20
 00
@@ -10560,7 +10608,7 @@
 20
 40
 03
-7c
+88
 24
 34
 02
@@ -10576,7 +10624,7 @@
 20
 40
 03
-7c
+88
 24
 34
 02
@@ -10764,7 +10812,7 @@
 20
 20
 03
-86
+92
 70
 11
 9e
@@ -10828,7 +10876,7 @@
 20
 20
 03
-24
+27
 00
 00
 00
@@ -10980,7 +11028,7 @@
 20
 34
 03
-7a
+86
 79
 20
 00
@@ -11128,7 +11176,7 @@
 20
 20
 03
-7a
+86
 00
 00
 00
@@ -11244,7 +11292,7 @@
 20
 40
 03
-6a
+76
 68
 09
 47
@@ -11264,7 +11312,7 @@
 20
 40
 03
-2a
+2e
 18
 0a
 7e
@@ -11360,7 +11408,7 @@
 20
 20
 07
-53
+5f
 70
 47
 a1
@@ -11384,7 +11432,7 @@
 20
 40
 05
-7d
+89
 20
 20
 7d
@@ -12008,7 +12056,7 @@
 20
 40
 07
-4e
+5a
 70
 47
 a1
@@ -12060,7 +12108,7 @@
 20
 40
 05
-7d
+89
 20
 20
 7d
@@ -12144,7 +12192,7 @@
 20
 20
 04
-56
+63
 18
 00
 7e
@@ -12300,7 +12348,7 @@
 c2
 85
 04
-b6
+c3
 20
 20
 41
@@ -12332,7 +12380,7 @@
 20
 40
 05
-4e
+5a
 20
 60
 80
@@ -12412,7 +12460,7 @@
 c0
 02
 84
-31
+3e
 20
 20
 4d
@@ -12749,5 +12797,5 @@
 55
 00
 00
-0e
-e4
+d9
+58
Index: output/program.lis
===================================================================
--- /branch/mouse_project/XZR/XZR_1066/SM391_1066/output/program.lis	(revision 4056)
+++ /branch/mouse_project/XZR/XZR_1066/SM391_1066/output/program.lis	(working copy)
@@ -7,42 +7,42 @@
 p_zcode:
 
 p_wake_from_power:
-0001 204003ba call p_mouse_data_init 
+0001 204003c6 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000ccf9 store 1 ,mem_tx_power_temp 
-0004 2040075b call power_ctrl_pac_succ_cnt_init 
+0004 20400767 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000cb47 store 1 ,mem_select_ui_button_count 
 0007 6800cb33 fetch 1 ,mem_bt_ui_button_timeout 
 0008 6000cb34 store 1 ,mem_bt_ui_button_count 
 0009 204043ca call mouse_bt_discovery_button_down_disable 
-000a 20400333 call p_mouse_spi_init 
+000a 20400335 call p_mouse_spi_init 
 000b 20400010 call p_mouse_cb_fuction 
 000c 20400023 call p_mouse_wakeup_from_power 
 000d 2040006d call p_mouse_select_device_button_wakeup_check 
 
 p_mouse_setting_config:
 000e 7011c580 jam zcode_80 ,mem_zcode_temp_param0 
-000f 202007bb branch p_zcode_entrance 
+000f 202007c7 branch p_zcode_entrance 
 
 p_mouse_cb_fuction:
-0010 58000383 setarg p_mouse_g24_package_data 
+0010 5800038f setarg p_mouse_g24_package_data 
 0011 60014d73 store 2 ,mem_cb_24g_data 
-0012 5800039d setarg p_mouse_le 
+0012 580003a9 setarg p_mouse_le 
 0013 600141ef store 2 ,mem_cb_le_process 
-0014 5800062f setarg p_le_mouse_bb_event_connect_complete 
+0014 5800063b setarg p_le_mouse_bb_event_connect_complete 
 0015 600141f9 store 2 ,mem_cb_att_write 
-0016 580003d5 setarg p_mouse_bt 
+0016 580003e1 setarg p_mouse_bt 
 0017 600141f1 store 2 ,mem_cb_bt_process 
 0018 58000286 setarg p_mouse_before_lpm 
 0019 600141ed store 2 ,mem_cb_before_lpm 
-001a 58000413 setarg p_mouse_priority_bb_event 
+001a 58000420 setarg p_mouse_priority_bb_event 
 001b 600141f5 store 2 ,mem_cb_bb_event_process 
-001c 580003fd setarg p_mouse_idle 
+001c 58000409 setarg p_mouse_idle 
 001d 600141f3 store 2 ,mem_cb_idle_process 
-001e 58000450 setarg p_mouse_before_hibernate 
+001e 5800045d setarg p_mouse_before_hibernate 
 001f 600141eb store 2 ,mem_cb_before_hibernate 
-0020 58000459 setarg p_mouse_bb_event_timer 
+0020 58000466 setarg p_mouse_bb_event_timer 
 0021 600141fd store 2 ,mem_cb_event_timer 
 0022 20600000 rtn 
 
@@ -51,14 +51,14 @@
 0024 60014d85 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 0025 2455802d ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
 0026 204002ee call p_mouse_init_sunt 
-0027 20400456 call p_mouse_sensor_powerdown 
+0027 20400463 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
 0028 6800c71f fetch 1 ,mem_reconn_times_init 
 0029 6000c71e store 1 ,mem_reconn_times 
 002a 6800c241 fetch 1 ,mem_power_on_flag 
 002b c3810000 rtnbit1 2 
-002c 2020051d branch p_mouse_dpi_config_default 
+002c 20200528 branch p_mouse_dpi_config_default 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 002d 58000177 setarg 375 
@@ -86,56 +86,56 @@
 0041 c0000079 beq patch00_0 ,p_soft_reset 
 0042 c000807d beq patch00_1 ,p_soft_reset_1 
 0043 c0010087 beq patch00_2 ,p_soft_reset_2 
-0044 c04287b6 beq patch10_5 ,p_shutdown_radio 
-0045 c044877e beq patch11_1 ,p_set_freq_tx 
-0046 c04507b8 beq patch11_2 ,p_initialize_radio_cont 
-0047 c00d8644 beq patch03_3 ,p_page_wait_fhs_reply_ok 
-0048 c0130646 beq patch04_6 ,p_role_switch_master 
-0049 c0240662 beq patch09_0 ,p_quit_connection_cont 
-004a c0250669 beq patch09_2 ,p_prepare_tx 
-004b c0288683 beq patch0a_1 ,p_slave_conn_recv_packet 
-004c c02c8660 beq patch0b_1 ,p_process_dmh 
-004d c0538688 beq patch14_7 ,p_lpm_dispatch 
-004e c05686a0 beq patch15_5 ,p_lpm_set_mult 
+0044 c04287c2 beq patch10_5 ,p_shutdown_radio 
+0045 c044878a beq patch11_1 ,p_set_freq_tx 
+0046 c04507c4 beq patch11_2 ,p_initialize_radio_cont 
+0047 c00d8650 beq patch03_3 ,p_page_wait_fhs_reply_ok 
+0048 c0130652 beq patch04_6 ,p_role_switch_master 
+0049 c024066e beq patch09_0 ,p_quit_connection_cont 
+004a c0250675 beq patch09_2 ,p_prepare_tx 
+004b c028868f beq patch0a_1 ,p_slave_conn_recv_packet 
+004c c02c866c beq patch0b_1 ,p_process_dmh 
+004d c0538694 beq patch14_7 ,p_lpm_dispatch 
+004e c05686ac beq patch15_5 ,p_lpm_set_mult 
 004f c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-0050 c07486b1 beq patch1d_1 ,p_mouse_bb_disconnected 
+0050 c07486bd beq patch1d_1 ,p_mouse_bb_disconnected 
 0051 c0508090 beq patch14_1 ,p_init_param 
 0052 c0588095 beq patch16_1 ,p_lpm_check_wake_lock 
 0053 c059009f beq patch16_2 ,p_g24_dispatch 
 0054 c06202b5 beq patch18_4 ,p_device_init 
-0055 c071851f beq patch1c_3 ,p_mouse_seting_dpi 
-0056 c0730543 beq patch1c_6 ,p_mouse_motion 
-0057 c0750576 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
-0058 c075857b beq patch1d_3 ,p_mouse_start_discovery 
-0059 c0760581 beq patch1d_4 ,p_mouse_stop_discovery 
+0055 c071852a beq patch1c_3 ,p_mouse_seting_dpi 
+0056 c073054f beq patch1c_6 ,p_mouse_motion 
+0057 c0750582 beq patch1d_2 ,p_mouse_bb_event_discovery_btn 
+0058 c0758587 beq patch1d_3 ,p_mouse_start_discovery 
+0059 c076058d beq patch1d_4 ,p_mouse_stop_discovery 
 005a 20202a8e branch loop 
 
 pf_patch_ext:
-005b c01c8587 beq patch27_1 ,p_le_slave_match 
-005c c021858f beq patch28_3 ,p_le_next_adv_channel 
-005d c0250595 beq patch29_2 ,p_le_receive_skip 
-005e c02b8598 beq patch2a_7 ,p_le_update_param 
-005f c02c859a beq patch2b_1 ,p_le_update_channel_map 
-0060 c031859c beq patch2c_3 ,p_le_prepare_tx 
-0061 c03305cb beq patch2c_6 ,p_le_parse 
-0062 c03385e2 beq patch2c_7 ,p_le_parse_l2cap 
-0063 c035061b beq patch2d_2 ,p_le_adv_not_match 
-0064 c03b8625 beq patch2e_7 ,p_le_lpm_setmult 
-0065 c00286b5 beq patch20_5 ,p_hid_rx_process 
-0066 c04006b7 beq patch30_0 ,p_parse_lmp_accepted 
-0067 c04106c1 beq patch30_2 ,p_send_lmp 
-0068 c04406d5 beq patch31_0 ,p_process_conn_sm 
-0069 c0460631 beq patch31_4 ,p_twspi_reset 
-006a c046863d beq patch31_5 ,p_spid_init 
-006b c07d06f9 beq patch3f_2 ,p_check_51cmd_once_continue 
+005b c01c8593 beq patch27_1 ,p_le_slave_match 
+005c c021859b beq patch28_3 ,p_le_next_adv_channel 
+005d c02505a1 beq patch29_2 ,p_le_receive_skip 
+005e c02b85a4 beq patch2a_7 ,p_le_update_param 
+005f c02c85a6 beq patch2b_1 ,p_le_update_channel_map 
+0060 c03185a8 beq patch2c_3 ,p_le_prepare_tx 
+0061 c03305d7 beq patch2c_6 ,p_le_parse 
+0062 c03385ee beq patch2c_7 ,p_le_parse_l2cap 
+0063 c0350627 beq patch2d_2 ,p_le_adv_not_match 
+0064 c03b8631 beq patch2e_7 ,p_le_lpm_setmult 
+0065 c00286c1 beq patch20_5 ,p_hid_rx_process 
+0066 c04006c3 beq patch30_0 ,p_parse_lmp_accepted 
+0067 c04106cd beq patch30_2 ,p_send_lmp 
+0068 c04406e1 beq patch31_0 ,p_process_conn_sm 
+0069 c046063d beq patch31_4 ,p_twspi_reset 
+006a c0468649 beq patch31_5 ,p_spid_init 
+006b c07d0705 beq patch3f_2 ,p_check_51cmd_once_continue 
 006c 20202a8e branch loop 
 
 p_mouse_select_device_button_wakeup_check:
 006d 704b6d00 jam 0 ,mem_mouse_select_device_button_wakeup_flag 
-006e 204004a7 call p_mouse_get_select_state 
+006e 204004b4 call p_mouse_get_select_state 
 006f 24608000 nrtn true 
 0070 20407ec1 call delay_10ms 
-0071 204004a7 call p_mouse_get_select_state 
+0071 204004b4 call p_mouse_get_select_state 
 0072 24608000 nrtn true 
 0073 704b6d01 jam 1 ,mem_mouse_select_device_button_wakeup_flag 
 0074 20600000 rtn 
@@ -143,8 +143,8 @@
 p_mouse_switch_hwakeup_bypb:
 0075 6800cb6d fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
 0076 207a0000 rtn blank 
-0077 204004c7 call p_mouse_switch_device_flag 
-0078 20200324 branch p_mouse_store_flash_device_info 
+0077 204004d4 call p_mouse_switch_device_flag 
+0078 20200327 branch p_mouse_store_flash_device_info 
 
 p_soft_reset:
 0079 20800000 clear_stack 
@@ -156,7 +156,7 @@
 007d d8a009ae arg mem_sp_state ,contw 
 007e df20000c arg 12 ,loopcnt 
 007f 20407ed4 call clear_mem 
-0080 20400394 call p_mouse_le_txbuff_load 
+0080 204003a0 call p_mouse_le_txbuff_load 
 0081 204074c1 call init_memp 
 0082 20406a03 call rfcomm_init 
 0083 20405cf6 call init_lmp 
@@ -213,10 +213,10 @@
 00a8 2040011d call p_g24_transmit_packet 
 00a9 6800cc52 fetch 1 ,mem_24g_pairing_sm 
 00aa c1ff8000 rtnne state_24g_pairing_success 
-00ab 20400671 call power_ctrl_start 
+00ab 2040067d call power_ctrl_start 
 00ac 204000b8 call g24_long_sleep_shorter_param_update 
 00ad 6800cb29 fetch 1 ,mem_mouse_multi_led_state 
-00ae c0008386 beq on ,p_g24_transmit_by_interrupt_enable 
+00ae c0008392 beq on ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 00af 20400290 call p_g24_lpm_wait 
@@ -229,11 +229,11 @@
 
 p_g24_pair_dispatch:
 00b4 7011c5c0 jam zcode_c0 ,mem_zcode_temp_param0 
-00b5 202007bb branch p_zcode_entrance 
+00b5 202007c7 branch p_zcode_entrance 
 
 p_g24_reconn_dispatch:
 00b6 7011c570 jam zcode_70 ,mem_zcode_temp_param0 
-00b7 202007bb branch p_zcode_entrance 
+00b7 202007c7 branch p_zcode_entrance 
 
 g24_long_sleep_shorter_param_update:
 00b8 58017700 setarg g24_long_sleep_step1 
@@ -314,7 +314,7 @@
 
 p_g24_search_dongle:
 00ef 7011c5d0 jam zcode_d0 ,mem_zcode_temp_param0 
-00f0 202007bb branch p_zcode_entrance 
+00f0 202007c7 branch p_zcode_entrance 
 
 p_g24_search_dongle_check:
 00f1 704d9300 jam 0 ,mem_24g_search_dongle_count 
@@ -324,7 +324,7 @@
 00f5 6000cd92 store 1 ,mem_24g_search_dongle_action 
 00f6 5800000a setarg 0x0a 
 00f7 600146b0 store 2 ,mem_mouse_no_data_timer 
-00f8 20200456 branch p_mouse_sensor_powerdown 
+00f8 20200463 branch p_mouse_sensor_powerdown 
 
 p_g24_search_dongle_success:
 00f9 6800cc6e fetch 1 ,mem_24g_abort_pac 
@@ -363,7 +363,7 @@
 0110 793ffe04 set0 bit_hop ,pdata 
 0111 6000cc43 store 1 ,mem_24g_data_type 
 0112 6000cbfe store 1 ,mem_24g_txpayload 
-0113 204005bc call power_ctrl_pac_succ_decrs 
+0113 204005c8 call power_ctrl_pac_succ_decrs 
 0114 20200155 branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
@@ -389,7 +389,7 @@
 0122 24378198 nbranch p_g24_retransmit ,user3 
 0123 2040018a call p_g24_txbuf_clear 
 0124 204001b5 call p_g24_ackpayload_parse 
-0125 2040075e call power_ctrl_pac_succ_incrs 
+0125 2040076a call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 0126 704b5200 jam 0 ,mem_retry_count 
@@ -408,7 +408,7 @@
 0131 20600000 rtn 
 
 p_g24_rf_hop_fastly_exit:
-0132 204005bc call power_ctrl_pac_succ_decrs 
+0132 204005c8 call power_ctrl_pac_succ_decrs 
 0133 704d7500 jam 0 ,mem_24g_hop_fastly_cnt 
 0134 20200104 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -499,7 +499,7 @@
 0172 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-0173 204003b4 call p_mouse_data_xy_release 
+0173 204003c0 call p_mouse_data_xy_release 
 0174 704c6e00 jam 0 ,mem_24g_abort_pac 
 0175 1a20fe01 add rega ,1 ,pdata 
 0176 6000cc42 store 1 ,mem_24g_datalen 
@@ -566,8 +566,8 @@
 01a7 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01a8 20400775 call power_ctrl_txpower_incrs 
-01a9 204005bc call power_ctrl_pac_succ_decrs 
+01a8 20400781 call power_ctrl_txpower_incrs 
+01a9 204005c8 call power_ctrl_pac_succ_decrs 
 01aa 20200155 branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -626,14 +626,14 @@
 
 p_g24_pairing_sm:
 01d1 7011c590 jam zcode_90 ,mem_zcode_temp_param0 
-01d2 202007bb branch p_zcode_entrance 
+01d2 202007c7 branch p_zcode_entrance 
 
 p_g24_paring_mode_start:
-01d3 2040075b call power_ctrl_pac_succ_cnt_init 
+01d3 20400767 call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
 01d4 7011c591 jam zcode_91 ,mem_zcode_temp_param0 
-01d5 202007bb branch p_zcode_entrance 
+01d5 202007c7 branch p_zcode_entrance 
 
 p_g24_check_51cmd_stop_24g:
 01d6 793f8026 set0 mark_24g ,mark 
@@ -851,7 +851,7 @@
 
 p_mouse_before_lpm:
 0286 c6130000 rtnmark1 mark_24g 
-0287 2040038a call p_mouse_le_txbuff_save 
+0287 20400396 call p_mouse_le_txbuff_save 
 0288 20400298 call p_mouse_setgpio_lpm 
 0289 6800c040 fetch 1 ,mem_context 
 028a c300028d bbit0 state_inconn ,p_clear_wake 
@@ -908,7 +908,7 @@
 p_mouse_set_sdio_high:
 02b2 6800cb00 fetch 1 ,mem_mouse_init_sensor_reset_flag 
 02b3 207a0000 rtn blank 
-02b4 2020051f branch p_mouse_seting_sensor_type 
+02b4 2020052d branch p_mouse_seting_sensor_type 
 
 p_device_init:
 02b5 70895b86 jam 0x86 ,0x895b 
@@ -916,7 +916,7 @@
 02b7 2040296c call initialize_radio 
 02b8 20403416 call app_lpm_mult_enable 
 02b9 204074b9 call enable_authrom 
-02ba 20358333 branch p_mouse_spi_init ,wake 
+02ba 20358335 branch p_mouse_spi_init ,wake 
 
 p_device_wake_from_power:
 02bb 6801c4a3 fetch 3 ,mem_le_lap + 3 
@@ -929,17 +929,17 @@
 02c2 242282c5 nbranch p_mouse_check_reconn_target ,zero 
 
 p_mouse_24g_pair_check:
-02c3 2040054e call p_mouse_check_key_gpio 
+02c3 2040055a call p_mouse_check_key_gpio 
 02c4 c00282ec beq mouse_lm_button ,p_mouse_24g_pairing_button 
 
 p_mouse_check_reconn_target:
 02c5 204002d4 call p_mouse_tx_power_init 
-02c6 204004ab call p_mouse_select_device_by_button 
+02c6 204004b8 call p_mouse_select_device_by_button 
 02c7 da204721 arg mem_device1_type ,rega 
 02c8 6800c720 fetch 1 ,mem_device_flag 
 02c9 6808c703 fetcht 1 ,mem_24g_device_number 
 02ca 98467c00 isub temp ,null 
-02cb 20228376 branch p_mouse_start_24g_mode ,zero 
+02cb 20228382 branch p_mouse_start_24g_mode ,zero 
 02cc 1fe0ffff increase -1 ,pdata 
 02cd 1feffe1d mul32 pdata ,29 ,pdata 
 02ce 9a20a200 iadd rega ,rega 
@@ -955,7 +955,7 @@
 02d6 20600000 rtn 
 
 p_mouse3_0_check_reconn_target:
-02d7 2040074e call p_mouse_mode_bt_device_multi_led_on 
+02d7 2040075a call p_mouse_mode_bt_device_multi_led_on 
 02d8 704b5101 jam 1 ,mem_mouse_bt_reconnect_flag 
 02d9 680341d0 fetch 6 ,mem_hci_plap 
 02da 203a33eb branch app_bt_start_discovery_short ,blank 
@@ -963,7 +963,7 @@
 
 p_mouse4_0_check_reconn_target:
 02dc 7011c523 jam zcode_23 ,mem_zcode_temp_param0 
-02dd 202007bb branch p_zcode_entrance 
+02dd 202007c7 branch p_zcode_entrance 
 
 p_le_check_adv_flag:
 02de da204370 arg mem_le_adv_data ,rega 
@@ -989,16 +989,16 @@
 
 p_mouse_24g_pairing_button:
 02ec 7011c562 jam zcode_62 ,mem_zcode_temp_param0 
-02ed 202007bb branch p_zcode_entrance 
+02ed 202007c7 branch p_zcode_entrance 
 
 p_mouse_init_sunt:
-02ee 20400333 call p_mouse_spi_init 
+02ee 20400335 call p_mouse_spi_init 
 02ef 204040c0 call mouse_spi_sdio_gpio_pollup 
 
 p_mouse_init_sensor:
 02f0 204040d9 call mouse_read_sensor_id 
 02f1 c01802fa beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-02f2 c0188309 beq p3065_id1 ,p_mouse_p3065_init_param 
+02f2 c018830c beq p3065_id1 ,p_mouse_p3065_init_param 
 02f3 204040d1 call mouse_twspi_reset 
 02f4 200003e8 nop 1000 
 02f5 202002f0 branch p_mouse_init_sensor 
@@ -1010,1772 +1010,1794 @@
 02f9 20206411 branch spi_ncs_disable 
 
 p_mouse_init_p32xx_id2_judge:
-02fa 20400515 call p_mouse_sensor_poweron 
+02fa 20400522 call p_mouse_sensor_poweron 
 02fb 6800c6de fetch 1 ,mem_sensor_id2 
-02fc c02d02fe beq p_mx8650 ,p_mouse_mx8650_init_param 
-02fd 202040e1 branch mouse_init_p32xx_id2_judge + 1 
+02fc c02d02ff beq p_mx8650 ,p_mouse_mx8650_init_param 
+02fd c02a030a beq pka8_id2 ,p_mouse_ka8_init_param 
+02fe 202040e1 branch mouse_init_p32xx_id2_judge + 1 
 
 p_mouse_mx8650_init_param:
-02fe 7046e007 jam mx8650 ,mem_config_sensor_type 
-02ff da604b6e arg mem_sensor_8650_init ,regc 
-0300 20400302 call p_sensor_wr_seq 
-0301 2020051b branch p_mouse_dpi_config 
+02ff 7046e007 jam mx8650 ,mem_config_sensor_type 
+0300 da604b6e arg mem_sensor_8650_init ,regc 
+0301 20400303 call p_sensor_wr_seq 
+0302 20200528 branch p_mouse_dpi_config 
 
 p_sensor_wr_seq:
-0302 ea610000 ifetch 2 ,regc 
-0303 d840ffff arg 0xffff ,temp 
-0304 98467c00 isub temp ,null 
-0305 20628000 rtn zero 
-0306 20406413 call twspi_write 
-0307 1a60a602 increase 2 ,regc 
-0308 20200302 branch p_sensor_wr_seq 
+0303 ea610000 ifetch 2 ,regc 
+0304 d840ffff arg 0xffff ,temp 
+0305 98467c00 isub temp ,null 
+0306 20628000 rtn zero 
+0307 20406413 call twspi_write 
+0308 1a60a602 increase 2 ,regc 
+0309 20200303 branch p_sensor_wr_seq 
+
+p_mouse_ka8_init_param:
+030a 7046e002 jam ka8 ,mem_config_sensor_type 
+030b 20600000 rtn 
 
 p_mouse_p3065_init_param:
-0309 20400515 call p_mouse_sensor_poweron 
-030a 202040ea branch mouse_p3065_init_param 
+030c 20400522 call p_mouse_sensor_poweron 
+030d 202040ea branch mouse_p3065_init_param 
 
 p_spid_init_flash:
-030b 70808640 jam 0x40 ,core_spid_ctrl 
-030c 70808700 jam 0x0 ,core_spid_delay 
-030d 68108081 hfetch 1 ,core_gpio_sel1 
-030e 793ffe00 set0 0 ,pdata 
-030f 793ffe01 set0 1 ,pdata 
-0310 79207e03 set1 3 ,pdata 
-0311 793ffe04 set0 4 ,pdata 
-0312 60108081 hstore 1 ,core_gpio_sel1 
-0313 58000000 setarg 0 
-0314 600201f5 store 4 ,mem_spid_tbuf 
-0315 6810807f hfetch 1 ,core_gpio_pd3 
-0316 793ffe00 set0 0 ,pdata 
-0317 6010807f hstore 1 ,core_gpio_pd3 
-0318 20600000 rtn 
+030e 70808640 jam 0x40 ,core_spid_ctrl 
+030f 70808700 jam 0x0 ,core_spid_delay 
+0310 68108081 hfetch 1 ,core_gpio_sel1 
+0311 793ffe00 set0 0 ,pdata 
+0312 793ffe01 set0 1 ,pdata 
+0313 79207e03 set1 3 ,pdata 
+0314 793ffe04 set0 4 ,pdata 
+0315 60108081 hstore 1 ,core_gpio_sel1 
+0316 58000000 setarg 0 
+0317 600201f5 store 4 ,mem_spid_tbuf 
+0318 6810807f hfetch 1 ,core_gpio_pd3 
+0319 793ffe00 set0 0 ,pdata 
+031a 6010807f hstore 1 ,core_gpio_pd3 
+031b 20600000 rtn 
 
 p_mouse_load_flash_info_check:
-0319 20400368 call p_flash_release_deep_power_down 
-031a 20404423 call mouse_load_flash_flag 
-031b 68014778 fetch 2 ,mem_store_flag 
-031c d840aa55 arg eeprom_init_flag ,temp 
-031d 98467c00 isub temp ,null 
-031e 20228357 branch p_mouse_load_flash_device_info ,zero 
-031f 60094778 storet 2 ,mem_store_flag 
-0320 2040441c call mouse_ble_init_address 
-0321 68024b4d fetch 4 ,mem_mouse_24g_addr_init 
-0322 6002477b store 4 ,mem_mouse_24g_addr 
-0323 60024c6a store 4 ,mem_24g_addr 
+031c 20400374 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 20228364 branch p_mouse_load_flash_device_info ,zero 
+0322 60094778 storet 2 ,mem_store_flag 
+0323 2040441c call mouse_ble_init_address 
+0324 68024b4d fetch 4 ,mem_mouse_24g_addr_init 
+0325 6002477b store 4 ,mem_mouse_24g_addr 
+0326 60024c6a store 4 ,mem_24g_addr 
 
 p_mouse_store_flash_device_info:
-0324 20400368 call p_flash_release_deep_power_down 
-0325 2040033a call p_flash_erase_sector 
-0326 20400351 call p_mouse_information_flash_parameters 
-0327 20400346 call p_spid_write_flash 
-0328 2040033d call p_wait_flash_done 
-0329 20400335 call p_mouse_store_flash_dpi 
+0327 20400374 call p_flash_release_deep_power_down 
+0328 20400340 call p_flash_erase_sector 
+0329 2040034f call p_flash_write_enable 
+032a 2040035e call p_mouse_information_flash_parameters 
+032b 20400353 call p_spid_write_flash 
+032c 20400344 call p_wait_flash_done 
+032d 20400337 call p_mouse_store_flash_dpi 
 
 p_mouse_store_random_addr_increase_count:
-032a 2040030b call p_spid_init_flash 
-032b d8400002 arg 2 ,temp 
-032c da2047c4 arg mem_random_addr_increase_count ,rega 
-032d da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
-
-p_mouse_store_flash_comm:
-032e 6801c700 fetch 3 ,mem_flash_base 
-032f 9a40fe00 iadd regb ,pdata 
-0330 20400346 call p_spid_write_flash 
-0331 2040033d call p_wait_flash_done 
-0332 20400360 call p_flash_deep_power_down 
+032e 2040030e call p_spid_init_flash 
+032f 2040034f call p_flash_write_enable 
+0330 d8400002 arg 2 ,temp 
+0331 da2047c4 arg mem_random_addr_increase_count ,rega 
+0332 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+0333 2040033c call p_mouse_store_flash_comm 
+0334 2040036d call p_flash_deep_power_down 
 
 p_mouse_spi_init:
-0333 70421276 jam 0x76 ,mem_spi_init_clk 
-0334 20203d36 branch mouse_spi_init 
+0335 70421276 jam 0x76 ,mem_spi_init_clk 
+0336 20203d36 branch mouse_spi_init 
 
 p_mouse_store_flash_dpi:
-0335 2040030b call p_spid_init_flash 
-0336 d8400001 arg 1 ,temp 
-0337 da20477a arg mem_mouse_dpi ,rega 
-0338 da40005a arg mouse_dpi_eeprom_offect ,regb 
-0339 2020032e branch p_mouse_store_flash_comm 
+0337 2040030e call p_spid_init_flash 
+0338 2040034f call p_flash_write_enable 
+0339 d8400001 arg 1 ,temp 
+033a da20477a arg mem_mouse_dpi ,rega 
+033b da40005a arg mouse_dpi_eeprom_offect ,regb 
+
+p_mouse_store_flash_comm:
+033c 6801c700 fetch 3 ,mem_flash_base 
+033d 9a40fe00 iadd regb ,pdata 
+033e 20400353 call p_spid_write_flash 
+033f 20200344 branch p_wait_flash_done 
 
 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 
+0340 6801c700 fetch 3 ,mem_flash_base 
+0341 6001c232 store 3 ,mem_spi_write_addr 
+0342 2040034f call p_flash_write_enable 
+0343 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 
+0344 20400347 call p_flash_read_status 
+0345 c2800344 bbit1 flash_status_wip ,p_wait_flash_done 
+0346 20600000 rtn 
+
+p_flash_read_status:
+0347 580001fa setarg mem_spid_rbuf 
+0348 6011008c hstore 2 ,core_spid_rxaddr 
+0349 58000005 setarg flash_read_satus 
+034a 18000401 force 1 ,temp 
+034b 600081f5 store 1 ,mem_spid_tbuf 
+034c 580001f5 setarg mem_spid_tbuf 
+034d 6011008a hstore 2 ,core_spid_txaddr 
+034e 202064f6 branch spid_read_regs + 2 
+
+p_flash_write_enable:
+034f 2040650b call spid_unlock_flash 
+0350 20400347 call p_flash_read_status 
+0351 c300834f bbit0 flash_status_wel ,p_flash_write_enable 
+0352 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 60024b48 store 4 ,mem_write_flash_head_temp 
-034c 1a627e00 copy regc ,pdata 
-034d 20406552 call spid_write_flash 
-034e 68024b48 fetch 4 ,mem_write_flash_head_temp 
-034f e2420000 istore 4 ,regb 
-0350 20600000 rtn 
+0353 1fe22600 copy pdata ,regc 
+0354 1a227e00 copy rega ,pdata 
+0355 1fe0fffc increase -4 ,pdata 
+0356 1fe22400 copy pdata ,regb 
+0357 ea420000 ifetch 4 ,regb 
+0358 60024b48 store 4 ,mem_write_flash_head_temp 
+0359 1a627e00 copy regc ,pdata 
+035a 20406552 call spid_write_flash 
+035b 68024b48 fetch 4 ,mem_write_flash_head_temp 
+035c e2420000 istore 4 ,regb 
+035d 20600000 rtn 
 
 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 
+035e 5800477f setarg mem_mouse_information_end 
+035f d8404720 arg mem_mouse_information_start ,temp 
+0360 98460400 isub temp ,temp 
+0361 6801c700 fetch 3 ,mem_flash_base 
+0362 da204720 arg mem_mouse_information_start ,rega 
+0363 20600000 rtn 
 
 p_mouse_load_flash_device_info:
-0357 20400368 call p_flash_release_deep_power_down 
-0358 20400351 call p_mouse_information_flash_parameters 
-0359 20406562 call spid_read_flash 
-035a 2040036a call p_mouse_load_random_addr_increase_count 
-035b 20400371 call p_mouse_load_dpi_from_flash 
-035c 2040431a call mouse_select_reconn_device 
-035d 6802477b fetch 4 ,mem_mouse_24g_addr 
-035e 60024c6a store 4 ,mem_24g_addr 
-035f 20600000 rtn 
+0364 20400374 call p_flash_release_deep_power_down 
+0365 2040035e call p_mouse_information_flash_parameters 
+0366 20406562 call spid_read_flash 
+0367 20400376 call p_mouse_load_random_addr_increase_count 
+0368 2040037d call p_mouse_load_dpi_from_flash 
+0369 2040431a call mouse_select_reconn_device 
+036a 6802477b fetch 4 ,mem_mouse_24g_addr 
+036b 60024c6a store 4 ,mem_24g_addr 
+036c 20600000 rtn 
 
 p_flash_deep_power_down:
-0360 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
+036d 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
 
 p_spid_write_flash_cmd:
-0361 2040030b call p_spid_init_flash 
-0362 204069ac call delay_nop100 
-0363 2040650b call spid_unlock_flash 
-0364 da204b48 arg mem_write_flash_head_temp ,rega 
-0365 68088aa2 fetcht 1 ,mem_temp 
-0366 20406556 call spid_write_flash_common 
-0367 202069ac branch delay_nop100 
+036e 2040030e call p_spid_init_flash 
+036f 204069ac call delay_nop100 
+0370 da204b48 arg mem_write_flash_head_temp ,rega 
+0371 68088aa2 fetcht 1 ,mem_temp 
+0372 20406556 call spid_write_flash_common 
+0373 202069ac branch delay_nop100 
 
 p_flash_release_deep_power_down:
-0368 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
-0369 20200361 branch p_spid_write_flash_cmd 
+0374 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
+0375 2020036e branch p_spid_write_flash_cmd 
 
 p_mouse_load_random_addr_increase_count:
-036a 20400368 call p_flash_release_deep_power_down 
-036b d8400002 arg 2 ,temp 
-036c da2047c4 arg mem_random_addr_increase_count ,rega 
-036d da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
+0376 20400374 call p_flash_release_deep_power_down 
+0377 d8400002 arg 2 ,temp 
+0378 da2047c4 arg mem_random_addr_increase_count ,rega 
+0379 da40005f arg mouse_random_addr_count_eeprom_offset ,regb 
 
 p_mouse_load_flash_comm:
-036e 6801c700 fetch 3 ,mem_flash_base 
-036f 9a40fe00 iadd regb ,pdata 
-0370 20206562 branch spid_read_flash 
+037a 6801c700 fetch 3 ,mem_flash_base 
+037b 9a40fe00 iadd regb ,pdata 
+037c 20206562 branch spid_read_flash 
 
 p_mouse_load_dpi_from_flash:
-0371 20400368 call p_flash_release_deep_power_down 
-0372 d8400001 arg 1 ,temp 
-0373 da20477a arg mem_mouse_dpi ,rega 
-0374 da40005a arg mouse_dpi_eeprom_offect ,regb 
-0375 2020036e branch p_mouse_load_flash_comm 
+037d 20400374 call p_flash_release_deep_power_down 
+037e d8400001 arg 1 ,temp 
+037f da20477a arg mem_mouse_dpi ,rega 
+0380 da40005a arg mouse_dpi_eeprom_offect ,regb 
+0381 2020037a branch p_mouse_load_flash_comm 
 
 p_mouse_start_24g_mode:
-0376 70472001 jam 1 ,mem_device_flag 
-0377 2040074e call p_mouse_mode_24g_device_multi_led_on 
+0382 70472001 jam 1 ,mem_device_flag 
+0383 2040075a call p_mouse_mode_24g_device_multi_led_on 
 
 p_g24_start_24g_mode:
-0378 7011c560 jam zcode_60 ,mem_zcode_temp_param0 
-0379 202007bb branch p_zcode_entrance 
+0384 7011c560 jam zcode_60 ,mem_zcode_temp_param0 
+0385 202007c7 branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
-037a 7011c561 jam zcode_61 ,mem_zcode_temp_param0 
-037b 202007bb branch p_zcode_entrance 
+0386 7011c561 jam zcode_61 ,mem_zcode_temp_param0 
+0387 202007c7 branch p_zcode_entrance 
 
 p_pdata_0xff_check:
-037c 20407fe7 call enable_user 
-037d 5800ffff setarg 0xffff 
+0388 20407fe7 call enable_user 
+0389 5800ffff setarg 0xffff 
 
 p_pdata_0xff_check_loop:
-037e e8c90000 ifetcht 2 ,contr 
-037f 98467c00 isub temp ,null 
-0380 2442ffe9 ncall disable_user ,zero 
-0381 c200037e loop p_pdata_0xff_check_loop 
-0382 20600000 rtn 
+038a e8c90000 ifetcht 2 ,contr 
+038b 98467c00 isub temp ,null 
+038c 2442ffe9 ncall disable_user ,zero 
+038d c200038a loop p_pdata_0xff_check_loop 
+038e 20600000 rtn 
 
 p_mouse_g24_package_data:
-0383 20404401 call mouse_g24_package_data 
-0384 6801469f fetch 2 ,mem_mouse_z 
-0385 207a0000 rtn blank 
+038f 20404401 call mouse_g24_package_data 
+0390 6801469f fetch 2 ,mem_mouse_z 
+0391 207a0000 rtn blank 
 
 p_g24_transmit_by_interrupt_enable:
-0386 704d8201 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-0387 58000000 setarg 0 
-0388 60014d83 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0389 20600000 rtn 
+0392 704d8201 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0393 58000000 setarg 0 
+0394 60014d83 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0395 20600000 rtn 
 
 p_mouse_le_txbuff_save:
-038a d8c01800 arg mem_le_tx_buffer0 ,contr 
-038b d8a0480c arg mem_le_tx_buffer0_omemalloc ,contw 
-038c 20400392 call p_mouse_le_txbuff_copy 
-038d d8c01900 arg mem_le_tx_buffer1 ,contr 
-038e 20400392 call p_mouse_le_txbuff_copy 
-038f d8c01a00 arg mem_le_tx_buffer2 ,contr 
-0390 20400392 call p_mouse_le_txbuff_copy 
-0391 d8c01b00 arg mem_le_tx_buffer3 ,contr 
+0396 d8c01800 arg mem_le_tx_buffer0 ,contr 
+0397 d8a0480c arg mem_le_tx_buffer0_omemalloc ,contw 
+0398 2040039e call p_mouse_le_txbuff_copy 
+0399 d8c01900 arg mem_le_tx_buffer1 ,contr 
+039a 2040039e call p_mouse_le_txbuff_copy 
+039b d8c01a00 arg mem_le_tx_buffer2 ,contr 
+039c 2040039e call p_mouse_le_txbuff_copy 
+039d d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-0392 df20001b arg 27 ,loopcnt 
-0393 20207f01 branch memcpy 
+039e df20001b arg 27 ,loopcnt 
+039f 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-0394 d8c0480c arg mem_le_tx_buffer0_omemalloc ,contr 
-0395 d8a01800 arg mem_le_tx_buffer0 ,contw 
-0396 20400392 call p_mouse_le_txbuff_copy 
-0397 d8a01900 arg mem_le_tx_buffer1 ,contw 
-0398 20400392 call p_mouse_le_txbuff_copy 
-0399 d8a01a00 arg mem_le_tx_buffer2 ,contw 
-039a 20400392 call p_mouse_le_txbuff_copy 
-039b d8a01b00 arg mem_le_tx_buffer3 ,contw 
-039c 20200392 branch p_mouse_le_txbuff_copy 
+03a0 d8c0480c arg mem_le_tx_buffer0_omemalloc ,contr 
+03a1 d8a01800 arg mem_le_tx_buffer0 ,contw 
+03a2 2040039e call p_mouse_le_txbuff_copy 
+03a3 d8a01900 arg mem_le_tx_buffer1 ,contw 
+03a4 2040039e call p_mouse_le_txbuff_copy 
+03a5 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+03a6 2040039e call p_mouse_le_txbuff_copy 
+03a7 d8a01b00 arg mem_le_tx_buffer3 ,contw 
+03a8 2020039e branch p_mouse_le_txbuff_copy 
 
 p_mouse_le:
-039d 20405892 call le_fifo_check_nearly_full 
-039e 247a0000 nrtn blank 
-039f 6800cbb3 fetch 1 ,mem_mouse_fast_conn_flag 
-03a0 c07f83a4 beq 0xff ,p_mouse_le_next 
-03a1 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03a2 1fe17e03 and pdata ,0x03 ,pdata 
-03a3 c1818000 rtnne 0x03 
+03a9 20405892 call le_fifo_check_nearly_full 
+03aa 247a0000 nrtn blank 
+03ab 6800cbb3 fetch 1 ,mem_mouse_fast_conn_flag 
+03ac c07f83b0 beq 0xff ,p_mouse_le_next 
+03ad 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03ae 1fe17e03 and pdata ,0x03 ,pdata 
+03af c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-03a4 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03a5 205a03fa call p_mouse_clear_sensor_data ,blank 
-03a6 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03a7 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-03a8 20403f97 call mouse_motion 
-03a9 24740000 nrtn user 
-03aa 204003b1 call p_mouse_le_current_mult_update 
-03ab 204003b4 call p_mouse_data_xy_release 
-03ac 204003d0 call p_mouse_wheel_trigger 
+03b0 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03b1 205a0406 call p_mouse_clear_sensor_data ,blank 
+03b2 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03b3 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03b4 20403f97 call mouse_motion 
+03b5 24740000 nrtn user 
+03b6 204003bd call p_mouse_le_current_mult_update 
+03b7 204003c0 call p_mouse_data_xy_release 
+03b8 204003dc call p_mouse_wheel_trigger 
 
 p_mouse_data_push:
-03ad da20469a arg mem_mouse_key ,rega 
-03ae 20407e3d call queue_push 
-03af 205403bf call p_mouse_queue_increase ,user 
-03b0 20600000 rtn 
+03b9 da20469a arg mem_mouse_key ,rega 
+03ba 20407e3d call queue_push 
+03bb 205403cb call p_mouse_queue_increase ,user 
+03bc 20600000 rtn 
 
 p_mouse_le_current_mult_update:
-03b1 70417208 jam 8 ,mem_lpm_mult 
-03b2 704b681e jam 30 ,mem_mouse_le_current_mult_timer 
-03b3 20600000 rtn 
+03bd 70417208 jam 8 ,mem_lpm_mult 
+03be 704b681e jam 30 ,mem_mouse_le_current_mult_timer 
+03bf 20600000 rtn 
 
 p_mouse_data_xy_release:
-03b4 6800cb67 fetch 1 ,mem_mouse_long_mult_flag 
-03b5 c1808000 rtnne 1 
-03b6 58000000 setarg 0 
-03b7 6000cb67 store 1 ,mem_mouse_long_mult_flag 
-03b8 6002469b store 4 ,mem_mouse_x 
-03b9 202002f6 branch p_mouse_init_sensor_reset 
+03c0 6800cb67 fetch 1 ,mem_mouse_long_mult_flag 
+03c1 c1808000 rtnne 1 
+03c2 58000000 setarg 0 
+03c3 6000cb67 store 1 ,mem_mouse_long_mult_flag 
+03c4 6002469b store 4 ,mem_mouse_x 
+03c5 202002f6 branch p_mouse_init_sensor_reset 
 
 p_mouse_data_init:
-03ba 7047a207 jam 7 ,mem_mouse_data_queue 
-03bb 7047a304 jam 4 ,mem_mouse_data_queue + 1 
-03bc 580047a2 setarg mem_mouse_data_queue 
-03bd 60014218 store 2 ,mem_queue_ptr 
-03be 20207e38 branch queue_init 
+03c6 7047a207 jam 7 ,mem_mouse_data_queue 
+03c7 7047a304 jam 4 ,mem_mouse_data_queue + 1 
+03c8 580047a2 setarg mem_mouse_data_queue 
+03c9 60014218 store 2 ,mem_queue_ptr 
+03ca 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-03bf 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03c0 1fe0fe01 increase 1 ,pdata 
-03c1 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03c2 20600000 rtn 
+03cb 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03cc 1fe0fe01 increase 1 ,pdata 
+03cd 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03ce 20600000 rtn 
 
 p_mouse_data_pull:
-03c3 da20469a arg mem_mouse_key ,rega 
-03c4 20407e54 call queue_pop 
-03c5 203403c7 branch p_mouse_fill_data_le ,user 
-03c6 20600000 rtn 
+03cf da20469a arg mem_mouse_key ,rega 
+03d0 20407e54 call queue_pop 
+03d1 203403d3 branch p_mouse_fill_data_le ,user 
+03d2 20600000 rtn 
 
 p_mouse_fill_data_le:
-03c7 20405652 call le_clear_md 
-03c8 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03c9 1fe67c01 sub pdata ,1 ,null 
-03ca 24415650 ncall le_set_md ,positive 
-03cb 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03cc 207a0000 rtn blank 
-03cd 1fe0ffff increase -1 ,pdata 
-03ce 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03cf 20203f90 branch mouse_fill_data_le 
+03d3 20405652 call le_clear_md 
+03d4 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03d5 1fe67c01 sub pdata ,1 ,null 
+03d6 24415650 ncall le_set_md ,positive 
+03d7 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03d8 207a0000 rtn blank 
+03d9 1fe0ffff increase -1 ,pdata 
+03da 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03db 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-03d0 6801469f fetch 2 ,mem_mouse_z 
-03d1 207a0000 rtn blank 
-03d2 70480801 jam 1 ,mem_mouse_wheel_trigger 
-03d3 7048090a jam 10 ,mem_mouse_wheel_trigger_timer 
-03d4 20600000 rtn 
+03dc 6801469f fetch 2 ,mem_mouse_z 
+03dd 207a0000 rtn blank 
+03de 70480801 jam 1 ,mem_mouse_wheel_trigger 
+03df 7048090a jam 10 ,mem_mouse_wheel_trigger_timer 
+03e0 20600000 rtn 
 
 p_mouse_bt:
-03d5 20770000 rtn attempt 
-03d6 6800c1e2 fetch 1 ,mem_app_handshake_flag 
-03d7 207a0000 rtn blank 
-03d8 20405271 call l2cap_malloc_is_fifo_nearly_full 
-03d9 247a0000 nrtn blank 
-03da 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03db 205a03fa call p_mouse_clear_sensor_data ,blank 
-03dc 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03dd c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
-03de c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
-03df 20403f97 call mouse_motion 
-03e0 24740000 nrtn user 
-03e1 204003b1 call p_mouse_le_current_mult_update 
-03e2 204003b4 call p_mouse_data_xy_release 
-03e3 204003d0 call p_mouse_wheel_trigger 
-03e4 6800cb05 fetch 1 ,mem_mouse_bt_boot_mode 
-03e5 c00083e9 beq 1 ,p_mouse_send_data_boot_mode 
-03e6 6800cb0c fetch 1 ,mem_mouse_bt_send_first_package_flag 
-03e7 207a0000 rtn blank 
-03e8 20203f81 branch mouse_send_data 
+03e1 20770000 rtn attempt 
+03e2 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+03e3 207a0000 rtn blank 
+03e4 20405271 call l2cap_malloc_is_fifo_nearly_full 
+03e5 247a0000 nrtn blank 
+03e6 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03e7 205a0406 call p_mouse_clear_sensor_data ,blank 
+03e8 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03e9 c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+03ea c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+03eb 20403f97 call mouse_motion 
+03ec 24740000 nrtn user 
+03ed 204003bd call p_mouse_le_current_mult_update 
+03ee 204003c0 call p_mouse_data_xy_release 
+03ef 204003dc call p_mouse_wheel_trigger 
+03f0 6800cb05 fetch 1 ,mem_mouse_bt_boot_mode 
+03f1 c00083f5 beq 1 ,p_mouse_send_data_boot_mode 
+03f2 6800cb0c fetch 1 ,mem_mouse_bt_send_first_package_flag 
+03f3 207a0000 rtn blank 
+03f4 20203f81 branch mouse_send_data 
 
 p_mouse_send_data_boot_mode:
-03e9 6800c69a fetch 1 ,mem_mouse_key 
-03ea 6000cb06 store 1 ,mem_mouse_bt_boot_data 
-03eb 6800c69b fetch 1 ,mem_mouse_x 
-03ec e0a08000 istore 1 ,contw 
-03ed 6800c69d fetch 1 ,mem_mouse_y 
-03ee e0a08000 istore 1 ,contw 
-03ef 6801469f fetch 2 ,mem_mouse_z 
-03f0 e0a10000 istore 2 ,contw 
-03f1 da200007 arg 7 ,rega 
-03f2 20404d63 call hid_malloc_tx_buff 
-03f3 6801424e fetch 2 ,mem_hid_int_remote_cid 
-03f4 e0a10000 istore 2 ,contw 
-03f5 580002a1 setarg 0x02a1 
-03f6 e0a10000 istore 2 ,contw 
-03f7 6802cb06 fetch 5 ,mem_mouse_bt_boot_data 
-03f8 e0a28000 istore 5 ,contw 
-03f9 20600000 rtn 
+03f5 6800c69a fetch 1 ,mem_mouse_key 
+03f6 6000cb06 store 1 ,mem_mouse_bt_boot_data 
+03f7 6800c69b fetch 1 ,mem_mouse_x 
+03f8 e0a08000 istore 1 ,contw 
+03f9 6800c69d fetch 1 ,mem_mouse_y 
+03fa e0a08000 istore 1 ,contw 
+03fb 6801469f fetch 2 ,mem_mouse_z 
+03fc e0a10000 istore 2 ,contw 
+03fd da200007 arg 7 ,rega 
+03fe 20404d63 call hid_malloc_tx_buff 
+03ff 6801424e fetch 2 ,mem_hid_int_remote_cid 
+0400 e0a10000 istore 2 ,contw 
+0401 580002a1 setarg 0x02a1 
+0402 e0a10000 istore 2 ,contw 
+0403 6802cb06 fetch 5 ,mem_mouse_bt_boot_data 
+0404 e0a28000 istore 5 ,contw 
+0405 20600000 rtn 
 
 p_mouse_clear_sensor_data:
-03fa 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
-03fb 20405814 call le_set_config_more_data 
-03fc 202002f6 branch p_mouse_init_sensor_reset 
+0406 70479e01 jam 1 ,mem_mouse_clear_sensor_data_flag 
+0407 20405814 call le_set_config_more_data 
+0408 202002f6 branch p_mouse_init_sensor_reset 
 
 p_mouse_idle:
-03fd 20407e34 call ui_check_paring_button 
-03fe 20400400 call p_mouse_dpi_check 
-03ff 20203ee0 branch mouse_wheel_check 
+0409 20407e34 call ui_check_paring_button 
+040a 2040040c call p_mouse_dpi_check 
+040b 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-0400 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0401 20400570 call p_gpio_set_input_pd 
-0402 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-0403 2040681d call gpio_get_bit 
-0404 20208411 branch p_mouse_dpi_up ,true 
-0405 2040056b call p_gpio_set_input_pu 
+040c 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+040d 2040057c call p_gpio_set_input_pd 
+040e 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+040f 2040681d call gpio_get_bit 
+0410 2020841e branch p_mouse_dpi_up ,true 
+0411 20400577 call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
-0406 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-0407 c1000000 rtneq dpi_button_state_down 
-0408 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-0409 6800c77a fetch 1 ,mem_mouse_dpi 
-040a 1fe0fe01 increase 1 ,pdata 
-040b 1fe17e03 and pdata ,0x03 ,pdata 
-040c 6000c77a store 1 ,mem_mouse_dpi 
-040d 1fe0fe02 increase 2 ,pdata 
-040e 6000cb2e store 1 ,mem_mouse_multi_led_blink_count 
-040f 2040074b call p_mouse_dpi_multi_led_blink 
-0410 20203d7e branch mouse_seting_dpi 
+0412 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+0413 c1000000 rtneq dpi_button_state_down 
+0414 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+0415 6800c77a fetch 1 ,mem_mouse_dpi 
+0416 1fe0fe01 increase 1 ,pdata 
+0417 1fe17e03 and pdata ,0x03 ,pdata 
+0418 6000c77a store 1 ,mem_mouse_dpi 
+0419 1fe0fe02 increase 2 ,pdata 
+041a 6000cb2e store 1 ,mem_mouse_multi_led_blink_count 
+041b 20400757 call p_mouse_dpi_multi_led_blink 
+041c 20400337 call p_mouse_store_flash_dpi 
+041d 20203d7e branch mouse_seting_dpi 
 
 p_mouse_dpi_up:
-0411 2040056b call p_gpio_set_input_pu 
-0412 20203d62 branch mouse_dpi_up 
+041e 20400577 call p_gpio_set_input_pu 
+041f 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-0413 1a627e00 copy regc ,pdata 
-0414 c00a0424 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0415 c00a8426 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0416 c0148429 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-0417 c019042b beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0418 c020042d beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0419 c002042f beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-041a c009842f beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
-041b c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
-041c c0108433 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
-041d c0008435 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-041e c001043a beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
-041f c015843d beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
-0420 c01c843f beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0421 c01d0444 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0422 c01e044b beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0423 2020417d branch mouse_priority_bb_event + 1 
+0420 1a627e00 copy regc ,pdata 
+0421 c00a0431 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0422 c00a8433 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0423 c0148436 beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+0424 c0190438 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0425 c020043a beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+0426 c002043c beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+0427 c009843c beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
+0428 c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
+0429 c0108440 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
+042a c0008442 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+042b c0010447 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
+042c c015844a beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
+042d c01c844c beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+042e c01d0451 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+042f c01e0458 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0430 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-0424 7011c5b5 jam zcode_b5 ,mem_zcode_temp_param0 
-0425 202007bb branch p_zcode_entrance 
+0431 7011c5b5 jam zcode_b5 ,mem_zcode_temp_param0 
+0432 202007c7 branch p_zcode_entrance 
 
 p_mouse_le_bb_disconnected:
-0426 20400453 call p_mouse_sensor_powerdown_check 
-0427 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0428 202007bb branch p_zcode_entrance 
+0433 20400460 call p_mouse_sensor_powerdown_check 
+0434 7011c5a2 jam zcode_a2 ,mem_zcode_temp_param0 
+0435 202007c7 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-0429 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-042a 20207d8f branch ui_ipc_send_cmd 
+0436 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0437 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-042b 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
-042c 202007bb branch p_zcode_entrance 
+0438 7011c5b3 jam zcode_b3 ,mem_zcode_temp_param0 
+0439 202007c7 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-042d 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
-042e 202007bb branch p_zcode_entrance 
+043a 7011c5a1 jam zcode_a1 ,mem_zcode_temp_param0 
+043b 202007c7 branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
-042f 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
-0430 202007bb branch p_zcode_entrance 
+043c 7011c5a3 jam zcode_a3 ,mem_zcode_temp_param0 
+043d 202007c7 branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
-0431 7011c571 jam zcode_71 ,mem_zcode_temp_param0 
-0432 202007bb branch p_zcode_entrance 
+043e 7011c571 jam zcode_71 ,mem_zcode_temp_param0 
+043f 202007c7 branch p_zcode_entrance 
 
 p_mouse_sniff_not_accept:
-0433 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
-0434 202007bb branch p_zcode_entrance 
+0440 7011c5b1 jam zcode_b1 ,mem_zcode_temp_param0 
+0441 202007c7 branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
-0435 704bba01 jam 1 ,mem_mouse_state_led_blink_flag 
-0436 704bb900 jam 0 ,mem_mouse_connected_state 
-0437 70480b00 jam 0 ,mem_mouse_send_switch_req_timer 
-0438 204002f6 call p_mouse_init_sensor_reset 
-0439 202042ca branch mouse_stop_discovery 
+0442 704bba01 jam 1 ,mem_mouse_state_led_blink_flag 
+0443 704bb900 jam 0 ,mem_mouse_connected_state 
+0444 70480b00 jam 0 ,mem_mouse_send_switch_req_timer 
+0445 204002f6 call p_mouse_init_sensor_reset 
+0446 202042ca branch mouse_stop_discovery 
 
 p_mouse_bb_event_disconnected:
-043a 20400453 call p_mouse_sensor_powerdown_check 
-043b 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
-043c 202007bb branch p_zcode_entrance 
+0447 20400460 call p_mouse_sensor_powerdown_check 
+0448 7011c5b4 jam zcode_b4 ,mem_zcode_temp_param0 
+0449 202007c7 branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
-043d 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
-043e 202007bb branch p_zcode_entrance 
+044a 7011c5b2 jam zcode_b2 ,mem_zcode_temp_param0 
+044b 202007c7 branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
-043f 704bba01 jam 1 ,mem_mouse_state_led_blink_flag 
-0440 704bb900 jam 0 ,mem_mouse_connected_state 
-0441 204002f6 call p_mouse_init_sensor_reset 
-0442 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
-0443 202007bb branch p_zcode_entrance 
+044c 704bba01 jam 1 ,mem_mouse_state_led_blink_flag 
+044d 704bb900 jam 0 ,mem_mouse_connected_state 
+044e 204002f6 call p_mouse_init_sensor_reset 
+044f 7011c592 jam zcode_92 ,mem_zcode_temp_param0 
+0450 202007c7 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
-0444 704bb901 jam 1 ,mem_mouse_connected_state 
-0445 704b2e0a jam 10 ,mem_mouse_multi_led_blink_count 
-0446 2040074b call p_mouse_dpi_multi_led_blink 
-0447 20400453 call p_mouse_sensor_powerdown_check 
-0448 704b5200 jam 0 ,mem_retry_count 
-0449 7011c5a0 jam zcode_a0 ,mem_zcode_temp_param0 
-044a 202007bb branch p_zcode_entrance 
+0451 704bb901 jam 1 ,mem_mouse_connected_state 
+0452 704b2e0a jam 10 ,mem_mouse_multi_led_blink_count 
+0453 20400757 call p_mouse_dpi_multi_led_blink 
+0454 20400460 call p_mouse_sensor_powerdown_check 
+0455 704b5200 jam 0 ,mem_retry_count 
+0456 7011c5a0 jam zcode_a0 ,mem_zcode_temp_param0 
+0457 202007c7 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
-044b 704b6700 jam 0 ,mem_mouse_long_mult_flag 
-044c 704bba01 jam 1 ,mem_mouse_state_led_blink_flag 
-044d 704bb900 jam 0 ,mem_mouse_connected_state 
-044e 204002f6 call p_mouse_init_sensor_reset 
+0458 704b6700 jam 0 ,mem_mouse_long_mult_flag 
+0459 704bba01 jam 1 ,mem_mouse_state_led_blink_flag 
+045a 704bb900 jam 0 ,mem_mouse_connected_state 
+045b 204002f6 call p_mouse_init_sensor_reset 
 
 p_mouse_24g_no_data_timer_init:
-044f 20203f8d branch mouse_no_data_timer_init 
+045c 20203f8d branch mouse_no_data_timer_init 
 
 p_mouse_before_hibernate:
-0450 20400453 call p_mouse_sensor_powerdown_check 
-0451 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
-0452 202007bb branch p_zcode_entrance 
+045d 20400460 call p_mouse_sensor_powerdown_check 
+045e 7011c5a4 jam zcode_a4 ,mem_zcode_temp_param0 
+045f 202007c7 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
-0453 6800cb00 fetch 1 ,mem_mouse_init_sensor_reset_flag 
-0454 207a0000 rtn blank 
-0455 704b0000 jam 0 ,mem_mouse_init_sensor_reset_flag 
+0460 6800cb00 fetch 1 ,mem_mouse_init_sensor_reset_flag 
+0461 207a0000 rtn blank 
+0462 704b0000 jam 0 ,mem_mouse_init_sensor_reset_flag 
 
 p_mouse_sensor_powerdown:
-0456 204002ee call p_mouse_init_sunt 
-0457 58000806 setarg 0x0806 
-0458 20206413 branch twspi_write 
+0463 204002ee call p_mouse_init_sunt 
+0464 58000806 setarg 0x0806 
+0465 20206413 branch twspi_write 
 
 p_mouse_bb_event_timer:
-0459 204004d2 call p_mouse_adc_read 
-045a 20400505 call p_mouse_low_voltage_led_timer 
-045b 20400488 call p_mouse_wheel_trigger_timer 
-045c 204004ab call p_mouse_select_device_by_button 
-045d 20404234 call mouse_check_discovery_timeout_timer 
-045e 2040423a call mouse_check_no_data_timeout_timer 
-045f 2040048d call p_mouse_g24_long_sleep_param_update_timer 
-0460 20400494 call p_mouse_g24_stop_mode_timeout_timer 
-0461 20400474 call p_mouse_check_direct_timeout_timer 
-0462 20400471 call p_mouse_le_enable_att_list_timer 
-0463 2040047a call p_mouse_le_current_mult_update_timer 
-0464 20400480 call p_le_send_smp_security_request_timer 
-0465 20400469 call p_mouse_send_switch_req_timer 
-0466 20404231 call mouse_check_hid_handshake_timer 
-0467 2040046c call p_mouse_bt_check_sniff_req_timeout_timer 
-0468 20200711 branch p_mouse_multi_led_blink_timer 
+0466 204004df call p_mouse_adc_read 
+0467 20400512 call p_mouse_low_voltage_led_timer 
+0468 20400495 call p_mouse_wheel_trigger_timer 
+0469 204004b8 call p_mouse_select_device_by_button 
+046a 20404234 call mouse_check_discovery_timeout_timer 
+046b 2040423a call mouse_check_no_data_timeout_timer 
+046c 2040049a call p_mouse_g24_long_sleep_param_update_timer 
+046d 204004a1 call p_mouse_g24_stop_mode_timeout_timer 
+046e 20400481 call p_mouse_check_direct_timeout_timer 
+046f 2040047e call p_mouse_le_enable_att_list_timer 
+0470 20400487 call p_mouse_le_current_mult_update_timer 
+0471 2040048d call p_le_send_smp_security_request_timer 
+0472 20400476 call p_mouse_send_switch_req_timer 
+0473 20404231 call mouse_check_hid_handshake_timer 
+0474 20400479 call p_mouse_bt_check_sniff_req_timeout_timer 
+0475 2020071d branch p_mouse_multi_led_blink_timer 
 
 p_mouse_send_switch_req_timer:
-0469 da60480b arg mem_mouse_send_switch_req_timer ,regc 
-046a da40637a arg host_create_conn_resend ,regb 
-046b 2020336d branch timer_single_step 
+0476 da60480b arg mem_mouse_send_switch_req_timer ,regc 
+0477 da40637a arg host_create_conn_resend ,regb 
+0478 2020336d branch timer_single_step 
 
 p_mouse_bt_check_sniff_req_timeout_timer:
-046c da604b0b arg mem_mouse_bt_send_first_package_timer ,regc 
-046d da40046f arg p_mouse_bt_send_first_package ,regb 
-046e 2020336d branch timer_single_step 
+0479 da604b0b arg mem_mouse_bt_send_first_package_timer ,regc 
+047a da40047c arg p_mouse_bt_send_first_package ,regb 
+047b 2020336d branch timer_single_step 
 
 p_mouse_bt_send_first_package:
-046f 704b0c01 jam 1 ,mem_mouse_bt_send_first_package_flag 
-0470 20600000 rtn 
+047c 704b0c01 jam 1 ,mem_mouse_bt_send_first_package_flag 
+047d 20600000 rtn 
 
 p_mouse_le_enable_att_list_timer:
-0471 da6046c6 arg mem_le_start_encrypt_timer ,regc 
-0472 da403d60 arg mouse_le_write_enable ,regb 
-0473 2020336d branch timer_single_step 
+047e da6046c6 arg mem_le_start_encrypt_timer ,regc 
+047f da403d60 arg mouse_le_write_enable ,regb 
+0480 2020336d branch timer_single_step 
 
 p_mouse_check_direct_timeout_timer:
-0474 da6046ae arg mem_mouse_direct_timer ,regc 
-0475 da400477 arg p_mouse_check_direct_timeout ,regb 
-0476 20203374 branch timer_single_step_2b 
+0481 da6046ae arg mem_mouse_direct_timer ,regc 
+0482 da400484 arg p_mouse_check_direct_timeout ,regb 
+0483 20203374 branch timer_single_step_2b 
 
 p_mouse_check_direct_timeout:
-0477 6800cb31 fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-0478 247a0000 nrtn blank 
-0479 20204266 branch mouse_check_direct_timeout 
+0484 6800cb31 fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0485 247a0000 nrtn blank 
+0486 20204266 branch mouse_check_direct_timeout 
 
 p_mouse_le_current_mult_update_timer:
-047a da604b68 arg mem_mouse_le_current_mult_timer ,regc 
-047b da40047d arg p_mouse_le_current_mult_reinit ,regb 
-047c 2020336d branch timer_single_step 
+0487 da604b68 arg mem_mouse_le_current_mult_timer ,regc 
+0488 da40048a arg p_mouse_le_current_mult_reinit ,regb 
+0489 2020336d branch timer_single_step 
 
 p_mouse_le_current_mult_reinit:
-047d 6800c7c7 fetch 1 ,mem_lpm_mult_init 
-047e 6000c172 store 1 ,mem_lpm_mult 
-047f 20600000 rtn 
+048a 6800c7c7 fetch 1 ,mem_lpm_mult_init 
+048b 6000c172 store 1 ,mem_lpm_mult 
+048c 20600000 rtn 
 
 p_le_send_smp_security_request_timer:
-0480 6800cb6a fetch 1 ,mem_mouse_le_bb_connected_flag 
-0481 207a0000 rtn blank 
-0482 da604b6b arg mem_mouse_send_secutiry_request_timer ,regc 
-0483 da400485 arg p_le_pairing_sm_start_check ,regb 
-0484 2020336d branch timer_single_step 
+048d 6800cb6a fetch 1 ,mem_mouse_le_bb_connected_flag 
+048e 207a0000 rtn blank 
+048f da604b6b arg mem_mouse_send_secutiry_request_timer ,regc 
+0490 da400492 arg p_le_pairing_sm_start_check ,regb 
+0491 2020336d branch timer_single_step 
 
 p_le_pairing_sm_start_check:
-0485 6800cb6c fetch 1 ,mem_le_send_security_request_flag 
-0486 247a0000 nrtn blank 
-0487 20205bf5 branch le_pairing_sm_start 
+0492 6800cb6c fetch 1 ,mem_le_send_security_request_flag 
+0493 247a0000 nrtn blank 
+0494 20205bf5 branch le_pairing_sm_start 
 
 p_mouse_wheel_trigger_timer:
-0488 da604809 arg mem_mouse_wheel_trigger_timer ,regc 
-0489 da40048b arg p_mouse_wheel_trigger_disable ,regb 
-048a 2020336d branch timer_single_step 
+0495 da604809 arg mem_mouse_wheel_trigger_timer ,regc 
+0496 da400498 arg p_mouse_wheel_trigger_disable ,regb 
+0497 2020336d branch timer_single_step 
 
 p_mouse_wheel_trigger_disable:
-048b 70480800 jam 0 ,mem_mouse_wheel_trigger 
-048c 20600000 rtn 
+0498 70480800 jam 0 ,mem_mouse_wheel_trigger 
+0499 20600000 rtn 
 
 p_mouse_g24_long_sleep_param_update_timer:
-048d da604b69 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 
+049a da604b69 arg mem_24g_long_sleep_param_update_timer ,regc 
+049b da40049d arg p_mouse_g24_long_sleep_normal_param ,regb 
+049c 2020336d branch timer_single_step 
 
 p_mouse_g24_long_sleep_normal_param:
-0490 58124f80 setarg g24_long_sleep_step3 
-0491 6001cc71 store 3 ,mem_24g_enter_hibernate 
+049d 58124f80 setarg g24_long_sleep_step3 
+049e 6001cc71 store 3 ,mem_24g_enter_hibernate 
 
 p_mouse_long_mult_flag_enable:
-0492 704b6701 jam 1 ,mem_mouse_long_mult_flag 
-0493 20600000 rtn 
+049f 704b6701 jam 1 ,mem_mouse_long_mult_flag 
+04a0 20600000 rtn 
 
 p_mouse_g24_stop_mode_timeout_timer:
-0494 da604d8e arg mem_24g_stop_g24_mode_timeout ,regc 
-0495 da400497 arg p_mouse_g24_stop_mode_timeout ,regb 
-0496 20203374 branch timer_single_step_2b 
+04a1 da604d8e arg mem_24g_stop_g24_mode_timeout ,regc 
+04a2 da4004a4 arg p_mouse_g24_stop_mode_timeout ,regb 
+04a3 20203374 branch timer_single_step_2b 
 
 p_mouse_g24_stop_mode_timeout:
-0497 704d8d01 jam 1 ,mem_24g_stop_g24_mode 
-0498 20600000 rtn 
+04a4 704d8d01 jam 1 ,mem_24g_stop_g24_mode 
+04a5 20600000 rtn 
 
 p_mouse_bt_discovery_timer:
-0499 da604b47 arg mem_select_ui_button_count ,regc 
-049a da40049c arg p_mouse_long_button_bt_discovery ,regb 
-049b 2020336d branch timer_single_step 
+04a6 da604b47 arg mem_select_ui_button_count ,regc 
+04a7 da4004a9 arg p_mouse_long_button_bt_discovery ,regb 
+04a8 2020336d branch timer_single_step 
 
 p_mouse_long_button_bt_discovery:
-049c 6808c720 fetcht 1 ,mem_device_flag 
-049d 6800c703 fetch 1 ,mem_24g_device_number 
-049e 98467c00 isub temp ,null 
-049f 20628000 rtn zero 
-04a0 68014682 fetch 2 ,mem_ui_state_map 
-04a1 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-04a2 2040c2d4 call mouse_stop_le_adv ,true 
-04a3 68014682 fetch 2 ,mem_ui_state_map 
-04a4 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-04a5 2040c392 call mouse_cancel_reconnect ,true 
-04a6 202043b8 branch mouse_long_button_bt_discovry 
+04a9 6808c720 fetcht 1 ,mem_device_flag 
+04aa 6800c703 fetch 1 ,mem_24g_device_number 
+04ab 98467c00 isub temp ,null 
+04ac 20628000 rtn zero 
+04ad 68014682 fetch 2 ,mem_ui_state_map 
+04ae 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+04af 2040c2d4 call mouse_stop_le_adv ,true 
+04b0 68014682 fetch 2 ,mem_ui_state_map 
+04b1 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+04b2 2040c392 call mouse_cancel_reconnect ,true 
+04b3 202043b8 branch mouse_long_button_bt_discovry 
 
 p_mouse_get_select_state:
-04a7 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-04a8 2040056b call p_gpio_set_input_pu 
-04a9 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
-04aa 2020681d branch gpio_get_bit 
+04b4 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+04b5 20400577 call p_gpio_set_input_pu 
+04b6 6808c6ed fetcht 1 ,mem_config_select_device_button_gpio 
+04b7 2020681d branch gpio_get_bit 
 
 p_mouse_select_device_by_button:
-04ab 204004a7 call p_mouse_get_select_state 
-04ac 242084b6 nbranch p_mouse_select_device_button_up ,true 
+04b8 204004b4 call p_mouse_get_select_state 
+04b9 242084c3 nbranch p_mouse_select_device_button_up ,true 
 
 p_mouse_select_device_button_down:
-04ad 20400499 call p_mouse_bt_discovery_timer 
-04ae 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-04af c1000000 rtneq pb_button_state_down 
-04b0 7046d900 jam pb_button_state_down ,mem_select_device_button_statue 
-04b1 680146a8 fetch 2 ,mem_mouse_direct_timeout 
-04b2 600146ae store 2 ,mem_mouse_direct_timer 
-04b3 18000e03 force page_length_timer ,queue 
-04b4 680140b9 fetch 2 ,mem_page_to 
-04b5 20207f08 branch timer_init 
+04ba 204004a6 call p_mouse_bt_discovery_timer 
+04bb 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+04bc c1000000 rtneq pb_button_state_down 
+04bd 7046d900 jam pb_button_state_down ,mem_select_device_button_statue 
+04be 680146a8 fetch 2 ,mem_mouse_direct_timeout 
+04bf 600146ae store 2 ,mem_mouse_direct_timer 
+04c0 18000e03 force page_length_timer ,queue 
+04c1 680140b9 fetch 2 ,mem_page_to 
+04c2 20207f08 branch timer_init 
 
 p_mouse_select_device_button_up:
-04b6 6800cb6d fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
-04b7 243a04ce nbranch p_mouse_select_button_wakeup_firstup ,blank 
-04b8 6800c6d9 fetch 1 ,mem_select_device_button_statue 
-04b9 c1008000 rtneq pb_button_state_up 
-04ba 6800cb47 fetch 1 ,mem_select_ui_button_count 
-04bb 1fe67c14 sub pdata ,20 ,null 
-04bc 244104c1 ncall p_mouse_ready_reconnection_by_button ,positive 
-04bd 6800c685 fetch 1 ,mem_ui_button_timeout 
-04be 6000cb47 store 1 ,mem_select_ui_button_count 
-04bf 7046d901 jam pb_button_state_up ,mem_select_device_button_statue 
-04c0 20600000 rtn 
+04c3 6800cb6d fetch 1 ,mem_mouse_select_device_button_wakeup_flag 
+04c4 243a04db nbranch p_mouse_select_button_wakeup_firstup ,blank 
+04c5 6800c6d9 fetch 1 ,mem_select_device_button_statue 
+04c6 c1008000 rtneq pb_button_state_up 
+04c7 6800cb47 fetch 1 ,mem_select_ui_button_count 
+04c8 1fe67c14 sub pdata ,20 ,null 
+04c9 244104ce ncall p_mouse_ready_reconnection_by_button ,positive 
+04ca 6800c685 fetch 1 ,mem_ui_button_timeout 
+04cb 6000cb47 store 1 ,mem_select_ui_button_count 
+04cc 7046d901 jam pb_button_state_up ,mem_select_device_button_statue 
+04cd 20600000 rtn 
 
 p_mouse_ready_reconnection_by_button:
-04c1 204004c7 call p_mouse_switch_device_flag 
-04c2 7041bd00 jam 0 ,mem_link_key_exists 
-04c3 20400324 call p_mouse_store_flash_device_info 
-04c4 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-04c5 c1048000 rtneq mouse_bt_discovery_button_long_down_flag 
-04c6 2020437e branch mouse_set_reconnection 
+04ce 204004d4 call p_mouse_switch_device_flag 
+04cf 7041bd00 jam 0 ,mem_link_key_exists 
+04d0 20400327 call p_mouse_store_flash_device_info 
+04d1 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+04d2 c1048000 rtneq mouse_bt_discovery_button_long_down_flag 
+04d3 2020437e branch mouse_set_reconnection 
 
 p_mouse_switch_device_flag:
-04c7 6808c720 fetcht 1 ,mem_device_flag 
-04c8 18408401 increase 1 ,temp 
-04c9 6800c6d2 fetch 1 ,mem_device_number 
-04ca 98467c00 isub temp ,null 
-04cb 244143cc ncall mouse_select_device_count_clean ,positive 
-04cc 6008c720 storet 1 ,mem_device_flag 
-04cd 20600000 rtn 
+04d4 6808c720 fetcht 1 ,mem_device_flag 
+04d5 18408401 increase 1 ,temp 
+04d6 6800c6d2 fetch 1 ,mem_device_number 
+04d7 98467c00 isub temp ,null 
+04d8 244143cc ncall mouse_select_device_count_clean ,positive 
+04d9 6008c720 storet 1 ,mem_device_flag 
+04da 20600000 rtn 
 
 p_mouse_select_button_wakeup_firstup:
-04ce 704b6d00 jam 0 ,mem_mouse_select_device_button_wakeup_flag 
-04cf 7046d901 jam pb_button_state_up ,mem_select_device_button_statue 
-04d0 704b2701 jam on ,mem_mouse_multi_led_blink_enable 
-04d1 20600000 rtn 
+04db 704b6d00 jam 0 ,mem_mouse_select_device_button_wakeup_flag 
+04dc 7046d901 jam pb_button_state_up ,mem_select_device_button_statue 
+04dd 704b2701 jam on ,mem_mouse_multi_led_blink_enable 
+04de 20600000 rtn 
 
 p_mouse_adc_read:
-04d2 6800c6ce fetch 1 ,mem_adc_read_timer 
-04d3 1fe0fe01 increase 1 ,pdata 
-04d4 6000c6ce store 1 ,mem_adc_read_timer 
-04d5 1fe67c0a sub pdata ,10 ,null 
-04d6 20610000 rtn positive 
-04d7 204068a8 call adc_init_data 
-04d8 7046ce00 jam 0 ,mem_adc_read_timer 
-04d9 204004f0 call p_adc_set_mode 
-04da 20406908 call vdd_calculate_by_mode 
-04db 1feffe03 mul32 pdata ,3 ,pdata 
-04dc d840000f arg 0x0f ,temp 
-04dd 98467e00 isub temp ,pdata 
-04de 1fe67c64 sub pdata ,0x64 ,null 
-04df 204104ed call p_mouse_vdd_decrease ,positive 
-04e0 6001470f store 2 ,mem_mouse_vdd_now_vol 
-04e1 da204709 arg mem_mouse_vdd_calculate_set ,rega 
-04e2 204004f8 call p_adc_bat_percent_lowpower_out 
-04e3 6800c231 fetch 1 ,mem_adc_power_flag 
-04e4 c280b40a bbit1 1 ,app_enter_hibernate 
-04e5 c30004e8 bbit0 0 ,p_mouse_adc_no_low_voltage 
-04e6 704aff01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-04e7 202043e7 branch mouse_adc_low_voltage 
+04df 6800c6ce fetch 1 ,mem_adc_read_timer 
+04e0 1fe0fe01 increase 1 ,pdata 
+04e1 6000c6ce store 1 ,mem_adc_read_timer 
+04e2 1fe67c0a sub pdata ,10 ,null 
+04e3 20610000 rtn positive 
+04e4 204068a8 call adc_init_data 
+04e5 7046ce00 jam 0 ,mem_adc_read_timer 
+04e6 204004fd call p_adc_set_mode 
+04e7 20406908 call vdd_calculate_by_mode 
+04e8 1feffe03 mul32 pdata ,3 ,pdata 
+04e9 d840000f arg 0x0f ,temp 
+04ea 98467e00 isub temp ,pdata 
+04eb 1fe67c64 sub pdata ,0x64 ,null 
+04ec 204104fa call p_mouse_vdd_decrease ,positive 
+04ed 6001470f store 2 ,mem_mouse_vdd_now_vol 
+04ee da204709 arg mem_mouse_vdd_calculate_set ,rega 
+04ef 20400505 call p_adc_bat_percent_lowpower_out 
+04f0 6800c231 fetch 1 ,mem_adc_power_flag 
+04f1 c280b40a bbit1 1 ,app_enter_hibernate 
+04f2 c30004f5 bbit0 0 ,p_mouse_adc_no_low_voltage 
+04f3 704aff01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+04f4 202043e7 branch mouse_adc_low_voltage 
 
 p_mouse_adc_no_low_voltage:
-04e8 204043e9 call mouse_adc_no_low_voltage 
-04e9 6800caff fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-04ea 207a0000 rtn blank 
-04eb 704aff00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-04ec 2020073f branch p_mouse_multi_led_off 
+04f5 204043e9 call mouse_adc_no_low_voltage 
+04f6 6800caff fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+04f7 207a0000 rtn blank 
+04f8 704aff00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+04f9 2020074b branch p_mouse_multi_led_off 
 
 p_mouse_vdd_decrease:
-04ed d8400005 arg 0x05 ,temp 
-04ee 98467e00 isub temp ,pdata 
-04ef 20600000 rtn 
+04fa d8400005 arg 0x05 ,temp 
+04fb 98467e00 isub temp ,pdata 
+04fc 20600000 rtn 
 
 p_adc_set_mode:
 
 p_adc_check_gpio:
-04f0 6810807b hfetch 1 ,core_gpio_pu3 
-04f1 793ffe00 set0 0 ,pdata 
-04f2 6010807b hstore 1 ,core_gpio_pu3 
-04f3 204068f4 call adc_check_gpio 
-04f4 6810807b hfetch 1 ,core_gpio_pu3 
-04f5 79207e00 set1 0 ,pdata 
-04f6 6010807b hstore 1 ,core_gpio_pu3 
-04f7 20600000 rtn 
+04fd 6810807b hfetch 1 ,core_gpio_pu3 
+04fe 793ffe00 set0 0 ,pdata 
+04ff 6010807b hstore 1 ,core_gpio_pu3 
+0500 204068f4 call adc_check_gpio 
+0501 6810807b hfetch 1 ,core_gpio_pu3 
+0502 79207e00 set1 0 ,pdata 
+0503 6010807b hstore 1 ,core_gpio_pu3 
+0504 20600000 rtn 
 
 p_adc_bat_percent_lowpower_out:
-04f8 ea240000 ifetch 8 ,rega 
-04f9 60040a9a store 8 ,mem_pdatatemp 
-04fa 68090a9c fetcht 2 ,mem_pdatatemp + 2 
-04fb 68010aa0 fetch 2 ,mem_pdatatemp + 6 
-04fc 98467c00 isub temp ,null 
-04fd 24216944 nbranch adc_set_no_power_flag ,positive 
-04fe 68090a9e fetcht 2 ,mem_pdatatemp + 4 
-04ff 98467c00 isub temp ,null 
-0500 24216940 nbranch adc_set_low_power_flag ,positive 
+0505 ea240000 ifetch 8 ,rega 
+0506 60040a9a store 8 ,mem_pdatatemp 
+0507 68090a9c fetcht 2 ,mem_pdatatemp + 2 
+0508 68010aa0 fetch 2 ,mem_pdatatemp + 6 
+0509 98467c00 isub temp ,null 
+050a 24216944 nbranch adc_set_no_power_flag ,positive 
+050b 68090a9e fetcht 2 ,mem_pdatatemp + 4 
+050c 98467c00 isub temp ,null 
+050d 24216940 nbranch adc_set_low_power_flag ,positive 
 
 p_adc_clear_low_power_flag:
-0501 6800c231 fetch 1 ,mem_adc_power_flag 
-0502 793ffe00 set0 0 ,pdata 
-0503 6000c231 store 1 ,mem_adc_power_flag 
-0504 20600000 rtn 
+050e 6800c231 fetch 1 ,mem_adc_power_flag 
+050f 793ffe00 set0 0 ,pdata 
+0510 6000c231 store 1 ,mem_adc_power_flag 
+0511 20600000 rtn 
 
 p_mouse_low_voltage_led_timer:
-0505 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-0506 c4020000 rtnbit0 mouse_low_voltage_flag 
-0507 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
-0508 1fe0fe01 pincrease 1 
-0509 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
-050a 1fe67c0a sub pdata ,10 ,null 
-050b 2441050f ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-050c 1fe67c05 sub pdata ,5 ,null 
-050d 20210511 branch p_mouse_low_voltage_led_on ,positive 
-050e 20200513 branch p_mouse_low_voltage_led_off 
+0512 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0513 c4020000 rtnbit0 mouse_low_voltage_flag 
+0514 6800c6cf fetch 1 ,mem_adc_low_volatage_led_timer_count 
+0515 1fe0fe01 pincrease 1 
+0516 6000c6cf store 1 ,mem_adc_low_volatage_led_timer_count 
+0517 1fe67c0a sub pdata ,10 ,null 
+0518 2441051c ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0519 1fe67c05 sub pdata ,5 ,null 
+051a 2021051e branch p_mouse_low_voltage_led_on ,positive 
+051b 20200520 branch p_mouse_low_voltage_led_off 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-050f 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
-0510 20600000 rtn 
+051c 7046cf01 jam 1 ,mem_adc_low_volatage_led_timer_count 
+051d 20600000 rtn 
 
 p_mouse_low_voltage_led_on:
-0511 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
-0512 2020448a branch mouse_led_set_on 
+051e 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
+051f 2020448a branch mouse_led_set_on 
 
 p_mouse_low_voltage_led_off:
-0513 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
-0514 20204480 branch mouse_led_set_off 
+0520 6800c6ef fetch 1 ,mem_config_low_voltage_alarm_gpio 
+0521 20204480 branch mouse_led_set_off 
 
 p_mouse_sensor_poweron:
-0515 20400333 call p_mouse_spi_init 
-0516 58008006 setarg 0x8006 
-0517 20406413 call twspi_write 
-0518 20002ee0 nop 12000 
-0519 da604b96 arg mem_sensor_poweron_init ,regc 
-051a 20400302 call p_sensor_wr_seq 
+0522 20400335 call p_mouse_spi_init 
+0523 58008006 setarg 0x8006 
+0524 20406413 call twspi_write 
+0525 20002ee0 nop 12000 
+0526 da604b96 arg mem_sensor_poweron_init ,regc 
+0527 20400303 call p_sensor_wr_seq 
 
 p_mouse_dpi_config:
-051b 6800c77a fetch 1 ,mem_mouse_dpi 
-051c c0ff851f bne 0xff ,p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
-051d 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-051e 6000c77a store 1 ,mem_mouse_dpi 
+0528 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0529 6000c77a store 1 ,mem_mouse_dpi 
 
 p_mouse_seting_dpi:
+052a 6800c77a fetch 1 ,mem_mouse_dpi 
+052b 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
+052c 20428536 call p_mouse_3205_dpi_recount ,zero 
 
 p_mouse_seting_sensor_type:
-051f 6800c6e0 fetch 1 ,mem_config_sensor_type 
-0520 c002053c beq p3212 ,p_mouse_seting_3212_dpi 
-0521 c003052f beq p3065_xy ,p_mouse_seting_3065xy_dpi 
-0522 c02d052f beq p_mx8650 ,p_mouse_seting_3065xy_dpi 
+052d 6800c6e0 fetch 1 ,mem_config_sensor_type 
+052e c002054b beq p3212 ,p_mouse_seting_3212_dpi 
+052f c003053b beq p3065_xy ,p_mouse_seting_3065xy_dpi 
+0530 c02d053b beq p_mx8650 ,p_mouse_seting_3065xy_dpi 
+0531 c0010545 beq ka8 ,p_mouse_seting_ka8_dpi 
 
 p_mouse_seting_3205_dpi:
-0523 6800c77a fetch 1 ,mem_mouse_dpi 
-0524 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0525 2042852a call p_mouse_3205_dpi_recount ,zero 
-0526 6800c77a fetch 1 ,mem_mouse_dpi 
-0527 c000052c beq mouse_dpi_level1 ,p_mouse_3205_set_cpi1 
-0528 c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
-0529 20203d88 branch mouse_set_cpi2 
+0532 6800c77a fetch 1 ,mem_mouse_dpi 
+0533 c0000538 beq mouse_dpi_level1 ,p_mouse_3205_set_cpi1 
+0534 c001bd8c beq mouse_dpi_level4 ,mouse_set_cpi3 
+0535 20203d88 branch mouse_set_cpi2 
 
 p_mouse_3205_dpi_recount:
-052a 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
-052b 20600000 rtn 
+0536 70477a02 jam mouse_dpi_level3 ,mem_mouse_dpi 
+0537 20600000 rtn 
 
 p_mouse_3205_set_cpi1:
-052c 6800c77f fetch 1 ,mem_320x_dpi_1 
-052d 1fe0ffff increase -1 ,pdata 
-052e 20203dbe branch mouse_p3205_dpi 
+0538 6800c77f fetch 1 ,mem_320x_dpi_1 
+0539 1fe0ffff increase -1 ,pdata 
+053a 20203dbe branch mouse_p3205_dpi 
 
 p_mouse_seting_3065xy_dpi:
-052f 6800c77a fetch 1 ,mem_mouse_dpi 
-0530 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-0531 2042852a call p_mouse_3205_dpi_recount ,zero 
-0532 6800c77a fetch 1 ,mem_mouse_dpi 
-0533 c0000538 beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
-0534 c001853a beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
+053b 6800c77a fetch 1 ,mem_mouse_dpi 
+053c c0000541 beq mouse_dpi_level1 ,p_mouse_3065xy_set_cpi1 
+053d c0018543 beq mouse_dpi_level4 ,p_mouse_3065xy_set_cpi4 
 
 p_mouse_3065xy_set_cpi3:
-0535 6800cb3c fetch 1 ,mem_3065xy_dpi_3 
+053e 6800cb3c fetch 1 ,mem_3065xy_dpi_3 
 
 p_mouse_dpi_store:
-0536 6000c6b5 store 1 ,mem_mouse_cpi_count 
-0537 20203dc1 branch mouse_p3205_dpi + 3 
+053f 6000c6b5 store 1 ,mem_mouse_cpi_count 
+0540 20203dc1 branch mouse_p3205_dpi + 3 
 
 p_mouse_3065xy_set_cpi1:
-0538 6800cb3a fetch 1 ,mem_3065xy_dpi_1 
-0539 20200536 branch p_mouse_dpi_store 
+0541 6800cb3a fetch 1 ,mem_3065xy_dpi_1 
+0542 2020053f branch p_mouse_dpi_store 
 
 p_mouse_3065xy_set_cpi4:
-053a 6800cb3d fetch 1 ,mem_3065xy_dpi_4 
-053b 20200536 branch p_mouse_dpi_store 
+0543 6800cb3d fetch 1 ,mem_3065xy_dpi_4 
+0544 2020053f branch p_mouse_dpi_store 
+
+p_mouse_seting_ka8_dpi:
+0545 6800c77a fetch 1 ,mem_mouse_dpi 
+0546 c0003d88 beq mouse_dpi_level1 ,mouse_set_cpi2 
+0547 c0018549 beq mouse_dpi_level4 ,p_mouse_ka8_set_cpi3 
+0548 20203d8e branch mouse_set_cpi4 
+
+p_mouse_ka8_set_cpi3:
+0549 58000005 setarg 5 
+054a 20203dbe branch mouse_p3205_dpi 
 
 p_mouse_seting_3212_dpi:
-053c 6800c77a fetch 1 ,mem_mouse_dpi 
-053d 1fe67c01 sub pdata ,mouse_dpi_level2 ,null 
-053e 2042852a call p_mouse_3205_dpi_recount ,zero 
-053f 6800c77a fetch 1 ,mem_mouse_dpi 
-0540 c0003d9b beq mouse_dpi_level1 ,mouse_set_p3212_cpi2 
-0541 c001bda1 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
-0542 20203d9f branch mouse_set_p3212_cpi3 
+054b 6800c77a fetch 1 ,mem_mouse_dpi 
+054c c0003d9b beq mouse_dpi_level1 ,mouse_set_p3212_cpi2 
+054d c001bda1 beq mouse_dpi_level4 ,mouse_set_p3212_cpi4 
+054e 20203d9f branch mouse_set_p3212_cpi3 
 
 p_mouse_motion:
-0543 78547c00 disable user 
-0544 58000000 setarg 0 
-0545 6003469b store 6 ,mem_mouse_x 
-0546 20403fb5 call mouse_cheak_sensor_data 
-0547 20404079 call mouse_zwheel 
-0548 2040407e call mouse_t_zwheel 
-0549 2040054c call p_mouse_key 
-054a 24740000 nrtn user 
-054b 20203fa0 branch mouse_motion + 9 
+054f 78547c00 disable user 
+0550 58000000 setarg 0 
+0551 6003469b store 6 ,mem_mouse_x 
+0552 20403fb5 call mouse_cheak_sensor_data 
+0553 20404079 call mouse_zwheel 
+0554 2040407e call mouse_t_zwheel 
+0555 20400558 call p_mouse_key 
+0556 24740000 nrtn user 
+0557 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
-054c 2040054e call p_mouse_check_key_gpio 
-054d 2020409a branch mouse_key + 1 
+0558 2040055a call p_mouse_check_key_gpio 
+0559 2020409a branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-054e da200000 arg 0 ,rega 
-054f 20400551 call p_mouse_check_lkey_gpio 
-0550 2020408e branch mouse_check_key_gpio_output 
+055a da200000 arg 0 ,rega 
+055b 2040055d call p_mouse_check_lkey_gpio 
+055c 2020408e branch mouse_check_key_gpio_output 
 
 p_mouse_check_lkey_gpio:
-0551 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0552 2040056b call p_gpio_set_input_pu 
-0553 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
-0554 2040681d call gpio_get_bit 
-0555 7920a200 setflag true ,0 ,rega 
+055d 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+055e 20400577 call p_gpio_set_input_pu 
+055f 6808c6e2 fetcht 1 ,mem_lbutton_gpio 
+0560 2040681d call gpio_get_bit 
+0561 7920a200 setflag true ,0 ,rega 
 
 p_mouse_check_rkey_gpio:
-0556 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0557 2040056b call p_gpio_set_input_pu 
-0558 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
-0559 2040681d call gpio_get_bit 
-055a 7920a201 setflag true ,1 ,rega 
+0562 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0563 20400577 call p_gpio_set_input_pu 
+0564 6808c6e3 fetcht 1 ,mem_rbutton_gpio 
+0565 2040681d call gpio_get_bit 
+0566 7920a201 setflag true ,1 ,rega 
 
 p_mouse_check_mkey_gpio:
-055b 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-055c 2040056b call p_gpio_set_input_pu 
-055d 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
-055e 2040681d call gpio_get_bit 
-055f 7920a202 setflag true ,2 ,rega 
+0567 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+0568 20400577 call p_gpio_set_input_pu 
+0569 6808c6e4 fetcht 1 ,mem_mbutton_gpio 
+056a 2040681d call gpio_get_bit 
+056b 7920a202 setflag true ,2 ,rega 
 
 p_mouse_check_bk_key_gpio:
-0560 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-0561 20400570 call p_gpio_set_input_pd 
-0562 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
-0563 2040681d call gpio_get_bit 
-0564 7d20a203 nsetflag true ,3 ,rega 
-0565 2040056b call p_gpio_set_input_pu 
+056c 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+056d 2040057c call p_gpio_set_input_pd 
+056e 6808c6e5 fetcht 1 ,mem_bk_button_gpio 
+056f 2040681d call gpio_get_bit 
+0570 7d20a203 nsetflag true ,3 ,rega 
+0571 20400577 call p_gpio_set_input_pu 
 
 p_mouse_check_fw_key_gpio:
-0566 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0567 20400570 call p_gpio_set_input_pd 
-0568 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
-0569 2040681d call gpio_get_bit 
-056a 7d20a204 nsetflag true ,4 ,rega 
+0572 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0573 2040057c call p_gpio_set_input_pd 
+0574 6808c6e6 fetcht 1 ,mem_fw_button_gpio 
+0575 2040681d call gpio_get_bit 
+0576 7d20a204 nsetflag true ,4 ,rega 
 
 p_gpio_set_input_pu:
-056b 79200407 set1 gpio_active_bit ,temp 
+0577 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pu1:
-056c d8a08078 arg core_gpio_pu0 ,contw 
-056d 20406830 call gpio_set_bit 
-056e 793f8407 set0 gpio_active_bit ,temp 
-056f 20200574 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 20200580 branch p_gpio_set_input_pd4 
 
 p_gpio_set_input_pd:
-0570 793f8407 set0 gpio_active_bit ,temp 
-0571 d8a08078 arg core_gpio_pu0 ,contw 
-0572 20406830 call gpio_set_bit 
-0573 79200407 set1 gpio_active_bit ,temp 
+057c 793f8407 set0 gpio_active_bit ,temp 
+057d d8a08078 arg core_gpio_pu0 ,contw 
+057e 20406830 call gpio_set_bit 
+057f 79200407 set1 gpio_active_bit ,temp 
 
 p_gpio_set_input_pd4:
-0574 d8a0807c arg core_gpio_pd0 ,contw 
-0575 2020680a branch gpio_set_high_impedance + 4 
+0580 d8a0807c arg core_gpio_pd0 ,contw 
+0581 2020680a branch gpio_set_high_impedance + 4 
 
 p_mouse_bb_event_discovery_btn:
-0576 280ffe26 isolate1 mark_24g ,mark 
-0577 204081d6 call p_g24_check_51cmd_stop_24g ,true 
-0578 2020426d branch mouse_bb_event_discovery_btn + 1 
+0582 280ffe26 isolate1 mark_24g ,mark 
+0583 204081d6 call p_g24_check_51cmd_stop_24g ,true 
+0584 2020426d branch mouse_bb_event_discovery_btn + 1 
 
 p_le_addr_random_config:
-0579 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
-057a 202007bb branch p_zcode_entrance 
+0585 7011c581 jam zcode_81 ,mem_zcode_temp_param0 
+0586 202007c7 branch p_zcode_entrance 
 
 p_mouse_start_discovery:
-057b 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
-057c 202007bb branch p_zcode_entrance 
+0587 7011c550 jam zcode_50 ,mem_zcode_temp_param0 
+0588 202007c7 branch p_zcode_entrance 
 
 p_le_adv_data_update:
-057d d8a0437b arg mem_le_adv_data + 11 ,contw 
-057e df200013 arg 19 ,loopcnt 
-057f 20407f01 call memcpy 
-0580 202057b8 branch le_modified_name_adv 
+0589 d8a0437b arg mem_le_adv_data + 11 ,contw 
+058a df200013 arg 19 ,loopcnt 
+058b 20407f01 call memcpy 
+058c 202057b8 branch le_modified_name_adv 
 
 p_mouse_stop_discovery:
-0581 20400739 call p_mouse_discovey_led_blink_off 
-0582 58000000 setarg 0 
-0583 600146ac store 2 ,mem_mouse_discovery_timer 
-0584 6000c714 store 1 ,mem_mouse_blink_count 
-0585 204002f6 call p_mouse_init_sensor_reset 
-0586 202042cb branch mouse_stop_discovery + 1 
+058d 20400745 call p_mouse_discovey_led_blink_off 
+058e 58000000 setarg 0 
+058f 600146ac store 2 ,mem_mouse_discovery_timer 
+0590 6000c714 store 1 ,mem_mouse_blink_count 
+0591 204002f6 call p_mouse_init_sensor_reset 
+0592 202042cb branch mouse_stop_discovery + 1 
 
 p_le_slave_match:
-0587 6800c50f fetch 1 ,mem_le_md_count 
-0588 1fe0fe01 pincrease 1 
-0589 6000c50f store 1 ,mem_le_md_count 
-058a c0065395 beq le_md_max_count ,le_slave_cont 
-058b 204055aa call le_acknowledge 
-058c 2040561e call le_prepare_tx 
-058d 20400671 call power_ctrl_start 
-058e 2020538f branch le_slave_match + 7 
+0593 6800c50f fetch 1 ,mem_le_md_count 
+0594 1fe0fe01 pincrease 1 
+0595 6000c50f store 1 ,mem_le_md_count 
+0596 c0065395 beq le_md_max_count ,le_slave_cont 
+0597 204055aa call le_acknowledge 
+0598 2040561e call le_prepare_tx 
+0599 2040067d call power_ctrl_start 
+059a 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
-058f 68008016 fetch 1 ,mem_le_ch_mapped 
-0590 1fe0fe01 increase 1 ,pdata 
-0591 60008016 store 1 ,mem_le_ch_mapped 
-0592 c1940000 rtnne 40 
-0593 70001625 jam 37 ,mem_le_ch_mapped 
-0594 20600000 rtn 
+059b 68008016 fetch 1 ,mem_le_ch_mapped 
+059c 1fe0fe01 increase 1 ,pdata 
+059d 60008016 store 1 ,mem_le_ch_mapped 
+059e c1940000 rtnne 40 
+059f 70001625 jam 37 ,mem_le_ch_mapped 
+05a0 20600000 rtn 
 
 p_le_receive_skip:
-0595 204029bb call save_rssi 
-0596 20400236 call p_rssi_signal 
-0597 202054a3 branch le_receive_skip + 2 
+05a1 204029bb call save_rssi 
+05a2 20400236 call p_rssi_signal 
+05a3 202054a3 branch le_receive_skip + 2 
 
 p_le_update_param:
-0598 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
-0599 202007bb branch p_zcode_entrance 
+05a4 7011c540 jam zcode_40 ,mem_zcode_temp_param0 
+05a5 202007c7 branch p_zcode_entrance 
 
 p_le_update_channel_map:
-059a 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
-059b 202007bb branch p_zcode_entrance 
+05a6 7011c541 jam zcode_41 ,mem_zcode_temp_param0 
+05a7 202007c7 branch p_zcode_entrance 
 
 p_le_prepare_tx:
-059c 68008456 fetch 1 ,mem_le_arq 
-059d c28285bb bbit1 wak ,p_le_prepare_tx_wak 
-059e 2040075e call power_ctrl_pac_succ_incrs 
-059f 6800c78e fetch 1 ,mem_empty_count 
-05a0 243a05a6 nbranch p_le_send_empyt ,blank 
-05a1 6800843f fetch 1 ,mem_le_state 
-05a2 c30205aa bbit0 lestate_encryption ,p_le_tx_4 
-05a3 680082da fetch 1 ,mem_le_rxbuf + 1 
-05a4 203a05aa branch p_le_tx_4 ,blank 
-05a5 20205664 branch le_send_empty 
+05a8 68008456 fetch 1 ,mem_le_arq 
+05a9 c28285c7 bbit1 wak ,p_le_prepare_tx_wak 
+05aa 2040076a call power_ctrl_pac_succ_incrs 
+05ab 6800c78e fetch 1 ,mem_empty_count 
+05ac 243a05b2 nbranch p_le_send_empyt ,blank 
+05ad 6800843f fetch 1 ,mem_le_state 
+05ae c30205b6 bbit0 lestate_encryption ,p_le_tx_4 
+05af 680082da fetch 1 ,mem_le_rxbuf + 1 
+05b0 203a05b6 branch p_le_tx_4 ,blank 
+05b1 20205664 branch le_send_empty 
 
 p_le_send_empyt:
-05a6 6800c78e fetch 1 ,mem_empty_count 
-05a7 1fe0ffff increase -1 ,pdata 
-05a8 6000c78e store 1 ,mem_empty_count 
-05a9 20205664 branch le_send_empty 
+05b2 6800c78e fetch 1 ,mem_empty_count 
+05b3 1fe0ffff increase -1 ,pdata 
+05b4 6000c78e store 1 ,mem_empty_count 
+05b5 20205664 branch le_send_empty 
 
 p_le_tx_4:
-05aa 6800c4c4 fetch 1 ,mem_le_pairing_state 
-05ab c08285ad bne flag_le_pairing_after_auth ,p_in_le_tx_4 
-05ac 70478e03 jam 3 ,mem_empty_count 
+05b6 6800c4c4 fetch 1 ,mem_le_pairing_state 
+05b7 c08285b9 bne flag_le_pairing_after_auth ,p_in_le_tx_4 
+05b8 70478e03 jam 3 ,mem_empty_count 
 
 p_in_le_tx_4:
-05ad 20405892 call le_fifo_check_nearly_full 
-05ae 205a03c3 call p_mouse_data_pull ,blank 
-05af 20205622 branch le_prepare_tx + 4 
+05b9 20405892 call le_fifo_check_nearly_full 
+05ba 205a03cf call p_mouse_data_pull ,blank 
+05bb 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
-05b0 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05b1 1fe17e03 and pdata ,0x03 ,pdata 
-05b2 c1818000 rtnne 0x03 
-05b3 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-05b4 207a0000 rtn blank 
-05b5 6800c3dd fetch 1 ,mem_le_txlen 
-05b6 207a0000 rtn blank 
-05b7 6800c3dc fetch 1 ,mem_le_txheader 
-05b8 79207e04 set1 md ,pdata 
-05b9 6000c3dc store 1 ,mem_le_txheader 
-05ba 20205650 branch le_set_md 
+05bc 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05bd 1fe17e03 and pdata ,0x03 ,pdata 
+05be c1818000 rtnne 0x03 
+05bf 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+05c0 207a0000 rtn blank 
+05c1 6800c3dd fetch 1 ,mem_le_txlen 
+05c2 207a0000 rtn blank 
+05c3 6800c3dc fetch 1 ,mem_le_txheader 
+05c4 79207e04 set1 md ,pdata 
+05c5 6000c3dc store 1 ,mem_le_txheader 
+05c6 20205650 branch le_set_md 
 
 p_le_prepare_tx_wak:
-05bb 204005b0 call p_le_check_tx_retransmit_setmd 
+05c7 204005bc call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
 
 power_ctrl_pac_succ_decrs:
-05bc 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05bd 1fe67c02 sub pdata ,2 ,null 
-05be 24410762 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-05bf 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05c0 c1000000 rtneq 0 
-05c1 1fe0ffff increase -1 ,pdata 
-05c2 6000cd7b store 1 ,mem_power_ctrl_pac_succ_cnt 
-05c3 20600000 rtn 
+05c8 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05c9 1fe67c02 sub pdata ,2 ,null 
+05ca 2441076e ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+05cb 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05cc c1000000 rtneq 0 
+05cd 1fe0ffff increase -1 ,pdata 
+05ce 6000cd7b store 1 ,mem_power_ctrl_pac_succ_cnt 
+05cf 20600000 rtn 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
-05c4 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-05c5 207a0000 rtn blank 
-05c6 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-05c7 1fe17e03 and pdata ,0x03 ,pdata 
-05c8 c1018000 rtneq 0x03 
-05c9 7046c60a jam 10 ,mem_le_start_encrypt_timer 
-05ca 20600000 rtn 
+05d0 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+05d1 207a0000 rtn blank 
+05d2 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+05d3 1fe17e03 and pdata ,0x03 ,pdata 
+05d4 c1018000 rtneq 0x03 
+05d5 7046c60a jam 10 ,mem_le_start_encrypt_timer 
+05d6 20600000 rtn 
 
 p_le_parse:
-05cb c6078000 rtnmark1 mark_old_packet 
-05cc 20405890 call le_fifo_check_full 
-05cd 247a0000 nrtn blank 
-05ce 680082d9 fetch 1 ,mem_le_rxbuf 
-05cf 1fe17e03 and pdata ,0x3 ,pdata 
-05d0 6000c50c store 1 ,mem_le_packet_llid 
-05d1 e8c08000 ifetch 1 ,contr 
-05d2 1fe17e1f and pdata ,0x1f ,pdata 
-05d3 6000c50b store 1 ,mem_le_packet_size 
-05d4 207a0000 rtn blank 
-05d5 18c27e00 copy contr ,pdata 
-05d6 6001450d store 2 ,mem_le_payload_ptr 
-05d7 6800c50c fetch 1 ,mem_le_packet_llid 
-05d8 c00185da beq llid_le_ll ,p_le_parse_ll 
-05d9 2020568d branch le_parse_l2cap 
+05d7 c6078000 rtnmark1 mark_old_packet 
+05d8 20405890 call le_fifo_check_full 
+05d9 247a0000 nrtn blank 
+05da 680082d9 fetch 1 ,mem_le_rxbuf 
+05db 1fe17e03 and pdata ,0x3 ,pdata 
+05dc 6000c50c store 1 ,mem_le_packet_llid 
+05dd e8c08000 ifetch 1 ,contr 
+05de 1fe17e1f and pdata ,0x1f ,pdata 
+05df 6000c50b store 1 ,mem_le_packet_size 
+05e0 207a0000 rtn blank 
+05e1 18c27e00 copy contr ,pdata 
+05e2 6001450d store 2 ,mem_le_payload_ptr 
+05e3 6800c50c fetch 1 ,mem_le_packet_llid 
+05e4 c00185e6 beq llid_le_ll ,p_le_parse_ll 
+05e5 2020568d branch le_parse_l2cap 
 
 p_le_parse_ll:
-05da 680082db fetch 1 ,mem_le_rxbuf + 2 
-05db c00085dd beq ll_channel_map_req ,p_le_parse_channel_map_req 
-05dc 20205c65 branch le_parse_ll + 1 
+05e6 680082db fetch 1 ,mem_le_rxbuf + 2 
+05e7 c00085e9 beq ll_channel_map_req ,p_le_parse_channel_map_req 
+05e8 20205c65 branch le_parse_ll + 1 
 
 p_le_parse_channel_map_req:
-05dd e8c28000 ifetch 5 ,contr 
-05de 6002c3ce store 5 ,mem_le_new_map 
-05df e8c10000 ifetch 2 ,contr 
-05e0 6001045f store 2 ,mem_le_instant 
-05e1 20205c8a branch le_parse_channel_map_req + 7 
+05e9 e8c28000 ifetch 5 ,contr 
+05ea 6002c3ce store 5 ,mem_le_new_map 
+05eb e8c10000 ifetch 2 ,contr 
+05ec 6001045f store 2 ,mem_le_instant 
+05ed 20205c8a branch le_parse_channel_map_req + 7 
 
 p_le_parse_l2cap:
-05e2 e8c10000 ifetch 2 ,contr 
-05e3 c00205e6 beq le_l2cap_cid_att ,p_le_parse_att 
-05e4 c0030613 beq le_l2cap_cid_smp ,p_le_parse_smp 
-05e5 20205698 branch le_parse_l2cap + 11 
+05ee e8c10000 ifetch 2 ,contr 
+05ef c00205f2 beq le_l2cap_cid_att ,p_le_parse_att 
+05f0 c003061f beq le_l2cap_cid_smp ,p_le_parse_smp 
+05f1 20205698 branch le_parse_l2cap + 11 
 
 p_le_parse_att:
-05e6 20407ea5 call store_contr 
-05e7 204005c4 call p_mouse_le_reconn_write_enable_timer_reinit 
-05e8 20407e9f call get_contr 
-05e9 e8c18000 ifetch 3 ,contr 
-05ea 60018477 store 3 ,mem_le_att_opcode 
-05eb c00805f5 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
-05ec 1fec8400 rshift8 pdata ,temp 
-05ed 18467c24 sub temp ,0x24 ,null 
-05ee 20210603 branch p_le_parse_att1 ,positive 
-05ef d84047c8 arg mem_mouse_le_uuid_sup ,temp 
-05f0 600944bc storet 2 ,mem_ui_le_uuid_table 
-05f1 204058ad call le_parse_att + 2 
-05f2 58008e7a setarg 0x8e7a 
-05f3 600144bc store 2 ,mem_ui_le_uuid_table 
-05f4 20600000 rtn 
+05f2 20407ea5 call store_contr 
+05f3 204005d0 call p_mouse_le_reconn_write_enable_timer_reinit 
+05f4 20407e9f call get_contr 
+05f5 e8c18000 ifetch 3 ,contr 
+05f6 60018477 store 3 ,mem_le_att_opcode 
+05f7 c0080601 beq attop_read_by_group_type_request ,p_le_parse_att_read_by_group_type_request 
+05f8 1fec8400 rshift8 pdata ,temp 
+05f9 18467c24 sub temp ,0x24 ,null 
+05fa 2021060f branch p_le_parse_att1 ,positive 
+05fb d84047c8 arg mem_mouse_le_uuid_sup ,temp 
+05fc 600944bc storet 2 ,mem_ui_le_uuid_table 
+05fd 204058ad call le_parse_att + 2 
+05fe 58008e7a setarg 0x8e7a 
+05ff 600144bc store 2 ,mem_ui_le_uuid_table 
+0600 20600000 rtn 
 
 p_le_parse_att_read_by_group_type_request:
-05f5 204059fa call le_parse_att_read_by_group_type_request 
-05f6 20405879 call le_fifo_get_last_tx_ptr 
-05f7 18c08c07 increase 7 ,contr 
-05f8 e8c08000 ifetch 1 ,contr 
-05f9 c1888000 rtnne attop_read_by_group_type_response 
-05fa 18c08c05 increase 5 ,contr 
-05fb e8c10000 ifetch 2 ,contr 
-05fc d8401812 arg uuid_service_hids ,temp 
-05fd 98467c00 isub temp ,null 
-05fe 24628000 nrtn zero 
-05ff 18c08dfc increase -4 ,contr 
-0600 5800002b setarg 0x2b 
-0601 e0c10000 istore 2 ,contr 
-0602 20600000 rtn 
+0601 204059fa call le_parse_att_read_by_group_type_request 
+0602 20405879 call le_fifo_get_last_tx_ptr 
+0603 18c08c07 increase 7 ,contr 
+0604 e8c08000 ifetch 1 ,contr 
+0605 c1888000 rtnne attop_read_by_group_type_response 
+0606 18c08c05 increase 5 ,contr 
+0607 e8c10000 ifetch 2 ,contr 
+0608 d8401812 arg uuid_service_hids ,temp 
+0609 98467c00 isub temp ,null 
+060a 24628000 nrtn zero 
+060b 18c08dfc increase -4 ,contr 
+060c 5800002b setarg 0x2b 
+060d e0c10000 istore 2 ,contr 
+060e 20600000 rtn 
 
 p_le_parse_att1:
-0603 c0050605 beq attop_read_request ,p_le_parse_att_read_request 
-0604 202058ad branch le_parse_att + 2 
+060f c0050611 beq attop_read_request ,p_le_parse_att_read_request 
+0610 202058ad branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0605 68090478 fetcht 2 ,mem_le_att_handle 
-0606 6800c4e9 fetch 1 ,mem_le_configuration 
-0607 c281860c bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0611 68090478 fetcht 2 ,mem_le_att_handle 
+0612 6800c4e9 fetch 1 ,mem_le_configuration 
+0613 c2818618 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0608 68010478 fetch 2 ,mem_le_att_handle 
-0609 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
-060a 68090478 fetcht 2 ,mem_le_att_handle 
-060b 202059bf branch le_send_att_read_response 
+0614 68010478 fetch 2 ,mem_le_att_handle 
+0615 c009da76 beq 0x13 ,le_send_att_error_response_notfound 
+0616 68090478 fetcht 2 ,mem_le_att_handle 
+0617 202059bf branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-060c 680144fa fetch 2 ,mem_le_pairing_handle 
-060d 98467c00 isub temp ,null 
-060e 24228608 nbranch p_le_send_att_read_response ,zero 
-060f 20405a42 call le_check_encrypt_state 
-0610 24340608 nbranch p_le_send_att_read_response ,user 
-0611 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
-0612 20205a77 branch le_send_att_error_response 
+0618 680144fa fetch 2 ,mem_le_pairing_handle 
+0619 98467c00 isub temp ,null 
+061a 24228614 nbranch p_le_send_att_read_response ,zero 
+061b 20405a42 call le_check_encrypt_state 
+061c 24340614 nbranch p_le_send_att_read_response ,user 
+061d 70047a05 jam att_err_insufficient_authentication ,mem_le_err_code 
+061e 20205a77 branch le_send_att_error_response 
 
 p_le_parse_smp:
-0613 e8c08000 ifetch 1 ,contr 
-0614 c0008617 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-0615 c0028619 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
-0616 20205af6 branch le_parse_smp + 2 
+061f e8c08000 ifetch 1 ,contr 
+0620 c0008623 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+0621 c0028625 beq smp_pairing_failed ,p_le_parse_smp_pairing_failed 
+0622 20205af6 branch le_parse_smp + 2 
 
 p_le_parse_smp_pairing_request:
-0617 704b6c01 jam 1 ,mem_le_send_security_request_flag 
-0618 20205b09 branch le_parse_smp_pairing_request 
+0623 704b6c01 jam 1 ,mem_le_send_security_request_flag 
+0624 20205b09 branch le_parse_smp_pairing_request 
 
 p_le_parse_smp_pairing_failed:
-0619 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
-061a 202007bb branch p_zcode_entrance 
+0625 7011c582 jam zcode_82 ,mem_zcode_temp_param0 
+0626 202007c7 branch p_zcode_entrance 
 
 p_le_adv_not_match:
-061b 68008016 fetch 1 ,mem_le_ch_mapped 
-061c c093d6f2 bne 39 ,le_adv_loop 
-061d 180a7e00 random pdata 
-061e d84001ff arg 0x1ff ,temp 
-061f 98417e00 iand temp ,pdata 
-0620 1fe0fefa add pdata ,250 ,pdata 
-0621 20403cbe call delay 
-0622 d8e00000 arg le_adv_interval_timer ,queue 
-0623 68014482 fetch 2 ,mem_le_adv_interval 
-0624 20207f08 branch timer_init 
+0627 68008016 fetch 1 ,mem_le_ch_mapped 
+0628 c093d6f2 bne 39 ,le_adv_loop 
+0629 180a7e00 random pdata 
+062a d84001ff arg 0x1ff ,temp 
+062b 98417e00 iand temp ,pdata 
+062c 1fe0fefa add pdata ,250 ,pdata 
+062d 20403cbe call delay 
+062e d8e00000 arg le_adv_interval_timer ,queue 
+062f 68014482 fetch 2 ,mem_le_adv_interval 
+0630 20207f08 branch timer_init 
 
 p_le_lpm_setmult:
-0625 7855fc00 disable wake 
-0626 20370628 branch p_le_lpm_set_mult_attempt ,attempt 
-0627 2436d806 nbranch le_lpm_lost ,match 
+0631 7855fc00 disable wake 
+0632 20370634 branch p_le_lpm_set_mult_attempt ,attempt 
+0633 2436d806 nbranch le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-0628 20402bcb call lpm_match 
-0629 680140c1 fetch 2 ,mem_rx_window_sniff 
-062a 6001044d store 2 ,mem_le_receive_window 
-062b 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-062c 2fe00603 compare 3 ,pdata ,3 
-062d 2420abde nbranch lpm_mult_short ,true 
-062e 202057fb branch le_lpm_set_mult_attempt + 3 
+0634 20402bcb call lpm_match 
+0635 680140c1 fetch 2 ,mem_rx_window_sniff 
+0636 6001044d store 2 ,mem_le_receive_window 
+0637 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+0638 2fe00603 compare 3 ,pdata ,3 
+0639 2420abde nbranch lpm_mult_short ,true 
+063a 202057fb branch le_lpm_set_mult_attempt + 3 
 
 p_le_mouse_bb_event_connect_complete:
-062f 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
-0630 202007bb branch p_zcode_entrance 
+063b 7011c542 jam zcode_42 ,mem_zcode_temp_param0 
+063c 202007c7 branch p_zcode_entrance 
 
 p_twspi_reset:
-0631 68108077 hfetch 1 ,core_gpio_out3 
-0632 1fe17efd and_into 0xfd ,pdata 
-0633 60108077 hstore 1 ,core_gpio_out3 
-0634 68188073 hfetcht 1 ,core_gpio_oe3 
-0635 18418402 or_into 0x2 ,temp 
-0636 60188073 hstoret 1 ,core_gpio_oe3 
-0637 204063ee call twspi_disable 
-0638 184104fd and_into 0xfd ,temp 
-0639 2000000d nop 13 
-063a 2040063e call p_twspi_enable 
-063b 60188073 hstoret 1 ,core_gpio_oe3 
-063c 20600000 rtn 
+063d 68108077 hfetch 1 ,core_gpio_out3 
+063e 1fe17efd and_into 0xfd ,pdata 
+063f 60108077 hstore 1 ,core_gpio_out3 
+0640 68188073 hfetcht 1 ,core_gpio_oe3 
+0641 18418402 or_into 0x2 ,temp 
+0642 60188073 hstoret 1 ,core_gpio_oe3 
+0643 204063ee call twspi_disable 
+0644 184104fd and_into 0xfd ,temp 
+0645 2000000d nop 13 
+0646 2040064a call p_twspi_enable 
+0647 60188073 hstoret 1 ,core_gpio_oe3 
+0648 20600000 rtn 
 
 p_spid_init:
-063d 204064dd call spid_init_common 
+0649 204064dd call spid_init_common 
 
 p_twspi_enable:
-063e 68108081 hfetch 1 ,core_gpio_sel1 
-063f 79207e00 set1 0 ,pdata 
-0640 793ffe01 set0 1 ,pdata 
-0641 793ffe03 set0 3 ,pdata 
-0642 60108081 hstore 1 ,core_gpio_sel1 
-0643 20600000 rtn 
+064a 68108081 hfetch 1 ,core_gpio_sel1 
+064b 79207e00 set1 0 ,pdata 
+064c 793ffe01 set0 1 ,pdata 
+064d 793ffe03 set0 3 ,pdata 
+064e 60108081 hstore 1 ,core_gpio_sel1 
+064f 20600000 rtn 
 
 p_page_wait_fhs_reply_ok:
-0644 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
-0645 202007bb branch p_zcode_entrance 
+0650 7011c500 jam zcode_00 ,mem_zcode_temp_param0 
+0651 202007c7 branch p_zcode_entrance 
 
 p_role_switch_master:
-0646 204021c9 call role_switch_check 
-0647 24740000 nrtn user 
+0652 204021c9 call role_switch_check 
+0653 24740000 nrtn user 
 
 p_wait_role_switch_anchor:
-0648 78547c00 disable user 
-0649 70001120 jam param_newconnto ,mem_newconnto_counter 
-064a 793f800b set0 mark_fhs_already_good ,mark 
-064b 793f802d set0 mark_role_switch_receive_fhs ,mark 
+0654 78547c00 disable user 
+0655 70001120 jam param_newconnto ,mem_newconnto_counter 
+0656 793f800b set0 mark_fhs_already_good ,mark 
+0657 793f802d set0 mark_role_switch_receive_fhs ,mark 
 
 p_roles_waitfhs_loop:
-064c 20402a4f call rf_setup_time_master_slot 
-064d 204022e6 call master_recv_packet 
-064e c5058653 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
-064f 20402455 call new_conn_timeout 
-0650 243a064c nbranch p_roles_waitfhs_loop ,blank 
-0651 c516865c bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
-0652 202021ec branch role_switch_fail_master 
+0658 20402a4f call rf_setup_time_master_slot 
+0659 204022e6 call master_recv_packet 
+065a c505865f bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
+065b 20402455 call new_conn_timeout 
+065c 243a0658 nbranch p_roles_waitfhs_loop ,blank 
+065d c5168668 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+065e 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
-0653 20402a4d call rf_setup_time_slave_slot 
-0654 d8200010 arg type_id ,type 
-0655 204022dc call master_send_packet 
-0656 7920002d set1 mark_role_switch_receive_fhs ,mark 
-0657 793f800b set0 mark_fhs_already_good ,mark 
-0658 68008077 fetch 1 ,mem_amaddr 
-0659 98000800 iforce am_addr 
-065a 70001102 jam 2 ,mem_newconnto_counter 
-065b 2020064c branch p_roles_waitfhs_loop 
+065f 20402a4d call rf_setup_time_slave_slot 
+0660 d8200010 arg type_id ,type 
+0661 204022dc call master_send_packet 
+0662 7920002d set1 mark_role_switch_receive_fhs ,mark 
+0663 793f800b set0 mark_fhs_already_good ,mark 
+0664 68008077 fetch 1 ,mem_amaddr 
+0665 98000800 iforce am_addr 
+0666 70001102 jam 2 ,mem_newconnto_counter 
+0667 20200658 branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-065c 68020165 fetch 4 ,mem_clke_bt 
-065d 1fe0fe08 pincrease 8 
-065e 60020165 store 4 ,mem_clke_bt 
-065f 202021f8 branch roles_replyto_fhs + 4 
+0668 68020165 fetch 4 ,mem_clke_bt 
+0669 1fe0fe08 pincrease 8 
+066a 60020165 store 4 ,mem_clke_bt 
+066b 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-0660 c516264d bmark1 mark_first_packet ,end_of_packet 
-0661 2020258f branch process_dmh + 1 
+066c c516264d bmark1 mark_first_packet ,end_of_packet 
+066d 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-0662 204033af call app_disconn_reason_collect_bt 
-0663 204026e9 call sniff_exit 
-0664 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
-0665 20407d86 call ui_ipc_send_event 
-0666 20405cf7 call init_lmp_work 
-0667 20404d6b call l2cap_init_work 
-0668 2020246e branch quit_connection_cont + 8 
+066e 204033af call app_disconn_reason_collect_bt 
+066f 204026e9 call sniff_exit 
+0670 700a9902 jam bt_evt_bb_disconnected ,mem_fifo_temp 
+0671 20407d86 call ui_ipc_send_event 
+0672 20405cf7 call init_lmp_work 
+0673 20404d6b call l2cap_init_work 
+0674 2020246e branch quit_connection_cont + 8 
 
 p_prepare_tx:
-0669 68008030 fetch 1 ,mem_state 
-066a 2feffe00 isolate1 state_inconn ,pdata 
-066b 2040866d call p_bt_power_ctrl ,true 
-066c 2020248a branch prepare_tx + 1 
+0675 68008030 fetch 1 ,mem_state 
+0676 2feffe00 isolate1 state_inconn ,pdata 
+0677 20408679 call p_bt_power_ctrl ,true 
+0678 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-066d 68008047 fetch 1 ,mem_arq 
-066e 2feffe03 isolate1 wack ,pdata 
-066f 204085bc call power_ctrl_pac_succ_decrs ,true 
-0670 2440875e ncall power_ctrl_pac_succ_incrs ,true 
+0679 68008047 fetch 1 ,mem_arq 
+067a 2feffe03 isolate1 wack ,pdata 
+067b 204085c8 call power_ctrl_pac_succ_decrs ,true 
+067c 2440876a ncall power_ctrl_pac_succ_incrs ,true 
 
 power_ctrl_start:
-0671 68014682 fetch 2 ,mem_ui_state_map 
-0672 c3858000 rtnbit1 ui_state_ble_adv 
-0673 c3838000 rtnbit1 ui_state_bt_reconnect 
-0674 c3830000 rtnbit1 ui_state_bt_discovery 
-0675 da204d04 arg mem_rssi_signal_buf ,rega 
-0676 20400278 call p_rssi_average 
-0677 6008cd7c storet 1 ,mem_rssi_avg_received 
-0678 58000082 setarg rssi_dis_max_24g 
-0679 c513067b bmark1 mark_24g ,power_ctrl_start_next 
-067a 58000080 setarg rssi_dis_max_ble 
+067d 68014682 fetch 2 ,mem_ui_state_map 
+067e c3858000 rtnbit1 ui_state_ble_adv 
+067f c3838000 rtnbit1 ui_state_bt_reconnect 
+0680 c3830000 rtnbit1 ui_state_bt_discovery 
+0681 da204d04 arg mem_rssi_signal_buf ,rega 
+0682 20400278 call p_rssi_average 
+0683 6008cd7c storet 1 ,mem_rssi_avg_received 
+0684 58000082 setarg rssi_dis_max_24g 
+0685 c5130687 bmark1 mark_24g ,power_ctrl_start_next 
+0686 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-067b 98467c00 isub temp ,null 
-067c 24210774 nbranch power_ctrl_txpower_incrs_force ,positive 
-067d 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-067e 1fe67c02 sub pdata ,2 ,null 
-067f 24210764 nbranch power_ctrl_txpower_decrs_check ,positive 
-0680 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0681 c0000775 beq 0 ,power_ctrl_txpower_incrs 
-0682 20600000 rtn 
+0687 98467c00 isub temp ,null 
+0688 24210780 nbranch power_ctrl_txpower_incrs_force ,positive 
+0689 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+068a 1fe67c02 sub pdata ,2 ,null 
+068b 24210770 nbranch power_ctrl_txpower_decrs_check ,positive 
+068c 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+068d c0000781 beq 0 ,power_ctrl_txpower_incrs 
+068e 20600000 rtn 
 
 p_slave_conn_recv_packet:
-0683 204024f0 call slave_receive_master_slot 
-0684 242c28f9 nbranch shutdown_radio ,sync 
-0685 204029bb call save_rssi 
-0686 20400236 call p_rssi_signal 
-0687 20202518 branch slave_conn_recv_packet + 4 
+068f 204024f0 call slave_receive_master_slot 
+0690 242c28f9 nbranch shutdown_radio ,sync 
+0691 204029bb call save_rssi 
+0692 20400236 call p_rssi_signal 
+0693 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-0688 c6130000 rtnmark1 mark_24g 
-0689 20402afa call lpo_calibration 
-068a 6801c16f fetch 3 ,mem_clks_per_lpo 
-068b 207a0000 rtn blank 
-068c 6800c091 fetch 1 ,mem_lpm_mode 
-068d 207a0000 rtn blank 
-068e 6800cb2f fetch 1 ,mem_mouse_multi_led_on_timer 
-068f 247a0000 nrtn blank 
-0690 6800c65a fetch 1 ,mem_ssp_enable 
-0691 203a0694 branch p_lpm_dispatch_next ,blank 
-0692 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-0693 207a0000 rtn blank 
+0694 c6130000 rtnmark1 mark_24g 
+0695 20402afa call lpo_calibration 
+0696 6801c16f fetch 3 ,mem_clks_per_lpo 
+0697 207a0000 rtn blank 
+0698 6800c091 fetch 1 ,mem_lpm_mode 
+0699 207a0000 rtn blank 
+069a 6800cb2f fetch 1 ,mem_mouse_multi_led_on_timer 
+069b 247a0000 nrtn blank 
+069c 6800c65a fetch 1 ,mem_ssp_enable 
+069d 203a06a0 branch p_lpm_dispatch_next ,blank 
+069e 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+069f 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0694 6800c4c0 fetch 1 ,mem_le_sc_calc 
-0695 247a0000 nrtn blank 
-0696 20402c3a call lpm_check_wake_lock 
-0697 247a0000 nrtn blank 
-0698 6800c040 fetch 1 ,mem_context 
-0699 2fe00e03 compare 3 ,pdata ,0x7 
-069a 2420ab9d nbranch lpm_dispatch_unconn ,true 
-069b 68014042 fetch 2 ,mem_context + coffset_tsniff 
-069c d840ffff arg 0xffff ,temp 
-069d 98467c00 isub temp ,null 
-069e 20628000 rtn zero 
-069f 20202b7d branch lpm_dispatch_next + 9 
+06a0 6800c4c0 fetch 1 ,mem_le_sc_calc 
+06a1 247a0000 nrtn blank 
+06a2 20402c3a call lpm_check_wake_lock 
+06a3 247a0000 nrtn blank 
+06a4 6800c040 fetch 1 ,mem_context 
+06a5 2fe00e03 compare 3 ,pdata ,0x7 
+06a6 2420ab9d nbranch lpm_dispatch_unconn ,true 
+06a7 68014042 fetch 2 ,mem_context + coffset_tsniff 
+06a8 d840ffff arg 0xffff ,temp 
+06a9 98467c00 isub temp ,null 
+06aa 20628000 rtn zero 
+06ab 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-06a0 7855fc00 disable wake 
-06a1 68008030 fetch 1 ,mem_state 
-06a2 c4008000 rtnbit0 state_insniff 
-06a3 2436abd0 nbranch lpm_not_match ,match 
-06a4 20402bcb call lpm_match 
-06a5 680140c1 fetch 2 ,mem_rx_window_sniff 
-06a6 6001003e store 2 ,mem_rx_window 
-06a7 68008047 fetch 1 ,mem_arq 
-06a8 c281abde bbit1 wack ,lpm_mult_short 
-06a9 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-06aa 20405274 call l2cap_malloc_is_fifo_empty 
-06ab 243a2bde nbranch lpm_mult_short ,blank 
-06ac 205a06ae call p_lpm_set_attemp_timeout ,blank 
-06ad 20202bbe branch lpm_set_mult + 13 
+06ac 7855fc00 disable wake 
+06ad 68008030 fetch 1 ,mem_state 
+06ae c4008000 rtnbit0 state_insniff 
+06af 2436abd0 nbranch lpm_not_match ,match 
+06b0 20402bcb call lpm_match 
+06b1 680140c1 fetch 2 ,mem_rx_window_sniff 
+06b2 6001003e store 2 ,mem_rx_window 
+06b3 68008047 fetch 1 ,mem_arq 
+06b4 c281abde bbit1 wack ,lpm_mult_short 
+06b5 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+06b6 20405274 call l2cap_malloc_is_fifo_empty 
+06b7 243a2bde nbranch lpm_mult_short ,blank 
+06b8 205a06ba call p_lpm_set_attemp_timeout ,blank 
+06b9 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-06ae 70008a01 jam 1 ,mem_current_sniff_attempt 
-06af 70008b00 jam 0 ,mem_current_sniff_timeout 
-06b0 20600000 rtn 
+06ba 70008a01 jam 1 ,mem_current_sniff_attempt 
+06bb 70008b00 jam 0 ,mem_current_sniff_timeout 
+06bc 20600000 rtn 
 
 p_mouse_bb_disconnected:
-06b1 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
-06b2 247a0000 nrtn blank 
-06b3 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
-06b4 202007bb branch p_zcode_entrance 
+06bd 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
+06be 247a0000 nrtn blank 
+06bf 7011c510 jam zcode_10 ,mem_zcode_temp_param0 
+06c0 202007c7 branch p_zcode_entrance 
 
 p_hid_rx_process:
-06b5 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
-06b6 202007bb branch p_zcode_entrance 
+06c1 7011c511 jam zcode_11 ,mem_zcode_temp_param0 
+06c2 202007c7 branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-06b7 68008552 fetch 1 ,mem_rxbuf + 1 
-06b8 600084c9 store 1 ,mem_lmi_accepted_opcode 
-06b9 c00986bb beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-06ba 20205db4 branch parse_lmp_accepted + 3 
+06c3 68008552 fetch 1 ,mem_rxbuf + 1 
+06c4 600084c9 store 1 ,mem_lmi_accepted_opcode 
+06c5 c00986c7 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+06c6 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-06bb 20405dcf call parse_lmp_accepted_switch 
-06bc 704b0101 jam 1 ,mem_bt_rcvd_switch_req_accept 
-06bd 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06be 207a0000 rtn blank 
-06bf 704b0302 jam 2 ,mem_bt_send_lmp_setup_complete 
-06c0 20600000 rtn 
+06c7 20405dcf call parse_lmp_accepted_switch 
+06c8 704b0101 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06c9 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06ca 207a0000 rtn blank 
+06cb 704b0302 jam 2 ,mem_bt_send_lmp_setup_complete 
+06cc 20600000 rtn 
 
 p_send_lmp:
-06c1 78547c00 disable user 
-06c2 204062c1 call lmo_fifo_process 
-06c3 68008048 fetch 1 ,mem_lmp_to_send 
-06c4 207a0000 rtn blank 
-06c5 c28386cb bbit1 7 ,p_send_lmp_escape 
-06c6 c00186cd beq lmp_accepted ,p_send_lmp_accepted 
-06c7 c01886d1 beq lmp_setup_complete ,p_send_lmp_setup_complete 
-06c8 c00b86d3 beq lmp_sniff_req ,p_send_lmp_sniff_req 
-06c9 c00386cf beq lmp_detach ,p_send_lmp_detach 
-06ca 20206010 branch send_lmp0 
+06cd 78547c00 disable user 
+06ce 204062c1 call lmo_fifo_process 
+06cf 68008048 fetch 1 ,mem_lmp_to_send 
+06d0 207a0000 rtn blank 
+06d1 c28386d7 bbit1 7 ,p_send_lmp_escape 
+06d2 c00186d9 beq lmp_accepted ,p_send_lmp_accepted 
+06d3 c01886dd beq lmp_setup_complete ,p_send_lmp_setup_complete 
+06d4 c00b86df beq lmp_sniff_req ,p_send_lmp_sniff_req 
+06d5 c00386db beq lmp_detach ,p_send_lmp_detach 
+06d6 20206010 branch send_lmp0 
 
 p_send_lmp_escape:
-06cb 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
-06cc 202007bb branch p_zcode_entrance 
+06d7 7011c520 jam zcode_20 ,mem_zcode_temp_param0 
+06d8 202007c7 branch p_zcode_entrance 
 
 p_send_lmp_accepted:
-06cd 7011c521 jam zcode_21 ,mem_zcode_temp_param0 
-06ce 202007bb branch p_zcode_entrance 
+06d9 7011c521 jam zcode_21 ,mem_zcode_temp_param0 
+06da 202007c7 branch p_zcode_entrance 
 
 p_send_lmp_detach:
-06cf 7011c522 jam zcode_22 ,mem_zcode_temp_param0 
-06d0 202007bb branch p_zcode_entrance 
+06db 7011c522 jam zcode_22 ,mem_zcode_temp_param0 
+06dc 202007c7 branch p_zcode_entrance 
 
 p_send_lmp_setup_complete:
-06d1 704b0301 jam 1 ,mem_bt_send_lmp_setup_complete 
-06d2 202061c3 branch send_lmp_setup_complete 
+06dd 704b0301 jam 1 ,mem_bt_send_lmp_setup_complete 
+06de 202061c3 branch send_lmp_setup_complete 
 
 p_send_lmp_sniff_req:
-06d3 704b0b04 jam 4 ,mem_mouse_bt_send_first_package_timer 
-06d4 202061a4 branch send_lmp_sniff_req 
+06df 704b0b04 jam 4 ,mem_mouse_bt_send_first_package_timer 
+06e0 202061a4 branch send_lmp_sniff_req 
 
 p_process_conn_sm:
-06d5 204062bc call lmo_fifo_check 
-06d6 247a0000 nrtn blank 
+06e1 204062bc call lmo_fifo_check 
+06e2 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06d7 68008055 fetch 1 ,mem_conn_sm 
-06d8 207a0000 rtn blank 
-06d9 c00206f7 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06da c00806dc beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06db 20206320 branch process_conn_sm_continue + 2 
+06e3 68008055 fetch 1 ,mem_conn_sm 
+06e4 207a0000 rtn blank 
+06e5 c0020703 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06e6 c00806e8 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06e7 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06dc 6800c55b fetch 1 ,mem_switch_flag 
-06dd c1000000 rtneq switch_flag_init 
-06de c00086e0 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06df 2020635f branch host_creat_conn_wait_switch + 3 
+06e8 6800c55b fetch 1 ,mem_switch_flag 
+06e9 c1000000 rtneq switch_flag_init 
+06ea c00086ec beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06eb 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06e0 20748000 rtn master 
+06ec 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06e1 6800816d fetch 1 ,mem_connection_options 
-06e2 c28006e4 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06e3 20206399 branch host_create_conn_auth_pair + 1 
+06ed 6800816d fetch 1 ,mem_connection_options 
+06ee c28006f0 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06ef 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06e4 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06e5 c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06e6 6800c1bd fetch 1 ,mem_link_key_exists 
-06e7 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06e8 680084d1 fetch 1 ,mem_lmp_conn_state 
-06e9 c4018000 rtnbit0 sent_setup_complete 
-06ea c4010000 rtnbit0 received_setup_complete 
-06eb 6800cb02 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ec 207a0000 rtn blank 
-06ed 704b0200 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ee 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06ef d8400014 arg 20 ,temp 
-06f0 98408400 iadd temp ,temp 
-06f1 1c427e00 copy clkn_bt ,pdata 
-06f2 98467c00 isub temp ,null 
-06f3 242106f5 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06f4 20206349 branch host_create_conn_auth 
+06f0 6800cb03 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06f1 c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06f2 6800c1bd fetch 1 ,mem_link_key_exists 
+06f3 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+06f4 680084d1 fetch 1 ,mem_lmp_conn_state 
+06f5 c4018000 rtnbit0 sent_setup_complete 
+06f6 c4010000 rtnbit0 received_setup_complete 
+06f7 6800cb02 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06f8 207a0000 rtn blank 
+06f9 704b0200 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+06fa 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+06fb d8400014 arg 20 ,temp 
+06fc 98408400 iadd temp ,temp 
+06fd 1c427e00 copy clkn_bt ,pdata 
+06fe 98467c00 isub temp ,null 
+06ff 24210701 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+0700 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-06f5 704b0201 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06f6 20600000 rtn 
+0701 704b0201 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+0702 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06f7 70480b14 jam 20 ,mem_mouse_send_switch_req_timer 
-06f8 2020636f branch host_create_conn_send_conn_req 
+0703 70480b14 jam 20 ,mem_mouse_send_switch_req_timer 
+0704 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06f9 204062bc call lmo_fifo_check 
-06fa 243a7ddb nbranch check_51cmd_restore ,blank 
-06fb 68008a99 fetch 1 ,mem_fifo_temp 
-06fc c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06fd c00f8704 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06fe c0100707 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06ff c0090701 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-0700 20207dca branch check_51cmd_once_continue + 2 
+0705 204062bc call lmo_fifo_check 
+0706 243a7ddb nbranch check_51cmd_restore ,blank 
+0707 68008a99 fetch 1 ,mem_fifo_temp 
+0708 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+0709 c00f8710 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+070a c0100713 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+070b c009070d beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+070c 20207dca branch check_51cmd_once_continue + 2 
 
 p_check_51cmd_ble_update_connect_param:
-0701 20405890 call le_fifo_check_full 
-0702 247a0000 nrtn blank 
-0703 20205abf branch le_l2cap_tx_update_req 
+070d 20405890 call le_fifo_check_full 
+070e 247a0000 nrtn blank 
+070f 20205abf branch le_l2cap_tx_update_req 
 
 p_flash_store_le_reconn_info:
-0704 70018534 jam rec_4_mode ,mem_record_bt_mode 
-0705 6803044f fetch 6 ,mem_le_plap 
-0706 20200709 branch p_flash_store_reconn_info 
+0710 70018534 jam rec_4_mode ,mem_record_bt_mode 
+0711 6803044f fetch 6 ,mem_le_plap 
+0712 20200715 branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-0707 70018533 jam rec_3_mode ,mem_record_bt_mode 
-0708 68030040 fetch 6 ,mem_plap 
+0713 70018533 jam rec_3_mode ,mem_record_bt_mode 
+0714 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-0709 60030186 store 6 ,mem_temp_lap 
+0715 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-070a 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-070b c4038000 rtnbit0 mouse_store_eeprom_flag 
-070c d8e00007 arg mouse_store_eeprom_flag ,queue 
-070d 204043d2 call mouse_disable_function_flag 
-070e 204042e8 call mouse_check_device_addr 
+0716 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+0717 c4038000 rtnbit0 mouse_store_eeprom_flag 
+0718 d8e00007 arg mouse_store_eeprom_flag ,queue 
+0719 204043d2 call mouse_disable_function_flag 
+071a 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-070f 204042fb call mouse_before_store_reconn_info 
-0710 20200324 branch p_mouse_store_flash_device_info 
+071b 204042fb call mouse_before_store_reconn_info 
+071c 20200327 branch p_mouse_store_flash_device_info 
 
 p_mouse_multi_led_blink_timer:
-0711 6800cb27 fetch 1 ,mem_mouse_multi_led_blink_enable 
-0712 207a0000 rtn blank 
-0713 6800cb2a fetch 1 ,mem_mouse_multi_led_type 
-0714 c0000717 beq multi_led_on ,p_mouse_multi_led_type_on 
-0715 c0008721 beq multi_led_blink ,p_mouse_multi_led_type_blink 
-0716 20600000 rtn 
+071d 6800cb27 fetch 1 ,mem_mouse_multi_led_blink_enable 
+071e 207a0000 rtn blank 
+071f 6800cb2a fetch 1 ,mem_mouse_multi_led_type 
+0720 c0000723 beq multi_led_on ,p_mouse_multi_led_type_on 
+0721 c000872d beq multi_led_blink ,p_mouse_multi_led_type_blink 
+0722 20600000 rtn 
 
 p_mouse_multi_led_type_on:
-0717 20400731 call p_mouse_multi_led_on 
-0718 6800cb2f fetch 1 ,mem_mouse_multi_led_on_timer 
-0719 1fe0fe01 increase 1 ,pdata 
-071a 6000cb2f store 1 ,mem_mouse_multi_led_on_timer 
-071b 6808cb2b fetcht 1 ,mem_mouse_multi_led_on_timer_init 
-071c 98467c00 isub temp ,null 
-071d 2042871f call p_mouse_multi_led_off_poweron2s ,zero 
-071e 20600000 rtn 
+0723 2040073d call p_mouse_multi_led_on 
+0724 6800cb2f fetch 1 ,mem_mouse_multi_led_on_timer 
+0725 1fe0fe01 increase 1 ,pdata 
+0726 6000cb2f store 1 ,mem_mouse_multi_led_on_timer 
+0727 6808cb2b fetcht 1 ,mem_mouse_multi_led_on_timer_init 
+0728 98467c00 isub temp ,null 
+0729 2042872b call p_mouse_multi_led_off_poweron2s ,zero 
+072a 20600000 rtn 
 
 p_mouse_multi_led_off_poweron2s:
-071f 704b3100 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0720 2020073f branch p_mouse_multi_led_off 
+072b 704b3100 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+072c 2020074b branch p_mouse_multi_led_off 
 
 p_mouse_multi_led_type_blink:
-0721 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_timer 
-0722 1fe0ffff increase -1 ,pdata 
-0723 6000cb2d store 1 ,mem_mouse_multi_led_blink_timer 
-0724 247a0000 nrtn blank 
-0725 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
-0726 6000cb2d store 1 ,mem_mouse_multi_led_blink_timer 
-0727 6800cb30 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
-0728 203a072d branch p_mouse_multi_led_blink_count_no_limited ,blank 
-0729 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
-072a 203a073d branch p_mouse_multi_led_blink_off ,blank 
-072b 1fe0ffff increase -1 ,pdata 
-072c 6000cb2e store 1 ,mem_mouse_multi_led_blink_count 
+072d 6800cb2d fetch 1 ,mem_mouse_multi_led_blink_timer 
+072e 1fe0ffff increase -1 ,pdata 
+072f 6000cb2d store 1 ,mem_mouse_multi_led_blink_timer 
+0730 247a0000 nrtn blank 
+0731 6800cb2c fetch 1 ,mem_mouse_multi_led_blink_timer_init 
+0732 6000cb2d store 1 ,mem_mouse_multi_led_blink_timer 
+0733 6800cb30 fetch 1 ,mem_mouse_multi_led_blink_count_limited 
+0734 203a0739 branch p_mouse_multi_led_blink_count_no_limited ,blank 
+0735 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
+0736 203a0749 branch p_mouse_multi_led_blink_off ,blank 
+0737 1fe0ffff increase -1 ,pdata 
+0738 6000cb2e store 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_count_no_limited:
-072d 6800cb29 fetch 1 ,mem_mouse_multi_led_state 
-072e c000873f beq on ,p_mouse_multi_led_off 
-072f c0000731 beq off ,p_mouse_multi_led_on 
-0730 20600000 rtn 
+0739 6800cb29 fetch 1 ,mem_mouse_multi_led_state 
+073a c000874b beq on ,p_mouse_multi_led_off 
+073b c000073d beq off ,p_mouse_multi_led_on 
+073c 20600000 rtn 
 
 p_mouse_multi_led_on:
-0731 704b2901 jam on ,mem_mouse_multi_led_state 
-0732 6800c720 fetch 1 ,mem_device_flag 
-0733 c0008737 beq 1 ,p_mouse_multi_24g_led_on 
-0734 c0010736 beq 2 ,p_mouse_multi_bt_led_on 
-0735 20200738 branch p_mouse_multi_ble_led_on 
+073d 704b2901 jam on ,mem_mouse_multi_led_state 
+073e 6800c720 fetch 1 ,mem_device_flag 
+073f c0008743 beq 1 ,p_mouse_multi_24g_led_on 
+0740 c0010742 beq 2 ,p_mouse_multi_bt_led_on 
+0741 20200744 branch p_mouse_multi_ble_led_on 
 
 p_mouse_multi_bt_led_on:
-0736 2020448c branch mouse_device2_led_on 
+0742 2020448c branch mouse_device2_led_on 
 
 p_mouse_multi_24g_led_on:
-0737 20204489 branch mouse_device1_led_on 
+0743 20204489 branch mouse_device1_led_on 
 
 p_mouse_multi_ble_led_on:
-0738 2020448f branch mouse_device3_led_on 
+0744 2020448f branch mouse_device3_led_on 
 
 p_mouse_discovey_led_blink_off:
-0739 6800cb2f fetch 1 ,mem_mouse_multi_led_on_timer 
-073a 247a0000 nrtn blank 
-073b 6800cb31 fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-073c 247a0000 nrtn blank 
+0745 6800cb2f fetch 1 ,mem_mouse_multi_led_on_timer 
+0746 247a0000 nrtn blank 
+0747 6800cb31 fetch 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+0748 247a0000 nrtn blank 
 
 p_mouse_multi_led_blink_off:
-073d 58000000 setarg 0 
-073e 6001cb2d store 3 ,mem_mouse_multi_led_blink_timer 
+0749 58000000 setarg 0 
+074a 6001cb2d store 3 ,mem_mouse_multi_led_blink_timer 
 
 p_mouse_multi_led_off:
-073f 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
-0740 243a0743 nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
-0741 704b2700 jam 0 ,mem_mouse_multi_led_blink_enable 
-0742 704b2a00 jam 0 ,mem_mouse_multi_led_type 
+074b 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
+074c 243a074f nbranch p_mouse_multi_led_off_wait_blink_over ,blank 
+074d 704b2700 jam 0 ,mem_mouse_multi_led_blink_enable 
+074e 704b2a00 jam 0 ,mem_mouse_multi_led_type 
 
 p_mouse_multi_led_off_wait_blink_over:
-0743 704b2f00 jam 0 ,mem_mouse_multi_led_on_timer 
-0744 704b2900 jam off ,mem_mouse_multi_led_state 
-0745 20404483 call mouse_devce_led_off + 1 
-0746 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
-0747 247a0000 nrtn blank 
-0748 6800cbb9 fetch 1 ,mem_mouse_connected_state 
-0749 243a340a nbranch app_enter_hibernate ,blank 
-074a 20600000 rtn 
+074f 704b2f00 jam 0 ,mem_mouse_multi_led_on_timer 
+0750 704b2900 jam off ,mem_mouse_multi_led_state 
+0751 20404483 call mouse_devce_led_off + 1 
+0752 6800cb2e fetch 1 ,mem_mouse_multi_led_blink_count 
+0753 247a0000 nrtn blank 
+0754 6800cbb9 fetch 1 ,mem_mouse_connected_state 
+0755 243a340a nbranch app_enter_hibernate ,blank 
+0756 20600000 rtn 
 
 p_mouse_dpi_multi_led_blink:
-074b 704b2c03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-074c 704b3001 jam 1 ,mem_mouse_multi_led_blink_count_limited 
-074d 20200757 branch p_mouse_multi_led_blink_enable 
+0757 704b2c03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+0758 704b3001 jam 1 ,mem_mouse_multi_led_blink_count_limited 
+0759 20200763 branch p_mouse_multi_led_blink_enable 
 
 p_mouse_mode_bt_device_multi_led_on:
 
 p_mouse_mode_24g_device_multi_led_on:
-074e 704b3101 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
-074f 704b2701 jam on ,mem_mouse_multi_led_blink_enable 
-0750 704b2a00 jam multi_led_on ,mem_mouse_multi_led_type 
-0751 704b2f00 jam 0 ,mem_mouse_multi_led_on_timer 
-0752 20600000 rtn 
+075a 704b3101 jam 1 ,mem_mouse_multi_led_on_poweron2s_flag 
+075b 704b2701 jam on ,mem_mouse_multi_led_blink_enable 
+075c 704b2a00 jam multi_led_on ,mem_mouse_multi_led_type 
+075d 704b2f00 jam 0 ,mem_mouse_multi_led_on_timer 
+075e 20600000 rtn 
 
 p_mouse_discovery_multi_led_blink:
-0753 704b3100 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
-0754 704b2c03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
-0755 704b3000 jam 0 ,mem_mouse_multi_led_blink_count_limited 
-0756 704b2e01 jam 1 ,mem_mouse_multi_led_blink_count 
+075f 704b3100 jam 0 ,mem_mouse_multi_led_on_poweron2s_flag 
+0760 704b2c03 jam 3 ,mem_mouse_multi_led_blink_timer_init 
+0761 704b3000 jam 0 ,mem_mouse_multi_led_blink_count_limited 
+0762 704b2e01 jam 1 ,mem_mouse_multi_led_blink_count 
 
 p_mouse_multi_led_blink_enable:
-0757 704b2d05 jam 5 ,mem_mouse_multi_led_blink_timer 
-0758 704b2701 jam on ,mem_mouse_multi_led_blink_enable 
-0759 704b2a01 jam multi_led_blink ,mem_mouse_multi_led_type 
-075a 20600000 rtn 
+0763 704b2d05 jam 5 ,mem_mouse_multi_led_blink_timer 
+0764 704b2701 jam on ,mem_mouse_multi_led_blink_enable 
+0765 704b2a01 jam multi_led_blink ,mem_mouse_multi_led_type 
+0766 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_init:
-075b 704d7e01 jam 1 ,mem_power_ctrl_level 
-075c 704d7b00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-075d 20600000 rtn 
+0767 704d7e01 jam 1 ,mem_power_ctrl_level 
+0768 704d7b00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0769 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-075e 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-075f 1fe0fe01 increase 1 ,pdata 
-0760 6000cd7b store 1 ,mem_power_ctrl_pac_succ_cnt 
-0761 20600000 rtn 
+076a 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+076b 1fe0fe01 increase 1 ,pdata 
+076c 6000cd7b store 1 ,mem_power_ctrl_pac_succ_cnt 
+076d 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-0762 704d7b03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-0763 20600000 rtn 
+076e 704d7b03 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+076f 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0764 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0765 c1900000 rtnne 32 
-0766 704d7b00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0770 6800cd7b fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0771 c1900000 rtnne 32 
+0772 704d7b00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0767 6808cd7c fetcht 1 ,mem_rssi_avg_received 
-0768 58000077 setarg rssi_dis_min_24g 
-0769 c513076b bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-076a 58000075 setarg rssi_dis_min_ble 
+0773 6808cd7c fetcht 1 ,mem_rssi_avg_received 
+0774 58000077 setarg rssi_dis_min_24g 
+0775 c5130777 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0776 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-076b 98467c00 isub temp ,null 
-076c 24610000 nrtn positive 
-076d 6800cd7e fetch 1 ,mem_power_ctrl_level 
-076e c000077c beq 0 ,power_ctrl_decrs_level0 
-076f 1fe0ffff increase -1 ,pdata 
-0770 6000cd7e store 1 ,mem_power_ctrl_level 
-0771 c000077c beq 0 ,power_ctrl_decrs_level0 
+0777 98467c00 isub temp ,null 
+0778 24610000 nrtn positive 
+0779 6800cd7e fetch 1 ,mem_power_ctrl_level 
+077a c0000788 beq 0 ,power_ctrl_decrs_level0 
+077b 1fe0ffff increase -1 ,pdata 
+077c 6000cd7e store 1 ,mem_power_ctrl_level 
+077d c0000788 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0772 7041de00 jam tx_power_0db ,mem_tx_power 
-0773 20600000 rtn 
+077e 7041de00 jam tx_power_0db ,mem_tx_power 
+077f 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0774 704d7b00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0780 704d7b00 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0775 6800cd7e fetch 1 ,mem_power_ctrl_level 
-0776 c001077a beq 2 ,power_ctrl_incrs_level2 
-0777 1fe0fe01 increase 1 ,pdata 
-0778 6000cd7e store 1 ,mem_power_ctrl_level 
-0779 c0008772 beq 1 ,power_ctrl_incrs_level1 
+0781 6800cd7e fetch 1 ,mem_power_ctrl_level 
+0782 c0010786 beq 2 ,power_ctrl_incrs_level2 
+0783 1fe0fe01 increase 1 ,pdata 
+0784 6000cd7e store 1 ,mem_power_ctrl_level 
+0785 c000877e beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-077a 7041de02 jam tx_power_5db ,mem_tx_power 
-077b 20600000 rtn 
+0786 7041de02 jam tx_power_5db ,mem_tx_power 
+0787 20600000 rtn 
 
 power_ctrl_decrs_level0:
-077c 7041de04 jam tx_power_f5db ,mem_tx_power 
-077d 20600000 rtn 
+0788 7041de04 jam tx_power_f5db ,mem_tx_power 
+0789 20600000 rtn 
 
 p_set_freq_tx:
-077e 60088017 storet 1 ,mem_last_freq 
-077f 1840a200 add temp ,0 ,rega 
-0780 20402981 call rf_write_freq 
-0781 58000500 setarg param_pll_setup 
-0782 20402a8f call sleep 
+078a 60088017 storet 1 ,mem_last_freq 
+078b 1840a200 add temp ,0 ,rega 
+078c 20402981 call rf_write_freq 
+078d 58000500 setarg param_pll_setup 
+078e 20402a8f call sleep 
 
 p_rf_tx_enable:
-0783 70890601 jam 0x1 ,rfen_adc 
-0784 7089003c jam 0x3c ,rfen_rx 
-0785 708901e0 jam 0xe0 ,rfen_tx 
-0786 2000000a nop 10 
-0787 70890201 jam 0x01 ,rfen_mdm 
-0788 7089023d jam 0x3d ,rfen_mdm 
-0789 2000000a nop 10 
-078a 708903b7 jam 0xb7 ,rfen_sn 
-078b 2000000a nop 10 
-078c 7089027d jam 0x7d ,rfen_mdm 
-078d 6800c1de fetch 1 ,mem_tx_power 
-078e c0010797 beq tx_power_5db ,p_set_tx_power_5db 
-078f c001879c beq tx_power_f3db ,p_set_tx_power_f3db 
-0790 c00207a4 beq tx_power_f5db ,p_set_tx_power_f5db 
-0791 c01007b3 beq tx_power_pair ,p_set_tx_power_pair 
+078f 70890601 jam 0x1 ,rfen_adc 
+0790 7089003c jam 0x3c ,rfen_rx 
+0791 708901e0 jam 0xe0 ,rfen_tx 
+0792 2000000a nop 10 
+0793 70890201 jam 0x01 ,rfen_mdm 
+0794 7089023d jam 0x3d ,rfen_mdm 
+0795 2000000a nop 10 
+0796 708903b7 jam 0xb7 ,rfen_sn 
+0797 2000000a nop 10 
+0798 7089027d jam 0x7d ,rfen_mdm 
+0799 6800c1de fetch 1 ,mem_tx_power 
+079a c00107a3 beq tx_power_5db ,p_set_tx_power_5db 
+079b c00187a8 beq tx_power_f3db ,p_set_tx_power_f3db 
+079c c00207b0 beq tx_power_f5db ,p_set_tx_power_f5db 
+079d c01007bf beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0792 204007a9 call p_rx_low_sens 
-0793 708955d0 jam 0xd0 ,0x8955 
-0794 708956e0 jam 0xe0 ,0x8956 
-0795 7089586c jam 0x6c ,0x8958 
-0796 2020294b branch set_tx_power_0db 
+079e 204007b5 call p_rx_low_sens 
+079f 708955d0 jam 0xd0 ,0x8955 
+07a0 708956e0 jam 0xe0 ,0x8956 
+07a1 7089586c jam 0x6c ,0x8958 
+07a2 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0797 204007ae call p_rx_high_sens 
-0798 708955d0 jam 0xd0 ,0x8955 
-0799 708956e0 jam 0xe0 ,0x8956 
-079a 7089583c jam 0x3c ,0x8958 
-079b 20202953 branch set_tx_power_5db 
+07a3 204007ba call p_rx_high_sens 
+07a4 708955d0 jam 0xd0 ,0x8955 
+07a5 708956e0 jam 0xe0 ,0x8956 
+07a6 7089583c jam 0x3c ,0x8958 
+07a7 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f3db:
-079c 204007a9 call p_rx_low_sens 
-079d 70894bba jam 0xba ,0x894b 
-079e 708955d0 jam 0xd0 ,0x8955 
-079f 708956c0 jam 0xc0 ,0x8956 
-07a0 70895788 jam 0x88 ,0x8957 
-07a1 7089586c jam 0x6c ,0x8958 
-07a2 70895910 jam 0x10 ,0x8959 
-07a3 20202957 branch set_tx_power_f3db 
+07a8 204007b5 call p_rx_low_sens 
+07a9 70894bba jam 0xba ,0x894b 
+07aa 708955d0 jam 0xd0 ,0x8955 
+07ab 708956c0 jam 0xc0 ,0x8956 
+07ac 70895788 jam 0x88 ,0x8957 
+07ad 7089586c jam 0x6c ,0x8958 
+07ae 70895910 jam 0x10 ,0x8959 
+07af 20202957 branch set_tx_power_f3db 
 
 p_set_tx_power_f5db:
-07a4 204007a9 call p_rx_low_sens 
-07a5 708955d0 jam 0xd0 ,0x8955 
-07a6 708956c0 jam 0xc0 ,0x8956 
-07a7 7089586c jam 0x6c ,0x8958 
-07a8 2020295b branch set_tx_power_f5db 
+07b0 204007b5 call p_rx_low_sens 
+07b1 708955d0 jam 0xd0 ,0x8955 
+07b2 708956c0 jam 0xc0 ,0x8956 
+07b3 7089586c jam 0x6c ,0x8958 
+07b4 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-07a9 70894c5b jam 0x5b ,0x894c 
-07aa 70894d96 jam 0x96 ,0x894d 
-07ab 70894e2c jam 0x2c ,0x894e 
-07ac 70894f46 jam 0x46 ,0x894f 
-07ad 20600000 rtn 
+07b5 70894c5b jam 0x5b ,0x894c 
+07b6 70894d96 jam 0x96 ,0x894d 
+07b7 70894e2c jam 0x2c ,0x894e 
+07b8 70894f46 jam 0x46 ,0x894f 
+07b9 20600000 rtn 
 
 p_rx_high_sens:
-07ae 70894cfb jam 0xfb ,0x894c 
-07af 70894def jam 0xef ,0x894d 
-07b0 70894eec jam 0xec ,0x894e 
-07b1 70894f5e jam 0x5e ,0x894f 
-07b2 20600000 rtn 
+07ba 70894cfb jam 0xfb ,0x894c 
+07bb 70894def jam 0xef ,0x894d 
+07bc 70894eec jam 0xec ,0x894e 
+07bd 70894f5e jam 0x5e ,0x894f 
+07be 20600000 rtn 
 
 p_set_tx_power_pair:
-07b3 708956c2 jam 0xc2 ,0x8956 
-07b4 708955d0 jam 0xd0 ,0x8955 
-07b5 20600000 rtn 
+07bf 708956c2 jam 0xc2 ,0x8956 
+07c0 708955d0 jam 0xd0 ,0x8955 
+07c1 20600000 rtn 
 
 p_shutdown_radio:
-07b6 18002a08 force 8 ,radio_ctrl 
-07b7 202028fa branch shutdown_radio + 1 
+07c2 18002a08 force 8 ,radio_ctrl 
+07c3 202028fa branch shutdown_radio + 1 
 
 p_initialize_radio_cont:
-07b8 20402978 call initialize_radio_cont + 1 
-07b9 70804205 jam clksel_dpll ,core_clksel 
-07ba 20600000 rtn 
+07c4 20402978 call initialize_radio_cont + 1 
+07c5 70804205 jam clksel_dpll ,core_clksel 
+07c6 20600000 rtn 
 
 p_zcode_entrance:
-07bb 680891c5 fetcht 1 ,mem_zcode_temp_param0 
-07bc 18518400 rshift4 temp ,temp 
-07bd 6800cb56 fetch 1 ,mem_zcode_current_number 
-07be 98467c00 isub temp ,null 
-07bf 202287da branch p_zcode_run ,zero 
-07c0 6008cb56 storet 1 ,mem_zcode_current_number 
-07c1 18408401 increase 1 ,temp 
-07c2 58000100 setarg zcode_buff_size 
-07c3 984f8400 imul32 temp ,temp 
-07c4 6801cb57 fetch 3 ,mem_xip_flash_offset 
-07c5 98467e00 isub temp ,pdata 
-07c6 6809cb5a fetcht 3 ,mem_flash_start_addr 
-07c7 9840fe00 iadd temp ,pdata 
-07c8 1fe0fffb increase -5 ,pdata 
-07c9 6001cb5d store 3 ,mem_flash_address 
-07ca 20400368 call p_flash_release_deep_power_down 
+07c7 680891c5 fetcht 1 ,mem_zcode_temp_param0 
+07c8 18518400 rshift4 temp ,temp 
+07c9 6800cb56 fetch 1 ,mem_zcode_current_number 
+07ca 98467c00 isub temp ,null 
+07cb 202287e6 branch p_zcode_run ,zero 
+07cc 6008cb56 storet 1 ,mem_zcode_current_number 
+07cd 18408401 increase 1 ,temp 
+07ce 58000100 setarg zcode_buff_size 
+07cf 984f8400 imul32 temp ,temp 
+07d0 6801cb57 fetch 3 ,mem_xip_flash_offset 
+07d1 98467e00 isub temp ,pdata 
+07d2 6809cb5a fetcht 3 ,mem_flash_start_addr 
+07d3 9840fe00 iadd temp ,pdata 
+07d4 1fe0fffb increase -5 ,pdata 
+07d5 6001cb5d store 3 ,mem_flash_address 
+07d6 20400374 call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-07cb 6801cb5d fetch 3 ,mem_flash_address 
-07cc d8400100 arg zcode_buff_size ,temp 
-07cd da201f00 arg mem_zcode_buff ,rega 
-07ce 20406562 call spid_read_flash 
-07cf 68021f00 fetch 4 ,mem_zcode_buff 
-07d0 680a4b60 fetcht 4 ,mem_zcode_head 
-07d1 98467c00 isub temp ,null 
-07d2 242287cb nbranch p_zcode_read_loop ,zero 
-07d3 20400333 call p_mouse_spi_init 
-07d4 58001f00 setarg mem_zcode_buff 
-07d5 60014199 store 2 ,mem_patch_ptr 
-07d6 70419b40 jam zcode_code_size ,mem_patch_len 
-07d7 204064ca call load_ucode 
-07d8 58000000 setarg 0 
-07d9 60024199 store 4 ,mem_patch_ptr 
+07d7 6801cb5d fetch 3 ,mem_flash_address 
+07d8 d8400100 arg zcode_buff_size ,temp 
+07d9 da201f00 arg mem_zcode_buff ,rega 
+07da 20406562 call spid_read_flash 
+07db 68021f00 fetch 4 ,mem_zcode_buff 
+07dc 680a4b60 fetcht 4 ,mem_zcode_head 
+07dd 98467c00 isub temp ,null 
+07de 242287d7 nbranch p_zcode_read_loop ,zero 
+07df 20400335 call p_mouse_spi_init 
+07e0 58001f00 setarg mem_zcode_buff 
+07e1 60014199 store 2 ,mem_patch_ptr 
+07e2 70419b40 jam zcode_code_size ,mem_patch_len 
+07e3 204064ca call load_ucode 
+07e4 58000000 setarg 0 
+07e5 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-07da 680091c5 fetch 1 ,mem_zcode_temp_param0 
-07db 20200001 branch p_zcode 
+07e6 680091c5 fetch 1 ,mem_zcode_temp_param0 
+07e7 20200001 branch p_zcode 
               org 0x2000
 
 start:
@@ -35445,7 +35467,7 @@
 z_mouse4_0_event_bb_disconn:
 2000e 204041c1 call mouse_le_clean_connect_flag 
 2000f 68014208 fetch app_disc_rsn_size ,mem_app_disconn_reason 
-20010 c28504b6 bbit1 app_disc_pb_button ,p_mouse_select_device_button_up 
+20010 c28504c3 bbit1 app_disc_pb_button ,p_mouse_select_device_button_up 
 20011 202041f7 branch mouse4_0_event_bb_disconn + 2 
 
 z_mouse_event_light_state_pairing:
@@ -35457,7 +35479,7 @@
 20015 68014682 fetch 2 ,mem_ui_state_map 
 20016 c28642b0 bbit1 ui_state_btn_down ,mouse_start_discovery 
 20017 204033a9 call app_disconn_reason_clear 
-20018 2040054e call p_mouse_check_key_gpio 
+20018 2040055a call p_mouse_check_key_gpio 
 20019 20608000 rtn true 
 2001a 202033a7 branch app_bb_hibernate 
 
@@ -35483,7 +35505,7 @@
 
 z_hid_rx_process_hid_control:
 2002b 18427e00 copy temp ,pdata 
-2002c c0028431 beq hid_control_p_virtualcableunplug ,p_mouse_irtual_cable_unplug 
+2002c c002843e beq hid_control_p_virtualcableunplug ,p_mouse_irtual_cable_unplug 
 2002d 20204d41 branch hid_rx_process_hid_control + 2 
               org 0x30001
 
@@ -35496,7 +35518,7 @@
 
 z_mouse4_0_check_reconn_target:
 30006 704b6c01 jam 1 ,mem_le_send_security_request_flag 
-30007 2040074e call p_mouse_mode_bt_device_multi_led_on 
+30007 2040075a call p_mouse_mode_bt_device_multi_led_on 
 30008 7047a101 jam 1 ,mem_mouse_le_reconnect_flag 
 30009 680146a8 fetch 2 ,mem_mouse_direct_timeout 
 3000a 6808cbb3 fetcht 1 ,mem_mouse_fast_conn_flag 
@@ -35511,7 +35533,7 @@
 30011 58000004 setarg adv_flag_bredr_not_supported 
 30012 e0c08000 istore 1 ,contr 
 30013 d8c04390 arg mem_le_scan_data ,contr 
-30014 2040057d call p_le_adv_data_update 
+30014 20400589 call p_le_adv_data_update 
 30015 20207df4 branch check_51cmd_adv 
 
 z_send_lmp_escape:
@@ -35542,7 +35564,7 @@
 30026 6800804b fetch 1 ,mem_op 
 30027 793ffe03 set0 op_disconn ,pdata 
 30028 6000804b store 1 ,mem_op 
-30029 20200456 branch p_mouse_sensor_powerdown 
+30029 20200463 branch p_mouse_sensor_powerdown 
 
 z_send_lmp_accepted:
 3002a 18007e02 force 2 ,pdata 
@@ -35704,12 +35726,12 @@
 60005 70479e00 jam 0 ,mem_mouse_clear_sensor_data_flag 
 60006 68014682 fetch 2 ,mem_ui_state_map 
 60007 c2858010 bbit1 ui_state_ble_adv ,z_mouse_start_discovery_norandom 
-60008 2040036a call p_mouse_load_random_addr_increase_count 
+60008 20400376 call p_mouse_load_random_addr_increase_count 
 60009 680947c4 fetcht 2 ,mem_random_addr_increase_count 
 6000a 18408401 increase 1 ,temp 
 6000b 600947c4 storet 2 ,mem_random_addr_increase_count 
 6000c 600944a1 storet 2 ,mem_le_lap + 1 
-6000d 2040032a call p_mouse_store_random_addr_increase_count 
+6000d 2040032e call p_mouse_store_random_addr_increase_count 
 6000e 180a7e00 random pdata 
 6000f 6000c4a0 store 1 ,mem_le_lap 
 
@@ -35735,7 +35757,7 @@
 60022 2040fddd call check_51cmd_start_discovery ,true 
 60023 704b5100 jam 0 ,mem_mouse_bt_reconnect_flag 
 60024 204042c4 call mouse_start_discovery_norandom + 13 
-60025 20200753 branch p_mouse_discovery_multi_led_blink 
+60025 2020075f branch p_mouse_discovery_multi_led_blink 
 
 z_check_51cmd_adv:
 60026 7047a100 jam 0 ,mem_mouse_le_reconnect_flag 
@@ -35743,7 +35765,7 @@
 60028 58000005 setarg adv_flag_bredr_not_supported | adv_flag_limited_discoverable 
 60029 e0c08000 istore 1 ,contr 
 6002a d8c04b12 arg mem_le_adv_swift_pair ,contr 
-6002b 2040057d call p_le_adv_data_update 
+6002b 20400589 call p_le_adv_data_update 
 6002c 20207df4 branch check_51cmd_adv 
               org 0x70001
 
@@ -35755,7 +35777,7 @@
 
 z_g24_start_24g_mode:
 70005 2040000e call z_g24_factory_check 
-70006 2034037a branch p_g24_auto_pair_start ,user 
+70006 20340386 branch p_g24_auto_pair_start ,user 
 70007 79200026 set1 mark_24g ,mark 
 70008 6800cd96 fetch 1 ,mem_24g_conn_sm 
 70009 79207e02 set1 state_24g_reconn ,pdata 
@@ -35802,7 +35824,7 @@
 70028 6000c6b4 store 1 ,mem_mouse_send_blank_timer 
 70029 60014c6f store 2 ,mem_24g_check_dongle_times 
 7002a 204042ca call mouse_stop_discovery 
-7002b 2020037a branch p_g24_auto_pair_start 
+7002b 20200386 branch p_g24_auto_pair_start 
               org 0x80001
 
 z_entrance7:
@@ -35825,7 +35847,7 @@
 8000d 704b6700 jam 0 ,mem_mouse_long_mult_flag 
 8000e 20402f20 call g24_app_tx_attempt_success 
 8000f 2040018a call p_g24_txbuf_clear 
-80010 20200386 branch p_g24_transmit_by_interrupt_enable 
+80010 20200392 branch p_g24_transmit_by_interrupt_enable 
 
 z_g24_tx_attemp_data_prep:
 80011 70119eff jam 0xff ,mem_24g_common_temp 
@@ -35845,7 +35867,7 @@
 8001d 704bb3ff jam 0xff ,mem_mouse_fast_conn_flag 
 8001e 204042fb call mouse_before_store_reconn_info 
 8001f 704721ff jam 0xff ,mem_device1_type 
-80020 20200324 branch p_mouse_store_flash_device_info 
+80020 20200327 branch p_mouse_store_flash_device_info 
               org 0x90001
 
 z_entrance8:
@@ -35879,15 +35901,15 @@
 90016 20405839 call le_set_justwork 
 90017 2040582c call le_set_fixed_ltk 
 90018 20405818 call le_set_config_read_authentication 
-90019 20400579 call p_le_addr_random_config 
-9001a 20400319 call p_mouse_load_flash_info_check 
+90019 20400585 call p_le_addr_random_config 
+9001a 2040031c call p_mouse_load_flash_info_check 
 9001b df200003 arg 3 ,loopcnt 
 9001c d8c0473f arg mem_device2_addr ,contr 
-9001d 2040037c call p_pdata_0xff_check 
+9001d 20400388 call p_pdata_0xff_check 
 9001e 243402e5 nbranch p_mouse_le_fast_conn_disable ,user 
 9001f df200003 arg 3 ,loopcnt 
 90020 d8c0475c arg mem_device3_addr ,contr 
-90021 2040037c call p_pdata_0xff_check 
+90021 20400388 call p_pdata_0xff_check 
 90022 243402e5 nbranch p_mouse_le_fast_conn_disable ,user 
 90023 204002e7 call p_mouse_fast_conn_init 
 90024 20600000 rtn 
@@ -35991,7 +36013,7 @@
 a002e 2020012e branch p_g24_transmit_abandon 
 
 z_mouse_24g_pairing_complete:
-a002f 2040044f call p_mouse_24g_no_data_timer_init 
+a002f 2040045c call p_mouse_24g_no_data_timer_init 
 a0030 70478b01 jam 1 ,mem_mouse_24g_enter_lpm_enable 
 a0031 d8e00003 arg mosue_24g_pairing_flag ,queue 
 a0032 204043d2 call mouse_disable_function_flag 
@@ -36002,7 +36024,7 @@
 a0037 204002d4 call p_mouse_tx_power_init 
 a0038 68024c6a fetch 4 ,mem_24g_addr 
 a0039 6002477b store 4 ,mem_mouse_24g_addr 
-a003a 20200324 branch p_mouse_store_flash_device_info 
+a003a 20200327 branch p_mouse_store_flash_device_info 
               org 0xb0001
 
 z_entrancea:
@@ -36031,7 +36053,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 20400429 call p_app_updata_le_param 
+b0016 20400436 call p_app_updata_le_param 
 b0017 7047c601 jam le_lpm_disable ,mem_mouse_le_conn_param_reject 
 b0018 20600000 rtn 
 
@@ -36049,16 +36071,16 @@
 z_mouse_le_bb_disconnected:
 b0020 704bb901 jam 1 ,mem_mouse_connected_state 
 b0021 704b2e0a jam 10 ,mem_mouse_multi_led_blink_count 
-b0022 2040074b call p_mouse_dpi_multi_led_blink 
+b0022 20400757 call p_mouse_dpi_multi_led_blink 
 b0023 704b6a00 jam 0 ,mem_mouse_le_bb_connected_flag 
 b0024 58000007 setarg le_interval_8_75ms 
 b0025 60014496 store 2 ,mem_le_interval_min 
 b0026 60014498 store 2 ,mem_le_interval_min + 2 
 b0027 7047c600 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 b0028 70479e00 jam 0 ,mem_mouse_clear_sensor_data_flag 
-b0029 204003ba call p_mouse_data_init 
+b0029 204003c6 call p_mouse_data_init 
 b002a 20405816 call le_clr_config_more_data 
-b002b 20400324 call p_mouse_store_flash_device_info 
+b002b 20400327 call p_mouse_store_flash_device_info 
 b002c 202041d9 branch mouse_bb_disconnected 
 
 z_mouse_before_hibernate:
@@ -36067,13 +36089,13 @@
 b002f 6012004c hstore 4 ,core_lpm_reg 
 b0030 20402c21 call lpm_write_ctrl 
 b0031 204074bd call disable_authrom 
-b0032 2040073d call p_mouse_multi_led_blink_off 
-b0033 20400513 call p_mouse_low_voltage_led_off 
+b0032 20400749 call p_mouse_multi_led_blink_off 
+b0033 20400520 call p_mouse_low_voltage_led_off 
 b0034 704bba00 jam 0 ,mem_mouse_state_led_blink_flag 
-b0035 20400324 call p_mouse_store_flash_device_info 
+b0035 20400327 call p_mouse_store_flash_device_info 
 b0036 20403e9f call mouse_before_hibernate_wheel_gpio_set 
 b0037 2040029a call p_mouse_setgpio_hibernate 
-b0038 20400360 call p_flash_deep_power_down 
+b0038 2040036d call p_flash_deep_power_down 
 b0039 68108081 hfetch 1 ,core_gpio_sel1 
 b003a 1fe17ef7 and pdata ,0xf7 ,pdata 
 b003b 60108081 hstore 1 ,core_gpio_sel1 
@@ -36112,7 +36134,7 @@
 c0014 20200017 branch z_mouse_le_ll_enable_start_enc_flag 
 
 z_mouse_le_ll_reconn_start_encryt:
-c0015 20400429 call p_app_updata_le_param 
+c0015 20400436 call p_app_updata_le_param 
 c0016 7046c60a jam 10 ,mem_le_start_encrypt_timer 
 
 z_mouse_le_ll_enable_start_enc_flag:
@@ -36122,11 +36144,11 @@
 z_mouse_bb_event_disconnected:
 c0019 704bb901 jam 1 ,mem_mouse_connected_state 
 c001a 704b2e0a jam 10 ,mem_mouse_multi_led_blink_count 
-c001b 2040074b call p_mouse_dpi_multi_led_blink 
+c001b 20400757 call p_mouse_dpi_multi_led_blink 
 c001c 704b0100 jam 0 ,mem_bt_rcvd_switch_req_accept 
 c001d 704b0300 jam 0 ,mem_bt_send_lmp_setup_complete 
 c001e 704b0c00 jam 0 ,mem_mouse_bt_send_first_package_flag 
-c001f 20400324 call p_mouse_store_flash_device_info 
+c001f 20400327 call p_mouse_store_flash_device_info 
 c0020 202041d9 branch mouse_bb_disconnected 
 
 z_mouse_le_bb_event_connected:
@@ -36140,7 +36162,7 @@
 c0028 704b6b14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 z_mouse_le_bb_event_connected_next:
-c0029 204003ba call p_mouse_data_init 
+c0029 204003c6 call p_mouse_data_init 
 c002a 202041c3 branch mouse_le_bb_event_connected 
               org 0xd0001
 
@@ -36183,7 +36205,7 @@
 d0020 704b6700 jam 0 ,mem_mouse_long_mult_flag 
 d0021 20402f20 call g24_app_tx_attempt_success 
 d0022 2040018a call p_g24_txbuf_clear 
-d0023 20200386 branch p_g24_transmit_by_interrupt_enable 
+d0023 20200392 branch p_g24_transmit_by_interrupt_enable 
 
 z7_g24_store_dongle_addr:
 d0024 68024c22 fetch 4 ,mem_24g_rxpayload + 2 
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/XZR/XZR_1066/SM391_1066/output/romcode.rom	(revision 4056)
+++ /branch/mouse_project/XZR/XZR_1066/SM391_1066/output/romcode.rom	(working copy)
@@ -24602,7 +24602,7 @@
 202042b0
 204041c1
 68014208
-c28504b6
+c28504c3
 202041f7
 c2828015
 c2818015
@@ -24610,7 +24610,7 @@
 68014682
 c28642b0
 204033a9
-2040054e
+2040055a
 20608000
 202033a7
 68010264
@@ -24630,7 +24630,7 @@
 704b0501
 20600000
 18427e00
-c0028431
+c002843e
 20204d41
 c0100016
 c010802a
@@ -24638,7 +24638,7 @@
 c0118006
 20600000
 704b6c01
-2040074e
+2040075a
 7047a101
 680146a8
 6808cbb3
@@ -24651,7 +24651,7 @@
 58000004
 e0c08000
 d8c04390
-2040057d
+20400589
 20207df4
 68008048
 c042001a
@@ -24672,7 +24672,7 @@
 6800804b
 793ffe03
 6000804b
-20200456
+20200463
 18007e02
 20406298
 68008049
@@ -24785,12 +24785,12 @@
 70479e00
 68014682
 c2858010
-2040036a
+20400376
 680947c4
 18408401
 600947c4
 600944a1
-2040032a
+2040032e
 180a7e00
 6000c4a0
 6801cbb0
@@ -24814,20 +24814,20 @@
 2040fddd
 704b5100
 204042c4
-20200753
+2020075f
 7047a100
 204002de
 58000005
 e0c08000
 d8c04b12
-2040057d
+20400589
 20207df4
 c0300005
 c0308017
 c031001f
 20600000
 2040000e
-2034037a
+20340386
 79200026
 6800cd96
 79207e02
@@ -24864,7 +24864,7 @@
 6000c6b4
 60014c6f
 204042ca
-2020037a
+20200386
 c0380004
 c038801a
 20600000
@@ -24880,7 +24880,7 @@
 704b6700
 20402f20
 2040018a
-20200386
+20200392
 70119eff
 6800cc43
 6000919f
@@ -24896,7 +24896,7 @@
 704bb3ff
 204042fb
 704721ff
-20200324
+20200327
 c0400008
 204068a2
 6801421d
@@ -24921,15 +24921,15 @@
 20405839
 2040582c
 20405818
-20400579
-20400319
+20400585
+2040031c
 df200003
 d8c0473f
-2040037c
+20400388
 243402e5
 df200003
 d8c0475c
-2040037c
+20400388
 243402e5
 204002e7
 20600000
@@ -25006,7 +25006,7 @@
 68024c22
 204001c0
 2020012e
-2040044f
+2040045c
 70478b01
 d8e00003
 204043d2
@@ -25017,7 +25017,7 @@
 204002d4
 68024c6a
 6002477b
-20200324
+20200327
 c050800d
 c0510020
 c0518019
@@ -25039,7 +25039,7 @@
 58000009
 60014496
 60014498
-20400429
+20400436
 7047c601
 20600000
 68014682
@@ -25051,29 +25051,29 @@
 202033a7
 704bb901
 704b2e0a
-2040074b
+20400757
 704b6a00
 58000007
 60014496
 60014498
 7047c600
 70479e00
-204003ba
+204003c6
 20405816
-20400324
+20400327
 202041d9
 68120138
 79207e1a
 6012004c
 20402c21
 204074bd
-2040073d
-20400513
+20400749
+20400520
 704bba00
-20400324
+20400327
 20403e9f
 2040029a
-20400360
+2040036d
 68108081
 1fe17ef7
 60108081
@@ -25101,17 +25101,17 @@
 6800c7a1
 c0008015
 20200017
-20400429
+20400436
 7046c60a
 d8e00001
 202041b9
 704bb901
 704b2e0a
-2040074b
+20400757
 704b0100
 704b0300
 704b0c00
-20400324
+20400327
 202041d9
 704bba01
 704bb900
@@ -25121,7 +25121,7 @@
 6800c7a1
 243a0029
 704b6b14
-204003ba
+204003c6
 202041c3
 6800cd8d
 c000add4
@@ -25157,7 +25157,7 @@
 704b6700
 20402f20
 2040018a
-20200386
+20200392
 68024c22
 202001c0
 6800cd80
@@ -25224,4 +25224,4 @@
 202001ed
 20400155
 2020000d
-00001924
+0000f3ca
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/XZR/XZR_1066/SM391_1066/program/patch.prog	(revision 4056)
+++ /branch/mouse_project/XZR/XZR_1066/SM391_1066/program/patch.prog	(working copy)
@@ -1201,7 +1201,7 @@
 	call p_mouse_sensor_poweron
 	fetch 1,mem_sensor_id2
 	beq P_MX8650,p_mouse_mx8650_init_param
-//	beq PKA8_ID2,p_mouse_ka8_init_param
+	beq PKA8_ID2,p_mouse_ka8_init_param
 	branch mouse_init_p32xx_id2_judge+1
 
 p_mouse_mx8650_init_param:
@@ -1219,8 +1219,9 @@
 	increase 2,regc
 	branch p_sensor_wr_seq
 
-//p_mouse_ka8_init_param:
-//	jam KA8,mem_config_sensor_type
+p_mouse_ka8_init_param:
+	jam KA8,mem_config_sensor_type
+	rtn
 //	arg mem_sensor_ka8_init,regc
 //	branch p_sensor_wr_seq
 
@@ -1266,45 +1267,58 @@
 p_mouse_store_flash_device_info:
 	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
 	call p_mouse_store_flash_dpi
 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
-p_mouse_store_flash_comm:
-	fetch 3,mem_flash_base
-	iadd regb,pdata
-	call p_spid_write_flash
-	call p_wait_flash_done
+	call p_mouse_store_flash_comm
 	call p_flash_deep_power_down
 p_mouse_spi_init:
 	jam 0x76,mem_spi_init_clk
 	branch mouse_spi_init
-
 p_mouse_store_flash_dpi:
 	call p_spid_init_flash
+	call p_flash_write_enable
 	arg 1,temp
 	arg mem_mouse_dpi,rega
 	arg MOUSE_DPI_EEPROM_OFFECT,regb
-	branch p_mouse_store_flash_comm
+p_mouse_store_flash_comm:
+	fetch 3,mem_flash_base
+	iadd regb,pdata
+	call p_spid_write_flash
+	branch p_wait_flash_done
 
 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
+	call p_flash_read_status
+	bbit1 FLASH_STATUS_WIP,p_wait_flash_done
+	rtn
+
+p_flash_read_status:
 	setarg mem_spid_rbuf
 	hstore 2,core_spid_rxaddr
 	setarg FLASH_READ_SATUS
-	call spid_read_reg
-	bbit1 FLASH_STATUS_WIP,p_wait_flash_done
+	force 1,temp
+	store 1,mem_spid_tbuf
+	setarg mem_spid_tbuf
+	hstore 2,core_spid_txaddr
+	branch spid_read_regs+2
+
+p_flash_write_enable:
+	call spid_unlock_flash
+	call p_flash_read_status
+	bbit0 FLASH_STATUS_WEL,p_flash_write_enable
 	rtn
 
 p_spid_write_flash:
@@ -1350,7 +1364,6 @@
 p_spid_write_flash_cmd:
 	call p_spid_init_flash
 	call delay_nop100
-	call spid_unlock_flash
 	arg mem_write_flash_head_temp,rega
 	fetcht 1,mem_temp
 	call spid_write_flash_common
@@ -1655,6 +1668,7 @@
 	increase 2,pdata
 	store 1,mem_mouse_multi_led_blink_count
 	call p_mouse_dpi_multi_led_blink
+	call p_mouse_store_flash_dpi
 	branch mouse_seting_dpi
 p_mouse_dpi_up:
 	call p_gpio_set_input_pu
@@ -2159,23 +2173,23 @@
 	arg mem_sensor_poweron_init,regc
 	call p_sensor_wr_seq
 p_mouse_dpi_config:
-	fetch 1,mem_mouse_dpi
-	bne 0xff,p_mouse_seting_dpi
+//	fetch 1,mem_mouse_dpi
+//	bne 0xff,p_mouse_seting_dpi
 p_mouse_dpi_config_default:
 	fetch 1,mem_config_sensor_motion
 	store 1,mem_mouse_dpi
 p_mouse_seting_dpi:
+	fetch 1,mem_mouse_dpi
+	sub pdata,MOUSE_DPI_LEVEL2,null
+	call p_mouse_3205_dpi_recount,zero
 p_mouse_seting_sensor_type:
 	fetch 1,mem_config_sensor_type
 	beq P3212,p_mouse_seting_3212_dpi
 	beq P3065_XY,p_mouse_seting_3065XY_dpi
 	beq P_MX8650,p_mouse_seting_3065XY_dpi
-//	beq KA8,p_mouse_seting_ka8_dpi
+	beq KA8,p_mouse_seting_ka8_dpi
 p_mouse_seting_3205_dpi:
 	fetch 1,mem_mouse_dpi
-	sub pdata,MOUSE_DPI_LEVEL2,null
-	call p_mouse_3205_dpi_recount,zero
-	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,p_mouse_3205_set_cpi1	//800
 	beq MOUSE_DPI_LEVEL4,mouse_set_cpi3		//1600
 	branch mouse_set_cpi2						//1300
@@ -2189,9 +2203,6 @@
 
 p_mouse_seting_3065XY_dpi:
 	fetch 1,mem_mouse_dpi
-	sub pdata,MOUSE_DPI_LEVEL2,null
-	call p_mouse_3205_dpi_recount,zero
-	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,p_mouse_3065xy_set_cpi1
 	beq MOUSE_DPI_LEVEL4,p_mouse_3065xy_set_cpi4
 p_mouse_3065xy_set_cpi3:
@@ -2206,22 +2217,17 @@
 	fetch 1,mem_3065xy_dpi_4
 	branch p_mouse_dpi_store	
 
-//p_mouse_seting_ka8_dpi:
-//	fetch 1,mem_mouse_dpi
-//	call p_mouse_3205_dpi_recount,blank
-//	fetch 1,mem_mouse_dpi
-//	beq MOUSE_DPI_LEVEL2,mouse_set_cpi2			//800
-//	beq MOUSE_DPI_LEVEL4,p_mouse_ka8_set_cpi3		//1600
-//	branch mouse_set_cpi4							//1200
-//p_mouse_ka8_set_cpi3:	
-//	setarg 5
-//	branch mouse_p3205_dpi
+p_mouse_seting_ka8_dpi:
+	fetch 1,mem_mouse_dpi
+	beq MOUSE_DPI_LEVEL1,mouse_set_cpi2			//800
+	beq MOUSE_DPI_LEVEL4,p_mouse_ka8_set_cpi3		//1600
+	branch mouse_set_cpi4							//1200
+p_mouse_ka8_set_cpi3:	
+	setarg 5
+	branch mouse_p3205_dpi
 
 p_mouse_seting_3212_dpi:
 	fetch 1,mem_mouse_dpi
-	sub pdata,MOUSE_DPI_LEVEL2,null
-	call p_mouse_3205_dpi_recount,zero
-	fetch 1,mem_mouse_dpi
 	beq MOUSE_DPI_LEVEL1,mouse_set_p3212_cpi2
 	beq MOUSE_DPI_LEVEL4,mouse_set_p3212_cpi4
 	branch mouse_set_p3212_cpi3
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/XZR/XZR_1066/SM391_1066/sched/mouse.dat	(revision 4056)
+++ /branch/mouse_project/XZR/XZR_1066/SM391_1066/sched/mouse.dat	(working copy)
@@ -296,7 +296,7 @@
 mem_24g_allpowerful_addr:0f 0f 0f 0f 0f 0f
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 4f 12 	#  240ms  dpi  B4  B5 check easy
-mem_firmware_version:02 00
+mem_firmware_version:03 00
 
 mem_device_flag:01
 mem_device1_type:34
