Index: btms/output/eeprom.dat
===================================================================
--- /branch/mouse/ShangGui/btms/output/eeprom.dat	(revision 429)
+++ /branch/mouse/ShangGui/btms/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-56
+66
 1a
 c5
 12
@@ -11,55 +11,55 @@
 c0
 00
 00
-24
+25
 c0
 01
 80
-2f
+31
 c0
 43
 00
-35
+37
 c0
 45
 00
-3f
+41
 c0
 45
 80
-61
+63
 c0
 53
 80
-6d
+6f
 c0
 54
 00
-74
+76
 c0
 54
 80
-88
+8a
 c0
 56
 00
-9b
+9d
 c0
 5a
 03
-20
+24
 c0
 5a
 80
-b4
+b6
 c0
 5b
 00
-bb
+bd
 c0
 5b
 80
-db
+dd
 20
 20
 3b
@@ -67,83 +67,87 @@
 c0
 02
 81
-15
+17
 c0
 0b
 01
-1a
+1c
 c0
 0d
 81
-1e
+20
 c0
 11
 81
-21
+23
 c0
 17
 81
-45
+47
 c0
 18
 81
-5a
+5c
 c0
 19
 01
-6c
+6e
 c0
 19
 81
-7f
+81
 c0
 1c
 81
-90
+92
 c0
 1e
 01
-9d
+9f
 c0
 1e
 81
-b0
+b2
 c0
 1f
 01
-b6
+b8
 c0
 1f
 81
-c5
+c7
 c0
 21
 01
-e3
+e5
 c0
 26
 81
-e8
+ea
+c0
+41
+02
+04
 c0
 4a
 82
-02
+06
 c0
 79
 82
-09
+0d
 c0
 7b
 82
-15
+19
 c0
 7c
 02
-4a
+4e
 c0
 7c
 82
-50
+54
 20
 20
 3b
@@ -152,6 +156,10 @@
 80
 00
 00
+70
+40
+30
+00
 24
 35
 b0
@@ -163,7 +171,7 @@
 24
 3a
 00
-2d
+2f
 68
 00
 ce
@@ -195,15 +203,15 @@
 20
 40
 02
-5a
+5e
 20
 40
 04
-08
+0c
 20
 40
 02
-98
+9c
 68
 00
 ce
@@ -211,7 +219,7 @@
 24
 3a
 03
-4e
+52
 20
 20
 30
@@ -327,15 +335,15 @@
 c0
 0a
 00
-5e
+60
 c2
 80
 80
-58
+5a
 c2
 81
 00
-58
+5a
 70
 89
 4c
@@ -355,7 +363,7 @@
 20
 20
 00
-5c
+5e
 70
 89
 4c
@@ -555,7 +563,7 @@
 20
 3a
 00
-95
+97
 68
 00
 80
@@ -563,7 +571,7 @@
 24
 3a
 00
-95
+97
 68
 00
 ce
@@ -603,7 +611,7 @@
 20
 40
 00
-a0
+a2
 24
 74
 00
@@ -627,7 +635,7 @@
 20
 40
 00
-a0
+a2
 24
 74
 00
@@ -647,7 +655,7 @@
 20
 40
 00
-ab
+ad
 24
 74
 00
@@ -655,7 +663,7 @@
 20
 40
 00
-a8
+aa
 24
 74
 00
@@ -671,11 +679,11 @@
 20
 40
 00
-b0
+b2
 20
 20
 00
-ab
+ad
 68
 01
 48
@@ -687,7 +695,7 @@
 20
 20
 00
-ad
+af
 68
 01
 47
@@ -719,7 +727,7 @@
 c0
 80
 00
-b0
+b2
 20
 60
 00
@@ -771,7 +779,7 @@
 20
 40
 00
-c1
+c3
 20
 20
 3d
@@ -783,15 +791,15 @@
 c0
 0a
 00
-c6
+c8
 c0
 0a
 80
-ce
+d0
 c0
 14
 80
-d9
+db
 20
 20
 3d
@@ -835,7 +843,7 @@
 20
 40
 02
-df
+e3
 70
 44
 b2
@@ -875,7 +883,7 @@
 20
 40
 01
-03
+05
 20
 20
 7e
@@ -915,27 +923,27 @@
 20
 40
 01
-06
+08
 20
 40
 00
-e9
+eb
 20
 40
 01
-0f
+11
 20
 40
 00
-f5
+f7
 20
 40
 00
-fc
+fe
 20
 20
 00
-df
+e1
 68
 00
 ce
@@ -955,7 +963,7 @@
 24
 40
 80
-f3
+f5
 68
 00
 c1
@@ -963,7 +971,7 @@
 20
 5a
 00
-f1
+f3
 20
 60
 00
@@ -1127,7 +1135,7 @@
 20
 40
 05
-ea
+ee
 20
 20
 49
@@ -1143,7 +1151,7 @@
 20
 40
 06
-28
+2c
 20
 20
 4a
@@ -1311,11 +1319,11 @@
 c2
 82
 81
-56
+58
 20
 40
 05
-dc
+e0
 70
 4e
 62
@@ -1327,7 +1335,7 @@
 24
 3a
 01
-50
+52
 68
 00
 ce
@@ -1335,7 +1343,7 @@
 c0
 00
 81
-54
+56
 68
 00
 83
@@ -1387,7 +1395,7 @@
 20
 20
 05
-e0
+e4
 68
 00
 c4
@@ -1395,11 +1403,11 @@
 c0
 03
 01
-5e
+60
 c0
 01
 01
-65
+67
 20
 20
 4b
@@ -1411,7 +1419,7 @@
 c0
 00
 81
-62
+64
 20
 40
 3e
@@ -1423,7 +1431,7 @@
 20
 40
 01
-03
+05
 70
 4e
 52
@@ -1467,15 +1475,15 @@
 c0
 01
 01
-73
+75
 c0
 03
 01
-7a
+7c
 c0
 03
 81
-71
+73
 20
 20
 4c
@@ -1543,11 +1551,11 @@
 c0
 0d
 81
-83
+85
 c0
 0e
 81
-83
+85
 20
 20
 4c
@@ -1615,7 +1623,7 @@
 24
 20
 81
-95
+97
 18
 40
 ff
@@ -1631,7 +1639,7 @@
 20
 40
 01
-98
+9a
 20
 20
 4f
@@ -1643,7 +1651,7 @@
 c0
 00
 81
-9b
+9d
 20
 20
 4b
@@ -1663,19 +1671,19 @@
 c0
 00
 01
-a3
+a5
 c0
 01
 01
-a6
+a8
 c0
 01
 81
-aa
+ac
 c0
 05
 01
-ae
+b0
 20
 20
 4f
@@ -1739,7 +1747,7 @@
 c0
 00
 81
-b3
+b5
 20
 20
 4f
@@ -1767,7 +1775,7 @@
 c0
 09
 01
-ba
+bc
 20
 20
 50
@@ -1779,7 +1787,7 @@
 20
 40
 01
-c0
+c2
 20
 40
 51
@@ -1859,7 +1867,7 @@
 24
 36
 81
-d7
+d9
 68
 00
 80
@@ -1883,7 +1891,7 @@
 c0
 01
 81
-e1
+e3
 c0
 02
 d1
@@ -1923,7 +1931,7 @@
 24
 3a
 01
-dd
+df
 20
 20
 51
@@ -1935,7 +1943,7 @@
 20
 20
 01
-d7
+d9
 68
 02
 45
@@ -1963,11 +1971,11 @@
 20
 37
 01
-eb
+ed
 24
 36
 81
-fa
+fc
 20
 40
 3c
@@ -2060,6 +2068,14 @@
 20
 3c
 c3
+c5
+15
+62
+3d
+20
+20
+62
+50
 68
 12
 00
@@ -2167,23 +2183,23 @@
 c0
 11
 82
-22
+26
 c0
 12
 02
-26
+2a
 c0
 12
 82
-2a
+2e
 c0
 06
 82
-2c
+30
 c0
 13
 82
-39
+3d
 20
 20
 7d
@@ -2203,7 +2219,7 @@
 20
 20
 06
-70
+74
 68
 00
 c9
@@ -2227,7 +2243,7 @@
 20
 20
 06
-41
+45
 79
 3f
 80
@@ -2267,7 +2283,7 @@
 20
 40
 02
-43
+47
 1a
 42
 7e
@@ -2319,7 +2335,7 @@
 20
 20
 02
-35
+39
 da
 20
 44
@@ -2347,7 +2363,7 @@
 20
 20
 02
-44
+48
 20
 40
 58
@@ -2367,7 +2383,7 @@
 c0
 0f
 82
-70
+74
 20
 20
 7d
@@ -2379,7 +2395,7 @@
 20
 40
 00
-b0
+b2
 70
 4e
 45
@@ -2487,7 +2503,7 @@
 20
 40
 02
-8e
+92
 24
 76
 00
@@ -2499,7 +2515,7 @@
 c2
 81
 02
-71
+75
 20
 60
 00
@@ -2531,7 +2547,7 @@
 20
 40
 02
-7c
+80
 68
 10
 80
@@ -2631,7 +2647,7 @@
 20
 5a
 02
-8c
+90
 68
 00
 c9
@@ -2639,7 +2655,7 @@
 24
 5a
 02
-8c
+90
 20
 60
 00
@@ -2651,7 +2667,7 @@
 20
 40
 02
-98
+9c
 70
 4e
 a3
@@ -2663,7 +2679,7 @@
 20
 40
 00
-ab
+ad
 20
 74
 00
@@ -2679,7 +2695,7 @@
 20
 40
 02
-be
+c2
 60
 00
 c8
@@ -2687,11 +2703,11 @@
 c0
 00
 82
-a9
+ad
 c0
 03
 02
-da
+de
 1f
 e2
 04
@@ -2707,7 +2723,7 @@
 c3
 00
 02
-b3
+b7
 1a
 22
 0c
@@ -2723,7 +2739,7 @@
 c0
 02
 82
-f1
+f5
 20
 20
 3b
@@ -2731,11 +2747,11 @@
 20
 40
 02
-be
+c2
 20
 40
 02
-be
+c2
 60
 00
 89
@@ -2743,7 +2759,7 @@
 20
 40
 02
-ae
+b2
 20
 20
 7d
@@ -2751,7 +2767,7 @@
 20
 40
 02
-c1
+c5
 18
 c2
 04
@@ -2779,11 +2795,11 @@
 20
 20
 02
-b6
+ba
 20
 40
 02
-be
+c2
 1f
 e2
 72
@@ -2791,15 +2807,15 @@
 20
 40
 02
-ba
+be
 20
 20
 02
-ae
+b2
 20
 40
 02
-be
+c2
 e0
 a0
 80
@@ -2807,7 +2823,7 @@
 c2
 00
 02
-ba
+be
 20
 60
 00
@@ -2815,7 +2831,7 @@
 20
 40
 02
-c1
+c5
 e8
 c0
 80
@@ -2883,11 +2899,11 @@
 20
 40
 02
-d5
+d9
 c2
 00
 02
-cd
+d1
 18
 a2
 7e
@@ -2931,7 +2947,7 @@
 20
 40
 02
-be
+c2
 1f
 e2
 72
@@ -2943,7 +2959,7 @@
 20
 20
 02
-b8
+bc
 58
 00
 00
@@ -2971,7 +2987,7 @@
 20
 40
 00
-ab
+ad
 20
 74
 00
@@ -2987,7 +3003,7 @@
 20
 40
 02
-be
+c2
 60
 00
 c8
@@ -2999,7 +3015,7 @@
 c0
 82
 82
-b3
+b7
 18
 c2
 24
@@ -3015,7 +3031,7 @@
 20
 20
 02
-f6
+fa
 18
 c2
 24
@@ -3103,7 +3119,7 @@
 20
 40
 02
-be
+c2
 1f
 e2
 72
@@ -3111,11 +3127,11 @@
 20
 40
 02
-b8
+bc
 20
 40
 03
-0d
+11
 20
 76
 00
@@ -3167,7 +3183,7 @@
 20
 20
 02
-c6
+ca
 58
 00
 47
@@ -3223,7 +3239,7 @@
 58
 00
 03
-93
+97
 60
 01
 42
@@ -3231,7 +3247,7 @@
 58
 00
 02
-94
+98
 60
 01
 42
@@ -3239,7 +3255,7 @@
 58
 00
 03
-8c
+90
 60
 01
 42
@@ -3247,11 +3263,11 @@
 24
 55
 83
-17
+1b
 20
 55
 83
-54
+58
 20
 40
 3d
@@ -3263,11 +3279,11 @@
 c0
 2d
 03
-68
+6c
 20
 35
 83
-66
+6a
 68
 00
 c2
@@ -3279,7 +3295,7 @@
 20
 40
 05
-d9
+dd
 68
 01
 4e
@@ -3307,11 +3323,11 @@
 20
 40
 03
-73
+77
 20
 40
 03
-ad
+b1
 68
 04
 09
@@ -3319,7 +3335,7 @@
 24
 3a
 03
-41
+45
 68
 01
 4a
@@ -3331,7 +3347,7 @@
 20
 3a
 03
-41
+45
 60
 01
 4e
@@ -3347,19 +3363,19 @@
 24
 3a
 03
-49
+4d
 20
 40
 02
-6e
+72
 20
 40
 02
-c6
+ca
 20
 40
 02
-e2
+e6
 70
 82
 80
@@ -3407,11 +3423,11 @@
 20
 40
 04
-c5
+c9
 20
 20
 03
-4e
+52
 1c
 e2
 7e
@@ -3419,11 +3435,11 @@
 c5
 93
 03
-5e
+62
 20
 3a
 03
-59
+5d
 70
 49
 b9
@@ -3451,11 +3467,11 @@
 20
 20
 03
-57
+5b
 20
 3a
 03
-61
+65
 70
 49
 c1
@@ -3491,7 +3507,7 @@
 20
 20
 03
-42
+46
 1c
 e2
 7e
@@ -3499,7 +3515,7 @@
 20
 3a
 02
-52
+56
 20
 40
 53
@@ -3535,7 +3551,7 @@
 20
 20
 03
-42
+46
 20
 40
 62
@@ -3575,7 +3591,7 @@
 c2
 81
 03
-7e
+82
 20
 60
 00
@@ -3687,7 +3703,7 @@
 20
 20
 02
-c6
+ca
 70
 49
 27
@@ -3707,7 +3723,7 @@
 20
 20
 04
-5e
+62
 68
 08
 c9
@@ -3715,7 +3731,7 @@
 20
 40
 03
-a4
+a8
 18
 40
 84
@@ -3855,7 +3871,7 @@
 20
 40
 05
-e0
+e4
 68
 00
 c9
@@ -3863,11 +3879,11 @@
 c0
 00
 83
-c7
+cb
 c0
 01
 03
-cb
+cf
 20
 60
 00
@@ -3887,7 +3903,7 @@
 20
 20
 03
-b5
+b9
 70
 49
 b1
@@ -3895,7 +3911,7 @@
 20
 20
 03
-c8
+cc
 68
 01
 49
@@ -3911,7 +3927,7 @@
 c2
 85
 05
-45
+49
 68
 00
 c9
@@ -3919,7 +3935,7 @@
 c0
 00
 83
-d6
+da
 70
 49
 b1
@@ -3931,7 +3947,7 @@
 c0
 80
 83
-b5
+b9
 68
 00
 c9
@@ -3947,11 +3963,11 @@
 c0
 02
 03
-dd
+e1
 20
 40
 03
-9e
+a2
 70
 49
 6e
@@ -3959,11 +3975,11 @@
 20
 20
 05
-06
+0a
 20
 40
 05
-e0
+e4
 70
 49
 b5
@@ -3971,7 +3987,7 @@
 20
 20
 03
-b5
+b9
 70
 49
 b2
@@ -3987,7 +4003,7 @@
 20
 20
 03
-b5
+b9
 68
 00
 c9
@@ -3995,7 +4011,7 @@
 c0
 01
 83
-e1
+e5
 68
 00
 c9
@@ -4007,7 +4023,7 @@
 20
 20
 83
-b3
+b7
 68
 00
 c9
@@ -4015,11 +4031,11 @@
 c0
 00
 83
-e0
+e4
 c0
 01
 03
-e1
+e5
 20
 60
 00
@@ -4035,11 +4051,11 @@
 20
 40
 03
-f2
+f6
 24
 56
 03
-fa
+fe
 20
 60
 00
@@ -4075,7 +4091,7 @@
 20
 20
 02
-8c
+90
 68
 00
 c9
@@ -4083,7 +4099,7 @@
 20
 3a
 04
-02
+06
 1f
 e0
 ff
@@ -4099,7 +4115,7 @@
 20
 40
 03
-9e
+a2
 70
 49
 6e
@@ -4119,11 +4135,11 @@
 24
 3a
 03
-d4
+d8
 20
 40
 03
-9e
+a2
 70
 49
 6e
@@ -4155,7 +4171,7 @@
 24
 41
 04
-21
+25
 1f
 e2
 24
@@ -4183,7 +4199,7 @@
 24
 21
 04
-1f
+23
 79
 3f
 fe
@@ -4195,23 +4211,23 @@
 20
 40
 04
-24
+28
 20
 40
 04
-31
+35
 20
 34
 04
-8e
+92
 20
 40
 03
-ed
+f1
 20
 40
 05
-06
+0a
 68
 00
 c9
@@ -4223,7 +4239,7 @@
 20
 42
 85
-ea
+ee
 79
 3f
 80
@@ -4259,11 +4275,11 @@
 c0
 02
 04
-2a
+2e
 c0
 02
 84
-2d
+31
 20
 60
 00
@@ -4303,15 +4319,15 @@
 c0
 ff
 86
-45
+49
 20
 40
 02
-98
+9c
 20
 34
 04
-45
+49
 68
 00
 c8
@@ -4327,7 +4343,7 @@
 c0
 00
 84
-3b
+3f
 68
 00
 ce
@@ -4335,7 +4351,7 @@
 20
 5a
 04
-ab
+af
 68
 00
 ce
@@ -4343,15 +4359,15 @@
 24
 5a
 04
-41
+45
 20
 40
 04
-4a
+4e
 20
 40
 04
-6b
+6f
 70
 49
 2d
@@ -4383,7 +4399,7 @@
 24
 3a
 04
-4a
+4e
 68
 00
 c9
@@ -4423,7 +4439,7 @@
 20
 40
 03
-b5
+b9
 60
 00
 c9
@@ -4499,7 +4515,7 @@
 c2
 00
 04
-61
+65
 1a
 22
 7e
@@ -4611,7 +4627,7 @@
 20
 40
 03
-b5
+b9
 60
 00
 c9
@@ -4643,7 +4659,7 @@
 20
 40
 04
-58
+5c
 68
 00
 c9
@@ -4659,15 +4675,15 @@
 20
 40
 04
-6b
+6f
 20
 40
 04
-3f
+43
 20
 20
 04
-1b
+1f
 68
 00
 ce
@@ -4675,15 +4691,15 @@
 20
 3a
 04
-92
+96
 20
 40
 04
-be
+c2
 20
 20
 04
-df
+e3
 68
 00
 c9
@@ -4699,7 +4715,7 @@
 20
 3a
 04
-7d
+81
 68
 08
 c9
@@ -4731,7 +4747,7 @@
 20
 40
 00
-a0
+a2
 24
 74
 00
@@ -4795,7 +4811,7 @@
 20
 20
 84
-b5
+b9
 68
 00
 ce
@@ -4859,7 +4875,7 @@
 20
 20
 04
-b3
+b7
 68
 00
 ce
@@ -4895,11 +4911,11 @@
 20
 40
 02
-98
+9c
 20
 34
 04
-ca
+ce
 68
 00
 c8
@@ -4907,7 +4923,7 @@
 c0
 03
 04
-db
+df
 68
 00
 ce
@@ -4915,15 +4931,15 @@
 c0
 00
 84
-d1
+d5
 c0
 01
 04
-8e
+92
 c0
 01
 84
-cf
+d3
 20
 60
 00
@@ -4943,11 +4959,11 @@
 c0
 00
 85
-03
+07
 20
 40
 04
-ab
+af
 70
 4e
 7d
@@ -4979,19 +4995,19 @@
 20
 40
 04
-37
+3b
 20
 40
 03
-ed
+f1
 20
 40
 05
-06
+0a
 20
 40
 05
-ea
+ee
 20
 40
 3b
@@ -5019,7 +5035,7 @@
 c0
 00
 84
-e8
+ec
 58
 00
 00
@@ -5031,7 +5047,7 @@
 20
 40
 04
-f8
+fc
 d9
 60
 0d
@@ -5110,8 +5126,8 @@
 01
 c0
 82
-84
-fe
+85
+02
 58
 00
 00
@@ -5147,7 +5163,7 @@
 20
 20
 04
-df
+e3
 70
 49
 31
@@ -5163,7 +5179,7 @@
 20
 40
 05
-1e
+22
 68
 00
 c9
@@ -5175,19 +5191,19 @@
 24
 2c
 05
-2d
+31
 24
 37
 85
-2d
+31
 20
 40
 05
-4c
+50
 20
 40
 05
-dc
+e0
 68
 00
 c9
@@ -5207,11 +5223,11 @@
 c0
 ff
 85
-1c
+20
 20
 40
 03
-e4
+e8
 58
 00
 00
@@ -5239,11 +5255,11 @@
 20
 40
 05
-d9
+dd
 20
 20
 06
-60
+64
 78
 57
 fc
@@ -5251,7 +5267,7 @@
 20
 40
 05
-6c
+70
 68
 00
 c9
@@ -5259,7 +5275,7 @@
 c0
 00
 85
-2b
+2f
 18
 00
 2a
@@ -5287,11 +5303,11 @@
 20
 40
 05
-96
+9a
 20
 57
 85
-d5
+d9
 20
 60
 00
@@ -5299,11 +5315,11 @@
 20
 40
 05
-d5
+d9
 20
 20
 05
-10
+14
 68
 00
 c9
@@ -5323,7 +5339,7 @@
 c0
 ff
 85
-41
+45
 68
 08
 c9
@@ -5347,7 +5363,7 @@
 24
 3a
 05
-07
+0b
 68
 00
 c9
@@ -5355,7 +5371,7 @@
 c0
 01
 83
-cd
+d1
 68
 00
 c9
@@ -5371,11 +5387,11 @@
 c0
 01
 03
-c2
+c6
 20
 40
 03
-b9
+bd
 70
 49
 6e
@@ -5383,7 +5399,7 @@
 20
 20
 05
-06
+0a
 68
 00
 c9
@@ -5399,7 +5415,7 @@
 20
 20
 05
-4a
+4e
 58
 00
 00
@@ -5427,11 +5443,11 @@
 20
 20
 02
-c6
+ca
 20
 40
 05
-53
+57
 68
 00
 c9
@@ -5571,11 +5587,11 @@
 20
 40
 05
-60
+64
 20
 40
 05
-69
+6d
 79
 20
 2a
@@ -5655,7 +5671,7 @@
 c2
 00
 05
-82
+86
 78
 24
 7c
@@ -5727,7 +5743,7 @@
 20
 40
 05
-60
+64
 78
 57
 fc
@@ -5763,7 +5779,7 @@
 24
 2c
 05
-d8
+dc
 78
 46
 fc
@@ -5795,7 +5811,7 @@
 20
 40
 04
-5e
+62
 68
 08
 c9
@@ -5807,7 +5823,7 @@
 24
 22
 85
-d5
+d9
 09
 80
 00
@@ -5831,7 +5847,7 @@
 20
 22
 85
-b5
+b9
 68
 00
 c8
@@ -5847,7 +5863,7 @@
 24
 20
 85
-d5
+d9
 09
 80
 00
@@ -5871,7 +5887,7 @@
 20
 22
 85
-bf
+c3
 09
 80
 00
@@ -5887,7 +5903,7 @@
 c2
 00
 05
-bb
+bf
 18
 a2
 22
@@ -5939,7 +5955,7 @@
 20
 23
 05
-d5
+d9
 78
 37
 fc
@@ -5975,7 +5991,7 @@
 20
 20
 06
-28
+2c
 78
 4d
 fc
@@ -5991,7 +6007,7 @@
 20
 20
 05
-d5
+d9
 70
 49
 c4
@@ -6031,7 +6047,7 @@
 24
 41
 05
-e8
+ec
 68
 00
 c9
@@ -6067,7 +6083,7 @@
 20
 40
 06
-31
+35
 60
 08
 c9
@@ -6079,11 +6095,11 @@
 20
 40
 85
-f8
+fc
 24
 40
-85
-fc
+86
+00
 98
 46
 7c
@@ -6091,7 +6107,7 @@
 24
 21
 06
-15
+19
 68
 00
 c9
@@ -6103,7 +6119,7 @@
 24
 21
 06
-00
+04
 68
 00
 c9
@@ -6111,7 +6127,7 @@
 c0
 00
 06
-15
+19
 20
 60
 00
@@ -6171,11 +6187,11 @@
 20
 40
 85
-fa
+fe
 24
 40
-85
-fe
+86
+02
 98
 46
 7c
@@ -6191,7 +6207,7 @@
 c0
 00
 06
-21
+25
 1f
 e0
 ff
@@ -6203,7 +6219,7 @@
 c0
 00
 06
-21
+25
 70
 89
 55
@@ -6239,7 +6255,7 @@
 c0
 01
 06
-1a
+1e
 1f
 e0
 fe
@@ -6251,7 +6267,7 @@
 c0
 00
 86
-0e
+12
 70
 89
 55
@@ -6367,7 +6383,7 @@
 c2
 00
 06
-34
+38
 18
 49
 7e
@@ -6415,7 +6431,7 @@
 20
 40
 03
-99
+9d
 70
 49
 38
@@ -6439,15 +6455,15 @@
 c0
 00
 86
-4c
+50
 c0
 01
 06
-4f
+53
 c0
 01
 86
-52
+56
 20
 20
 3b
@@ -6463,7 +6479,7 @@
 20
 20
 06
-54
+58
 70
 49
 38
@@ -6475,7 +6491,7 @@
 20
 20
 06
-54
+58
 70
 49
 38
@@ -6519,15 +6535,15 @@
 20
 40
 04
-58
+5c
 20
 40
 04
-6b
+6f
 20
 40
 04
-3f
+43
 20
 20
 31
@@ -6543,15 +6559,15 @@
 c0
 08
 86
-66
+6a
 c0
 09
 06
-68
+6c
 c0
 09
 86
-6a
+6e
 20
 60
 00
@@ -6563,7 +6579,7 @@
 20
 20
 05
-16
+1a
 70
 49
 38
@@ -6571,7 +6587,7 @@
 20
 20
 05
-16
+1a
 70
 49
 38
@@ -6583,7 +6599,7 @@
 20
 40
 02
-c6
+ca
 68
 02
 49
@@ -6591,11 +6607,11 @@
 20
 40
 03
-9c
+a0
 20
 20
 05
-16
+1a
 79
 3f
 80
@@ -6603,7 +6619,7 @@
 20
 40
 03
-9e
+a2
 68
 02
 49
@@ -6611,7 +6627,7 @@
 20
 40
 04
-5e
+62
 68
 00
 c9
@@ -6623,7 +6639,7 @@
 20
 40
 06
-86
+8a
 58
 00
 00
@@ -6643,19 +6659,19 @@
 c0
 7f
 85
-4a
+4e
 20
 40
 05
-1e
+22
 24
 2c
 06
-90
+94
 24
 37
 86
-90
+94
 70
 41
 31
@@ -6719,11 +6735,11 @@
 20
 40
 04
-58
+5c
 20
 20
 04
-6b
+6f
 68
 01
 49
@@ -6739,13 +6755,13 @@
 20
 40
 03
-9e
+a2
 20
 20
 06
-79
-83
-dd
+7d
+4b
+a9
 aa
 55
 00
@@ -6754,6 +6770,13 @@
 55
 01
 00
+30
+40
+04
+aa
+55
+01
+00
 00
 40
 09
@@ -7861,5 +7884,5 @@
 00
 00
 00
-1a
-b6
+32
+d7
Index: btms/output/program.lis
===================================================================
--- /branch/mouse/ShangGui/btms/output/program.lis	(revision 429)
+++ /branch/mouse/ShangGui/btms/output/program.lis	(working copy)
@@ -1,2224 +1,2230 @@
 include "bt_format "
 org 0x0000
 0000 c512800f bmark1 mark_ext_patch ,patch_ext 
-0001 c0000024 beq patch00_0 ,p_soft_reset 
-0002 c001802f beq patch00_3 ,p_main_loop 
-0003 c0430035 beq patch10_6 ,p_shutdown_radio 
-0004 c045003f beq patch11_2 ,p_set_freq_tx 
-0005 c0458061 beq patch11_3 ,p_initialize_radio_cont 
-0006 c053806d beq patch14_7 ,p_lpm_recover_clk 
-0007 c0540074 beq patch15_0 ,p_lpm_dispatch 
-0008 c0548088 beq patch15_1 ,p_lpm_dispatch_next2 
-0009 c056009b beq patch15_4 ,p_lpm_dispatch_unconn 
-000a c05a0320 beq patch16_4 ,p_device_init 
-000b c05a80b4 beq patch16_5 ,p_app_lpm_init 
-000c c05b00bb beq patch16_6 ,p_app_process_bb_event 
-000d c05b80db beq patch16_7 ,p_app_evt_timer 
+0001 c0000025 beq patch00_0 ,p_soft_reset 
+0002 c0018031 beq patch00_3 ,p_main_loop 
+0003 c0430037 beq patch10_6 ,p_shutdown_radio 
+0004 c0450041 beq patch11_2 ,p_set_freq_tx 
+0005 c0458063 beq patch11_3 ,p_initialize_radio_cont 
+0006 c053806f beq patch14_7 ,p_lpm_recover_clk 
+0007 c0540076 beq patch15_0 ,p_lpm_dispatch 
+0008 c054808a beq patch15_1 ,p_lpm_dispatch_next2 
+0009 c056009d beq patch15_4 ,p_lpm_dispatch_unconn 
+000a c05a0324 beq patch16_4 ,p_device_init 
+000b c05a80b6 beq patch16_5 ,p_app_lpm_init 
+000c c05b00bd beq patch16_6 ,p_app_process_bb_event 
+000d c05b80dd beq patch16_7 ,p_app_evt_timer 
 000e 20203b34 branch loop 
 
 patch_ext:
-000f c0028115 beq patch20_5 ,p_le_slave_match 
-0010 c00b011a beq patch22_6 ,p_le_receive_skip 
-0011 c00d811e beq patch23_3 ,p_le_send_adv_ind 
-0012 c0118121 beq patch24_3 ,p_le_update_param 
-0013 c0178145 beq patch25_7 ,p_le_prepare_tx 
-0014 c018815a beq patch26_1 ,p_le_prepare_tx_ll 
-0015 c019016c beq patch26_2 ,p_le_prepare_smp0 
-0016 c019817f beq patch26_3 ,p_le_prepare_att 
-0017 c01c8190 beq patch27_1 ,p_le_send_packet 
-0018 c01e019d beq patch27_4 ,p_le_parse0 
-0019 c01e81b0 beq patch27_5 ,p_le_parse_smp 
-001a c01f01b6 beq patch27_6 ,p_le_parse_att 
-001b c01f81c5 beq patch27_7 ,p_le_adv 
-001c c02101e3 beq patch28_2 ,p_le_receive_window_size 
-001d c02681e8 beq patch29_5 ,p_le_lpm_set_mult 
-001e c04a8202 beq patch32_5 ,p_gpio_set_before_lpm_common 
-001f c0798209 beq patch3e_3 ,p_ui_timer_check_end 
-0020 c07b8215 beq patch3e_7 ,p_check_51cmd_once 
-0021 c07c024a beq patch3f_0 ,p_check_51cmd_once_continue0 
-0022 c07c8250 beq patch3f_1 ,p_check_enter_hibernate 
-0023 20203b34 branch loop 
+000f c0028117 beq patch20_5 ,p_le_slave_match 
+0010 c00b011c beq patch22_6 ,p_le_receive_skip 
+0011 c00d8120 beq patch23_3 ,p_le_send_adv_ind 
+0012 c0118123 beq patch24_3 ,p_le_update_param 
+0013 c0178147 beq patch25_7 ,p_le_prepare_tx 
+0014 c018815c beq patch26_1 ,p_le_prepare_tx_ll 
+0015 c019016e beq patch26_2 ,p_le_prepare_smp0 
+0016 c0198181 beq patch26_3 ,p_le_prepare_att 
+0017 c01c8192 beq patch27_1 ,p_le_send_packet 
+0018 c01e019f beq patch27_4 ,p_le_parse0 
+0019 c01e81b2 beq patch27_5 ,p_le_parse_smp 
+001a c01f01b8 beq patch27_6 ,p_le_parse_att 
+001b c01f81c7 beq patch27_7 ,p_le_adv 
+001c c02101e5 beq patch28_2 ,p_le_receive_window_size 
+001d c02681ea beq patch29_5 ,p_le_lpm_set_mult 
+001e c0410204 beq patch30_2 ,p_iicd_read_eep 
+001f c04a8206 beq patch32_5 ,p_gpio_set_before_lpm_common 
+0020 c079820d beq patch3e_3 ,p_ui_timer_check_end 
+0021 c07b8219 beq patch3e_7 ,p_check_51cmd_once 
+0022 c07c024e beq patch3f_0 ,p_check_51cmd_once_continue0 
+0023 c07c8254 beq patch3f_1 ,p_check_enter_hibernate 
+0024 20203b34 branch loop 
 
 p_soft_reset:
-0024 20800000 clear_stack 
-0025 2435b004 nbranch soft_reset + 3 ,wake 
-0026 6800c595 fetch 1 ,mem_le_switch_send_data 
-0027 243a002d nbranch p_soft_reset_start_51 ,blank 
-0028 6800ce78 fetch 1 ,mem_short_lpm_enable 
-0029 203a3004 branch soft_reset + 3 ,blank 
-002a 704e7f00 jam 0 ,mem_ipc_is_ready 
-002b c5933004 bmark0 mark_24g ,soft_reset + 3 
-002c 2435b004 nbranch soft_reset + 3 ,wake 
+0025 20800000 clear_stack 
+0026 70403000 jam 0 ,mem_patch30 
+0027 2435b004 nbranch soft_reset + 3 ,wake 
+0028 6800c595 fetch 1 ,mem_le_switch_send_data 
+0029 243a002f nbranch p_soft_reset_start_51 ,blank 
+002a 6800ce78 fetch 1 ,mem_short_lpm_enable 
+002b 203a3004 branch soft_reset + 3 ,blank 
+002c 704e7f00 jam 0 ,mem_ipc_is_ready 
+002d c5933004 bmark0 mark_24g ,soft_reset + 3 
+002e 2435b004 nbranch soft_reset + 3 ,wake 
 
 p_soft_reset_start_51:
-002d 70828003 hjam start_c51_core ,core_docd_ctrl 
-002e 20203004 branch soft_reset + 3 
+002f 70828003 hjam start_c51_core ,core_docd_ctrl 
+0030 20203004 branch soft_reset + 3 
 
 p_main_loop:
-002f 2040025a call p_ipc_timer_check 
-0030 20400408 call g24_transmit_process 
-0031 20400298 call p_ipc_rx 
-0032 6800ce78 fetch 1 ,mem_short_lpm_enable 
-0033 243a034e nbranch p_24g_short_lpm_process_loop ,blank 
-0034 2020301b branch main_loop + 2 
+0031 2040025e call p_ipc_timer_check 
+0032 2040040c call g24_transmit_process 
+0033 2040029c call p_ipc_rx 
+0034 6800ce78 fetch 1 ,mem_short_lpm_enable 
+0035 243a0352 nbranch p_24g_short_lpm_process_loop ,blank 
+0036 2020301b branch main_loop + 2 
 
 p_shutdown_radio:
-0035 2030b9a3 branch shutdown_radio0 ,is_rx 
-0036 708955d4 hjam 0xd4 ,0x955 
-0037 20000004 nop 4 
-0038 708955d2 hjam 0xd2 ,0x955 
+0037 2030b9a3 branch shutdown_radio0 ,is_rx 
+0038 708955d4 hjam 0xd4 ,0x955 
 0039 20000004 nop 4 
-003a 708955d1 hjam 0xd1 ,0x955 
+003a 708955d2 hjam 0xd2 ,0x955 
 003b 20000004 nop 4 
-003c 6800c280 fetch 1 ,mem_tx_power 
-003d c00a39ae beq tx_power_pair ,shutdown_radio_pair 
-003e 2020399c branch shutdown_radio_select 
+003c 708955d1 hjam 0xd1 ,0x955 
+003d 20000004 nop 4 
+003e 6800c280 fetch 1 ,mem_tx_power 
+003f c00a39ae beq tx_power_pair ,shutdown_radio_pair 
+0040 2020399c branch shutdown_radio_select 
 
 p_set_freq_tx:
-003f 60088017 storet 1 ,mem_last_freq 
-0040 1840a200 add temp ,0 ,rega 
-0041 20403a13 call rf_write_freq 
-0042 58000500 setarg param_pll_setup 
-0043 20403b35 call sleep 
+0041 60088017 storet 1 ,mem_last_freq 
+0042 1840a200 add temp ,0 ,rega 
+0043 20403a13 call rf_write_freq 
+0044 58000500 setarg param_pll_setup 
+0045 20403b35 call sleep 
 
 p_txon:
-0044 70890601 hjam 0x1 ,rfen_adc 
-0045 7089003c hjam 0x3c ,rfen_rx 
-0046 708901e0 hjam 0xe0 ,rfen_tx 
-0047 70896d12 hjam 0x12 ,0x96d 
-0048 2000000a nop 10 
-0049 70890201 hjam 0x01 ,rfen_mdm 
-004a 7089023d hjam 0x3d ,rfen_mdm 
-004b 2000000a nop 10 
-004c 708903b7 hjam 0xb7 ,rfen_sn 
+0046 70890601 hjam 0x1 ,rfen_adc 
+0047 7089003c hjam 0x3c ,rfen_rx 
+0048 708901e0 hjam 0xe0 ,rfen_tx 
+0049 70896d12 hjam 0x12 ,0x96d 
+004a 2000000a nop 10 
+004b 70890201 hjam 0x01 ,rfen_mdm 
+004c 7089023d hjam 0x3d ,rfen_mdm 
 004d 2000000a nop 10 
-004e 7089027f hjam 0x7f ,rfen_mdm 
-004f 6800c280 fetch 1 ,mem_tx_power 
-0050 c00a005e beq tx_power_pair ,p_set_tx_power_pair 
-0051 c2808058 bbit1 tx_power_3db ,p_rx_high_sens 
-0052 c2810058 bbit1 tx_power_5db ,p_rx_high_sens 
+004e 708903b7 hjam 0xb7 ,rfen_sn 
+004f 2000000a nop 10 
+0050 7089027f hjam 0x7f ,rfen_mdm 
+0051 6800c280 fetch 1 ,mem_tx_power 
+0052 c00a0060 beq tx_power_pair ,p_set_tx_power_pair 
+0053 c280805a bbit1 tx_power_3db ,p_rx_high_sens 
+0054 c281005a bbit1 tx_power_5db ,p_rx_high_sens 
 
 p_rx_low_sens:
-0053 70894c5b hjam 0x5b ,0x894c 
-0054 70894d96 hjam 0x96 ,0x894d 
-0055 70894e2c hjam 0x2c ,0x894e 
-0056 70894f46 hjam 0x46 ,0x894f 
-0057 2020005c branch p_txon_select_power_level 
+0055 70894c5b hjam 0x5b ,0x894c 
+0056 70894d96 hjam 0x96 ,0x894d 
+0057 70894e2c hjam 0x2c ,0x894e 
+0058 70894f46 hjam 0x46 ,0x894f 
+0059 2020005e branch p_txon_select_power_level 
 
 p_rx_high_sens:
-0058 70894cfb hjam 0xfb ,0x894c 
-0059 70894def hjam 0xef ,0x894d 
-005a 70894eec hjam 0xec ,0x894e 
-005b 70894f5e hjam 0x5e ,0x894f 
+005a 70894cfb hjam 0xfb ,0x894c 
+005b 70894def hjam 0xef ,0x894d 
+005c 70894eec hjam 0xec ,0x894e 
+005d 70894f5e hjam 0x5e ,0x894f 
 
 p_txon_select_power_level:
-005c 6800c280 fetch 1 ,mem_tx_power 
-005d 202039dc branch txon_power_select 
+005e 6800c280 fetch 1 ,mem_tx_power 
+005f 202039dc branch txon_power_select 
 
 p_set_tx_power_pair:
-005e 708956c2 hjam 0xc2 ,0x8956 
-005f 708955d0 hjam 0xd0 ,0x8955 
-0060 20600000 rtn 
+0060 708956c2 hjam 0xc2 ,0x8956 
+0061 708955d0 hjam 0xd0 ,0x8955 
+0062 20600000 rtn 
 
 p_initialize_radio_cont:
-0061 20403cd2 call lpm_cal_xtal_startup 
-0062 20403a5f call switchto_dpllclk 
-0063 70804206 hjam clksel_rc ,core_clksel 
-0064 68108968 hfetch 1 ,rf_clkpll_int 
-0065 79207e07 set1 7 ,pdata 
-0066 60108968 hstore 1 ,rf_clkpll_int 
-0067 793ffe07 set0 7 ,pdata 
+0063 20403cd2 call lpm_cal_xtal_startup 
+0064 20403a5f call switchto_dpllclk 
+0065 70804206 hjam clksel_rc ,core_clksel 
+0066 68108968 hfetch 1 ,rf_clkpll_int 
+0067 79207e07 set1 7 ,pdata 
 0068 60108968 hstore 1 ,rf_clkpll_int 
-0069 79207e07 set1 7 ,pdata 
+0069 793ffe07 set0 7 ,pdata 
 006a 60108968 hstore 1 ,rf_clkpll_int 
-006b 70804205 hjam clksel_dpll ,core_clksel 
-006c 20203a0c branch initialize_radio_cont + 4 
+006b 79207e07 set1 7 ,pdata 
+006c 60108968 hstore 1 ,rf_clkpll_int 
+006d 70804205 hjam clksel_dpll ,core_clksel 
+006e 20203a0c branch initialize_radio_cont + 4 
 
 p_lpm_recover_clk:
-006d 20403c2b call lpm_recover_clk + 2 
-006e 6800ce45 fetch 1 ,mem_hibernate_flag 
-006f 207a0000 rtn blank 
-0070 704e4500 jam 0 ,mem_hibernate_flag 
-0071 1c427e00 copy clkn_bt ,pdata 
-0072 6002489e store 4 ,mem_ipc_last_check_timer 
-0073 20600000 rtn 
+006f 20403c2b call lpm_recover_clk + 2 
+0070 6800ce45 fetch 1 ,mem_hibernate_flag 
+0071 207a0000 rtn blank 
+0072 704e4500 jam 0 ,mem_hibernate_flag 
+0073 1c427e00 copy clkn_bt ,pdata 
+0074 6002489e store 4 ,mem_ipc_last_check_timer 
+0075 20600000 rtn 
 
 p_lpm_dispatch:
-0074 c6130000 rtnmark1 mark_24g 
-0075 20403be2 call lpo_calibration 
-0076 6801c20f fetch 3 ,mem_clks_per_lpo 
-0077 207a0000 rtn blank 
-0078 68014042 fetch 2 ,mem_context + coffset_tsniff 
-0079 d840ffff arg 0xffff ,temp 
-007a 98467c00 isub temp ,null 
-007b 20628000 rtn zero 
-007c 6800c131 fetch 1 ,mem_lpm_mode 
-007d 207a0000 rtn blank 
-007e 20404816 call l2cap_malloc_is_fifo_empty 
-007f 247a0000 nrtn blank 
-0080 20403d0e call lpm_check_wake_lock 
+0076 c6130000 rtnmark1 mark_24g 
+0077 20403be2 call lpo_calibration 
+0078 6801c20f fetch 3 ,mem_clks_per_lpo 
+0079 207a0000 rtn blank 
+007a 68014042 fetch 2 ,mem_context + coffset_tsniff 
+007b d840ffff arg 0xffff ,temp 
+007c 98467c00 isub temp ,null 
+007d 20628000 rtn zero 
+007e 6800c131 fetch 1 ,mem_lpm_mode 
+007f 207a0000 rtn blank 
+0080 20404816 call l2cap_malloc_is_fifo_empty 
 0081 247a0000 nrtn blank 
-0082 20403a7b call xtal_fast_wake 
-0083 6800c6e2 fetch 1 ,mem_ssp_enable 
-0084 203a3c5e branch lpm_dispatch_next ,blank 
-0085 6800c639 fetch 1 ,mem_sp_local_key_invalid 
-0086 207a0000 rtn blank 
-0087 20203c5e branch lpm_dispatch_next 
+0082 20403d0e call lpm_check_wake_lock 
+0083 247a0000 nrtn blank 
+0084 20403a7b call xtal_fast_wake 
+0085 6800c6e2 fetch 1 ,mem_ssp_enable 
+0086 203a3c5e branch lpm_dispatch_next ,blank 
+0087 6800c639 fetch 1 ,mem_sp_local_key_invalid 
+0088 207a0000 rtn blank 
+0089 20203c5e branch lpm_dispatch_next 
 
 p_lpm_dispatch_next2:
-0088 6800c595 fetch 1 ,mem_le_switch_send_data 
-0089 203a0095 branch p_lpm_dispatch_long_mult ,blank 
-008a 6800809f fetch 1 ,mem_lpm_current_mult 
-008b 243a0095 nbranch p_lpm_dispatch_long_mult ,blank 
-008c 6800ce83 fetch 1 ,mem_bt_read_ipc_count 
-008d 6808ce84 fetcht 1 ,mem_51_read_sensor_count 
-008e 98467c00 isub temp ,null 
-008f 24628000 nrtn zero 
-0090 6800ce81 fetch 1 ,mem_ble_data_wheel 
-0091 247a0000 nrtn blank 
-0092 58000000 setarg 0 
-0093 600400a0 store 8 ,mem_gpio_wakeup_low 
-0094 20203c6a branch lpm_dispatch_next2 
+008a 6800c595 fetch 1 ,mem_le_switch_send_data 
+008b 203a0097 branch p_lpm_dispatch_long_mult ,blank 
+008c 6800809f fetch 1 ,mem_lpm_current_mult 
+008d 243a0097 nbranch p_lpm_dispatch_long_mult ,blank 
+008e 6800ce83 fetch 1 ,mem_bt_read_ipc_count 
+008f 6808ce84 fetcht 1 ,mem_51_read_sensor_count 
+0090 98467c00 isub temp ,null 
+0091 24628000 nrtn zero 
+0092 6800ce81 fetch 1 ,mem_ble_data_wheel 
+0093 247a0000 nrtn blank 
+0094 58000000 setarg 0 
+0095 600400a0 store 8 ,mem_gpio_wakeup_low 
+0096 20203c6a branch lpm_dispatch_next2 
 
 p_lpm_dispatch_long_mult:
-0095 204000a0 call p_check_ipc_for_lpm 
-0096 24740000 nrtn user 
-0097 68008b2b fetch 1 ,mem_c51_lmp_lock 
-0098 247a0000 nrtn blank 
-0099 7049c100 jam 0 ,mem_bt_wakeup_from_long_mult 
-009a 20203c6a branch lpm_dispatch_next2 
+0097 204000a2 call p_check_ipc_for_lpm 
+0098 24740000 nrtn user 
+0099 68008b2b fetch 1 ,mem_c51_lmp_lock 
+009a 247a0000 nrtn blank 
+009b 7049c100 jam 0 ,mem_bt_wakeup_from_long_mult 
+009c 20203c6a branch lpm_dispatch_next2 
 
 p_lpm_dispatch_unconn:
-009b 204000a0 call p_check_ipc_for_lpm 
-009c 24740000 nrtn user 
-009d 68008b2b fetch 1 ,mem_c51_lmp_lock 
-009e 247a0000 nrtn blank 
-009f 20203c8c branch lpm_dispatch_unconn + 2 
+009d 204000a2 call p_check_ipc_for_lpm 
+009e 24740000 nrtn user 
+009f 68008b2b fetch 1 ,mem_c51_lmp_lock 
+00a0 247a0000 nrtn blank 
+00a1 20203c8c branch lpm_dispatch_unconn + 2 
 
 p_check_ipc_for_lpm:
-00a0 204000ab call p_check_ipc_2bt 
-00a1 24740000 nrtn user 
-00a2 204000a8 call p_check_ipc_2c51 
+00a2 204000ad call p_check_ipc_2bt 
 00a3 24740000 nrtn user 
-00a4 700b2b01 jam 1 ,mem_c51_lmp_lock 
-00a5 700b2a01 jam syc_task_lpm ,mem_c51_flag 
-00a6 204000b0 call p_c51_wait 
-00a7 202000ab branch p_check_ipc_2bt 
+00a4 204000aa call p_check_ipc_2c51 
+00a5 24740000 nrtn user 
+00a6 700b2b01 jam 1 ,mem_c51_lmp_lock 
+00a7 700b2a01 jam syc_task_lpm ,mem_c51_flag 
+00a8 204000b2 call p_c51_wait 
+00a9 202000ad branch p_check_ipc_2bt 
 
 p_check_ipc_2c51:
-00a8 6801482c fetch 2 ,mem_ipc_2c51_read_index 
-00a9 6809482e fetcht 2 ,mem_ipc_2c51_write_index 
-00aa 202000ad branch p_check_ipc_common 
+00aa 6801482c fetch 2 ,mem_ipc_2c51_read_index 
+00ab 6809482e fetcht 2 ,mem_ipc_2c51_write_index 
+00ac 202000af branch p_check_ipc_common 
 
 p_check_ipc_2bt:
-00ab 680147c4 fetch 2 ,mem_ipc_2bt_read_index 
-00ac 680947c6 fetcht 2 ,mem_ipc_2bt_write_index 
+00ad 680147c4 fetch 2 ,mem_ipc_2bt_read_index 
+00ae 680947c6 fetcht 2 ,mem_ipc_2bt_write_index 
 
 p_check_ipc_common:
-00ad 98467c00 isub temp ,null 
-00ae 2022e4c0 branch enable_usr ,zero 
-00af 202031d4 branch disable_usr 
+00af 98467c00 isub temp ,null 
+00b0 2022e4c0 branch enable_usr ,zero 
+00b1 202031d4 branch disable_usr 
 
 p_c51_wait:
-00b0 68008b2a fetch 1 ,mem_c51_flag 
-00b1 2000000a nop 10 
-00b2 c08000b0 bne 0 ,p_c51_wait 
-00b3 20600000 rtn 
+00b2 68008b2a fetch 1 ,mem_c51_flag 
+00b3 2000000a nop 10 
+00b4 c08000b2 bne 0 ,p_c51_wait 
+00b5 20600000 rtn 
 
 p_app_lpm_init:
-00b4 70001627 jam 39 ,mem_le_ch_mapped 
-00b5 70015000 jam 0 ,mem_tester_emulate 
-00b6 70017e00 jam 0 ,mem_debug_config 
-00b7 70017f00 jam 0 ,mem_lch_code 
-00b8 58000000 setarg 0 
-00b9 600288d2 store 5 ,mem_sp_state_start 
-00ba 20600000 rtn 
+00b6 70001627 jam 39 ,mem_le_ch_mapped 
+00b7 70015000 jam 0 ,mem_tester_emulate 
+00b8 70017e00 jam 0 ,mem_debug_config 
+00b9 70017f00 jam 0 ,mem_lch_code 
+00ba 58000000 setarg 0 
+00bb 600288d2 store 5 ,mem_sp_state_start 
+00bc 20600000 rtn 
 
 p_app_process_bb_event:
-00bb da2046f0 arg mem_ipc_fifo_bt2c51 ,rega 
-00bc 20407f95 call fifo_out 
-00bd 207a0000 rtn blank 
-00be 1fe22600 copy pdata ,regc 
-00bf 204000c1 call p_app_event_normal_process 
-00c0 20203d9b branch app_process_bb_event_priority 
+00bd da2046f0 arg mem_ipc_fifo_bt2c51 ,rega 
+00be 20407f95 call fifo_out 
+00bf 207a0000 rtn blank 
+00c0 1fe22600 copy pdata ,regc 
+00c1 204000c3 call p_app_event_normal_process 
+00c2 20203d9b branch app_process_bb_event_priority 
 
 p_app_event_normal_process:
-00c1 c10c0000 rtneq bt_evt_linkkey_generate 
-00c2 c00a00c6 beq bt_evt_le_connected ,p_device_le_conn 
-00c3 c00a80ce beq bt_evt_le_disconnected ,p_device_le_discon 
-00c4 c01480d9 beq bt_evt_le_enc_info ,p_device_le_enc_info 
-00c5 20203d73 branch app_event_normal_process 
+00c3 c10c0000 rtneq bt_evt_linkkey_generate 
+00c4 c00a00c8 beq bt_evt_le_connected ,p_device_le_conn 
+00c5 c00a80d0 beq bt_evt_le_disconnected ,p_device_le_discon 
+00c6 c01480db beq bt_evt_le_enc_info ,p_device_le_enc_info 
+00c7 20203d73 branch app_event_normal_process 
 
 p_device_le_conn:
-00c6 704e8300 jam 0 ,mem_bt_read_ipc_count 
-00c7 70421200 jam 0 ,mem_lpm_mult 
-00c8 704ea600 jam 0 ,mem_mult_time_arrive_flag 
-00c9 704e5178 jam 120 ,mem_le_slave_update_mult_timer 
-00ca 20403e61 call app_ble_stop_adv 
-00cb 20403e59 call app_bt_stop_discovery 
-00cc 20403e7f call app_lpm_mult_enable 
-00cd 20203dc2 branch app_le_event_bb_connected 
+00c8 704e8300 jam 0 ,mem_bt_read_ipc_count 
+00c9 70421200 jam 0 ,mem_lpm_mult 
+00ca 704ea600 jam 0 ,mem_mult_time_arrive_flag 
+00cb 704e5178 jam 120 ,mem_le_slave_update_mult_timer 
+00cc 20403e61 call app_ble_stop_adv 
+00cd 20403e59 call app_bt_stop_discovery 
+00ce 20403e7f call app_lpm_mult_enable 
+00cf 20203dc2 branch app_le_event_bb_connected 
 
 p_device_le_discon:
-00ce 704ea400 jam 0 ,mem_ble_send_flag 
-00cf 204002df call queue_init 
-00d0 7044b200 jam 0 ,mem_ltk_exists 
-00d1 70421200 jam 0 ,mem_lpm_mult 
-00d2 704ea600 jam 0 ,mem_mult_time_arrive_flag 
-00d3 704e5100 jam 0 ,mem_le_slave_update_mult_timer 
-00d4 70456a00 jam flag_le_pairing_null ,mem_le_pairing_state 
-00d5 68094e4e fetcht 2 ,mem_le_att_report2 
-00d6 600944f8 storet 2 ,mem_le_notify_handle 
-00d7 204052a0 call le_clean_att_list_handle_enable 
-00d8 20203dc6 branch app_le_event_bb_disconn 
+00d0 704ea400 jam 0 ,mem_ble_send_flag 
+00d1 204002e3 call queue_init 
+00d2 7044b200 jam 0 ,mem_ltk_exists 
+00d3 70421200 jam 0 ,mem_lpm_mult 
+00d4 704ea600 jam 0 ,mem_mult_time_arrive_flag 
+00d5 704e5100 jam 0 ,mem_le_slave_update_mult_timer 
+00d6 70456a00 jam flag_le_pairing_null ,mem_le_pairing_state 
+00d7 68094e4e fetcht 2 ,mem_le_att_report2 
+00d8 600944f8 storet 2 ,mem_le_notify_handle 
+00d9 204052a0 call le_clean_att_list_handle_enable 
+00da 20203dc6 branch app_le_event_bb_disconn 
 
 p_device_le_enc_info:
-00d9 20400103 call p_app_updata_le_param 
-00da 20207e3b branch check_51cmd_le_start_write 
+00db 20400105 call p_app_updata_le_param 
+00dc 20207e3b branch check_51cmd_le_start_write 
 
 p_app_evt_timer:
-00db 6008824e storet 1 ,mem_app_evt_timer_count 
-00dc 6800c89c fetch 1 ,mem_ipc_bt_100ms_timer 
-00dd 1fe0fe01 increase 1 ,pdata 
-00de 6000c89c store 1 ,mem_ipc_bt_100ms_timer 
+00dd 6008824e storet 1 ,mem_app_evt_timer_count 
+00de 6800c89c fetch 1 ,mem_ipc_bt_100ms_timer 
+00df 1fe0fe01 increase 1 ,pdata 
+00e0 6000c89c store 1 ,mem_ipc_bt_100ms_timer 
 
 p_app_evt_100ms_loop:
-00df 6800824e fetch 1 ,mem_app_evt_timer_count 
-00e0 207a0000 rtn blank 
-00e1 1fe0ffff increase -1 ,pdata 
-00e2 6000824e store 1 ,mem_app_evt_timer_count 
-00e3 20400106 call p_le_slave_update_mult_timer 
-00e4 204000e9 call p_check_mult_parameter 
-00e5 2040010f call p_le_reconn_enable_notify_timer 
-00e6 204000f5 call p_24g_enter_lpm_timer 
-00e7 204000fc call p_ble_data_wheel_lpm_timer 
-00e8 202000df branch p_app_evt_100ms_loop 
+00e1 6800824e fetch 1 ,mem_app_evt_timer_count 
+00e2 207a0000 rtn blank 
+00e3 1fe0ffff increase -1 ,pdata 
+00e4 6000824e store 1 ,mem_app_evt_timer_count 
+00e5 20400108 call p_le_slave_update_mult_timer 
+00e6 204000eb call p_check_mult_parameter 
+00e7 20400111 call p_le_reconn_enable_notify_timer 
+00e8 204000f7 call p_24g_enter_lpm_timer 
+00e9 204000fe call p_ble_data_wheel_lpm_timer 
+00ea 202000e1 branch p_app_evt_100ms_loop 
 
 p_check_mult_parameter:
-00e9 6800cea6 fetch 1 ,mem_mult_time_arrive_flag 
-00ea 207a0000 rtn blank 
-00eb 6800c212 fetch 1 ,mem_lpm_mult 
-00ec 2fe1fe20 compare 0x20 ,pdata ,0xff 
-00ed 244080f3 ncall p_set_mult_para ,true 
-00ee 6800c131 fetch 1 ,mem_lpm_mode 
-00ef 205a00f1 call p_set_multmode ,blank 
-00f0 20600000 rtn 
+00eb 6800cea6 fetch 1 ,mem_mult_time_arrive_flag 
+00ec 207a0000 rtn blank 
+00ed 6800c212 fetch 1 ,mem_lpm_mult 
+00ee 2fe1fe20 compare 0x20 ,pdata ,0xff 
+00ef 244080f5 ncall p_set_mult_para ,true 
+00f0 6800c131 fetch 1 ,mem_lpm_mode 
+00f1 205a00f3 call p_set_multmode ,blank 
+00f2 20600000 rtn 
 
 p_set_multmode:
-00f1 70413101 jam 1 ,mem_lpm_mode 
-00f2 20600000 rtn 
+00f3 70413101 jam 1 ,mem_lpm_mode 
+00f4 20600000 rtn 
 
 p_set_mult_para:
-00f3 70421220 jam 0x20 ,mem_lpm_mult 
-00f4 20600000 rtn 
+00f5 70421220 jam 0x20 ,mem_lpm_mult 
+00f6 20600000 rtn 
 
 p_24g_enter_lpm_timer:
-00f5 6800c9ba fetch 1 ,mem_new_24g_enter_lpm_timer 
-00f6 207a0000 rtn blank 
-00f7 704e8000 jam 0 ,mem_short_data_wheel 
-00f8 1fe0ffff increase -1 ,pdata 
-00f9 6000c9ba store 1 ,mem_new_24g_enter_lpm_timer 
-00fa 247a0000 nrtn blank 
-00fb 20600000 rtn 
+00f7 6800c9ba fetch 1 ,mem_new_24g_enter_lpm_timer 
+00f8 207a0000 rtn blank 
+00f9 704e8000 jam 0 ,mem_short_data_wheel 
+00fa 1fe0ffff increase -1 ,pdata 
+00fb 6000c9ba store 1 ,mem_new_24g_enter_lpm_timer 
+00fc 247a0000 nrtn blank 
+00fd 20600000 rtn 
 
 p_ble_data_wheel_lpm_timer:
-00fc 6800ce82 fetch 1 ,mem_ble_data_wheel_lpm_timer 
-00fd 207a0000 rtn blank 
-00fe 1fe0ffff increase -1 ,pdata 
-00ff 6000ce82 store 1 ,mem_ble_data_wheel_lpm_timer 
-0100 247a0000 nrtn blank 
-0101 704e8100 jam 0 ,mem_ble_data_wheel 
-0102 20600000 rtn 
+00fe 6800ce82 fetch 1 ,mem_ble_data_wheel_lpm_timer 
+00ff 207a0000 rtn blank 
+0100 1fe0ffff increase -1 ,pdata 
+0101 6000ce82 store 1 ,mem_ble_data_wheel_lpm_timer 
+0102 247a0000 nrtn blank 
+0103 704e8100 jam 0 ,mem_ble_data_wheel 
+0104 20600000 rtn 
 
 p_app_updata_le_param:
-0103 20403e7f call app_lpm_mult_enable 
-0104 7009bd12 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-0105 20207d90 branch ui_ipc_send_cmd 
+0105 20403e7f call app_lpm_mult_enable 
+0106 7009bd12 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+0107 20207d90 branch ui_ipc_send_cmd 
 
 p_le_slave_update_mult_timer:
-0106 6800ce51 fetch 1 ,mem_le_slave_update_mult_timer 
-0107 207a0000 rtn blank 
-0108 1fe0ffff increase -1 ,pdata 
-0109 6000ce51 store 1 ,mem_le_slave_update_mult_timer 
-010a 247a0000 nrtn blank 
-010b 70421220 jam 0x20 ,mem_lpm_mult 
-010c 70413101 jam 1 ,mem_lpm_mode 
-010d 704ea601 jam 1 ,mem_mult_time_arrive_flag 
-010e 20600000 rtn 
+0108 6800ce51 fetch 1 ,mem_le_slave_update_mult_timer 
+0109 207a0000 rtn blank 
+010a 1fe0ffff increase -1 ,pdata 
+010b 6000ce51 store 1 ,mem_le_slave_update_mult_timer 
+010c 247a0000 nrtn blank 
+010d 70421220 jam 0x20 ,mem_lpm_mult 
+010e 70413101 jam 1 ,mem_lpm_mode 
+010f 704ea601 jam 1 ,mem_mult_time_arrive_flag 
+0110 20600000 rtn 
 
 p_le_reconn_enable_notify_timer:
-010f 6800ce52 fetch 1 ,mem_le_reconn_enable_notify_timer 
-0110 207a0000 rtn blank 
-0111 1fe0ffff increase -1 ,pdata 
-0112 6000ce52 store 1 ,mem_le_reconn_enable_notify_timer 
-0113 247a0000 nrtn blank 
-0114 20203e6d branch app_ble_start_write 
+0111 6800ce52 fetch 1 ,mem_le_reconn_enable_notify_timer 
+0112 207a0000 rtn blank 
+0113 1fe0ffff increase -1 ,pdata 
+0114 6000ce52 store 1 ,mem_le_reconn_enable_notify_timer 
+0115 247a0000 nrtn blank 
+0116 20203e6d branch app_ble_start_write 
 
 p_le_slave_match:
-0115 20404968 call le_got_first_packet 
-0116 20404b51 call le_acknowledge 
-0117 20404bd8 call le_prepare_tx 
-0118 204005ea call power_ctrl_start 
-0119 20204945 branch le_slave_match + 5 
+0117 20404968 call le_got_first_packet 
+0118 20404b51 call le_acknowledge 
+0119 20404bd8 call le_prepare_tx 
+011a 204005ee call power_ctrl_start 
+011b 20204945 branch le_slave_match + 5 
 
 p_le_receive_skip:
-011a 20403a50 call save_rssi 
-011b 1fe22200 copy pdata ,rega 
-011c 20400628 call rssi_signal 
-011d 20204a3d branch le_receive_skip + 3 
+011c 20403a50 call save_rssi 
+011d 1fe22200 copy pdata ,rega 
+011e 2040062c call rssi_signal 
+011f 20204a3d branch le_receive_skip + 3 
 
 p_le_send_adv_ind:
-011e 68024e48 fetch 4 ,mem_le_rx_winsows 
-011f 60024596 store 4 ,mem_le_transmit_window 
-0120 20204a8c branch le_send_adv_ind + 2 
+0120 68024e48 fetch 4 ,mem_le_rx_winsows 
+0121 60024596 store 4 ,mem_le_transmit_window 
+0122 20204a8c branch le_send_adv_ind + 2 
 
 p_le_update_param:
-0121 70413101 jam 1 ,mem_lpm_mode 
-0122 6801037c fetch 2 ,mem_le_event_count 
-0123 68090382 fetcht 2 ,mem_le_instant 
-0124 98467e00 isub temp ,pdata 
-0125 600109be store 2 ,mem_pdatatemp 
-0126 68008362 fetch 1 ,mem_le_state 
-0127 793ffe05 set0 lestate_update_param ,pdata 
-0128 793ffe03 set0 lestate_got_first_packet ,pdata 
-0129 60008362 store 1 ,mem_le_state 
-012a 68020366 fetch 4 ,mem_le_anchor 
-012b 68090364 fetcht 2 ,mem_le_tsniff 
-012c 600909c6 storet 2 ,mem_temp 
-012d 98462200 isub temp ,rega 
-012e 6800c45b fetch 1 ,mem_le_new_param 
-012f 6000838d store 1 ,mem_le_window_size 
-0130 e8c90000 ifetcht 2 ,contr 
-0131 e8c10000 ifetch 2 ,contr 
-0132 1febfe00 lshift2 pdata ,pdata 
-0133 60010364 store 2 ,mem_le_tsniff 
-0134 184b8400 lshift2 temp ,temp 
-0135 9840fe00 iadd temp ,pdata 
-0136 e8ca0000 ifetcht 4 ,contr 
-0137 600a038e storet 4 ,mem_le_slave_latency 
-0138 9a20fe00 iadd rega ,pdata 
-0139 1fe22800 copy pdata ,regab 
-013a 68010364 fetch 2 ,mem_le_tsniff 
-013b 680909c6 fetcht 2 ,mem_temp 
-013c 98467e00 isub temp ,pdata 
-013d 680909be fetcht 2 ,mem_pdatatemp 
-013e 984ffe00 imul32 temp ,pdata 
-013f 9a80fe00 iadd regab ,pdata 
-0140 60020366 store 4 ,mem_le_anchor 
-0141 20405199 call le_receive_window_size 
-0142 68010390 fetch 2 ,mem_le_superto 
-0143 60014561 store 2 ,mem_le_init_superto 
-0144 20600000 rtn 
+0123 70413101 jam 1 ,mem_lpm_mode 
+0124 6801037c fetch 2 ,mem_le_event_count 
+0125 68090382 fetcht 2 ,mem_le_instant 
+0126 98467e00 isub temp ,pdata 
+0127 600109be store 2 ,mem_pdatatemp 
+0128 68008362 fetch 1 ,mem_le_state 
+0129 793ffe05 set0 lestate_update_param ,pdata 
+012a 793ffe03 set0 lestate_got_first_packet ,pdata 
+012b 60008362 store 1 ,mem_le_state 
+012c 68020366 fetch 4 ,mem_le_anchor 
+012d 68090364 fetcht 2 ,mem_le_tsniff 
+012e 600909c6 storet 2 ,mem_temp 
+012f 98462200 isub temp ,rega 
+0130 6800c45b fetch 1 ,mem_le_new_param 
+0131 6000838d store 1 ,mem_le_window_size 
+0132 e8c90000 ifetcht 2 ,contr 
+0133 e8c10000 ifetch 2 ,contr 
+0134 1febfe00 lshift2 pdata ,pdata 
+0135 60010364 store 2 ,mem_le_tsniff 
+0136 184b8400 lshift2 temp ,temp 
+0137 9840fe00 iadd temp ,pdata 
+0138 e8ca0000 ifetcht 4 ,contr 
+0139 600a038e storet 4 ,mem_le_slave_latency 
+013a 9a20fe00 iadd rega ,pdata 
+013b 1fe22800 copy pdata ,regab 
+013c 68010364 fetch 2 ,mem_le_tsniff 
+013d 680909c6 fetcht 2 ,mem_temp 
+013e 98467e00 isub temp ,pdata 
+013f 680909be fetcht 2 ,mem_pdatatemp 
+0140 984ffe00 imul32 temp ,pdata 
+0141 9a80fe00 iadd regab ,pdata 
+0142 60020366 store 4 ,mem_le_anchor 
+0143 20405199 call le_receive_window_size 
+0144 68010390 fetch 2 ,mem_le_superto 
+0145 60014561 store 2 ,mem_le_init_superto 
+0146 20600000 rtn 
 
 p_le_prepare_tx:
-0145 68008379 fetch 1 ,mem_le_arq 
-0146 c2828156 bbit1 wak ,p_le_prepare_tx_retansmited 
-0147 204005dc call power_ctrl_pac_succ_incrs 
-0148 704e6200 jam 0 ,mem_le_prepare_tx_retransmited_number 
-0149 6800ce20 fetch 1 ,mem_empty_count_user 
-014a 243a0150 nbranch p_le_send_empyt ,blank 
-014b 6800cea5 fetch 1 ,mem_mouse_le_pairing_flag 
-014c c0008154 beq 1 ,p_le_smp_empty 
-014d 68008303 fetch 1 ,mem_le_rxbuf + 1 
-014e 203a4bde branch le_prepare_tx_1 ,blank 
-014f 20204f87 branch le_send_empty 
+0147 68008379 fetch 1 ,mem_le_arq 
+0148 c2828158 bbit1 wak ,p_le_prepare_tx_retansmited 
+0149 204005e0 call power_ctrl_pac_succ_incrs 
+014a 704e6200 jam 0 ,mem_le_prepare_tx_retransmited_number 
+014b 6800ce20 fetch 1 ,mem_empty_count_user 
+014c 243a0152 nbranch p_le_send_empyt ,blank 
+014d 6800cea5 fetch 1 ,mem_mouse_le_pairing_flag 
+014e c0008156 beq 1 ,p_le_smp_empty 
+014f 68008303 fetch 1 ,mem_le_rxbuf + 1 
+0150 203a4bde branch le_prepare_tx_1 ,blank 
+0151 20204f87 branch le_send_empty 
 
 p_le_send_empyt:
-0150 6800ce20 fetch 1 ,mem_empty_count_user 
-0151 1fe0ffff increase -1 ,pdata 
-0152 6000ce20 store 1 ,mem_empty_count_user 
-0153 20204f87 branch le_send_empty 
+0152 6800ce20 fetch 1 ,mem_empty_count_user 
+0153 1fe0ffff increase -1 ,pdata 
+0154 6000ce20 store 1 ,mem_empty_count_user 
+0155 20204f87 branch le_send_empty 
 
 p_le_smp_empty:
-0154 704e2003 jam 3 ,mem_empty_count_user 
-0155 20204bde branch le_prepare_tx_1 
+0156 704e2003 jam 3 ,mem_empty_count_user 
+0157 20204bde branch le_prepare_tx_1 
 
 p_le_prepare_tx_retansmited:
-0156 6800ce62 fetch 1 ,mem_le_prepare_tx_retransmited_number 
-0157 1fe0fe01 increase 1 ,pdata 
-0158 6000ce62 store 1 ,mem_le_prepare_tx_retransmited_number 
-0159 202005e0 branch power_ctrl_pac_succ_decrs 
+0158 6800ce62 fetch 1 ,mem_le_prepare_tx_retransmited_number 
+0159 1fe0fe01 increase 1 ,pdata 
+015a 6000ce62 store 1 ,mem_le_prepare_tx_retransmited_number 
+015b 202005e4 branch power_ctrl_pac_succ_decrs 
 
 p_le_prepare_tx_ll:
-015a 6800c467 fetch 1 ,mem_le_txpayload 
-015b c003015e beq ll_start_enc_rsp ,p_le_send_start_enc_rsp 
-015c c0010165 beq ll_terminate_ind ,p_le_send_terminate_ind 
-015d 20204bfb branch le_prepare_tx_ll 
+015c 6800c467 fetch 1 ,mem_le_txpayload 
+015d c0030160 beq ll_start_enc_rsp ,p_le_send_start_enc_rsp 
+015e c0010167 beq ll_terminate_ind ,p_le_send_terminate_ind 
+015f 20204bfb branch le_prepare_tx_ll 
 
 p_le_send_start_enc_rsp:
-015e 6800ce53 fetch 1 ,mem_le_reconn_flag 
-015f c0008162 beq 1 ,p_le_send_reconn_start_enc_rsp 
-0160 20403e6d call app_ble_start_write 
-0161 20204c86 branch le_send_start_enc_rsp 
+0160 6800ce53 fetch 1 ,mem_le_reconn_flag 
+0161 c0008164 beq 1 ,p_le_send_reconn_start_enc_rsp 
+0162 20403e6d call app_ble_start_write 
+0163 20204c86 branch le_send_start_enc_rsp 
 
 p_le_send_reconn_start_enc_rsp:
-0162 20400103 call p_app_updata_le_param 
-0163 704e5203 jam 3 ,mem_le_reconn_enable_notify_timer 
-0164 20204c90 branch le_send_start_enc_rsp_common 
+0164 20400105 call p_app_updata_le_param 
+0165 704e5203 jam 3 ,mem_le_reconn_enable_notify_timer 
+0166 20204c90 branch le_send_start_enc_rsp_common 
 
 p_le_send_terminate_ind:
-0165 58000013 setarg 0x13 
-0166 e0a08000 istore 1 ,contw 
-0167 20404c58 call le_send_terminate_ind 
-0168 5800000a setarg 10 
-0169 60010390 store 2 ,mem_le_superto 
-016a 60014561 store 2 ,mem_le_init_superto 
-016b 20600000 rtn 
+0167 58000013 setarg 0x13 
+0168 e0a08000 istore 1 ,contw 
+0169 20404c58 call le_send_terminate_ind 
+016a 5800000a setarg 10 
+016b 60010390 store 2 ,mem_le_superto 
+016c 60014561 store 2 ,mem_le_init_superto 
+016d 20600000 rtn 
 
 p_le_prepare_smp0:
-016c 6800c46b fetch 1 ,mem_le_l2cap 
-016d c0010173 beq smp_pairing_response ,p_le_send_smp_pairing_response 
-016e c003017a beq smp_encryption_information ,p_le_send_smp_encryption_information 
-016f c0038171 beq smp_master_identification ,p_le_send_smp_master_identification_only 
-0170 20204c18 branch le_prepare_smp0 
+016e 6800c46b fetch 1 ,mem_le_l2cap 
+016f c0010175 beq smp_pairing_response ,p_le_send_smp_pairing_response 
+0170 c003017c beq smp_encryption_information ,p_le_send_smp_encryption_information 
+0171 c0038173 beq smp_master_identification ,p_le_send_smp_master_identification_only 
+0172 20204c18 branch le_prepare_smp0 
 
 p_le_send_smp_master_identification_only:
-0171 704ea500 jam 0 ,mem_mouse_le_pairing_flag 
-0172 20204d17 branch le_send_smp_master_identification_only 
+0173 704ea500 jam 0 ,mem_mouse_le_pairing_flag 
+0174 20204d17 branch le_send_smp_master_identification_only 
 
 p_le_send_smp_pairing_response:
-0173 59000302 setarg param_smp_paring_response 
-0174 6001c4dc store 3 ,mem_le_pres 
-0175 58000001 setarg 0x01 
-0176 e0a08000 istore 1 ,contw 
-0177 58010010 setarg param_smp_key_dist0 
-0178 e0a18000 istore 3 ,contw 
-0179 20204ccd branch le_send_smp_pairing_response_common 
+0175 59000302 setarg param_smp_paring_response 
+0176 6001c4dc store 3 ,mem_le_pres 
+0177 58000001 setarg 0x01 
+0178 e0a08000 istore 1 ,contw 
+0179 58010010 setarg param_smp_key_dist0 
+017a e0a18000 istore 3 ,contw 
+017b 20204ccd branch le_send_smp_pairing_response_common 
 
 p_le_send_smp_encryption_information:
-017a 7009bd29 jam bt_evt_le_enc_info ,mem_fifo_temp 
-017b 20407d86 call ui_ipc_send_event 
-017c 7009bd47 jam xt_smp_master_identification ,mem_fifo_temp 
-017d 20404bd6 call le_xtype_fifo_in 
-017e 20204d01 branch le_send_smp_encryption_information_shutter 
+017c 7009bd29 jam bt_evt_le_enc_info ,mem_fifo_temp 
+017d 20407d86 call ui_ipc_send_event 
+017e 7009bd47 jam xt_smp_master_identification ,mem_fifo_temp 
+017f 20404bd6 call le_xtype_fifo_in 
+0180 20204d01 branch le_send_smp_encryption_information_shutter 
 
 p_le_prepare_att:
-017f 6800c46b fetch 1 ,mem_le_l2cap 
-0180 c00d8183 beq attop_handle_value_notification ,p_le_send_att_handle_value_notification 
-0181 c00e8183 beq attop_handle_value_indication ,p_le_send_att_handle_value_indication 
-0182 20204c2b branch le_prepare_att + 5 
+0181 6800c46b fetch 1 ,mem_le_l2cap 
+0182 c00d8185 beq attop_handle_value_notification ,p_le_send_att_handle_value_notification 
+0183 c00e8185 beq attop_handle_value_indication ,p_le_send_att_handle_value_indication 
+0184 20204c2b branch le_prepare_att + 5 
 
 p_le_send_att_handle_value_indication:
 
 p_le_send_att_handle_value_notification:
-0183 68094e4e fetcht 2 ,mem_le_att_report2 
-0184 6009446c storet 2 ,mem_le_l2cap + 1 
-0185 6800ce86 fetch 1 ,mem_queue_read_ptr 
-0186 1fe08401 add pdata ,1 ,temp 
-0187 18410403 and temp ,0x03 ,temp 
-0188 6008ce86 storet 1 ,mem_queue_read_ptr 
-0189 1feffe07 mul32 pdata ,7 ,pdata 
-018a d8c04e87 arg mem_queue_buffer0 ,contr 
-018b 98c08c00 iadd contr ,contr 
-018c e8c38000 ifetch 7 ,contr 
-018d 6003c46e store 7 ,mem_le_l2cap + 3 
-018e d840000e arg 14 ,temp 
-018f 20204f89 branch le_send_packet 
+0185 68094e4e fetcht 2 ,mem_le_att_report2 
+0186 6009446c storet 2 ,mem_le_l2cap + 1 
+0187 6800ce86 fetch 1 ,mem_queue_read_ptr 
+0188 1fe08401 add pdata ,1 ,temp 
+0189 18410403 and temp ,0x03 ,temp 
+018a 6008ce86 storet 1 ,mem_queue_read_ptr 
+018b 1feffe07 mul32 pdata ,7 ,pdata 
+018c d8c04e87 arg mem_queue_buffer0 ,contr 
+018d 98c08c00 iadd contr ,contr 
+018e e8c38000 ifetch 7 ,contr 
+018f 6003c46e store 7 ,mem_le_l2cap + 3 
+0190 d840000e arg 14 ,temp 
+0191 20204f89 branch le_send_packet 
 
 p_le_send_packet:
-0190 6008c466 storet 1 ,mem_le_txlen 
-0191 28200602 compare 2 ,type ,3 
-0192 24208195 nbranch p_le_send_non_l2cap ,true 
-0193 1840fffc add temp ,-4 ,pdata 
-0194 60014467 store 2 ,mem_le_txpayload 
+0192 6008c466 storet 1 ,mem_le_txlen 
+0193 28200602 compare 2 ,type ,3 
+0194 24208197 nbranch p_le_send_non_l2cap ,true 
+0195 1840fffc add temp ,-4 ,pdata 
+0196 60014467 store 2 ,mem_le_txpayload 
 
 p_le_send_non_l2cap:
-0195 68088379 fetcht 1 ,mem_le_arq 
-0196 20400198 call p_le_send_check_md 
-0197 20204f92 branch le_send_non_l2cap1 
+0197 68088379 fetcht 1 ,mem_le_arq 
+0198 2040019a call p_le_send_check_md 
+0199 20204f92 branch le_send_non_l2cap1 
 
 p_le_send_check_md:
-0198 6800cea5 fetch 1 ,mem_mouse_le_pairing_flag 
-0199 c000819b beq 1 ,enable_blank 
-019a 20204bd0 branch le_xtype_fifo_is_empty 
+019a 6800cea5 fetch 1 ,mem_mouse_le_pairing_flag 
+019b c000819d beq 1 ,enable_blank 
+019c 20204bd0 branch le_xtype_fifo_is_empty 
 
 enable_blank:
-019b 58000000 setarg 0 
-019c 20600000 rtn 
+019d 58000000 setarg 0 
+019e 20600000 rtn 
 
 p_le_parse0:
-019d 1a627e00 copy regc ,pdata 
-019e c00001a3 beq ll_connection_update_req ,p_le_parse_connection_update_req 
-019f c00101a6 beq ll_terminate_ind ,p_le_parse_terminate_ind 
-01a0 c00181aa beq ll_enc_req ,p_le_parse_enc_req 
-01a1 c00501ae beq ll_pause_enc_req ,p_le_parse_pause_enc_rsq 
-01a2 20204fb9 branch le_parse0 + 6 
+019f 1a627e00 copy regc ,pdata 
+01a0 c00001a5 beq ll_connection_update_req ,p_le_parse_connection_update_req 
+01a1 c00101a8 beq ll_terminate_ind ,p_le_parse_terminate_ind 
+01a2 c00181ac beq ll_enc_req ,p_le_parse_enc_req 
+01a3 c00501b0 beq ll_pause_enc_req ,p_le_parse_pause_enc_rsq 
+01a4 20204fb9 branch le_parse0 + 6 
 
 p_le_parse_connection_update_req:
-01a3 70413100 jam 0 ,mem_lpm_mode 
-01a4 704e513c jam 60 ,mem_le_slave_update_mult_timer 
-01a5 2020501f branch le_parse_connection_update_req 
+01a5 70413100 jam 0 ,mem_lpm_mode 
+01a6 704e513c jam 60 ,mem_le_slave_update_mult_timer 
+01a7 2020501f branch le_parse_connection_update_req 
 
 p_le_parse_terminate_ind:
-01a6 20405033 call le_parse_terminate_ind 
+01a8 20405033 call le_parse_terminate_ind 
 
 le_clear_xtype_fifo:
-01a7 58000000 setarg 0 
-01a8 60044544 store 8 ,mem_le_xtype_fifo 
-01a9 20600000 rtn 
+01a9 58000000 setarg 0 
+01aa 60044544 store 8 ,mem_le_xtype_fifo 
+01ab 20600000 rtn 
 
 p_le_parse_enc_req:
-01aa 20405039 call le_parse_enc_req 
-01ab 6800c56a fetch 1 ,mem_le_pairing_state 
-01ac c1010000 rtneq flag_le_pairing_after_auth 
-01ad 20206418 branch load_device_list_mode_4_shutter 
+01ac 20405039 call le_parse_enc_req 
+01ad 6800c56a fetch 1 ,mem_le_pairing_state 
+01ae c1010000 rtneq flag_le_pairing_after_auth 
+01af 20206418 branch load_device_list_mode_4_shutter 
 
 p_le_parse_pause_enc_rsq:
-01ae 7009bd2b jam xt_ll_pause_enc_rsp ,mem_fifo_temp 
-01af 20204bd6 branch le_xtype_fifo_in 
+01b0 7009bd2b jam xt_ll_pause_enc_rsp ,mem_fifo_temp 
+01b1 20204bd6 branch le_xtype_fifo_in 
 
 p_le_parse_smp:
-01b0 e8c08000 ifetch 1 ,contr 
-01b1 c00081b3 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
-01b2 20204ffe branch le_parse_smp + 3 
+01b2 e8c08000 ifetch 1 ,contr 
+01b3 c00081b5 beq smp_pairing_request ,p_le_parse_smp_pairing_request 
+01b4 20204ffe branch le_parse_smp + 3 
 
 p_le_parse_smp_pairing_request:
-01b3 704ea501 jam 1 ,mem_mouse_le_pairing_flag 
-01b4 704e2003 jam 3 ,mem_empty_count_user 
-01b5 20205069 branch le_parse_smp_pairing_request 
+01b5 704ea501 jam 1 ,mem_mouse_le_pairing_flag 
+01b6 704e2003 jam 3 ,mem_empty_count_user 
+01b7 20205069 branch le_parse_smp_pairing_request 
 
 p_le_parse_att:
-01b6 e8c18000 ifetch 3 ,contr 
-01b7 6001839a store 3 ,mem_le_att_opcode 
-01b8 c00901ba beq attop_write_request ,p_le_parse_att_write_request 
-01b9 20205011 branch le_parse_att + 4 
+01b8 e8c18000 ifetch 3 ,contr 
+01b9 6001839a store 3 ,mem_le_att_opcode 
+01ba c00901bc beq attop_write_request ,p_le_parse_att_write_request 
+01bb 20205011 branch le_parse_att + 4 
 
 p_le_parse_att_write_request:
-01ba 70413101 jam 1 ,mem_lpm_mode 
-01bb 204001c0 call p_le_parse_att_write_common 
-01bc 20405125 call le_check_long_packet_patch 
-01bd 24628000 nrtn zero 
+01bc 70413101 jam 1 ,mem_lpm_mode 
+01bd 204001c2 call p_le_parse_att_write_common 
+01be 20405125 call le_check_long_packet_patch 
+01bf 24628000 nrtn zero 
 
 p_le_parse_att_write_request_end:
-01be 7009bd13 jam attop_write_response ,mem_fifo_temp 
-01bf 20204bd6 branch le_xtype_fifo_in 
+01c0 7009bd13 jam attop_write_response ,mem_fifo_temp 
+01c1 20204bd6 branch le_xtype_fifo_in 
 
 p_le_parse_att_write_common:
-01c0 68008303 fetch 1 ,mem_le_rxbuf + 1 
-01c1 1fe0fff9 increase -7 ,pdata 
-01c2 1fe27200 icopy loopcnt 
-01c3 1f222400 copy loopcnt ,regb 
-01c4 20205135 branch le_parse_att_write_common + 6 
+01c2 68008303 fetch 1 ,mem_le_rxbuf + 1 
+01c3 1fe0fff9 increase -7 ,pdata 
+01c4 1fe27200 icopy loopcnt 
+01c5 1f222400 copy loopcnt ,regb 
+01c6 20205135 branch le_parse_att_write_common + 6 
 
 p_le_adv:
-01c5 6800c3ff fetch 1 ,mem_le_adv_enable 
-01c6 207a0000 rtn blank 
-01c7 d8e00001 arg le_adv_interval_timer ,queue 
-01c8 20407ee2 call timer_check 
-01c9 247a0000 nrtn blank 
-01ca 7854fc00 disable master 
-01cb 78287c00 enable swfine 
-01cc 20404b1e call le_init_adv 
-01cd 204049d4 call le_next_adv_channel 
-01ce 20404a8a call le_send_adv_ind 
-01cf 243681d7 nbranch p_le_adv_not_match ,match 
-01d0 68008003 fetch 1 ,mem_le_req_rcv 
-01d1 1fe0fe01 increase 1 ,pdata 
-01d2 60008003 store 1 ,mem_le_req_rcv 
-01d3 68008302 fetch 1 ,mem_le_rxbuf 
-01d4 1fe17e0f and pdata ,0x0f ,pdata 
-01d5 c00181e1 beq scan_req ,p_le_send_scan_response 
-01d6 c002d1af beq connect_req ,le_parse_connect_req 
+01c7 6800c3ff fetch 1 ,mem_le_adv_enable 
+01c8 207a0000 rtn blank 
+01c9 d8e00001 arg le_adv_interval_timer ,queue 
+01ca 20407ee2 call timer_check 
+01cb 247a0000 nrtn blank 
+01cc 7854fc00 disable master 
+01cd 78287c00 enable swfine 
+01ce 20404b1e call le_init_adv 
+01cf 204049d4 call le_next_adv_channel 
+01d0 20404a8a call le_send_adv_ind 
+01d1 243681d9 nbranch p_le_adv_not_match ,match 
+01d2 68008003 fetch 1 ,mem_le_req_rcv 
+01d3 1fe0fe01 increase 1 ,pdata 
+01d4 60008003 store 1 ,mem_le_req_rcv 
+01d5 68008302 fetch 1 ,mem_le_rxbuf 
+01d6 1fe17e0f and pdata ,0x0f ,pdata 
+01d7 c00181e3 beq scan_req ,p_le_send_scan_response 
+01d8 c002d1af beq connect_req ,le_parse_connect_req 
 
 p_le_adv_not_match:
-01d7 68008016 fetch 1 ,mem_le_ch_mapped 
-01d8 c093d17d bne 39 ,le_adv_loop 
-01d9 180a7e00 random pdata 
-01da d84001ff arg 0x1ff ,temp 
-01db 98417e00 iand temp ,pdata 
-01dc 1fe0fefa add pdata ,250 ,pdata 
+01d9 68008016 fetch 1 ,mem_le_ch_mapped 
+01da c093d17d bne 39 ,le_adv_loop 
+01db 180a7e00 random pdata 
+01dc d84001ff arg 0x1ff ,temp 
+01dd 98417e00 iand temp ,pdata 
+01de 1fe0fefa add pdata ,250 ,pdata 
 
 p_adv_delay:
-01dd 1fe0ffff increase -1 ,pdata 
-01de 20000026 nop 38 
-01df 243a01dd nbranch p_adv_delay ,blank 
-01e0 20205196 branch le_adv_not_match + 3 
+01df 1fe0ffff increase -1 ,pdata 
+01e0 20000026 nop 38 
+01e1 243a01df nbranch p_adv_delay ,blank 
+01e2 20205196 branch le_adv_not_match + 3 
 
 p_le_send_scan_response:
-01e1 20404ac5 call le_send_scan_response 
-01e2 202001d7 branch p_le_adv_not_match 
+01e3 20404ac5 call le_send_scan_response 
+01e4 202001d9 branch p_le_adv_not_match 
 
 p_le_receive_window_size:
-01e3 68024596 fetch 4 ,mem_le_transmit_window 
-01e4 d840ea60 arg 60000 ,temp 
-01e5 9840fe00 iadd temp ,pdata 
-01e6 60024596 store 4 ,mem_le_transmit_window 
-01e7 202051a9 branch le_receive_window_size + 16 
+01e5 68024596 fetch 4 ,mem_le_transmit_window 
+01e6 d840ea60 arg 60000 ,temp 
+01e7 9840fe00 iadd temp ,pdata 
+01e8 60024596 store 4 ,mem_le_transmit_window 
+01e9 202051a9 branch le_receive_window_size + 16 
 
 p_le_lpm_set_mult:
-01e8 7855fc00 disable wake 
-01e9 203701eb branch p_le_lpm_set_mult_attempt ,attempt 
-01ea 243681fa nbranch p_le_lpm_lost ,match 
+01ea 7855fc00 disable wake 
+01eb 203701ed branch p_le_lpm_set_mult_attempt ,attempt 
+01ec 243681fc nbranch p_le_lpm_lost ,match 
 
 p_le_lpm_set_mult_attempt:
-01eb 20403cb7 call lpm_match 
-01ec 68014161 fetch 2 ,mem_rx_window_sniff 
-01ed 60010370 store 2 ,mem_le_receive_window 
-01ee 68008302 fetch 1 ,mem_le_rxbuf 
-01ef 2fe00601 compare 1 ,pdata ,3 
-01f0 2420bccb nbranch lpm_mult_short ,true 
-01f1 6800c465 fetch 1 ,mem_le_txheader 
-01f2 2fe00601 compare 1 ,pdata ,3 
-01f3 2420bccb nbranch lpm_mult_short ,true 
-01f4 20404bd0 call le_xtype_fifo_is_empty 
-01f5 243a3ccb nbranch lpm_mult_short ,blank 
-01f6 6800ce62 fetch 1 ,mem_le_prepare_tx_retransmited_number 
-01f7 1fe67c01 sub pdata ,1 ,null 
-01f8 24213ccb nbranch lpm_mult_short ,positive 
-01f9 20205297 branch le_lpm_set_mult_attempt + 11 
+01ed 20403cb7 call lpm_match 
+01ee 68014161 fetch 2 ,mem_rx_window_sniff 
+01ef 60010370 store 2 ,mem_le_receive_window 
+01f0 68008302 fetch 1 ,mem_le_rxbuf 
+01f1 2fe00601 compare 1 ,pdata ,3 
+01f2 2420bccb nbranch lpm_mult_short ,true 
+01f3 6800c465 fetch 1 ,mem_le_txheader 
+01f4 2fe00601 compare 1 ,pdata ,3 
+01f5 2420bccb nbranch lpm_mult_short ,true 
+01f6 20404bd0 call le_xtype_fifo_is_empty 
+01f7 243a3ccb nbranch lpm_mult_short ,blank 
+01f8 6800ce62 fetch 1 ,mem_le_prepare_tx_retransmited_number 
+01f9 1fe67c01 sub pdata ,1 ,null 
+01fa 24213ccb nbranch lpm_mult_short ,positive 
+01fb 20205297 branch le_lpm_set_mult_attempt + 11 
 
 p_le_lpm_lost:
-01fa 68094161 fetcht 2 ,mem_rx_window_sniff 
-01fb 68014e60 fetch 2 ,mem_le_rx_window_inc 
-01fc 98408400 iadd temp ,temp 
-01fd 18430400 rshift temp ,temp 
-01fe 68010370 fetch 2 ,mem_le_receive_window 
-01ff 9840fe00 iadd temp ,pdata 
-0200 60010370 store 2 ,mem_le_receive_window 
-0201 20203cc3 branch lpm_lost 
+01fc 68094161 fetcht 2 ,mem_rx_window_sniff 
+01fd 68014e60 fetch 2 ,mem_le_rx_window_inc 
+01fe 98408400 iadd temp ,temp 
+01ff 18430400 rshift temp ,temp 
+0200 68010370 fetch 2 ,mem_le_receive_window 
+0201 9840fe00 iadd temp ,pdata 
+0202 60010370 store 2 ,mem_le_receive_window 
+0203 20203cc3 branch lpm_lost 
+
+p_iicd_read_eep:
+0204 c515623d bmark1 mark_eeprom_size ,iicd_read_eep_size_2k_lcadcode 
+0205 20206250 branch iicd_read_eep + 4 
 
 p_gpio_set_before_lpm_common:
-0202 68120078 hfetch 4 ,core_gpio_pu0 
-0203 681a007c hfetcht 4 ,core_gpio_pd0 
-0204 9841fe00 ior temp ,pdata 
-0205 1fe47e00 invert pdata ,pdata 
-0206 9a217e00 iand rega ,pdata 
-0207 60120070 hstore 4 ,core_gpio_oe0 
-0208 20600000 rtn 
+0206 68120078 hfetch 4 ,core_gpio_pu0 
+0207 681a007c hfetcht 4 ,core_gpio_pd0 
+0208 9841fe00 ior temp ,pdata 
+0209 1fe47e00 invert pdata ,pdata 
+020a 9a217e00 iand rega ,pdata 
+020b 60120070 hstore 4 ,core_gpio_oe0 
+020c 20600000 rtn 
 
 p_ui_timer_check_end:
-0209 1a227e00 copy rega ,pdata 
-020a 207a0000 rtn blank 
-020b 18408560 increase -160 ,temp 
-020c 18408560 increase -160 ,temp 
-020d 793f841c set0 28 ,temp 
-020e 600a4703 storet 4 ,mem_ui_timer_last_btclk 
-020f 1fe20400 copy pdata ,temp 
-0210 da2046f0 arg mem_ipc_fifo_bt2c51 ,rega 
-0211 20407fa6 call fifo_is_near_full 
-0212 247a0000 nrtn blank 
-0213 18427e00 copy temp ,pdata 
-0214 20207d7d branch ui_timer_check_send_evt 
+020d 1a227e00 copy rega ,pdata 
+020e 207a0000 rtn blank 
+020f 18408560 increase -160 ,temp 
+0210 18408560 increase -160 ,temp 
+0211 793f841c set0 28 ,temp 
+0212 600a4703 storet 4 ,mem_ui_timer_last_btclk 
+0213 1fe20400 copy pdata ,temp 
+0214 da2046f0 arg mem_ipc_fifo_bt2c51 ,rega 
+0215 20407fa6 call fifo_is_near_full 
+0216 247a0000 nrtn blank 
+0217 18427e00 copy temp ,pdata 
+0218 20207d7d branch ui_timer_check_send_evt 
 
 p_check_51cmd_once:
-0215 20407d80 call ui_ipc_get_lock 
-0216 da2046f8 arg mem_ipc_fifo_c512bt ,rega 
-0217 20407f95 call fifo_out 
-0218 1fe20400 copy pdata ,temp 
-0219 20407d84 call ui_ipc_put_lock 
-021a 18427e00 copy temp ,pdata 
-021b 207a0000 rtn blank 
-021c c0118222 beq bt_cmd_start_24g ,g24_check_51cmd_start_24g 
-021d c0120226 beq bt_cmd_stop_24g ,g24_check_51cmd_stop_24g 
-021e c012822a beq bt_cmd_pair_24g ,g24_check_51cmd_pair_24g 
-021f c006822c beq bt_cmd_start_adv ,p_check_51cmd_adv 
-0220 c0138239 beq bt_cmd_start_adv_reconn ,p_check_51cmd_adv_reconn 
-0221 20207db3 branch check_51cmd_once + 9 
+0219 20407d80 call ui_ipc_get_lock 
+021a da2046f8 arg mem_ipc_fifo_c512bt ,rega 
+021b 20407f95 call fifo_out 
+021c 1fe20400 copy pdata ,temp 
+021d 20407d84 call ui_ipc_put_lock 
+021e 18427e00 copy temp ,pdata 
+021f 207a0000 rtn blank 
+0220 c0118226 beq bt_cmd_start_24g ,g24_check_51cmd_start_24g 
+0221 c012022a beq bt_cmd_stop_24g ,g24_check_51cmd_stop_24g 
+0222 c012822e beq bt_cmd_pair_24g ,g24_check_51cmd_pair_24g 
+0223 c0068230 beq bt_cmd_start_adv ,p_check_51cmd_adv 
+0224 c013823d beq bt_cmd_start_adv_reconn ,p_check_51cmd_adv_reconn 
+0225 20207db3 branch check_51cmd_once + 9 
 
 g24_check_51cmd_start_24g:
-0222 6800c9c3 fetch 1 ,mem_tx_power_temp 
-0223 6000c280 store 1 ,mem_tx_power 
-0224 704938ff jam state_24g_pairing_success ,mem_new_24g_pairing_sm 
-0225 20200670 branch g24_start_24g_mode 
-
-g24_check_51cmd_stop_24g:
 0226 6800c9c3 fetch 1 ,mem_tx_power_temp 
 0227 6000c280 store 1 ,mem_tx_power 
-0228 793f8026 set0 mark_24g ,mark 
-0229 2020497d branch le_disable 
+0228 704938ff jam state_24g_pairing_success ,mem_new_24g_pairing_sm 
+0229 20200674 branch g24_start_24g_mode 
+
+g24_check_51cmd_stop_24g:
+022a 6800c9c3 fetch 1 ,mem_tx_power_temp 
+022b 6000c280 store 1 ,mem_tx_power 
+022c 793f8026 set0 mark_24g ,mark 
+022d 2020497d branch le_disable 
 
 g24_check_51cmd_pair_24g:
-022a 70428014 jam tx_power_pair ,mem_tx_power 
-022b 20200641 branch g24_start_pairing_sm1 
+022e 70428014 jam tx_power_pair ,mem_tx_power 
+022f 20200645 branch g24_start_pairing_sm1 
 
 p_check_51cmd_adv:
-022c 793f8026 set0 mark_24g ,mark 
-022d 70413100 jam 0 ,mem_lpm_mode 
-022e 180a7e00 random pdata 
-022f 6000c53e store 1 ,mem_le_lap 
-0230 704e5300 jam 0 ,mem_le_reconn_flag 
-0231 68094e4e fetcht 2 ,mem_le_att_report2 
-0232 600944f8 storet 2 ,mem_le_notify_handle 
-0233 204052a0 call le_clean_att_list_handle_enable 
-0234 da400005 arg adv_flag_bredr_not_supported | adv_flag_limited_discoverable ,regb 
+0230 793f8026 set0 mark_24g ,mark 
+0231 70413100 jam 0 ,mem_lpm_mode 
+0232 180a7e00 random pdata 
+0233 6000c53e store 1 ,mem_le_lap 
+0234 704e5300 jam 0 ,mem_le_reconn_flag 
+0235 68094e4e fetcht 2 ,mem_le_att_report2 
+0236 600944f8 storet 2 ,mem_le_notify_handle 
+0237 204052a0 call le_clean_att_list_handle_enable 
+0238 da400005 arg adv_flag_bredr_not_supported | adv_flag_limited_discoverable ,regb 
 
 p_le_start_adv:
-0235 20400243 call p_le_check_adv_flag 
-0236 1a427e00 copy regb ,pdata 
-0237 e0c08000 istore 1 ,contr 
-0238 20207e07 branch check_51cmd_adv 
+0239 20400247 call p_le_check_adv_flag 
+023a 1a427e00 copy regb ,pdata 
+023b e0c08000 istore 1 ,contr 
+023c 20207e07 branch check_51cmd_adv 
 
 p_check_51cmd_adv_reconn:
-0239 793f8026 set0 mark_24g ,mark 
-023a 70413100 jam 0 ,mem_lpm_mode 
-023b 704e5301 jam 1 ,mem_le_reconn_flag 
-023c 68094e4e fetcht 2 ,mem_le_att_report2 
-023d 20404f6a call le_att_check_notification_enable 
-023e 1a220a00 copy rega ,contw 
-023f 58000001 setarg 1 
-0240 e0a08000 istore 1 ,contw 
-0241 da400004 arg adv_flag_bredr_not_supported ,regb 
-0242 20200235 branch p_le_start_adv 
+023d 793f8026 set0 mark_24g ,mark 
+023e 70413100 jam 0 ,mem_lpm_mode 
+023f 704e5301 jam 1 ,mem_le_reconn_flag 
+0240 68094e4e fetcht 2 ,mem_le_att_report2 
+0241 20404f6a call le_att_check_notification_enable 
+0242 1a220a00 copy rega ,contw 
+0243 58000001 setarg 1 
+0244 e0a08000 istore 1 ,contw 
+0245 da400004 arg adv_flag_bredr_not_supported ,regb 
+0246 20200239 branch p_le_start_adv 
 
 p_le_check_adv_flag:
-0243 da204401 arg mem_le_adv_data ,rega 
+0247 da204401 arg mem_le_adv_data ,rega 
 
 p_le_check_adv_flag_loop:
-0244 ea208000 ifetch 1 ,rega 
-0245 207a0000 rtn blank 
-0246 98c0a200 iadd contr ,rega 
-0247 e8c08000 ifetch 1 ,contr 
-0248 c1008000 rtneq 0x01 
-0249 20200244 branch p_le_check_adv_flag_loop 
+0248 ea208000 ifetch 1 ,rega 
+0249 207a0000 rtn blank 
+024a 98c0a200 iadd contr ,rega 
+024b e8c08000 ifetch 1 ,contr 
+024c c1008000 rtneq 0x01 
+024d 20200248 branch p_le_check_adv_flag_loop 
 
 p_check_51cmd_once_continue0:
-024a 204058c5 call lmo_fifo_check 
-024b 243a7de5 nbranch check_51cmd_restore ,blank 
+024e 204058c5 call lmo_fifo_check 
+024f 243a7de5 nbranch check_51cmd_restore ,blank 
 
 p_check_51cmd_once_continue:
-024c 680089bd fetch 1 ,mem_fifo_temp 
-024d c584fde0 bmark0 mark_context ,check_51cmd_check_idle 
-024e c00f8270 beq bt_cmd_store_reconn_info_le ,p_rtn 
-024f 20207dd0 branch check_51cmd_once_continue + 2 
+0250 680089bd fetch 1 ,mem_fifo_temp 
+0251 c584fde0 bmark0 mark_context ,check_51cmd_check_idle 
+0252 c00f8274 beq bt_cmd_store_reconn_info_le ,p_rtn 
+0253 20207dd0 branch check_51cmd_once_continue + 2 
 
 p_check_enter_hibernate:
-0250 700b2a03 jam syc_task_hibernate ,mem_c51_flag 
-0251 204000b0 call p_c51_wait 
+0254 700b2a03 jam syc_task_hibernate ,mem_c51_flag 
+0255 204000b2 call p_c51_wait 
 
 p_enter_hibernate_continue:
-0252 704e455a jam 0x5a ,mem_hibernate_flag 
-0253 20403cfc call lpm_write_gpio_wakeup 
-0254 68120138 hfetch 4 ,core_lpm_ctrl 
-0255 793ffe0f set0 15 ,pdata 
-0256 6012004c hstore 4 ,core_lpm_reg 
-0257 20403cf4 call lpm_write_ctrl 
-0258 d85fffff arg param_hibernate_clks ,temp 
-0259 20203c11 branch lpm_sleep 
+0256 704e455a jam 0x5a ,mem_hibernate_flag 
+0257 20403cfc call lpm_write_gpio_wakeup 
+0258 68120138 hfetch 4 ,core_lpm_ctrl 
+0259 793ffe0f set0 15 ,pdata 
+025a 6012004c hstore 4 ,core_lpm_reg 
+025b 20403cf4 call lpm_write_ctrl 
+025c d85fffff arg param_hibernate_clks ,temp 
+025d 20203c11 branch lpm_sleep 
 
 p_ipc_timer_check:
-025a 680a489e fetcht 4 ,mem_ipc_last_check_timer 
-025b 1c427e00 copy clkn_bt ,pdata 
-025c 98467e00 isub temp ,pdata 
-025d d8400640 arg 1600 ,temp 
-025e 9846fc00 idiv temp 
-025f 20407f53 call wait_div_end 
-0260 1807fe00 quotient pdata 
-0261 207a0000 rtn blank 
-0262 1c420400 copy clkn_bt ,temp 
-0263 600a489e storet 4 ,mem_ipc_last_check_timer 
-0264 68094898 fetcht 2 ,mem_ipc_bt_timer 
-0265 18508400 byteswap temp ,temp 
-0266 9840fe00 iadd temp ,pdata 
-0267 1ff0fe00 byteswap pdata ,pdata 
-0268 60014898 store 2 ,mem_ipc_bt_timer 
-0269 1ff0fe00 byteswap pdata ,pdata 
-026a 1fe17e03 and pdata ,0x3 ,pdata 
-026b c1800000 rtnne 0 
-026c 2040028e call p_read_adc_enable 
-026d 24760000 nrtn user2 
+025e 680a489e fetcht 4 ,mem_ipc_last_check_timer 
+025f 1c427e00 copy clkn_bt ,pdata 
+0260 98467e00 isub temp ,pdata 
+0261 d8400640 arg 1600 ,temp 
+0262 9846fc00 idiv temp 
+0263 20407f53 call wait_div_end 
+0264 1807fe00 quotient pdata 
+0265 207a0000 rtn blank 
+0266 1c420400 copy clkn_bt ,temp 
+0267 600a489e storet 4 ,mem_ipc_last_check_timer 
+0268 68094898 fetcht 2 ,mem_ipc_bt_timer 
+0269 18508400 byteswap temp ,temp 
+026a 9840fe00 iadd temp ,pdata 
+026b 1ff0fe00 byteswap pdata ,pdata 
+026c 60014898 store 2 ,mem_ipc_bt_timer 
+026d 1ff0fe00 byteswap pdata ,pdata 
+026e 1fe17e03 and pdata ,0x3 ,pdata 
+026f c1800000 rtnne 0 
+0270 20400292 call p_read_adc_enable 
+0271 24760000 nrtn user2 
 
 p_adc_check_process:
-026e 6800c2cf fetch 1 ,mem_adc_config_flag 
-026f c2810271 bbit1 adc_config_gpio ,p_adc_check_gpio 
+0272 6800c2cf fetch 1 ,mem_adc_config_flag 
+0273 c2810275 bbit1 adc_config_gpio ,p_adc_check_gpio 
 
 p_rtn:
-0270 20600000 rtn 
+0274 20600000 rtn 
 
 p_adc_check_gpio:
-0271 68108078 hfetch 1 ,core_gpio_pu0 
-0272 793ffe05 set0 5 ,pdata 
-0273 60108078 hstore 1 ,core_gpio_pu0 
-0274 7089718f hjam 0x8f ,rf_adc_mode 
-0275 6800c2d0 fetch 1 ,mem_adc_channel 
-0276 60108973 hstore 1 ,rf_adc_ch 
-0277 2040027c call p_read_adc 
-0278 68108078 hfetch 1 ,core_gpio_pu0 
-0279 79207e05 set1 5 ,pdata 
-027a 60108078 hstore 1 ,core_gpio_pu0 
-027b 20600000 rtn 
+0275 68108078 hfetch 1 ,core_gpio_pu0 
+0276 793ffe05 set0 5 ,pdata 
+0277 60108078 hstore 1 ,core_gpio_pu0 
+0278 7089718f hjam 0x8f ,rf_adc_mode 
+0279 6800c2d0 fetch 1 ,mem_adc_channel 
+027a 60108973 hstore 1 ,rf_adc_ch 
+027b 20400280 call p_read_adc 
+027c 68108078 hfetch 1 ,core_gpio_pu0 
+027d 79207e05 set1 5 ,pdata 
+027e 60108078 hstore 1 ,core_gpio_pu0 
+027f 20600000 rtn 
 
 p_read_adc:
-027c 68108053 hfetch 1 ,core_uart_baud + 1 
-027d 79207e07 set1 7 ,pdata 
-027e 60108053 hstore 1 ,core_uart_baud + 1 
-027f 68108973 hfetch 1 ,rf_adc_ch 
-0280 1fe1fe30 or_into 0x30 ,pdata 
-0281 60108973 hstore 1 ,rf_adc_ch 
-0282 7089067c hjam 0x7c ,rfen_adc 
-0283 708972aa hjam 0xaa ,rf_adc_gc 
-0284 20001388 nop 5000 
-0285 68190150 hfetcht 2 ,core_adc_sum 
-0286 68108053 hfetch 1 ,core_uart_baud + 1 
-0287 793ffe07 set0 7 ,pdata 
-0288 60108053 hstore 1 ,core_uart_baud + 1 
-0289 18508400 byteswap temp ,temp 
-028a 600942d1 storet 2 ,mem_adc_current_value 
-028b 20600000 rtn 
+0280 68108053 hfetch 1 ,core_uart_baud + 1 
+0281 79207e07 set1 7 ,pdata 
+0282 60108053 hstore 1 ,core_uart_baud + 1 
+0283 68108973 hfetch 1 ,rf_adc_ch 
+0284 1fe1fe30 or_into 0x30 ,pdata 
+0285 60108973 hstore 1 ,rf_adc_ch 
+0286 7089067c hjam 0x7c ,rfen_adc 
+0287 708972aa hjam 0xaa ,rf_adc_gc 
+0288 20001388 nop 5000 
+0289 68190150 hfetcht 2 ,core_adc_sum 
+028a 68108053 hfetch 1 ,core_uart_baud + 1 
+028b 793ffe07 set0 7 ,pdata 
+028c 60108053 hstore 1 ,core_uart_baud + 1 
+028d 18508400 byteswap temp ,temp 
+028e 600942d1 storet 2 ,mem_adc_current_value 
+028f 20600000 rtn 
 
 enable_usr2:
-028c 78367c00 enable user2 
-028d 20600000 rtn 
+0290 78367c00 enable user2 
+0291 20600000 rtn 
 
 p_read_adc_enable:
-028e 78567c00 disable user2 
-028f 20404bd0 call le_xtype_fifo_is_empty 
-0290 205a028c call enable_usr2 ,blank 
-0291 6800c954 fetch 1 ,mem_new_24g_abort_pac 
-0292 245a028c ncall enable_usr2 ,blank 
-0293 20600000 rtn 
+0292 78567c00 disable user2 
+0293 20404bd0 call le_xtype_fifo_is_empty 
+0294 205a0290 call enable_usr2 ,blank 
+0295 6800c954 fetch 1 ,mem_new_24g_abort_pac 
+0296 245a0290 ncall enable_usr2 ,blank 
+0297 20600000 rtn 
 
 p_user_le_connect_process:
-0294 704ea301 jam 1 ,mem_ble_read_ipc_fifo_once 
-0295 20400298 call p_ipc_rx 
-0296 704ea300 jam 0 ,mem_ble_read_ipc_fifo_once 
-0297 20600000 rtn 
+0298 704ea301 jam 1 ,mem_ble_read_ipc_fifo_once 
+0299 2040029c call p_ipc_rx 
+029a 704ea300 jam 0 ,mem_ble_read_ipc_fifo_once 
+029b 20600000 rtn 
 
 p_ipc_rx:
-0298 204000ab call p_check_ipc_2bt 
-0299 20740000 rtn user 
-029a 1ff0fe00 byteswap pdata ,pdata 
-029b 1fe20c00 copy pdata ,contr 
-029c 204002be call p_ipc_rx_byte 
-029d 6000c897 store 1 ,mem_ipc_rx_type 
-029e c00082a9 beq ipc_type_cmd ,p_ipc_rx_cmd 
-029f c00302da beq ipc_type_24g ,g24_ipc_rx_24g 
-02a0 1fe20400 copy pdata ,temp 
-02a1 18c22200 copy contr ,rega 
-02a2 6800c040 fetch 1 ,mem_context 
-02a3 c30002b3 bbit0 state_inconn ,p_ipc_abondon_rx_data 
-02a4 1a220c00 copy rega ,contr 
-02a5 c6848000 rtnmark0 mark_context 
-02a6 18427e00 copy temp ,pdata 
-02a7 c00282f1 beq ipc_type_ble ,p_ipc_rx_ble 
-02a8 20203b31 branch assert 
+029c 204000ad call p_check_ipc_2bt 
+029d 20740000 rtn user 
+029e 1ff0fe00 byteswap pdata ,pdata 
+029f 1fe20c00 copy pdata ,contr 
+02a0 204002c2 call p_ipc_rx_byte 
+02a1 6000c897 store 1 ,mem_ipc_rx_type 
+02a2 c00082ad beq ipc_type_cmd ,p_ipc_rx_cmd 
+02a3 c00302de beq ipc_type_24g ,g24_ipc_rx_24g 
+02a4 1fe20400 copy pdata ,temp 
+02a5 18c22200 copy contr ,rega 
+02a6 6800c040 fetch 1 ,mem_context 
+02a7 c30002b7 bbit0 state_inconn ,p_ipc_abondon_rx_data 
+02a8 1a220c00 copy rega ,contr 
+02a9 c6848000 rtnmark0 mark_context 
+02aa 18427e00 copy temp ,pdata 
+02ab c00282f5 beq ipc_type_ble ,p_ipc_rx_ble 
+02ac 20203b31 branch assert 
 
 p_ipc_rx_cmd:
-02a9 204002be call p_ipc_rx_byte 
-02aa 204002be call p_ipc_rx_byte 
-02ab 600089bd store 1 ,mem_fifo_temp 
-02ac 204002ae call p_ipc_next_rx 
-02ad 20207d90 branch ui_ipc_send_cmd 
+02ad 204002c2 call p_ipc_rx_byte 
+02ae 204002c2 call p_ipc_rx_byte 
+02af 600089bd store 1 ,mem_fifo_temp 
+02b0 204002b2 call p_ipc_next_rx 
+02b1 20207d90 branch ui_ipc_send_cmd 
 
 p_ipc_next_rx:
-02ae 204002c1 call p_ipc_rx_updata_contr 
-02af 18c20400 copy contr ,temp 
-02b0 18508400 byteswap temp ,temp 
-02b1 600947c4 storet 2 ,mem_ipc_2bt_read_index 
-02b2 20600000 rtn 
+02b2 204002c5 call p_ipc_rx_updata_contr 
+02b3 18c20400 copy contr ,temp 
+02b4 18508400 byteswap temp ,temp 
+02b5 600947c4 storet 2 ,mem_ipc_2bt_read_index 
+02b6 20600000 rtn 
 
 p_ipc_abondon_rx_data:
-02b3 1a220c00 copy rega ,contr 
-02b4 d8a000f5 arg mem_tst_pktcnt_sync ,contw 
-02b5 202002b6 branch p_ipc_rx_cpy 
+02b7 1a220c00 copy rega ,contr 
+02b8 d8a000f5 arg mem_tst_pktcnt_sync ,contw 
+02b9 202002ba branch p_ipc_rx_cpy 
 
 p_ipc_rx_cpy:
-02b6 204002be call p_ipc_rx_byte 
-02b7 1fe27200 copy pdata ,loopcnt 
+02ba 204002c2 call p_ipc_rx_byte 
+02bb 1fe27200 copy pdata ,loopcnt 
 
 p_ipc_copy:
-02b8 204002ba call p_ipc_cpy_loop 
-02b9 202002ae branch p_ipc_next_rx 
+02bc 204002be call p_ipc_cpy_loop 
+02bd 202002b2 branch p_ipc_next_rx 
 
 p_ipc_cpy_loop:
-02ba 204002be call p_ipc_rx_byte 
-02bb e0a08000 istore 1 ,contw 
-02bc c20002ba loop p_ipc_cpy_loop 
-02bd 20600000 rtn 
+02be 204002c2 call p_ipc_rx_byte 
+02bf e0a08000 istore 1 ,contw 
+02c0 c20002be loop p_ipc_cpy_loop 
+02c1 20600000 rtn 
 
 p_ipc_rx_byte:
-02be 204002c1 call p_ipc_rx_updata_contr 
-02bf e8c08000 ifetch 1 ,contr 
-02c0 20600000 rtn 
+02c2 204002c5 call p_ipc_rx_updata_contr 
+02c3 e8c08000 ifetch 1 ,contr 
+02c4 20600000 rtn 
 
 p_ipc_rx_updata_contr:
-02c1 580047c4 setarg mem_ipc_2bt_fifo_end 
-02c2 98c67c00 isub contr ,null 
-02c3 24628000 nrtn zero 
-02c4 d8c0472e arg mem_ipc_2bt_fifo_head ,contr 
-02c5 20600000 rtn 
+02c5 580047c4 setarg mem_ipc_2bt_fifo_end 
+02c6 98c67c00 isub contr ,null 
+02c7 24628000 nrtn zero 
+02c8 d8c0472e arg mem_ipc_2bt_fifo_head ,contr 
+02c9 20600000 rtn 
 
 p_ipc_tx_evt:
-02c6 df200003 arg 3 ,loopcnt 
-02c7 d8c04894 arg mem_ipc_tx_evt_buff ,contr 
+02ca df200003 arg 3 ,loopcnt 
+02cb d8c04894 arg mem_ipc_tx_evt_buff ,contr 
 
 p_ipc_tx_cpy:
-02c8 18c22200 copy contr ,rega 
-02c9 6801482e fetch 2 ,mem_ipc_2c51_write_index 
-02ca 1ff0fe00 byteswap pdata ,pdata 
-02cb 1fe20a00 copy pdata ,contw 
-02cc 1a220c00 copy rega ,contr 
+02cc 18c22200 copy contr ,rega 
+02cd 6801482e fetch 2 ,mem_ipc_2c51_write_index 
+02ce 1ff0fe00 byteswap pdata ,pdata 
+02cf 1fe20a00 copy pdata ,contw 
+02d0 1a220c00 copy rega ,contr 
 
 p_ipc_tx_loop:
-02cd e8c08000 ifetch 1 ,contr 
-02ce e0a08000 istore 1 ,contw 
-02cf 204002d5 call p_ipc_tx_updata_contw 
-02d0 c20002cd loop p_ipc_tx_loop 
-02d1 18a27e00 copy contw ,pdata 
-02d2 1ff0fe00 byteswap pdata ,pdata 
-02d3 6001482e store 2 ,mem_ipc_2c51_write_index 
-02d4 20600000 rtn 
+02d1 e8c08000 ifetch 1 ,contr 
+02d2 e0a08000 istore 1 ,contw 
+02d3 204002d9 call p_ipc_tx_updata_contw 
+02d4 c20002d1 loop p_ipc_tx_loop 
+02d5 18a27e00 copy contw ,pdata 
+02d6 1ff0fe00 byteswap pdata ,pdata 
+02d7 6001482e store 2 ,mem_ipc_2c51_write_index 
+02d8 20600000 rtn 
 
 p_ipc_tx_updata_contw:
-02d5 5800482c setarg mem_ipc_2c51_fifo_end 
-02d6 98a67c00 isub contw ,null 
-02d7 24628000 nrtn zero 
-02d8 d8a047c8 arg mem_ipc_2c51_fifo_head ,contw 
-02d9 20600000 rtn 
+02d9 5800482c setarg mem_ipc_2c51_fifo_end 
+02da 98a67c00 isub contw ,null 
+02db 24628000 nrtn zero 
+02dc d8a047c8 arg mem_ipc_2c51_fifo_head ,contw 
+02dd 20600000 rtn 
 
 g24_ipc_rx_24g:
-02da c6938000 rtnmark0 mark_24g_conext 
-02db 204002be call p_ipc_rx_byte 
-02dc 1fe27200 icopy loopcnt 
-02dd 6000c970 store 1 ,mem_new_uart_packet 
-02de 202002b8 branch p_ipc_copy 
+02de c6938000 rtnmark0 mark_24g_conext 
+02df 204002c2 call p_ipc_rx_byte 
+02e0 1fe27200 icopy loopcnt 
+02e1 6000c970 store 1 ,mem_new_uart_packet 
+02e2 202002bc branch p_ipc_copy 
 
 queue_init:
-02df 58000000 setarg 0 
-02e0 6001ce85 store 3 ,mem_queue_write_prt 
-02e1 20600000 rtn 
+02e3 58000000 setarg 0 
+02e4 6001ce85 store 3 ,mem_queue_write_prt 
+02e5 20600000 rtn 
 
 p_ipc_rx_ble_data:
-02e2 c6130000 rtnmark1 mark_24g 
-02e3 6800c595 fetch 1 ,mem_le_switch_send_data 
-02e4 207a0000 rtn blank 
-02e5 204000ab call p_check_ipc_2bt 
-02e6 20740000 rtn user 
-02e7 1ff0fe00 byteswap pdata ,pdata 
-02e8 1fe20c00 copy pdata ,contr 
-02e9 204002be call p_ipc_rx_byte 
-02ea 6000c897 store 1 ,mem_ipc_rx_type 
-02eb 18c22200 copy contr ,rega 
-02ec c08282b3 bne ipc_type_ble ,p_ipc_abondon_rx_data 
-02ed 18c22400 copy contr ,regb 
-02ee 20404bd4 call le_xtype_fifo_is_near_full 
-02ef 247a0000 nrtn blank 
-02f0 202002f6 branch p_ipc_rx_ble_read_fifo 
+02e6 c6130000 rtnmark1 mark_24g 
+02e7 6800c595 fetch 1 ,mem_le_switch_send_data 
+02e8 207a0000 rtn blank 
+02e9 204000ad call p_check_ipc_2bt 
+02ea 20740000 rtn user 
+02eb 1ff0fe00 byteswap pdata ,pdata 
+02ec 1fe20c00 copy pdata ,contr 
+02ed 204002c2 call p_ipc_rx_byte 
+02ee 6000c897 store 1 ,mem_ipc_rx_type 
+02ef 18c22200 copy contr ,rega 
+02f0 c08282b7 bne ipc_type_ble ,p_ipc_abondon_rx_data 
+02f1 18c22400 copy contr ,regb 
+02f2 20404bd4 call le_xtype_fifo_is_near_full 
+02f3 247a0000 nrtn blank 
+02f4 202002fa branch p_ipc_rx_ble_read_fifo 
 
 p_ipc_rx_ble:
-02f1 18c22400 copy contr ,regb 
-02f2 6800cea3 fetch 1 ,mem_ble_read_ipc_fifo_once 
-02f3 207a0000 rtn blank 
-02f4 20404bd0 call le_xtype_fifo_is_empty 
-02f5 247a0000 nrtn blank 
+02f5 18c22400 copy contr ,regb 
+02f6 6800cea3 fetch 1 ,mem_ble_read_ipc_fifo_once 
+02f7 207a0000 rtn blank 
+02f8 20404bd0 call le_xtype_fifo_is_empty 
+02f9 247a0000 nrtn blank 
 
 p_ipc_rx_ble_read_fifo:
-02f6 68094e4e fetcht 2 ,mem_le_att_report2 
-02f7 20404f6a call le_att_check_notification_enable 
-02f8 c4000000 rtnbit0 0 
-02f9 6800c595 fetch 1 ,mem_le_switch_send_data 
-02fa c1000000 rtneq 0 
-02fb 6800ce83 fetch 1 ,mem_bt_read_ipc_count 
-02fc 1fe0fe01 pincrease 1 
-02fd 6000ce83 store 1 ,mem_bt_read_ipc_count 
-02fe 6800ce85 fetch 1 ,mem_queue_write_prt 
-02ff 1fe08401 add pdata ,1 ,temp 
-0300 18410403 and temp ,0x03 ,temp 
-0301 6008ce85 storet 1 ,mem_queue_write_prt 
-0302 1feffe07 mul32 pdata ,7 ,pdata 
-0303 d8a04e87 arg mem_queue_buffer0 ,contw 
-0304 98a08a00 iadd contw ,contw 
-0305 1a420c00 copy regb ,contr 
-0306 204002be call p_ipc_rx_byte 
-0307 1fe27200 icopy loopcnt 
-0308 204002b8 call p_ipc_copy 
-0309 2040030d call p_ipc_rx_ble_read_fifo_first_time 
-030a 20760000 rtn user2 
-030b 7009bd1b jam attop_handle_value_notification ,mem_fifo_temp 
-030c 20204bd6 branch le_xtype_fifo_in 
+02fa 68094e4e fetcht 2 ,mem_le_att_report2 
+02fb 20404f6a call le_att_check_notification_enable 
+02fc c4000000 rtnbit0 0 
+02fd 6800c595 fetch 1 ,mem_le_switch_send_data 
+02fe c1000000 rtneq 0 
+02ff 6800ce83 fetch 1 ,mem_bt_read_ipc_count 
+0300 1fe0fe01 pincrease 1 
+0301 6000ce83 store 1 ,mem_bt_read_ipc_count 
+0302 6800ce85 fetch 1 ,mem_queue_write_prt 
+0303 1fe08401 add pdata ,1 ,temp 
+0304 18410403 and temp ,0x03 ,temp 
+0305 6008ce85 storet 1 ,mem_queue_write_prt 
+0306 1feffe07 mul32 pdata ,7 ,pdata 
+0307 d8a04e87 arg mem_queue_buffer0 ,contw 
+0308 98a08a00 iadd contw ,contw 
+0309 1a420c00 copy regb ,contr 
+030a 204002c2 call p_ipc_rx_byte 
+030b 1fe27200 icopy loopcnt 
+030c 204002bc call p_ipc_copy 
+030d 20400311 call p_ipc_rx_ble_read_fifo_first_time 
+030e 20760000 rtn user2 
+030f 7009bd1b jam attop_handle_value_notification ,mem_fifo_temp 
+0310 20204bd6 branch le_xtype_fifo_in 
 
 p_ipc_rx_ble_read_fifo_first_time:
-030d 78567c00 disable user2 
-030e 6800cea4 fetch 1 ,mem_ble_send_flag 
-030f c1028000 rtneq 5 
-0310 78367c00 enable user2 
-0311 1fe0fe01 increase 1 ,pdata 
-0312 6000cea4 store 1 ,mem_ble_send_flag 
-0313 1fe67c01 sub pdata ,1 ,null 
-0314 24610000 nrtn positive 
-0315 70489640 jam bt_evt_le_notify_enable ,mem_ipc_tx_evt 
-0316 202002c6 branch p_ipc_tx_evt 
+0311 78567c00 disable user2 
+0312 6800cea4 fetch 1 ,mem_ble_send_flag 
+0313 c1028000 rtneq 5 
+0314 78367c00 enable user2 
+0315 1fe0fe01 increase 1 ,pdata 
+0316 6000cea4 store 1 ,mem_ble_send_flag 
+0317 1fe67c01 sub pdata ,1 ,null 
+0318 24610000 nrtn positive 
+0319 70489640 jam bt_evt_le_notify_enable ,mem_ipc_tx_evt 
+031a 202002ca branch p_ipc_tx_evt 
 
 p_ipc_init:
-0317 5800472e setarg mem_ipc_2bt_fifo_head 
-0318 1ff0fe00 byteswap pdata ,pdata 
-0319 600147c4 store 2 ,mem_ipc_2bt_read_index 
-031a 600147c6 store 2 ,mem_ipc_2bt_write_index 
-031b 580047c8 setarg mem_ipc_2c51_fifo_head 
+031b 5800472e setarg mem_ipc_2bt_fifo_head 
 031c 1ff0fe00 byteswap pdata ,pdata 
-031d 6001482c store 2 ,mem_ipc_2c51_read_index 
-031e 6001482e store 2 ,mem_ipc_2c51_write_index 
-031f 20600000 rtn 
+031d 600147c4 store 2 ,mem_ipc_2bt_read_index 
+031e 600147c6 store 2 ,mem_ipc_2bt_write_index 
+031f 580047c8 setarg mem_ipc_2c51_fifo_head 
+0320 1ff0fe00 byteswap pdata ,pdata 
+0321 6001482c store 2 ,mem_ipc_2c51_read_index 
+0322 6001482e store 2 ,mem_ipc_2c51_write_index 
+0323 20600000 rtn 
 
 p_device_init:
-0320 2040524a call le_modified_name_adv 
-0321 700b2a00 jam 0 ,mem_c51_flag 
-0322 70016c06 jam 6 ,mem_connection_options 
-0323 20403e7f call app_lpm_mult_enable 
-0324 58000393 setarg p_c51_user_event 
-0325 60014296 store 2 ,mem_cb_bb_event_process 
-0326 58000294 setarg p_user_le_connect_process 
-0327 60014290 store 2 ,mem_cb_le_process 
-0328 5800038c setarg p_device_before_hibernate 
-0329 6001428c store 2 ,mem_cb_before_hibernate 
-032a 24558317 ncall p_ipc_init ,wake 
-032b 20558354 call p_device_wakeup ,wake 
-032c 20403d3e call lpm_disable_exen_output 
-032d 6800ce45 fetch 1 ,mem_hibernate_flag 
-032e c02d0368 beq 0x5a ,p_device_init_init_hibwake 
-032f 20358366 branch p_deveice_init_wake ,wake 
-0330 6800c280 fetch 1 ,mem_tx_power 
-0331 6000c9c3 store 1 ,mem_tx_power_temp 
-0332 204005d9 call power_ctrl_pac_succ_cnt_init 
-0333 68014e41 fetch 2 ,mem_adc_0v 
-0334 1ff0fe00 byteswap pdata ,pdata 
-0335 60014e41 store 2 ,mem_adc_0v 
-0336 68014e43 fetch 2 ,mem_adc_3v 
-0337 1ff0fe00 byteswap pdata ,pdata 
-0338 60014e43 store 2 ,mem_adc_3v 
-0339 20400373 call p_init_adc_from_otp 
-033a 204003ad call g24_set_device_addr 
-033b 680409c6 fetch 8 ,mem_temp 
-033c 243a0341 nbranch p_deveice_init_reset ,blank 
-033d 68014ad4 fetch 2 ,0x4ad4 
-033e 1ff0fe00 byteswap pdata ,pdata 
-033f 203a0341 branch p_deveice_init_reset ,blank 
-0340 60014e43 store 2 ,mem_adc_3v 
+0324 2040524a call le_modified_name_adv 
+0325 700b2a00 jam 0 ,mem_c51_flag 
+0326 70016c06 jam 6 ,mem_connection_options 
+0327 20403e7f call app_lpm_mult_enable 
+0328 58000397 setarg p_c51_user_event 
+0329 60014296 store 2 ,mem_cb_bb_event_process 
+032a 58000298 setarg p_user_le_connect_process 
+032b 60014290 store 2 ,mem_cb_le_process 
+032c 58000390 setarg p_device_before_hibernate 
+032d 6001428c store 2 ,mem_cb_before_hibernate 
+032e 2455831b ncall p_ipc_init ,wake 
+032f 20558358 call p_device_wakeup ,wake 
+0330 20403d3e call lpm_disable_exen_output 
+0331 6800ce45 fetch 1 ,mem_hibernate_flag 
+0332 c02d036c beq 0x5a ,p_device_init_init_hibwake 
+0333 2035836a branch p_deveice_init_wake ,wake 
+0334 6800c280 fetch 1 ,mem_tx_power 
+0335 6000c9c3 store 1 ,mem_tx_power_temp 
+0336 204005dd call power_ctrl_pac_succ_cnt_init 
+0337 68014e41 fetch 2 ,mem_adc_0v 
+0338 1ff0fe00 byteswap pdata ,pdata 
+0339 60014e41 store 2 ,mem_adc_0v 
+033a 68014e43 fetch 2 ,mem_adc_3v 
+033b 1ff0fe00 byteswap pdata ,pdata 
+033c 60014e43 store 2 ,mem_adc_3v 
+033d 20400377 call p_init_adc_from_otp 
+033e 204003b1 call g24_set_device_addr 
+033f 680409c6 fetch 8 ,mem_temp 
+0340 243a0345 nbranch p_deveice_init_reset ,blank 
+0341 68014ad4 fetch 2 ,0x4ad4 
+0342 1ff0fe00 byteswap pdata ,pdata 
+0343 203a0345 branch p_deveice_init_reset ,blank 
+0344 60014e43 store 2 ,mem_adc_3v 
 
 p_deveice_init_reset:
-0341 7048962f jam bt_evt_reset ,mem_ipc_tx_evt 
+0345 7048962f jam bt_evt_reset ,mem_ipc_tx_evt 
 
 p_device_init_common:
-0342 6800ce78 fetch 1 ,mem_short_lpm_enable 
-0343 243a0349 nbranch p_24g_short_lpm_process ,blank 
-0344 2040026e call p_adc_check_process 
-0345 204002c6 call p_ipc_tx_evt 
-0346 204002e2 call p_ipc_rx_ble_data 
-0347 70828003 hjam start_c51_core ,core_docd_ctrl 
-0348 20600000 rtn 
+0346 6800ce78 fetch 1 ,mem_short_lpm_enable 
+0347 243a034d nbranch p_24g_short_lpm_process ,blank 
+0348 20400272 call p_adc_check_process 
+0349 204002ca call p_ipc_tx_evt 
+034a 204002e6 call p_ipc_rx_ble_data 
+034b 70828003 hjam start_c51_core ,core_docd_ctrl 
+034c 20600000 rtn 
 
 p_24g_short_lpm_process:
-0349 2055bc29 call lpm_recover_clk ,wake 
-034a d9600d00 arg param_rx_setup ,timeup 
-034b 34730200 until clkn_rt ,meet 
-034c 1c427e00 copy clkn_bt ,pdata 
-034d 6001ce7a store 3 ,mem_ckln_24g_short_lpm 
+034d 2055bc29 call lpm_recover_clk ,wake 
+034e d9600d00 arg param_rx_setup ,timeup 
+034f 34730200 until clkn_rt ,meet 
+0350 1c427e00 copy clkn_bt ,pdata 
+0351 6001ce7a store 3 ,mem_ckln_24g_short_lpm 
 
 p_24g_short_lpm_process_loop:
-034e 6801470b fetch 2 ,mem_ui_state_map 
-034f c3858000 rtnbit1 ui_state_ble_adv 
-0350 c3830000 rtnbit1 ui_state_bt_discovery 
-0351 20403d60 call app_process_idle 
-0352 204004c5 call g24_short_lpm_transmit_process 
-0353 2020034e branch p_24g_short_lpm_process_loop 
+0352 6801470b fetch 2 ,mem_ui_state_map 
+0353 c3858000 rtnbit1 ui_state_ble_adv 
+0354 c3830000 rtnbit1 ui_state_bt_discovery 
+0355 20403d60 call app_process_idle 
+0356 204004c9 call g24_short_lpm_transmit_process 
+0357 20200352 branch p_24g_short_lpm_process_loop 
 
 p_device_wakeup:
-0354 1ce27e00 copy auxcnt ,pdata 
-0355 c593035e bmark0 mark_24g ,p_device_bt_wakeup 
+0358 1ce27e00 copy auxcnt ,pdata 
+0359 c5930362 bmark0 mark_24g ,p_device_bt_wakeup 
 
 g24_delay_long_sleep:
-0356 203a0359 branch g24_direct_long_sleep ,blank 
+035a 203a035d branch g24_direct_long_sleep ,blank 
 
 g24_delay_long_sleep2:
-0357 7049b9bb jam 0xbb ,mem_new_24g_delay_long_sleep_maxcnt 
-0358 20600000 rtn 
+035b 7049b9bb jam 0xbb ,mem_new_24g_delay_long_sleep_maxcnt 
+035c 20600000 rtn 
 
 g24_direct_long_sleep:
-0359 7049b900 jam 0x00 ,mem_new_24g_delay_long_sleep_maxcnt 
-035a 6800c9b7 fetch 1 ,mem_new_24g_key_wheel_event 
-035b 207a0000 rtn blank 
-035c 7049b700 jam 0 ,mem_new_24g_key_wheel_event 
-035d 20200357 branch g24_delay_long_sleep2 
+035d 7049b900 jam 0x00 ,mem_new_24g_delay_long_sleep_maxcnt 
+035e 6800c9b7 fetch 1 ,mem_new_24g_key_wheel_event 
+035f 207a0000 rtn blank 
+0360 7049b700 jam 0 ,mem_new_24g_key_wheel_event 
+0361 2020035b branch g24_delay_long_sleep2 
 
 p_device_bt_wakeup:
-035e 203a0361 branch p_device_bt_wakeup_check ,blank 
-035f 7049c102 jam 2 ,mem_bt_wakeup_from_long_mult 
-0360 20600000 rtn 
+0362 203a0365 branch p_device_bt_wakeup_check ,blank 
+0363 7049c102 jam 2 ,mem_bt_wakeup_from_long_mult 
+0364 20600000 rtn 
 
 p_device_bt_wakeup_check:
-0361 6800c9c2 fetch 1 ,mem_bt_motion_event 
-0362 207a0000 rtn blank 
-0363 7049c200 jam 0 ,mem_bt_motion_event 
-0364 7049c101 jam 1 ,mem_bt_wakeup_from_long_mult 
-0365 20600000 rtn 
+0365 6800c9c2 fetch 1 ,mem_bt_motion_event 
+0366 207a0000 rtn blank 
+0367 7049c200 jam 0 ,mem_bt_motion_event 
+0368 7049c101 jam 1 ,mem_bt_wakeup_from_long_mult 
+0369 20600000 rtn 
 
 p_deveice_init_wake:
-0366 7048963c jam bt_evt_wakeup ,mem_ipc_tx_evt 
-0367 20200342 branch p_device_init_common 
+036a 7048963c jam bt_evt_wakeup ,mem_ipc_tx_evt 
+036b 20200346 branch p_device_init_common 
 
 p_device_init_init_hibwake:
-0368 1ce27e00 copy auxcnt ,pdata 
-0369 203a0252 branch p_enter_hibernate_continue ,blank 
-036a 2040530d call init_lmp_work 
-036b 204042eb call l2cap_init_work 
-036c 58000000 setarg 0 
-036d 60044040 store 8 ,mem_context 
-036e 6001470b store 2 ,mem_ui_state_map 
-036f 60014898 store 2 ,mem_ipc_bt_timer 
-0370 6001489a store 2 ,mem_ipc_c51_timer 
-0371 7048963d jam bt_evt_hibernate_wake ,mem_ipc_tx_evt 
-0372 20200342 branch p_device_init_common 
+036c 1ce27e00 copy auxcnt ,pdata 
+036d 203a0256 branch p_enter_hibernate_continue ,blank 
+036e 2040530d call init_lmp_work 
+036f 204042eb call l2cap_init_work 
+0370 58000000 setarg 0 
+0371 60044040 store 8 ,mem_context 
+0372 6001470b store 2 ,mem_ui_state_map 
+0373 60014898 store 2 ,mem_ipc_bt_timer 
+0374 6001489a store 2 ,mem_ipc_c51_timer 
+0375 7048963d jam bt_evt_hibernate_wake ,mem_ipc_tx_evt 
+0376 20200346 branch p_device_init_common 
 
 p_init_adc_from_otp:
-0373 204062c4 call otp_enable_chgpump 
-0374 580007e2 setarg 0x7e2 
-0375 da2009c6 arg mem_temp ,rega 
-0376 d840000c arg 12 ,temp 
-0377 2040630d call otpd_read_data 
-0378 204062c7 call otp_disable_chgpump 
-0379 680409c6 fetch 8 ,mem_temp 
-037a 207a0000 rtn blank 
-037b 6800c2cf fetch 1 ,mem_adc_config_flag 
-037c c281037e bbit1 adc_config_gpio ,p_calc_adc_check_gpio 
-037d 20600000 rtn 
+0377 204062c4 call otp_enable_chgpump 
+0378 580007e2 setarg 0x7e2 
+0379 da2009c6 arg mem_temp ,rega 
+037a d840000c arg 12 ,temp 
+037b 2040630d call otpd_read_data 
+037c 204062c7 call otp_disable_chgpump 
+037d 680409c6 fetch 8 ,mem_temp 
+037e 207a0000 rtn blank 
+037f 6800c2cf fetch 1 ,mem_adc_config_flag 
+0380 c2810382 bbit1 adc_config_gpio ,p_calc_adc_check_gpio 
+0381 20600000 rtn 
 
 p_calc_adc_check_gpio:
-037e 680909c6 fetcht 2 ,mem_temp 
-037f 680109cc fetch 2 ,mem_temp + 6 
-0380 18422400 copy temp ,regb 
-0381 1fe22200 copy pdata ,rega 
-0382 98462600 isub temp ,regc 
-0383 1a427e00 copy regb ,pdata 
-0384 9a667e00 isub regc ,pdata 
-0385 1ff0fe00 byteswap pdata ,pdata 
-0386 60014e41 store 2 ,mem_adc_0v 
-0387 1a6bfe00 lshift2 regc ,pdata 
-0388 9a20fe00 iadd rega ,pdata 
+0382 680909c6 fetcht 2 ,mem_temp 
+0383 680109cc fetch 2 ,mem_temp + 6 
+0384 18422400 copy temp ,regb 
+0385 1fe22200 copy pdata ,rega 
+0386 98462600 isub temp ,regc 
+0387 1a427e00 copy regb ,pdata 
+0388 9a667e00 isub regc ,pdata 
 0389 1ff0fe00 byteswap pdata ,pdata 
-038a 60014e43 store 2 ,mem_adc_3v 
-038b 20600000 rtn 
+038a 60014e41 store 2 ,mem_adc_0v 
+038b 1a6bfe00 lshift2 regc ,pdata 
+038c 9a20fe00 iadd rega ,pdata 
+038d 1ff0fe00 byteswap pdata ,pdata 
+038e 60014e43 store 2 ,mem_adc_3v 
+038f 20600000 rtn 
 
 p_device_before_hibernate:
-038c 78347c00 enable user 
-038d 68120138 hfetch 4 ,0x8138 
-038e 79347e1a setflag user ,26 ,pdata 
-038f 6012004c hstore 4 ,core_lpm_reg 
-0390 20403cf4 call lpm_write_ctrl 
-0391 70009f01 jam 1 ,mem_lpm_current_mult 
+0390 78347c00 enable user 
+0391 68120138 hfetch 4 ,0x8138 
+0392 79347e1a setflag user ,26 ,pdata 
+0393 6012004c hstore 4 ,core_lpm_reg 
+0394 20403cf4 call lpm_write_ctrl 
+0395 70009f01 jam 1 ,mem_lpm_current_mult 
 
 p_device_bt_lpm_before:
-0392 20600000 rtn 
+0396 20600000 rtn 
 
 p_c51_user_event:
-0393 1a627e00 copy regc ,pdata 
-0394 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
-0395 c1280000 rtneq bt_evt_timer_init 
-0396 1a627e00 copy regc ,pdata 
-0397 6000c896 store 1 ,mem_ipc_tx_evt 
-0398 202002c6 branch p_ipc_tx_evt 
+0397 1a627e00 copy regc ,pdata 
+0398 1fe17ef0 and_into bt_evt_timer_mask ,pdata 
+0399 c1280000 rtneq bt_evt_timer_init 
+039a 1a627e00 copy regc ,pdata 
+039b 6000c896 store 1 ,mem_ipc_tx_evt 
+039c 202002ca branch p_ipc_tx_evt 
 
 g24_pair_init:
-0399 70492700 jam 0 ,mem_new_24g_pid 
-039a 7049324e jam g24_pair_ch ,mem_new_24g_ch 
-039b 68024934 fetch 4 ,mem_new_24g_paring_addr 
+039d 70492700 jam 0 ,mem_new_24g_pid 
+039e 7049324e jam g24_pair_ch ,mem_new_24g_ch 
+039f 68024934 fetch 4 ,mem_new_24g_paring_addr 
 
 g24_update_addr_and_synccrc8:
-039c 60024950 store 4 ,mem_new_24g_addr 
-039d 2020045e branch g24_syncword_crc8 
+03a0 60024950 store 4 ,mem_new_24g_addr 
+03a1 20200462 branch g24_syncword_crc8 
 
 g24_ch:
-039e 6808c933 fetcht 1 ,mem_new_24g_current_ch_number 
-039f 204003a4 call g24_ch_calc 
-03a0 18408401 increase 1 ,temp 
-03a1 18410403 and_into 3 ,temp 
-03a2 6008c933 storet 1 ,mem_new_24g_current_ch_number 
-03a3 20600000 rtn 
+03a2 6808c933 fetcht 1 ,mem_new_24g_current_ch_number 
+03a3 204003a8 call g24_ch_calc 
+03a4 18408401 increase 1 ,temp 
+03a5 18410403 and_into 3 ,temp 
+03a6 6008c933 storet 1 ,mem_new_24g_current_ch_number 
+03a7 20600000 rtn 
 
 g24_ch_calc:
-03a4 6800c950 fetch 1 ,mem_new_24g_addr 
-03a5 1fe17e03 and_into 0x03 ,pdata 
-03a6 1fefa204 mul32 pdata ,4 ,rega 
-03a7 58004939 setarg mem_new_24g_ch_map1 
-03a8 9a20fe00 iadd rega ,pdata 
-03a9 98408c00 iadd temp ,contr 
-03aa e8c08000 ifetch 1 ,contr 
-03ab 6000c932 store 1 ,mem_new_24g_ch 
-03ac 20600000 rtn 
+03a8 6800c950 fetch 1 ,mem_new_24g_addr 
+03a9 1fe17e03 and_into 0x03 ,pdata 
+03aa 1fefa204 mul32 pdata ,4 ,rega 
+03ab 58004939 setarg mem_new_24g_ch_map1 
+03ac 9a20fe00 iadd rega ,pdata 
+03ad 98408c00 iadd temp ,contr 
+03ae e8c08000 ifetch 1 ,contr 
+03af 6000c932 store 1 ,mem_new_24g_ch 
+03b0 20600000 rtn 
 
 g24_set_device_addr:
-03ad 680209c6 fetch 4 ,mem_temp 
-03ae 60024960 store 4 ,mem_new_24g_device_addr 
-03af 247a0000 nrtn blank 
-03b0 68024140 fetch 4 ,mem_lap 
-03b1 60024960 store 4 ,mem_new_24g_device_addr 
-03b2 20600000 rtn 
+03b1 680209c6 fetch 4 ,mem_temp 
+03b2 60024960 store 4 ,mem_new_24g_device_addr 
+03b3 247a0000 nrtn blank 
+03b4 68024140 fetch 4 ,mem_lap 
+03b5 60024960 store 4 ,mem_new_24g_device_addr 
+03b6 20600000 rtn 
 
 g24_transmit_rf_sta_init:
-03b3 7049b001 jam 1 ,mem_new_24g_rf_last_sta 
-03b4 7049b200 jam 0 ,mem_new_24g_sync_cnt 
+03b7 7049b001 jam 1 ,mem_new_24g_rf_last_sta 
+03b8 7049b200 jam 0 ,mem_new_24g_sync_cnt 
 
 g24_transmit_rf_ctrl_clear:
-03b5 6800c929 fetch 1 ,mem_new_24g_data_type 
-03b6 1fe17e07 and_into bits_data ,pdata 
-03b7 6000c929 store 1 ,mem_new_24g_data_type 
-03b8 20600000 rtn 
-
-g24_hop_ch_enable:
 03b9 6800c929 fetch 1 ,mem_new_24g_data_type 
-03ba 79207e04 set1 bit_hop ,pdata 
+03ba 1fe17e07 and_into bits_data ,pdata 
 03bb 6000c929 store 1 ,mem_new_24g_data_type 
-03bc 6000c8e4 store 1 ,mem_new_24g_txpayload 
-03bd 20600000 rtn 
+03bc 20600000 rtn 
 
-g24_hop_ch_disable:
-03be 6800c929 fetch 1 ,mem_new_24g_data_type 
-03bf 793ffe04 set0 bit_hop ,pdata 
-03c0 6000c929 store 1 ,mem_new_24g_data_type 
+g24_hop_ch_enable:
+03bd 6800c929 fetch 1 ,mem_new_24g_data_type 
+03be 79207e04 set1 bit_hop ,pdata 
+03bf 6000c929 store 1 ,mem_new_24g_data_type 
+03c0 6000c8e4 store 1 ,mem_new_24g_txpayload 
 03c1 20600000 rtn 
 
+g24_hop_ch_disable:
+03c2 6800c929 fetch 1 ,mem_new_24g_data_type 
+03c3 793ffe04 set0 bit_hop ,pdata 
+03c4 6000c929 store 1 ,mem_new_24g_data_type 
+03c5 20600000 rtn 
+
 g24_transmit_hop_pac_fail:
-03c2 204005e0 call power_ctrl_pac_succ_decrs 
-03c3 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
-03c4 c00083c7 beq 1 ,g24_transmit_hop_pac_fail_wo_hop 
-03c5 c00103cb beq 2 ,g24_transmit_hop_pac_fail_hop_stage2 
-03c6 20600000 rtn 
+03c6 204005e4 call power_ctrl_pac_succ_decrs 
+03c7 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
+03c8 c00083cb beq 1 ,g24_transmit_hop_pac_fail_wo_hop 
+03c9 c00103cf beq 2 ,g24_transmit_hop_pac_fail_hop_stage2 
+03ca 20600000 rtn 
 
 g24_transmit_hop_pac_fail_wo_hop:
-03c7 7049b202 jam 2 ,mem_new_24g_sync_cnt 
+03cb 7049b202 jam 2 ,mem_new_24g_sync_cnt 
 
 g24_transmit_hop_pac_fail_stage1:
-03c8 7049b300 jam 0 ,mem_new_24g_hop_pac_retry 
-03c9 7049b000 jam 0 ,mem_new_24g_rf_last_sta 
-03ca 202003b5 branch g24_transmit_rf_ctrl_clear 
+03cc 7049b300 jam 0 ,mem_new_24g_hop_pac_retry 
+03cd 7049b000 jam 0 ,mem_new_24g_rf_last_sta 
+03ce 202003b9 branch g24_transmit_rf_ctrl_clear 
 
 g24_transmit_hop_pac_fail_hop_stage2:
-03cb 7049b100 jam 0 ,mem_new_24g_rf_hop_ch 
-03cc 202003c8 branch g24_transmit_hop_pac_fail_stage1 
+03cf 7049b100 jam 0 ,mem_new_24g_rf_hop_ch 
+03d0 202003cc branch g24_transmit_hop_pac_fail_stage1 
 
 g24_transmit_pac_fail_hop_stage3:
-03cd 6801492e fetch 2 ,mem_new_24g_txfail_cnt 
-03ce 1fe0fe01 increase 1 ,pdata 
-03cf 6001492e store 2 ,mem_new_24g_txfail_cnt 
-03d0 c2850545 bbit1 10 ,g24_tx_attempt_fail 
-03d1 6800c9b1 fetch 1 ,mem_new_24g_rf_hop_ch 
-03d2 c00083d6 beq 1 ,g24_rf_hop_fastly 
-03d3 7049b101 jam 1 ,mem_new_24g_rf_hop_ch 
+03d1 6801492e fetch 2 ,mem_new_24g_txfail_cnt 
+03d2 1fe0fe01 increase 1 ,pdata 
+03d3 6001492e store 2 ,mem_new_24g_txfail_cnt 
+03d4 c2850549 bbit1 10 ,g24_tx_attempt_fail 
+03d5 6800c9b1 fetch 1 ,mem_new_24g_rf_hop_ch 
+03d6 c00083da beq 1 ,g24_rf_hop_fastly 
+03d7 7049b101 jam 1 ,mem_new_24g_rf_hop_ch 
 
 g24_rf_hop_attemp_again:
-03d4 6800c9b1 fetch 1 ,mem_new_24g_rf_hop_ch 
-03d5 c08083b5 bne 1 ,g24_transmit_rf_ctrl_clear 
+03d8 6800c9b1 fetch 1 ,mem_new_24g_rf_hop_ch 
+03d9 c08083b9 bne 1 ,g24_transmit_rf_ctrl_clear 
 
 g24_rf_hop_fastly:
-03d6 6800c9b5 fetch 1 ,mem_new_24g_hop_fastly_cnt 
-03d7 1fe0fe01 increase 1 ,pdata 
-03d8 6000c9b5 store 1 ,mem_new_24g_hop_fastly_cnt 
-03d9 c00203dd beq 4 ,g24_rf_hop_fastly_exit 
-03da 2040039e call g24_ch 
-03db 70496e02 jam 2 ,mem_new_24g_max_retry 
-03dc 20200506 branch g24_transmit_packet 
+03da 6800c9b5 fetch 1 ,mem_new_24g_hop_fastly_cnt 
+03db 1fe0fe01 increase 1 ,pdata 
+03dc 6000c9b5 store 1 ,mem_new_24g_hop_fastly_cnt 
+03dd c00203e1 beq 4 ,g24_rf_hop_fastly_exit 
+03de 204003a2 call g24_ch 
+03df 70496e02 jam 2 ,mem_new_24g_max_retry 
+03e0 2020050a branch g24_transmit_packet 
 
 g24_rf_hop_fastly_exit:
-03dd 204005e0 call power_ctrl_pac_succ_decrs 
-03de 7049b500 jam 0 ,mem_new_24g_hop_fastly_cnt 
-03df 202003b5 branch g24_transmit_rf_ctrl_clear 
+03e1 204005e4 call power_ctrl_pac_succ_decrs 
+03e2 7049b500 jam 0 ,mem_new_24g_hop_fastly_cnt 
+03e3 202003b9 branch g24_transmit_rf_ctrl_clear 
 
 g24_transmit_hop_pac_succ_wo_hop:
-03e0 7049b202 jam 2 ,mem_new_24g_sync_cnt 
+03e4 7049b202 jam 2 ,mem_new_24g_sync_cnt 
 
 g24_transmit_hop_pac_succ:
-03e1 7049b001 jam 1 ,mem_new_24g_rf_last_sta 
-03e2 7049b100 jam 0 ,mem_new_24g_rf_hop_ch 
-03e3 202003b5 branch g24_transmit_rf_ctrl_clear 
+03e5 7049b001 jam 1 ,mem_new_24g_rf_last_sta 
+03e6 7049b100 jam 0 ,mem_new_24g_rf_hop_ch 
+03e7 202003b9 branch g24_transmit_rf_ctrl_clear 
 
 g24_transmit_succ_rf_config:
-03e4 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
-03e5 c00183e1 beq 3 ,g24_transmit_hop_pac_succ 
-03e6 6800c929 fetch 1 ,mem_new_24g_data_type 
-03e7 2fec0004 isolate0 bit_hop ,pdata 
-03e8 202083b3 branch g24_transmit_rf_sta_init ,true 
-03e9 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
-03ea c00083e0 beq 1 ,g24_transmit_hop_pac_succ_wo_hop 
-03eb c00103e1 beq 2 ,g24_transmit_hop_pac_succ 
-03ec 20600000 rtn 
+03e8 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
+03e9 c00183e5 beq 3 ,g24_transmit_hop_pac_succ 
+03ea 6800c929 fetch 1 ,mem_new_24g_data_type 
+03eb 2fec0004 isolate0 bit_hop ,pdata 
+03ec 202083b7 branch g24_transmit_rf_sta_init ,true 
+03ed 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
+03ee c00083e4 beq 1 ,g24_transmit_hop_pac_succ_wo_hop 
+03ef c00103e5 beq 2 ,g24_transmit_hop_pac_succ 
+03f0 20600000 rtn 
 
 g24_rf_sta_check:
-03ed 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-03ee c1ff8000 rtnne state_24g_pairing_success 
-03ef 204003f2 call g24_rf_laststa_synccnt_check 
-03f0 245603fa ncall g24_rf_sync_cnt_check ,user2 
-03f1 20600000 rtn 
+03f1 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+03f2 c1ff8000 rtnne state_24g_pairing_success 
+03f3 204003f6 call g24_rf_laststa_synccnt_check 
+03f4 245603fe ncall g24_rf_sync_cnt_check ,user2 
+03f5 20600000 rtn 
 
 g24_rf_laststa_synccnt_check:
-03f2 78567c00 disable user2 
-03f3 6800c9b0 fetch 1 ,mem_new_24g_rf_last_sta 
-03f4 c1808000 rtnne 1 
-03f5 6800c9b2 fetch 1 ,mem_new_24g_sync_cnt 
-03f6 c1800000 rtnne 0 
-03f7 7049b401 jam 1 ,mem_new_24g_rf_work_stage 
-03f8 70496e04 jam 4 ,mem_new_24g_max_retry 
-03f9 2020028c branch enable_usr2 
+03f6 78567c00 disable user2 
+03f7 6800c9b0 fetch 1 ,mem_new_24g_rf_last_sta 
+03f8 c1808000 rtnne 1 
+03f9 6800c9b2 fetch 1 ,mem_new_24g_sync_cnt 
+03fa c1800000 rtnne 0 
+03fb 7049b401 jam 1 ,mem_new_24g_rf_work_stage 
+03fc 70496e04 jam 4 ,mem_new_24g_max_retry 
+03fd 20200290 branch enable_usr2 
 
 g24_rf_sync_cnt_check:
-03fa 6800c9b2 fetch 1 ,mem_new_24g_sync_cnt 
-03fb 203a0402 branch g24_rf_hop_attemp ,blank 
-03fc 1fe0ffff increase -1 ,pdata 
-03fd 6000c9b2 store 1 ,mem_new_24g_sync_cnt 
-03fe 7049b402 jam 2 ,mem_new_24g_rf_work_stage 
-03ff 2040039e call g24_ch 
-0400 70496e04 jam 4 ,mem_new_24g_max_retry 
-0401 20600000 rtn 
+03fe 6800c9b2 fetch 1 ,mem_new_24g_sync_cnt 
+03ff 203a0406 branch g24_rf_hop_attemp ,blank 
+0400 1fe0ffff increase -1 ,pdata 
+0401 6000c9b2 store 1 ,mem_new_24g_sync_cnt 
+0402 7049b402 jam 2 ,mem_new_24g_rf_work_stage 
+0403 204003a2 call g24_ch 
+0404 70496e04 jam 4 ,mem_new_24g_max_retry 
+0405 20600000 rtn 
 
 g24_rf_hop_attemp:
-0402 7049b403 jam 3 ,mem_new_24g_rf_work_stage 
-0403 6800c9b1 fetch 1 ,mem_new_24g_rf_hop_ch 
-0404 243a03d4 nbranch g24_rf_hop_attemp_again ,blank 
-0405 2040039e call g24_ch 
-0406 70496e02 jam 2 ,mem_new_24g_max_retry 
-0407 20600000 rtn 
+0406 7049b403 jam 3 ,mem_new_24g_rf_work_stage 
+0407 6800c9b1 fetch 1 ,mem_new_24g_rf_hop_ch 
+0408 243a03d8 nbranch g24_rf_hop_attemp_again ,blank 
+0409 204003a2 call g24_ch 
+040a 70496e02 jam 2 ,mem_new_24g_max_retry 
+040b 20600000 rtn 
 
 g24_transmit_process:
-0408 c6930000 rtnmark0 mark_24g 
-0409 79200027 set1 mark_24g_conext ,mark 
-040a 680a4949 fetcht 4 ,mem_new_24g_tx_btclk 
-040b 1c427e00 copy clkn_bt ,pdata 
-040c 98467c00 isub temp ,null 
-040d 24410421 ncall g24_timer_timeout ,positive 
-040e 1fe22400 copy pdata ,regb 
-040f 68024949 fetch 4 ,mem_new_24g_tx_btclk 
-0410 6808c94d fetcht 1 ,mem_new_24g_interval 
-0411 98408400 iadd temp ,temp 
-0412 1a427e00 copy regb ,pdata 
-0413 98467c00 isub temp ,null 
-0414 2421041f nbranch g24_transmit_exit ,positive 
-0415 793ffe1c set0 28 ,pdata 
-0416 60024949 store 4 ,mem_new_24g_tx_btclk 
-0417 20400424 call g24_interval_calibrate 
-0418 20400431 call g24_txdata_prep 
-0419 2034048e branch g24_no_data_to_tx ,user 
-041a 204003ed call g24_rf_sta_check 
+040c c6930000 rtnmark0 mark_24g 
+040d 79200027 set1 mark_24g_conext ,mark 
+040e 680a4949 fetcht 4 ,mem_new_24g_tx_btclk 
+040f 1c427e00 copy clkn_bt ,pdata 
+0410 98467c00 isub temp ,null 
+0411 24410425 ncall g24_timer_timeout ,positive 
+0412 1fe22400 copy pdata ,regb 
+0413 68024949 fetch 4 ,mem_new_24g_tx_btclk 
+0414 6808c94d fetcht 1 ,mem_new_24g_interval 
+0415 98408400 iadd temp ,temp 
+0416 1a427e00 copy regb ,pdata 
+0417 98467c00 isub temp ,null 
+0418 24210423 nbranch g24_transmit_exit ,positive 
+0419 793ffe1c set0 28 ,pdata 
+041a 60024949 store 4 ,mem_new_24g_tx_btclk 
+041b 20400428 call g24_interval_calibrate 
+041c 20400435 call g24_txdata_prep 
+041d 20340492 branch g24_no_data_to_tx ,user 
+041e 204003f1 call g24_rf_sta_check 
 
 g24_transmit_start:
-041b 20400506 call g24_transmit_packet 
-041c 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-041d 1fe67cff sub pdata ,state_24g_pairing_success ,null 
-041e 204285ea call power_ctrl_start ,zero 
+041f 2040050a call g24_transmit_packet 
+0420 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+0421 1fe67cff sub pdata ,state_24g_pairing_success ,null 
+0422 204285ee call power_ctrl_start ,zero 
 
 g24_transmit_exit:
-041f 793f8027 set0 mark_24g_conext ,mark 
-0420 20600000 rtn 
+0423 793f8027 set0 mark_24g_conext ,mark 
+0424 20600000 rtn 
 
 g24_timer_timeout:
-0421 20628000 rtn zero 
-0422 79207e1c set1 28 ,pdata 
-0423 20600000 rtn 
+0425 20628000 rtn zero 
+0426 79207e1c set1 28 ,pdata 
+0427 20600000 rtn 
 
 g24_interval_calibrate:
-0424 6800c964 fetch 1 ,mem_new_24g_pac_index 
-0425 1fe0fe01 increase 1 ,pdata 
-0426 6000c964 store 1 ,mem_new_24g_pac_index 
-0427 c002042a beq 4 ,g24_interval_max 
-0428 c002842d beq 5 ,g24_interval_min 
-0429 20600000 rtn 
+0428 6800c964 fetch 1 ,mem_new_24g_pac_index 
+0429 1fe0fe01 increase 1 ,pdata 
+042a 6000c964 store 1 ,mem_new_24g_pac_index 
+042b c002042e beq 4 ,g24_interval_max 
+042c c0028431 beq 5 ,g24_interval_min 
+042d 20600000 rtn 
 
 g24_interval_max:
-042a 6800c94f fetch 1 ,mem_new_24g_interval_max 
-042b 6000c94d store 1 ,mem_new_24g_interval 
-042c 20600000 rtn 
-
-g24_interval_min:
-042d 70496400 jam 0 ,mem_new_24g_pac_index 
-042e 6800c94e fetch 1 ,mem_new_24g_interval_min 
+042e 6800c94f fetch 1 ,mem_new_24g_interval_max 
 042f 6000c94d store 1 ,mem_new_24g_interval 
 0430 20600000 rtn 
 
+g24_interval_min:
+0431 70496400 jam 0 ,mem_new_24g_pac_index 
+0432 6800c94e fetch 1 ,mem_new_24g_interval_min 
+0433 6000c94d store 1 ,mem_new_24g_interval 
+0434 20600000 rtn 
+
 g24_txdata_prep:
-0431 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-0432 c0ff8645 bne state_24g_pairing_success ,g24_pairing_sm 
-0433 20400298 call p_ipc_rx 
-0434 20340445 branch g24_txdata_prep_ipc_nodata ,user 
-0435 6800c897 fetch 1 ,mem_ipc_rx_type 
-0436 c08364c0 bne ipc_type_24g ,enable_usr 
+0435 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+0436 c0ff8649 bne state_24g_pairing_success ,g24_pairing_sm 
+0437 2040029c call p_ipc_rx 
+0438 20340449 branch g24_txdata_prep_ipc_nodata ,user 
+0439 6800c897 fetch 1 ,mem_ipc_rx_type 
+043a c08364c0 bne ipc_type_24g ,enable_usr 
 
 g24_txdata_prep_packeage_data:
-0437 6800c9c0 fetch 1 ,mem_new_24g_ota_enable 
-0438 c000843b beq 1 ,g24_txdata_skip_short_lpm 
-0439 6800ce80 fetch 1 ,mem_short_data_wheel 
-043a 205a04ab call g24_lpm_short_increase ,blank 
+043b 6800c9c0 fetch 1 ,mem_new_24g_ota_enable 
+043c c000843f beq 1 ,g24_txdata_skip_short_lpm 
+043d 6800ce80 fetch 1 ,mem_short_data_wheel 
+043e 205a04af call g24_lpm_short_increase ,blank 
 
 g24_txdata_skip_short_lpm:
-043b 6800ce80 fetch 1 ,mem_short_data_wheel 
-043c 245a0441 ncall g24_enter_long_sleep ,blank 
-043d 2040044a call g24_package_data 
-043e 2040046b call g24_transmit_prep 
+043f 6800ce80 fetch 1 ,mem_short_data_wheel 
+0440 245a0445 ncall g24_enter_long_sleep ,blank 
+0441 2040044e call g24_package_data 
+0442 2040046f call g24_transmit_prep 
 
 g24_txdata_enable_tx:
-043f 70492d01 jam ensure_on_24g ,mem_new_24g_ensure 
-0440 20600000 rtn 
+0443 70492d01 jam ensure_on_24g ,mem_new_24g_ensure 
+0444 20600000 rtn 
 
 g24_enter_long_sleep:
-0441 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
-0442 704e7800 jam 0 ,mem_short_lpm_enable 
-0443 7049ba0a jam 10 ,mem_new_24g_enter_lpm_timer 
-0444 20600000 rtn 
+0445 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
+0446 704e7800 jam 0 ,mem_short_lpm_enable 
+0447 7049ba0a jam 10 ,mem_new_24g_enter_lpm_timer 
+0448 20600000 rtn 
 
 g24_txdata_prep_ipc_nodata:
-0445 6800ce78 fetch 1 ,mem_short_lpm_enable 
-0446 243a044a nbranch g24_short_lpm_txdata_prep ,blank 
+0449 6800ce78 fetch 1 ,mem_short_lpm_enable 
+044a 243a044e nbranch g24_short_lpm_txdata_prep ,blank 
 
 g24_txdata_last_pac:
-0447 6800c92d fetch 1 ,mem_new_24g_ensure 
-0448 c000b1d4 beq ensure_on_24g ,disable_usr 
-0449 20600000 rtn 
+044b 6800c92d fetch 1 ,mem_new_24g_ensure 
+044c c000b1d4 beq ensure_on_24g ,disable_usr 
+044d 20600000 rtn 
 
 g24_short_lpm_txdata_prep:
 
 g24_package_data:
-044a 6800c9b9 fetch 1 ,mem_new_24g_delay_long_sleep_maxcnt 
-044b 6000c9b8 store 1 ,mem_new_24g_delay_long_sleep_cnt 
-044c 6800c970 fetch 1 ,mem_new_uart_packet 
-044d 1fe22200 copy pdata ,rega 
-044e da404971 arg mem_new_uart_packet + 1 ,regb 
-044f 70495400 jam 0 ,mem_new_24g_abort_pac 
+044e 6800c9b9 fetch 1 ,mem_new_24g_delay_long_sleep_maxcnt 
+044f 6000c9b8 store 1 ,mem_new_24g_delay_long_sleep_cnt 
+0450 6800c970 fetch 1 ,mem_new_uart_packet 
+0451 1fe22200 copy pdata ,rega 
+0452 da404971 arg mem_new_uart_packet + 1 ,regb 
+0453 70495400 jam 0 ,mem_new_24g_abort_pac 
 
 g24_package_data_pc_bind:
-0450 204003b5 call g24_transmit_rf_ctrl_clear 
-0451 6000c990 store 1 ,mem_new_24g_common_temp 
-0452 1a208401 add rega ,1 ,temp 
-0453 d8a04991 arg mem_new_24g_common_temp + 1 ,contw 
+0454 204003b9 call g24_transmit_rf_ctrl_clear 
+0455 6000c990 store 1 ,mem_new_24g_common_temp 
+0456 1a208401 add rega ,1 ,temp 
+0457 d8a04991 arg mem_new_24g_common_temp + 1 ,contw 
 
 g24_package_user_data:
-0454 1a227200 copy rega ,loopcnt 
-0455 1a420c00 copy regb ,contr 
-0456 20407ecd call memcpy 
-0457 da204990 arg mem_new_24g_common_temp ,rega 
+0458 1a227200 copy rega ,loopcnt 
+0459 1a420c00 copy regb ,contr 
+045a 20407ecd call memcpy 
+045b da204990 arg mem_new_24g_common_temp ,rega 
 
 g24_put_data_in_buff:
-0458 c6938000 rtnmark0 mark_24g_conext 
-0459 6008c928 storet 1 ,mem_new_24g_datalen 
-045a 18427200 copy temp ,loopcnt 
-045b d8a048c4 arg mem_new_24g_txbuf ,contw 
-045c 1a220c00 copy rega ,contr 
-045d 20207ecd branch memcpy 
+045c c6938000 rtnmark0 mark_24g_conext 
+045d 6008c928 storet 1 ,mem_new_24g_datalen 
+045e 18427200 copy temp ,loopcnt 
+045f d8a048c4 arg mem_new_24g_txbuf ,contw 
+0460 1a220c00 copy rega ,contr 
+0461 20207ecd branch memcpy 
 
 g24_syncword_crc8:
-045e da200000 arg 0 ,rega 
-045f df200004 arg 4 ,loopcnt 
-0460 d8c04950 arg mem_new_24g_addr ,contr 
+0462 da200000 arg 0 ,rega 
+0463 df200004 arg 4 ,loopcnt 
+0464 d8c04950 arg mem_new_24g_addr ,contr 
 
 g24_syncword_crc8_loop:
-0461 e8c08000 ifetch 1 ,contr 
-0462 9a20a200 iadd rega ,rega 
-0463 c2000461 loop g24_syncword_crc8_loop 
-0464 1a227e00 copy rega ,pdata 
-0465 600149bb store 2 ,mem_new_24g_syncword 
-0466 6800c9bb fetch 1 ,mem_new_24g_syncword 
-0467 6808c9bc fetcht 1 ,mem_new_24g_syncword + 1 
-0468 9840fe00 iadd temp ,pdata 
-0469 6000c9bd store 1 ,mem_new_24g_syncword_crc8 
-046a 20600000 rtn 
+0465 e8c08000 ifetch 1 ,contr 
+0466 9a20a200 iadd rega ,rega 
+0467 c2000465 loop g24_syncword_crc8_loop 
+0468 1a227e00 copy rega ,pdata 
+0469 600149bb store 2 ,mem_new_24g_syncword 
+046a 6800c9bb fetch 1 ,mem_new_24g_syncword 
+046b 6808c9bc fetcht 1 ,mem_new_24g_syncword + 1 
+046c 9840fe00 iadd temp ,pdata 
+046d 6000c9bd store 1 ,mem_new_24g_syncword_crc8 
+046e 20600000 rtn 
 
 g24_transmit_prep:
-046b 6800c928 fetch 1 ,mem_new_24g_datalen 
-046c 1fe0fe02 increase 2 ,pdata 
-046d 6000c92a store 1 ,mem_new_24g_txlen 
-046e 6800c929 fetch 1 ,mem_new_24g_data_type 
-046f 6000c8e4 store 1 ,mem_new_24g_txpayload 
-0470 6800c928 fetch 1 ,mem_new_24g_datalen 
-0471 1fe9fe00 lshift3 pdata ,pdata 
-0472 6808c927 fetcht 1 ,mem_new_24g_pid 
-0473 18410403 and temp ,0x03 ,temp 
-0474 18438400 lshift temp ,temp 
-0475 9841fe00 ior temp ,pdata 
-0476 6808c965 fetcht 1 ,mem_new_24g_no_ack 
-0477 9840fe00 iadd temp ,pdata 
-0478 e0a08000 istore 1 ,contw 
-0479 6800c928 fetch 1 ,mem_new_24g_datalen 
-047a 98007200 iforce loopcnt 
-047b d8c048c4 arg mem_new_24g_txbuf ,contr 
-047c 20207ecd branch memcpy 
+046f 6800c928 fetch 1 ,mem_new_24g_datalen 
+0470 1fe0fe02 increase 2 ,pdata 
+0471 6000c92a store 1 ,mem_new_24g_txlen 
+0472 6800c929 fetch 1 ,mem_new_24g_data_type 
+0473 6000c8e4 store 1 ,mem_new_24g_txpayload 
+0474 6800c928 fetch 1 ,mem_new_24g_datalen 
+0475 1fe9fe00 lshift3 pdata ,pdata 
+0476 6808c927 fetcht 1 ,mem_new_24g_pid 
+0477 18410403 and temp ,0x03 ,temp 
+0478 18438400 lshift temp ,temp 
+0479 9841fe00 ior temp ,pdata 
+047a 6808c965 fetcht 1 ,mem_new_24g_no_ack 
+047b 9840fe00 iadd temp ,pdata 
+047c e0a08000 istore 1 ,contw 
+047d 6800c928 fetch 1 ,mem_new_24g_datalen 
+047e 98007200 iforce loopcnt 
+047f d8c048c4 arg mem_new_24g_txbuf ,contr 
+0480 20207ecd branch memcpy 
 
 g24_send_abort_packet:
-047d 70495401 jam 1 ,mem_new_24g_abort_pac 
-047e 7049b100 jam 0 ,mem_new_24g_rf_hop_ch 
-047f 204003b5 call g24_transmit_rf_ctrl_clear 
-0480 6000c990 store 1 ,mem_new_24g_common_temp 
-0481 58000000 setarg 0 
-0482 6003c991 store 7 ,mem_new_24g_common_temp + 1 
-0483 68024960 fetch 4 ,mem_new_24g_device_addr 
-0484 60024998 store 4 ,mem_new_24g_common_temp + 8 
-0485 d840000c arg 12 ,temp 
-0486 da204990 arg mem_new_24g_common_temp ,rega 
-0487 20400458 call g24_put_data_in_buff 
-0488 6800c929 fetch 1 ,mem_new_24g_data_type 
-0489 79207e03 set1 bit_abort ,pdata 
-048a 6000c929 store 1 ,mem_new_24g_data_type 
-048b 2040046b call g24_transmit_prep 
-048c 2040043f call g24_txdata_enable_tx 
-048d 2020041b branch g24_transmit_start 
+0481 70495401 jam 1 ,mem_new_24g_abort_pac 
+0482 7049b100 jam 0 ,mem_new_24g_rf_hop_ch 
+0483 204003b9 call g24_transmit_rf_ctrl_clear 
+0484 6000c990 store 1 ,mem_new_24g_common_temp 
+0485 58000000 setarg 0 
+0486 6003c991 store 7 ,mem_new_24g_common_temp + 1 
+0487 68024960 fetch 4 ,mem_new_24g_device_addr 
+0488 60024998 store 4 ,mem_new_24g_common_temp + 8 
+0489 d840000c arg 12 ,temp 
+048a da204990 arg mem_new_24g_common_temp ,rega 
+048b 2040045c call g24_put_data_in_buff 
+048c 6800c929 fetch 1 ,mem_new_24g_data_type 
+048d 79207e03 set1 bit_abort ,pdata 
+048e 6000c929 store 1 ,mem_new_24g_data_type 
+048f 2040046f call g24_transmit_prep 
+0490 20400443 call g24_txdata_enable_tx 
+0491 2020041f branch g24_transmit_start 
 
 g24_no_data_to_tx:
-048e 6800ce78 fetch 1 ,mem_short_lpm_enable 
-048f 203a0492 branch g24_no_data_to_tx_short_lpm_disable ,blank 
-0490 204004be call g24_lpm_short_decrease 
-0491 202004df branch g24_short_lpm_sleep 
+0492 6800ce78 fetch 1 ,mem_short_lpm_enable 
+0493 203a0496 branch g24_no_data_to_tx_short_lpm_disable ,blank 
+0494 204004c2 call g24_lpm_short_decrease 
+0495 202004e3 branch g24_short_lpm_sleep 
 
 g24_no_data_to_tx_short_lpm_disable:
-0492 6800c9c0 fetch 1 ,mem_new_24g_ota_enable 
-0493 c1008000 rtneq 1 
-0494 6800c954 fetch 1 ,mem_new_24g_abort_pac 
-0495 203a047d branch g24_send_abort_packet ,blank 
-0496 6808c9b8 fetcht 1 ,mem_new_24g_delay_long_sleep_cnt 
-0497 18408401 increase 1 ,temp 
-0498 6008c9b8 storet 1 ,mem_new_24g_delay_long_sleep_cnt 
-0499 6800c9b9 fetch 1 ,mem_new_24g_delay_long_sleep_maxcnt 
-049a 98467c00 isub temp ,null 
-049b 20610000 rtn positive 
-049c 7049b800 jam 0 ,mem_new_24g_delay_long_sleep_cnt 
+0496 6800c9c0 fetch 1 ,mem_new_24g_ota_enable 
+0497 c1008000 rtneq 1 
+0498 6800c954 fetch 1 ,mem_new_24g_abort_pac 
+0499 203a0481 branch g24_send_abort_packet ,blank 
+049a 6808c9b8 fetcht 1 ,mem_new_24g_delay_long_sleep_cnt 
+049b 18408401 increase 1 ,temp 
+049c 6008c9b8 storet 1 ,mem_new_24g_delay_long_sleep_cnt 
+049d 6800c9b9 fetch 1 ,mem_new_24g_delay_long_sleep_maxcnt 
+049e 98467c00 isub temp ,null 
+049f 20610000 rtn positive 
+04a0 7049b800 jam 0 ,mem_new_24g_delay_long_sleep_cnt 
 
 g24_lpm_long_sleep:
-049d 204000a0 call p_check_ipc_for_lpm 
-049e 24740000 nrtn user 
-049f 68008b2b fetch 1 ,mem_c51_lmp_lock 
-04a0 247a0000 nrtn blank 
-04a1 6800c9ba fetch 1 ,mem_new_24g_enter_lpm_timer 
-04a2 247a0000 nrtn blank 
-04a3 704e8000 jam 0 ,mem_short_data_wheel 
-04a4 20403be2 call lpo_calibration 
-04a5 6801c20f fetch 3 ,mem_clks_per_lpo 
-04a6 207a0000 rtn blank 
-04a7 68044958 fetch 8 ,mem_new_24g_enter_hibernate 
-04a8 20407f16 call clk2lpo 
-04a9 600a41fb storet 4 ,mem_sleep_counter 
-04aa 20203c11 branch lpm_sleep 
+04a1 204000a2 call p_check_ipc_for_lpm 
+04a2 24740000 nrtn user 
+04a3 68008b2b fetch 1 ,mem_c51_lmp_lock 
+04a4 247a0000 nrtn blank 
+04a5 6800c9ba fetch 1 ,mem_new_24g_enter_lpm_timer 
+04a6 247a0000 nrtn blank 
+04a7 704e8000 jam 0 ,mem_short_data_wheel 
+04a8 20403be2 call lpo_calibration 
+04a9 6801c20f fetch 3 ,mem_clks_per_lpo 
+04aa 207a0000 rtn blank 
+04ab 68044958 fetch 8 ,mem_new_24g_enter_hibernate 
+04ac 20407f16 call clk2lpo 
+04ad 600a41fb storet 4 ,mem_sleep_counter 
+04ae 20203c11 branch lpm_sleep 
 
 g24_lpm_short_increase:
-04ab 6800c2b8 fetch 1 ,mem_wakup_from_power_flag 
-04ac 2fec0002 isolate0 2 ,pdata 
-04ad 202084b5 branch g24_lpm_short_increase_poweron ,true 
-04ae 6800ce79 fetch 1 ,mem_short_lpm_tx_cnt 
-04af c1028000 rtneq 5 
-04b0 1fe0fe01 increase 1 ,pdata 
-04b1 6000ce79 store 1 ,mem_short_lpm_tx_cnt 
-04b2 c1828000 rtnne 5 
+04af 6800c2b8 fetch 1 ,mem_wakup_from_power_flag 
+04b0 2fec0002 isolate0 2 ,pdata 
+04b1 202084b9 branch g24_lpm_short_increase_poweron ,true 
+04b2 6800ce79 fetch 1 ,mem_short_lpm_tx_cnt 
+04b3 c1028000 rtneq 5 
+04b4 1fe0fe01 increase 1 ,pdata 
+04b5 6000ce79 store 1 ,mem_short_lpm_tx_cnt 
+04b6 c1828000 rtnne 5 
 
 g24_lpm_short_enable:
-04b3 704e7801 jam 1 ,mem_short_lpm_enable 
-04b4 20600000 rtn 
+04b7 704e7801 jam 1 ,mem_short_lpm_enable 
+04b8 20600000 rtn 
 
 g24_lpm_short_increase_poweron:
-04b5 6800ce79 fetch 1 ,mem_short_lpm_tx_cnt 
-04b6 c10a0000 rtneq 20 
-04b7 1fe0fe01 increase 1 ,pdata 
-04b8 6000ce79 store 1 ,mem_short_lpm_tx_cnt 
-04b9 c18a0000 rtnne 20 
-04ba 6800c2b8 fetch 1 ,mem_wakup_from_power_flag 
-04bb 79207e02 set1 2 ,pdata 
-04bc 6000c2b8 store 1 ,mem_wakup_from_power_flag 
-04bd 202004b3 branch g24_lpm_short_enable 
+04b9 6800ce79 fetch 1 ,mem_short_lpm_tx_cnt 
+04ba c10a0000 rtneq 20 
+04bb 1fe0fe01 increase 1 ,pdata 
+04bc 6000ce79 store 1 ,mem_short_lpm_tx_cnt 
+04bd c18a0000 rtnne 20 
+04be 6800c2b8 fetch 1 ,mem_wakup_from_power_flag 
+04bf 79207e02 set1 2 ,pdata 
+04c0 6000c2b8 store 1 ,mem_wakup_from_power_flag 
+04c1 202004b7 branch g24_lpm_short_enable 
 
 g24_lpm_short_decrease:
-04be 6800ce79 fetch 1 ,mem_short_lpm_tx_cnt 
-04bf 207a0000 rtn blank 
-04c0 1fe0ffff increase -1 ,pdata 
-04c1 6000ce79 store 1 ,mem_short_lpm_tx_cnt 
-04c2 247a0000 nrtn blank 
-04c3 704e7800 jam 0 ,mem_short_lpm_enable 
-04c4 20600000 rtn 
+04c2 6800ce79 fetch 1 ,mem_short_lpm_tx_cnt 
+04c3 207a0000 rtn blank 
+04c4 1fe0ffff increase -1 ,pdata 
+04c5 6000ce79 store 1 ,mem_short_lpm_tx_cnt 
+04c6 247a0000 nrtn blank 
+04c7 704e7800 jam 0 ,mem_short_lpm_enable 
+04c8 20600000 rtn 
 
 g24_short_lpm_transmit_process:
-04c5 79200027 set1 mark_24g_conext ,mark 
-04c6 20400298 call p_ipc_rx 
-04c7 203404ca branch g24_short_lpm_transmit_process_ipc_nodata ,user 
-04c8 6800c897 fetch 1 ,mem_ipc_rx_type 
-04c9 c00304db beq ipc_type_24g ,g24_short_lpm_txdata_data_ready 
+04c9 79200027 set1 mark_24g_conext ,mark 
+04ca 2040029c call p_ipc_rx 
+04cb 203404ce branch g24_short_lpm_transmit_process_ipc_nodata ,user 
+04cc 6800c897 fetch 1 ,mem_ipc_rx_type 
+04cd c00304df beq ipc_type_24g ,g24_short_lpm_txdata_data_ready 
 
 g24_short_lpm_transmit_process_ipc_nodata:
-04ca 6800ce7d fetch 1 ,mem_send_data_24g_short_lpm 
-04cb c00084d1 beq short_lpm_state_data ,g24_short_lpm_txdata_prep_buff_data 
-04cc c001048e beq short_lpm_state_nodata ,g24_no_data_to_tx 
-04cd c00184cf beq short_lpm_state_button_wheel ,g24_short_lpm_transmit_process_button_wheel 
-04ce 20600000 rtn 
+04ce 6800ce7d fetch 1 ,mem_send_data_24g_short_lpm 
+04cf c00084d5 beq short_lpm_state_data ,g24_short_lpm_txdata_prep_buff_data 
+04d0 c0010492 beq short_lpm_state_nodata ,g24_no_data_to_tx 
+04d1 c00184d3 beq short_lpm_state_button_wheel ,g24_short_lpm_transmit_process_button_wheel 
+04d2 20600000 rtn 
 
 g24_short_lpm_transmit_process_button_wheel:
-04cf 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
-04d0 704e7800 jam 0 ,mem_short_lpm_enable 
+04d3 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
+04d4 704e7800 jam 0 ,mem_short_lpm_enable 
 
 g24_short_lpm_txdata_prep_buff_data:
-04d1 6800c9c0 fetch 1 ,mem_new_24g_ota_enable 
-04d2 c0008503 beq 1 ,g24_ota_exit_short_lpm_sleep 
-04d3 204004ab call g24_lpm_short_increase 
-04d4 704e7d00 jam 0 ,mem_send_data_24g_short_lpm 
-04d5 df200007 arg 7 ,loopcnt 
-04d6 1f227e00 copy loopcnt ,pdata 
-04d7 6000c970 store 1 ,mem_new_uart_packet 
-04d8 d8c04e21 arg mem_hid_buff ,contr 
-04d9 20407ecd call memcpy 
-04da 78547c00 disable user 
+04d5 6800c9c0 fetch 1 ,mem_new_24g_ota_enable 
+04d6 c0008507 beq 1 ,g24_ota_exit_short_lpm_sleep 
+04d7 204004af call g24_lpm_short_increase 
+04d8 704e7d00 jam 0 ,mem_send_data_24g_short_lpm 
+04d9 df200007 arg 7 ,loopcnt 
+04da 1f227e00 copy loopcnt ,pdata 
+04db 6000c970 store 1 ,mem_new_uart_packet 
+04dc d8c04e21 arg mem_hid_buff ,contr 
+04dd 20407ecd call memcpy 
+04de 78547c00 disable user 
 
 g24_short_lpm_txdata_data_ready:
-04db 20400437 call g24_txdata_prep_packeage_data 
-04dc 204003ed call g24_rf_sta_check 
-04dd 20400506 call g24_transmit_packet 
-04de 204005ea call power_ctrl_start 
+04df 2040043b call g24_txdata_prep_packeage_data 
+04e0 204003f1 call g24_rf_sta_check 
+04e1 2040050a call g24_transmit_packet 
+04e2 204005ee call power_ctrl_start 
 
 g24_short_lpm_sleep:
-04df 20403be2 call lpo_calibration 
-04e0 6801c20f fetch 3 ,mem_clks_per_lpo 
-04e1 207a0000 rtn blank 
-04e2 6800c131 fetch 1 ,mem_lpm_mode 
-04e3 207a0000 rtn blank 
-04e4 6800ce80 fetch 1 ,mem_short_data_wheel 
-04e5 c00084e8 beq 1 ,g24_short_lpm_sleep2 
-04e6 58000000 setarg 0 
-04e7 600400a0 store 8 ,mem_gpio_wakeup_low 
+04e3 20403be2 call lpo_calibration 
+04e4 6801c20f fetch 3 ,mem_clks_per_lpo 
+04e5 207a0000 rtn blank 
+04e6 6800c131 fetch 1 ,mem_lpm_mode 
+04e7 207a0000 rtn blank 
+04e8 6800ce80 fetch 1 ,mem_short_data_wheel 
+04e9 c00084ec beq 1 ,g24_short_lpm_sleep2 
+04ea 58000000 setarg 0 
+04eb 600400a0 store 8 ,mem_gpio_wakeup_low 
 
 g24_short_lpm_sleep2:
-04e8 204004f8 call g24_short_lpm_select_param 
-04e9 d9600d00 arg param_rx_setup ,timeup 
-04ea 34730200 until clkn_rt ,meet 
-04eb 6809ce7a fetcht 3 ,mem_ckln_24g_short_lpm 
-04ec 1c427e00 copy clkn_bt ,pdata 
-04ed 98467e00 isub temp ,pdata 
-04ee 1fe17eff and_into 0xff ,pdata 
-04ef d8400ea6 arg 3750 ,temp 
-04f0 984f8400 imul32 temp ,temp 
-04f1 68024e74 fetch 4 ,mem_short_lpm_interval_param 
-04f2 98467e00 isub temp ,pdata 
-04f3 20213c7f branch lpm_dispatch_sleep ,positive 
-04f4 6800c218 fetch 1 ,mem_lpm_xtalcnt 
-04f5 1fe0fe01 increase 1 ,pdata 
-04f6 600241fb store 4 ,mem_sleep_counter 
-04f7 20203c86 branch lpm_dispatch_sleep + 7 
+04ec 204004fc call g24_short_lpm_select_param 
+04ed d9600d00 arg param_rx_setup ,timeup 
+04ee 34730200 until clkn_rt ,meet 
+04ef 6809ce7a fetcht 3 ,mem_ckln_24g_short_lpm 
+04f0 1c427e00 copy clkn_bt ,pdata 
+04f1 98467e00 isub temp ,pdata 
+04f2 1fe17eff and_into 0xff ,pdata 
+04f3 d8400ea6 arg 3750 ,temp 
+04f4 984f8400 imul32 temp ,temp 
+04f5 68024e74 fetch 4 ,mem_short_lpm_interval_param 
+04f6 98467e00 isub temp ,pdata 
+04f7 20213c7f branch lpm_dispatch_sleep ,positive 
+04f8 6800c218 fetch 1 ,mem_lpm_xtalcnt 
+04f9 1fe0fe01 increase 1 ,pdata 
+04fa 600241fb store 4 ,mem_sleep_counter 
+04fb 20203c86 branch lpm_dispatch_sleep + 7 
 
 g24_short_lpm_select_param:
-04f8 58013c68 setarg g24_8125_interval_param 
-04f9 60024e74 store 4 ,mem_short_lpm_interval_param 
-04fa 6800ce7e fetch 1 ,mem_short_lpm_interval_cnt 
-04fb 1fe0fe01 increase 1 ,pdata 
-04fc c08284fe bne 5 ,g24_short_lpm_select_param_cont 
-04fd 58000000 setarg 0 
+04fc 58013c68 setarg g24_8125_interval_param 
+04fd 60024e74 store 4 ,mem_short_lpm_interval_param 
+04fe 6800ce7e fetch 1 ,mem_short_lpm_interval_cnt 
+04ff 1fe0fe01 increase 1 ,pdata 
+0500 c0828502 bne 5 ,g24_short_lpm_select_param_cont 
+0501 58000000 setarg 0 
 
 g24_short_lpm_select_param_cont:
-04fe 6000ce7e store 1 ,mem_short_lpm_interval_cnt 
-04ff c4000000 rtnbit0 0 
-0500 580130b0 setarg g24_78125_interval_param 
-0501 60024e74 store 4 ,mem_short_lpm_interval_param 
-0502 20600000 rtn 
+0502 6000ce7e store 1 ,mem_short_lpm_interval_cnt 
+0503 c4000000 rtnbit0 0 
+0504 580130b0 setarg g24_78125_interval_param 
+0505 60024e74 store 4 ,mem_short_lpm_interval_param 
+0506 20600000 rtn 
 
 g24_ota_exit_short_lpm_sleep:
-0503 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
-0504 704e7800 jam 0 ,mem_short_lpm_enable 
-0505 202004df branch g24_short_lpm_sleep 
+0507 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
+0508 704e7800 jam 0 ,mem_short_lpm_enable 
+0509 202004e3 branch g24_short_lpm_sleep 
 
 g24_transmit_packet:
-0506 70493100 jam 0 ,mem_new_24g_retry 
+050a 70493100 jam 0 ,mem_new_24g_retry 
 
 g24_transmit_loop:
-0507 d9600d00 arg param_rx_setup ,timeup 
-0508 34730200 until clkn_rt ,meet 
-0509 2040051e call g24_transmit_receive_ack 
-050a 6800c965 fetch 1 ,mem_new_24g_no_ack 
-050b c1008000 rtneq no_ack_24g 
-050c 242c052d nbranch g24_retransmit ,sync 
-050d 2437852d nbranch g24_retransmit ,user3 
-050e 2040054c call g24_ackpayload_parse 
-050f 204005dc call power_ctrl_pac_succ_incrs 
+050b d9600d00 arg param_rx_setup ,timeup 
+050c 34730200 until clkn_rt ,meet 
+050d 20400522 call g24_transmit_receive_ack 
+050e 6800c965 fetch 1 ,mem_new_24g_no_ack 
+050f c1008000 rtneq no_ack_24g 
+0510 242c0531 nbranch g24_retransmit ,sync 
+0511 24378531 nbranch g24_retransmit ,user3 
+0512 20400550 call g24_ackpayload_parse 
+0513 204005e0 call power_ctrl_pac_succ_incrs 
 
 g24_transmit_next_packet:
-0510 6800c927 fetch 1 ,mem_new_24g_pid 
-0511 1fe0fe01 increase 1 ,pdata 
-0512 6000c927 store 1 ,mem_new_24g_pid 
-0513 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-0514 c0ff851c bne state_24g_pairing_success ,g24_paring_mode_start 
-0515 204003e4 call g24_transmit_succ_rf_config 
+0514 6800c927 fetch 1 ,mem_new_24g_pid 
+0515 1fe0fe01 increase 1 ,pdata 
+0516 6000c927 store 1 ,mem_new_24g_pid 
+0517 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+0518 c0ff8520 bne state_24g_pairing_success ,g24_paring_mode_start 
+0519 204003e8 call g24_transmit_succ_rf_config 
 
 g24_transmit_abandon:
-0516 58000000 setarg 0 
-0517 6001492e store 2 ,mem_new_24g_txfail_cnt 
-0518 6000c930 store 1 ,mem_new_24g_get_ack_fail 
-0519 6000c9b3 store 1 ,mem_new_24g_hop_pac_retry 
-051a 70492d00 jam ensure_off_24g ,mem_new_24g_ensure 
-051b 20600000 rtn 
+051a 58000000 setarg 0 
+051b 6001492e store 2 ,mem_new_24g_txfail_cnt 
+051c 6000c930 store 1 ,mem_new_24g_get_ack_fail 
+051d 6000c9b3 store 1 ,mem_new_24g_hop_pac_retry 
+051e 70492d00 jam ensure_off_24g ,mem_new_24g_ensure 
+051f 20600000 rtn 
 
 g24_paring_mode_start:
-051c 204005d9 call power_ctrl_pac_succ_cnt_init 
-051d 20200660 branch g24_paring_mode 
+0520 204005dd call power_ctrl_pac_succ_cnt_init 
+0521 20200664 branch g24_paring_mode 
 
 g24_transmit_receive_ack:
-051e 7857fc00 disable user3 
-051f 2040056c call g24_transmit 
-0520 6800c965 fetch 1 ,mem_new_24g_no_ack 
-0521 c000852b beq no_ack_24g ,g24_transmit_no_ack 
-0522 18002a00 force 0 ,radio_ctrl 
-0523 68024950 fetch 4 ,mem_new_24g_addr 
-0524 98001200 iforce access 
-0525 68088017 fetcht 1 ,mem_last_freq 
-0526 204039b9 call set_freq_rx 
-0527 204039bf call rf_rx_enable 
-0528 20400596 call g24_receive_rxon 
-0529 205785d5 call g24_end_of_packet ,user3 
-052a 20600000 rtn 
+0522 7857fc00 disable user3 
+0523 20400570 call g24_transmit 
+0524 6800c965 fetch 1 ,mem_new_24g_no_ack 
+0525 c000852f beq no_ack_24g ,g24_transmit_no_ack 
+0526 18002a00 force 0 ,radio_ctrl 
+0527 68024950 fetch 4 ,mem_new_24g_addr 
+0528 98001200 iforce access 
+0529 68088017 fetcht 1 ,mem_last_freq 
+052a 204039b9 call set_freq_rx 
+052b 204039bf call rf_rx_enable 
+052c 2040059a call g24_receive_rxon 
+052d 205785d9 call g24_end_of_packet ,user3 
+052e 20600000 rtn 
 
 g24_transmit_no_ack:
-052b 204005d5 call g24_end_of_packet 
-052c 20200510 branch g24_transmit_next_packet 
+052f 204005d9 call g24_end_of_packet 
+0530 20200514 branch g24_transmit_next_packet 
 
 g24_retransmit:
-052d 6800c930 fetch 1 ,mem_new_24g_get_ack_fail 
-052e 1fe0fe01 increase 1 ,pdata 
-052f 6000c930 store 1 ,mem_new_24g_get_ack_fail 
-0530 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-0531 c0ff8541 bne state_24g_pairing_success ,g24_tx_paring_retry 
-0532 6808c931 fetcht 1 ,mem_new_24g_retry 
-0533 18408401 increase 1 ,temp 
-0534 6008c931 storet 1 ,mem_new_24g_retry 
-0535 6800c96e fetch 1 ,mem_new_24g_max_retry 
-0536 98467e00 isub temp ,pdata 
-0537 243a0507 nbranch g24_transmit_loop ,blank 
-0538 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
-0539 c00183cd beq 3 ,g24_transmit_pac_fail_hop_stage3 
-053a 6800c9b3 fetch 1 ,mem_new_24g_hop_pac_retry 
-053b 1fe0fe01 increase 1 ,pdata 
-053c 6000c9b3 store 1 ,mem_new_24g_hop_pac_retry 
-053d c00103c2 beq 2 ,g24_transmit_hop_pac_fail 
-053e 204003b9 call g24_hop_ch_enable 
-053f 70496e01 jam 1 ,mem_new_24g_max_retry 
-0540 20200506 branch g24_transmit_packet 
+0531 6800c930 fetch 1 ,mem_new_24g_get_ack_fail 
+0532 1fe0fe01 increase 1 ,pdata 
+0533 6000c930 store 1 ,mem_new_24g_get_ack_fail 
+0534 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+0535 c0ff8545 bne state_24g_pairing_success ,g24_tx_paring_retry 
+0536 6808c931 fetcht 1 ,mem_new_24g_retry 
+0537 18408401 increase 1 ,temp 
+0538 6008c931 storet 1 ,mem_new_24g_retry 
+0539 6800c96e fetch 1 ,mem_new_24g_max_retry 
+053a 98467e00 isub temp ,pdata 
+053b 243a050b nbranch g24_transmit_loop ,blank 
+053c 6800c9b4 fetch 1 ,mem_new_24g_rf_work_stage 
+053d c00183d1 beq 3 ,g24_transmit_pac_fail_hop_stage3 
+053e 6800c9b3 fetch 1 ,mem_new_24g_hop_pac_retry 
+053f 1fe0fe01 increase 1 ,pdata 
+0540 6000c9b3 store 1 ,mem_new_24g_hop_pac_retry 
+0541 c00103c6 beq 2 ,g24_transmit_hop_pac_fail 
+0542 204003bd call g24_hop_ch_enable 
+0543 70496e01 jam 1 ,mem_new_24g_max_retry 
+0544 2020050a branch g24_transmit_packet 
 
 g24_tx_paring_retry:
-0541 6800c930 fetch 1 ,mem_new_24g_get_ack_fail 
-0542 c1ff8000 rtnne 0xff 
-0543 70493000 jam 0 ,mem_new_24g_get_ack_fail 
-0544 2020054a branch g24_stop_24g_mode 
+0545 6800c930 fetch 1 ,mem_new_24g_get_ack_fail 
+0546 c1ff8000 rtnne 0xff 
+0547 70493000 jam 0 ,mem_new_24g_get_ack_fail 
+0548 2020054e branch g24_stop_24g_mode 
 
 g24_tx_attempt_fail:
-0545 58000000 setarg 0 
-0546 6001492e store 2 ,mem_new_24g_txfail_cnt 
-0547 70413100 jam 0 ,mem_lpm_mode 
-0548 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
-0549 704e7800 jam 0 ,mem_short_lpm_enable 
+0549 58000000 setarg 0 
+054a 6001492e store 2 ,mem_new_24g_txfail_cnt 
+054b 70413100 jam 0 ,mem_lpm_mode 
+054c 704e7900 jam 0 ,mem_short_lpm_tx_cnt 
+054d 704e7800 jam 0 ,mem_short_lpm_enable 
 
 g24_stop_24g_mode:
-054a 7048963b jam bt_evt_24g_attempt_fail ,mem_ipc_tx_evt 
-054b 202002c6 branch p_ipc_tx_evt 
+054e 7048963b jam bt_evt_24g_attempt_fail ,mem_ipc_tx_evt 
+054f 202002ca branch p_ipc_tx_evt 
 
 g24_ackpayload_parse:
-054c 20400553 call g24_read_len_pid_crc 
-054d 6800c926 fetch 1 ,mem_new_24g_rxdata_length 
-054e 207a0000 rtn blank 
-054f 98007200 iforce loopcnt 
-0550 d8c048a4 arg mem_new_24g_rxbuf + 2 ,contr 
-0551 d8a04906 arg mem_new_24g_rxpayload ,contw 
-0552 20207ecd branch memcpy 
+0550 20400557 call g24_read_len_pid_crc 
+0551 6800c926 fetch 1 ,mem_new_24g_rxdata_length 
+0552 207a0000 rtn blank 
+0553 98007200 iforce loopcnt 
+0554 d8c048a4 arg mem_new_24g_rxbuf + 2 ,contr 
+0555 d8a04906 arg mem_new_24g_rxpayload ,contw 
+0556 20207ecd branch memcpy 
 
 g24_read_len_pid_crc:
-0553 6800c8a3 fetch 1 ,mem_new_24g_rxbuf + 1 
-0554 1fe97e00 rshift3 pdata ,pdata 
-0555 6000c926 store 1 ,mem_new_24g_rxdata_length 
-0556 1fe0fe01 increase 1 ,pdata 
-0557 d8c048a3 arg mem_new_24g_rxbuf + 1 ,contr 
-0558 98c08c00 iadd contr ,contr 
-0559 e8c18000 ifetch 3 ,contr 
-055a 6001c966 store 3 ,mem_new_24g_sta_crc 
-055b 6800c8a3 fetch 1 ,mem_new_24g_rxbuf + 1 
-055c 1fe37e00 rshift pdata ,pdata 
-055d 1fe17e03 and pdata ,0x03 ,pdata 
-055e 6000c96c store 1 ,mem_new_24g_sta_pid 
-055f 20600000 rtn 
+0557 6800c8a3 fetch 1 ,mem_new_24g_rxbuf + 1 
+0558 1fe97e00 rshift3 pdata ,pdata 
+0559 6000c926 store 1 ,mem_new_24g_rxdata_length 
+055a 1fe0fe01 increase 1 ,pdata 
+055b d8c048a3 arg mem_new_24g_rxbuf + 1 ,contr 
+055c 98c08c00 iadd contr ,contr 
+055d e8c18000 ifetch 3 ,contr 
+055e 6001c966 store 3 ,mem_new_24g_sta_crc 
+055f 6800c8a3 fetch 1 ,mem_new_24g_rxbuf + 1 
+0560 1fe37e00 rshift pdata ,pdata 
+0561 1fe17e03 and pdata ,0x03 ,pdata 
+0562 6000c96c store 1 ,mem_new_24g_sta_pid 
+0563 20600000 rtn 
 
 g24_prep:
-0560 7844fc00 disable enable_crc 
-0561 7843fc00 disable enable_white 
-0562 58555555 setarg 0x555555 
-0563 98001e00 iforce crc24_init 
-0564 6800c932 fetch 1 ,mem_new_24g_ch 
-0565 1fed8400 reverse pdata ,temp 
-0566 79200401 set1 1 ,temp 
-0567 18431c00 rshift temp ,white_init 
-0568 20600000 rtn 
+0564 7844fc00 disable enable_crc 
+0565 7843fc00 disable enable_white 
+0566 58555555 setarg 0x555555 
+0567 98001e00 iforce crc24_init 
+0568 6800c932 fetch 1 ,mem_new_24g_ch 
+0569 1fed8400 reverse pdata ,temp 
+056a 79200401 set1 1 ,temp 
+056b 18431c00 rshift temp ,white_init 
+056c 20600000 rtn 
 
 g24_set_freq_tx:
-0569 204039b1 call set_sync_on 
-056a 6808c932 fetcht 1 ,mem_new_24g_ch 
-056b 202039c9 branch set_freq_tx 
+056d 204039b1 call set_sync_on 
+056e 6808c932 fetcht 1 ,mem_new_24g_ch 
+056f 202039c9 branch set_freq_tx 
 
 g24_transmit:
-056c 20404976 call le_enable 
-056d 68024950 fetch 4 ,mem_new_24g_addr 
-056e 98001200 iforce access 
-056f 20400560 call g24_prep 
-0570 20400569 call g24_set_freq_tx 
-0571 79202a00 set1 txgfsk ,radio_ctrl 
-0572 782efc00 enable encode_fec0 
-0573 78307c00 enable is_tx 
-0574 7850fc00 disable is_rx 
-0575 19317e00 rshift16 access ,pdata 
-0576 1fecfe00 rshift8 pdata ,pdata 
-0577 1ff1fe00 rshift4 pdata ,pdata 
-0578 08008628 inject mod ,40 
-0579 784efc00 disable encode_fec0 
-057a 782dfc00 enable encode_fec1 
-057b 7823fc00 enable enable_white 
-057c 7824fc00 enable enable_crc 
-057d 6800c9bd fetch 1 ,mem_new_24g_syncword_crc8 
-057e 08008608 inject mod ,8 
-057f 6800c92a fetch 1 ,mem_new_24g_txlen 
-0580 98007200 iforce loopcnt 
-0581 d8c048e4 arg mem_new_24g_txpayload ,contr 
+0570 20404976 call le_enable 
+0571 68024950 fetch 4 ,mem_new_24g_addr 
+0572 98001200 iforce access 
+0573 20400564 call g24_prep 
+0574 2040056d call g24_set_freq_tx 
+0575 79202a00 set1 txgfsk ,radio_ctrl 
+0576 782efc00 enable encode_fec0 
+0577 78307c00 enable is_tx 
+0578 7850fc00 disable is_rx 
+0579 19317e00 rshift16 access ,pdata 
+057a 1fecfe00 rshift8 pdata ,pdata 
+057b 1ff1fe00 rshift4 pdata ,pdata 
+057c 08008628 inject mod ,40 
+057d 784efc00 disable encode_fec0 
+057e 782dfc00 enable encode_fec1 
+057f 7823fc00 enable enable_white 
+0580 7824fc00 enable enable_crc 
+0581 6800c9bd fetch 1 ,mem_new_24g_syncword_crc8 
+0582 08008608 inject mod ,8 
+0583 6800c92a fetch 1 ,mem_new_24g_txlen 
+0584 98007200 iforce loopcnt 
+0585 d8c048e4 arg mem_new_24g_txpayload ,contr 
 
 g24tr_loop:
-0582 e8c08000 ifetch 1 ,contr 
-0583 08008608 inject mod ,8 
-0584 c2000582 loop g24tr_loop 
-0585 78247c00 enable enable_parity 
-0586 08008618 inject mod ,24 
-0587 78447c00 disable enable_parity 
-0588 37d38200 until null ,tx_clear 
-0589 20000064 nop 100 
-058a 784efc00 disable encode_fec0 
-058b 784dfc00 disable encode_fec1 
-058c 20600000 rtn 
+0586 e8c08000 ifetch 1 ,contr 
+0587 08008608 inject mod ,8 
+0588 c2000586 loop g24tr_loop 
+0589 78247c00 enable enable_parity 
+058a 08008618 inject mod ,24 
+058b 78447c00 disable enable_parity 
+058c 37d38200 until null ,tx_clear 
+058d 20000064 nop 100 
+058e 784efc00 disable encode_fec0 
+058f 784dfc00 disable encode_fec1 
+0590 20600000 rtn 
 
 g24_receive_packet:
-058d 20404976 call le_enable 
-058e 68024950 fetch 4 ,mem_new_24g_addr 
-058f 98001200 iforce access 
-0590 204039b1 call set_sync_on 
-0591 6808c932 fetcht 1 ,mem_new_24g_ch 
-0592 204039b9 call set_freq_rx 
-0593 58000500 setarg param_pll_setup 
-0594 20403b35 call sleep 
-0595 204039bf call rf_rx_enable 
+0591 20404976 call le_enable 
+0592 68024950 fetch 4 ,mem_new_24g_addr 
+0593 98001200 iforce access 
+0594 204039b1 call set_sync_on 
+0595 6808c932 fetcht 1 ,mem_new_24g_ch 
+0596 204039b9 call set_freq_rx 
+0597 58000500 setarg param_pll_setup 
+0598 20403b35 call sleep 
+0599 204039bf call rf_rx_enable 
 
 g24_receive_rxon:
-0596 20400560 call g24_prep 
-0597 7857fc00 disable user3 
-0598 7826fc00 enable decode_fec0 
-0599 7830fc00 enable is_rx 
-059a 78507c00 disable is_tx 
-059b 78287c00 enable swfine 
-059c 6801492b fetch 2 ,mem_new_24g_rx_window 
-059d 98003600 iforce stop_watch 
-059e 37c18400 correlate null ,timeout 
-059f 242c05d8 nbranch g24_sync_timeout ,sync 
-05a0 7846fc00 disable decode_fec0 
-05a1 7825fc00 enable decode_fec1 
-05a2 7823fc00 enable enable_white 
-05a3 7824fc00 enable enable_crc 
-05a4 09800008 parse demod ,bucket ,8 
-05a5 19897e00 rshift3 pwindow ,pdata 
-05a6 6000c9be store 1 ,mem_new_24g_get_syncword_crc8 
-05a7 2040045e call g24_syncword_crc8 
-05a8 6808c9be fetcht 1 ,mem_new_24g_get_syncword_crc8 
-05a9 98467c00 isub temp ,null 
-05aa 242285d5 nbranch g24_end_of_packet ,zero 
-05ab 09800008 parse demod ,bucket ,8 
-05ac 19897e00 rshift3 pwindow ,pdata 
-05ad 6000c8a2 store 1 ,mem_new_24g_rxbuf 
-05ae 6800c96f fetch 1 ,mem_new_24g_mode 
-05af 1fe67c02 sub pdata ,rx_24g ,null 
-05b0 202285b5 branch g24_receive_skip ,zero 
-05b1 6800c8a2 fetch 1 ,mem_new_24g_rxbuf 
-05b2 6808c929 fetcht 1 ,mem_new_24g_data_type 
-05b3 a8400e00 icompare bits_data ,temp 
-05b4 242085d5 nbranch g24_end_of_packet ,true 
+059a 20400564 call g24_prep 
+059b 7857fc00 disable user3 
+059c 7826fc00 enable decode_fec0 
+059d 7830fc00 enable is_rx 
+059e 78507c00 disable is_tx 
+059f 78287c00 enable swfine 
+05a0 6801492b fetch 2 ,mem_new_24g_rx_window 
+05a1 98003600 iforce stop_watch 
+05a2 37c18400 correlate null ,timeout 
+05a3 242c05dc nbranch g24_sync_timeout ,sync 
+05a4 7846fc00 disable decode_fec0 
+05a5 7825fc00 enable decode_fec1 
+05a6 7823fc00 enable enable_white 
+05a7 7824fc00 enable enable_crc 
+05a8 09800008 parse demod ,bucket ,8 
+05a9 19897e00 rshift3 pwindow ,pdata 
+05aa 6000c9be store 1 ,mem_new_24g_get_syncword_crc8 
+05ab 20400462 call g24_syncword_crc8 
+05ac 6808c9be fetcht 1 ,mem_new_24g_get_syncword_crc8 
+05ad 98467c00 isub temp ,null 
+05ae 242285d9 nbranch g24_end_of_packet ,zero 
+05af 09800008 parse demod ,bucket ,8 
+05b0 19897e00 rshift3 pwindow ,pdata 
+05b1 6000c8a2 store 1 ,mem_new_24g_rxbuf 
+05b2 6800c96f fetch 1 ,mem_new_24g_mode 
+05b3 1fe67c02 sub pdata ,rx_24g ,null 
+05b4 202285b9 branch g24_receive_skip ,zero 
+05b5 6800c8a2 fetch 1 ,mem_new_24g_rxbuf 
+05b6 6808c929 fetcht 1 ,mem_new_24g_data_type 
+05b7 a8400e00 icompare bits_data ,temp 
+05b8 242085d9 nbranch g24_end_of_packet ,true 
 
 g24_receive_skip:
-05b5 09800008 parse demod ,bucket ,8 
-05b6 19897e00 rshift3 pwindow ,pdata 
-05b7 e0a08000 istore 1 ,contw 
-05b8 1fe97e00 rshift3 pdata ,pdata 
-05b9 1fe1721f and pdata ,0x1f ,loopcnt 
-05ba 202285bf branch g24rx_nopayload ,zero 
+05b9 09800008 parse demod ,bucket ,8 
+05ba 19897e00 rshift3 pwindow ,pdata 
+05bb e0a08000 istore 1 ,contw 
+05bc 1fe97e00 rshift3 pdata ,pdata 
+05bd 1fe1721f and pdata ,0x1f ,loopcnt 
+05be 202285c3 branch g24rx_nopayload ,zero 
 
 g24rx_loop:
-05bb 09800008 parse demod ,bucket ,8 
-05bc 19897e00 rshift3 pwindow ,pdata 
-05bd e0a08000 istore 1 ,contw 
-05be c20005bb loop g24rx_loop 
+05bf 09800008 parse demod ,bucket ,8 
+05c0 19897e00 rshift3 pwindow ,pdata 
+05c1 e0a08000 istore 1 ,contw 
+05c2 c20005bf loop g24rx_loop 
 
 g24rx_nopayload:
-05bf 18a22200 copy contw ,rega 
-05c0 09800008 parse demod ,bucket ,8 
-05c1 19897e00 rshift3 pwindow ,pdata 
-05c2 6000c9cf store 1 ,mem_rssi_hex_received 
-05c3 1a220a00 copy rega ,contw 
-05c4 09800018 parse demod ,bucket ,24 
-05c5 78287c00 enable swfine 
-05c6 db600664 arg param_sifs ,stop_watch 
-05c7 1fef7e00 rshift32 pdata ,pdata 
-05c8 1ff17e00 rshift16 pdata ,pdata 
-05c9 e0a18000 istore 3 ,contw 
-05ca 7845fc00 disable decode_fec1 
-05cb 202305d5 branch g24_end_of_packet ,crc_failed 
-05cc 7837fc00 enable user3 
-05cd 68008017 fetch 1 ,mem_last_freq 
-05ce 1fe0a200 add pdata ,0 ,rega 
-05cf 20403a13 call rf_write_freq 
-05d0 7846fc00 disable decode_fec0 
-05d1 204039b1 call set_sync_on 
-05d2 6800c9cf fetch 1 ,mem_rssi_hex_received 
-05d3 1fe22200 copy pdata ,rega 
-05d4 20200628 branch rssi_signal 
+05c3 18a22200 copy contw ,rega 
+05c4 09800008 parse demod ,bucket ,8 
+05c5 19897e00 rshift3 pwindow ,pdata 
+05c6 6000c9cf store 1 ,mem_rssi_hex_received 
+05c7 1a220a00 copy rega ,contw 
+05c8 09800018 parse demod ,bucket ,24 
+05c9 78287c00 enable swfine 
+05ca db600664 arg param_sifs ,stop_watch 
+05cb 1fef7e00 rshift32 pdata ,pdata 
+05cc 1ff17e00 rshift16 pdata ,pdata 
+05cd e0a18000 istore 3 ,contw 
+05ce 7845fc00 disable decode_fec1 
+05cf 202305d9 branch g24_end_of_packet ,crc_failed 
+05d0 7837fc00 enable user3 
+05d1 68008017 fetch 1 ,mem_last_freq 
+05d2 1fe0a200 add pdata ,0 ,rega 
+05d3 20403a13 call rf_write_freq 
+05d4 7846fc00 disable decode_fec0 
+05d5 204039b1 call set_sync_on 
+05d6 6800c9cf fetch 1 ,mem_rssi_hex_received 
+05d7 1fe22200 copy pdata ,rega 
+05d8 2020062c branch rssi_signal 
 
 g24_end_of_packet:
-05d5 784dfc00 disable encode_fec1 
-05d6 7845fc00 disable decode_fec1 
-05d7 202036c6 branch end_of_packet 
+05d9 784dfc00 disable encode_fec1 
+05da 7845fc00 disable decode_fec1 
+05db 202036c6 branch end_of_packet 
 
 g24_sync_timeout:
-05d8 202005d5 branch g24_end_of_packet 
+05dc 202005d9 branch g24_end_of_packet 
 
 power_ctrl_pac_succ_cnt_init:
-05d9 7049c401 jam 1 ,mem_power_ctrl_level 
-05da 7049c500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-05db 20600000 rtn 
+05dd 7049c401 jam 1 ,mem_power_ctrl_level 
+05de 7049c500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+05df 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-05dc 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05dd 1fe0fe01 increase 1 ,pdata 
-05de 6000c9c5 store 1 ,mem_power_ctrl_pac_succ_cnt 
-05df 20600000 rtn 
+05e0 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05e1 1fe0fe01 increase 1 ,pdata 
+05e2 6000c9c5 store 1 ,mem_power_ctrl_pac_succ_cnt 
+05e3 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-05e0 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05e1 1fe67c01 sub pdata ,1 ,null 
-05e2 244105e8 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-05e3 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05e4 c1000000 rtneq 0 
-05e5 1fe0ffff increase -1 ,pdata 
-05e6 6000c9c5 store 1 ,mem_power_ctrl_pac_succ_cnt 
-05e7 20600000 rtn 
+05e4 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05e5 1fe67c01 sub pdata ,1 ,null 
+05e6 244105ec ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+05e7 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05e8 c1000000 rtneq 0 
+05e9 1fe0ffff increase -1 ,pdata 
+05ea 6000c9c5 store 1 ,mem_power_ctrl_pac_succ_cnt 
+05eb 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-05e8 7049c502 jam 2 ,mem_power_ctrl_pac_succ_cnt 
-05e9 20600000 rtn 
+05ec 7049c502 jam 2 ,mem_power_ctrl_pac_succ_cnt 
+05ed 20600000 rtn 
 
 power_ctrl_start:
-05ea da2049c6 arg mem_rssi_signal_buf ,rega 
-05eb 20400631 call rssi_average 
-05ec 6008c9d0 storet 1 ,mem_rssi_avg_received 
-05ed 280ffe26 isolate1 mark_24g ,mark 
-05ee 204085f8 call power_ctrl_24g_dis_max ,true 
-05ef 244085fc ncall power_ctrl_le_dis_max ,true 
-05f0 98467c00 isub temp ,null 
-05f1 24210615 nbranch power_ctrl_txpower_incrs ,positive 
-05f2 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05f3 1fe67c01 sub pdata ,1 ,null 
-05f4 24210600 nbranch power_ctrl_txpower_decrs_check ,positive 
-05f5 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-05f6 c0000615 beq 0 ,power_ctrl_txpower_incrs 
-05f7 20600000 rtn 
+05ee da2049c6 arg mem_rssi_signal_buf ,rega 
+05ef 20400635 call rssi_average 
+05f0 6008c9d0 storet 1 ,mem_rssi_avg_received 
+05f1 280ffe26 isolate1 mark_24g ,mark 
+05f2 204085fc call power_ctrl_24g_dis_max ,true 
+05f3 24408600 ncall power_ctrl_le_dis_max ,true 
+05f4 98467c00 isub temp ,null 
+05f5 24210619 nbranch power_ctrl_txpower_incrs ,positive 
+05f6 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05f7 1fe67c01 sub pdata ,1 ,null 
+05f8 24210604 nbranch power_ctrl_txpower_decrs_check ,positive 
+05f9 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+05fa c0000619 beq 0 ,power_ctrl_txpower_incrs 
+05fb 20600000 rtn 
 
 power_ctrl_24g_dis_max:
-05f8 58000082 setarg rssi_dis_max_24g 
-05f9 20600000 rtn 
+05fc 58000082 setarg rssi_dis_max_24g 
+05fd 20600000 rtn 
 
 power_ctrl_24g_dis_min:
-05fa 58000077 setarg rssi_dis_min_24g 
-05fb 20600000 rtn 
+05fe 58000077 setarg rssi_dis_min_24g 
+05ff 20600000 rtn 
 
 power_ctrl_le_dis_max:
-05fc 58000080 setarg rssi_dis_max_ble 
-05fd 20600000 rtn 
+0600 58000080 setarg rssi_dis_max_ble 
+0601 20600000 rtn 
 
 power_ctrl_le_dis_min:
-05fe 58000075 setarg rssi_dis_min_ble 
-05ff 20600000 rtn 
+0602 58000075 setarg rssi_dis_min_ble 
+0603 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0600 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0601 c1a30000 rtnne 70 
-0602 7049c500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0604 6800c9c5 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0605 c1a30000 rtnne 70 
+0606 7049c500 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0603 6808c9d0 fetcht 1 ,mem_rssi_avg_received 
-0604 280ffe26 isolate1 mark_24g ,mark 
-0605 204085fa call power_ctrl_24g_dis_min ,true 
-0606 244085fe ncall power_ctrl_le_dis_min ,true 
-0607 98467c00 isub temp ,null 
-0608 24610000 nrtn positive 
-0609 6800c9c4 fetch 1 ,mem_power_ctrl_level 
-060a c0000621 beq 0 ,power_ctrl_decrs_level0 
-060b 1fe0ffff increase -1 ,pdata 
-060c 6000c9c4 store 1 ,mem_power_ctrl_level 
-060d c0000621 beq 0 ,power_ctrl_decrs_level0 
+0607 6808c9d0 fetcht 1 ,mem_rssi_avg_received 
+0608 280ffe26 isolate1 mark_24g ,mark 
+0609 204085fe call power_ctrl_24g_dis_min ,true 
+060a 24408602 ncall power_ctrl_le_dis_min ,true 
+060b 98467c00 isub temp ,null 
+060c 24610000 nrtn positive 
+060d 6800c9c4 fetch 1 ,mem_power_ctrl_level 
+060e c0000625 beq 0 ,power_ctrl_decrs_level0 
+060f 1fe0ffff increase -1 ,pdata 
+0610 6000c9c4 store 1 ,mem_power_ctrl_level 
+0611 c0000625 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-060e 708955d0 hjam 0xd0 ,0x8955 
-060f 708956e0 hjam 0xe0 ,0x8956 
-0610 7089574c hjam 0x4c ,0x8957 
-0611 7089586c hjam 0x6c ,0x8958 
-0612 70895950 hjam 0x50 ,0x8959 
-0613 70428001 jam 0x01 ,mem_tx_power 
-0614 20600000 rtn 
+0612 708955d0 hjam 0xd0 ,0x8955 
+0613 708956e0 hjam 0xe0 ,0x8956 
+0614 7089574c hjam 0x4c ,0x8957 
+0615 7089586c hjam 0x6c ,0x8958 
+0616 70895950 hjam 0x50 ,0x8959 
+0617 70428001 jam 0x01 ,mem_tx_power 
+0618 20600000 rtn 
 
 power_ctrl_txpower_incrs:
-0615 6800c9c4 fetch 1 ,mem_power_ctrl_level 
-0616 c001061a beq 2 ,power_ctrl_incrs_level2 
-0617 1fe0fe01 increase 1 ,pdata 
-0618 6000c9c4 store 1 ,mem_power_ctrl_level 
-0619 c000860e beq 1 ,power_ctrl_incrs_level1 
+0619 6800c9c4 fetch 1 ,mem_power_ctrl_level 
+061a c001061e beq 2 ,power_ctrl_incrs_level2 
+061b 1fe0fe01 increase 1 ,pdata 
+061c 6000c9c4 store 1 ,mem_power_ctrl_level 
+061d c0008612 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-061a 708955d0 hjam 0xd0 ,0x8955 
-061b 708956e0 hjam 0xe0 ,0x8956 
-061c 7089574c hjam 0x4c ,0x8957 
-061d 7089583c hjam 0x3c ,0x8958 
-061e 70895910 hjam 0x10 ,0x8959 
-061f 70428004 jam 0x04 ,mem_tx_power 
-0620 20600000 rtn 
+061e 708955d0 hjam 0xd0 ,0x8955 
+061f 708956e0 hjam 0xe0 ,0x8956 
+0620 7089574c hjam 0x4c ,0x8957 
+0621 7089583c hjam 0x3c ,0x8958 
+0622 70895910 hjam 0x10 ,0x8959 
+0623 70428004 jam 0x04 ,mem_tx_power 
+0624 20600000 rtn 
 
 power_ctrl_decrs_level0:
-0621 708955d0 hjam 0xd0 ,0x8955 
-0622 708956c0 hjam 0xc0 ,0x8956 
-0623 7089574c hjam 0x4c ,0x8957 
-0624 7089586c hjam 0x6c ,0x8958 
-0625 70895950 hjam 0x50 ,0x8959 
-0626 70428010 jam 0x10 ,mem_tx_power 
-0627 20600000 rtn 
+0625 708955d0 hjam 0xd0 ,0x8955 
+0626 708956c0 hjam 0xc0 ,0x8956 
+0627 7089574c hjam 0x4c ,0x8957 
+0628 7089586c hjam 0x6c ,0x8958 
+0629 70895950 hjam 0x50 ,0x8959 
+062a 70428010 jam 0x10 ,mem_tx_power 
+062b 20600000 rtn 
 
 rssi_signal:
-0628 6808c9ce fetcht 1 ,mem_rssi_signal_index 
-0629 580049c6 setarg mem_rssi_signal_buf 
-062a 98408a00 iadd temp ,contw 
-062b 1a227e00 copy rega ,pdata 
-062c e0a08000 istore 1 ,contw 
-062d 18408401 increase 1 ,temp 
-062e 18410407 and_into rssi_buf_len ,temp 
-062f 6008c9ce storet 1 ,mem_rssi_signal_index 
-0630 20600000 rtn 
+062c 6808c9ce fetcht 1 ,mem_rssi_signal_index 
+062d 580049c6 setarg mem_rssi_signal_buf 
+062e 98408a00 iadd temp ,contw 
+062f 1a227e00 copy rega ,pdata 
+0630 e0a08000 istore 1 ,contw 
+0631 18408401 increase 1 ,temp 
+0632 18410407 and_into rssi_buf_len ,temp 
+0633 6008c9ce storet 1 ,mem_rssi_signal_index 
+0634 20600000 rtn 
 
 rssi_average:
-0631 d8400000 arg 0 ,temp 
-0632 df200008 arg rssi_buf_len + 1 ,loopcnt 
-0633 1a220c00 copy rega ,contr 
+0635 d8400000 arg 0 ,temp 
+0636 df200008 arg rssi_buf_len + 1 ,loopcnt 
+0637 1a220c00 copy rega ,contr 
 
 rssi_average_loop:
-0634 e8c08000 ifetch 1 ,contr 
-0635 98408400 iadd temp ,temp 
-0636 c2000634 loop rssi_average_loop 
-0637 18497e00 rshift3 temp ,pdata 
-0638 1fe20400 copy pdata ,temp 
-0639 c6930000 rtnmark0 mark_24g 
-063a 1fe6fc0a div pdata ,10 
-063b 20407f53 call wait_div_end 
-063c 1807fe00 quotient pdata 
-063d 1ff27e00 lshift4 pdata ,pdata 
-063e 18070400 remainder temp 
-063f 98418400 ior temp ,temp 
-0640 20600000 rtn 
+0638 e8c08000 ifetch 1 ,contr 
+0639 98408400 iadd temp ,temp 
+063a c2000638 loop rssi_average_loop 
+063b 18497e00 rshift3 temp ,pdata 
+063c 1fe20400 copy pdata ,temp 
+063d c6930000 rtnmark0 mark_24g 
+063e 1fe6fc0a div pdata ,10 
+063f 20407f53 call wait_div_end 
+0640 1807fe00 quotient pdata 
+0641 1ff27e00 lshift4 pdata ,pdata 
+0642 18070400 remainder temp 
+0643 98418400 ior temp ,temp 
+0644 20600000 rtn 
 
 g24_start_pairing_sm1:
-0641 79200026 set1 mark_24g ,mark 
-0642 20400399 call g24_pair_init 
+0645 79200026 set1 mark_24g ,mark 
+0646 2040039d call g24_pair_init 
 
 g24_set_pairing_sm_1:
-0643 70493801 jam state_24g_pairing_1 ,mem_new_24g_pairing_sm 
-0644 20600000 rtn 
+0647 70493801 jam state_24g_pairing_1 ,mem_new_24g_pairing_sm 
+0648 20600000 rtn 
 
 g24_pairing_sm:
-0645 6800c92d fetch 1 ,mem_new_24g_ensure 
-0646 c000b1d4 beq ensure_on_24g ,disable_usr 
-0647 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-0648 c000864c beq state_24g_pairing_1 ,g24_pairing_sm_1 
-0649 c001064f beq state_24g_pairing_2 ,g24_pairing_sm_2 
-064a c0018652 beq state_24g_pairing_3 ,g24_pairing_sm_3 
-064b 20203b31 branch assert 
+0649 6800c92d fetch 1 ,mem_new_24g_ensure 
+064a c000b1d4 beq ensure_on_24g ,disable_usr 
+064b 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+064c c0008650 beq state_24g_pairing_1 ,g24_pairing_sm_1 
+064d c0010653 beq state_24g_pairing_2 ,g24_pairing_sm_2 
+064e c0018656 beq state_24g_pairing_3 ,g24_pairing_sm_3 
+064f 20203b31 branch assert 
 
 g24_pairing_sm_1:
-064c 70493811 jam state_24g_pairing_1_waiting_ack ,mem_new_24g_pairing_sm 
-064d 704990aa jam 0xaa ,mem_new_24g_common_temp 
-064e 20200654 branch g24_pairing_sm_common 
+0650 70493811 jam state_24g_pairing_1_waiting_ack ,mem_new_24g_pairing_sm 
+0651 704990aa jam 0xaa ,mem_new_24g_common_temp 
+0652 20200658 branch g24_pairing_sm_common 
 
 g24_pairing_sm_2:
-064f 70493812 jam state_24g_pairing_2_waiting_ack ,mem_new_24g_pairing_sm 
-0650 70499055 jam 0x55 ,mem_new_24g_common_temp 
-0651 20200654 branch g24_pairing_sm_common 
+0653 70493812 jam state_24g_pairing_2_waiting_ack ,mem_new_24g_pairing_sm 
+0654 70499055 jam 0x55 ,mem_new_24g_common_temp 
+0655 20200658 branch g24_pairing_sm_common 
 
 g24_pairing_sm_3:
-0652 70493813 jam state_24g_pairing_3_waiting_ack ,mem_new_24g_pairing_sm 
-0653 70499022 jam 0x22 ,mem_new_24g_common_temp 
+0656 70493813 jam state_24g_pairing_3_waiting_ack ,mem_new_24g_pairing_sm 
+0657 70499022 jam 0x22 ,mem_new_24g_common_temp 
 
 g24_pairing_sm_common:
-0654 6800c929 fetch 1 ,mem_new_24g_data_type 
-0655 1fe17e07 and_into bits_data ,pdata 
-0656 6000c991 store 1 ,mem_new_24g_common_temp + 1 
-0657 68024960 fetch 4 ,mem_new_24g_device_addr 
-0658 60024992 store 4 ,mem_new_24g_common_temp + 2 
+0658 6800c929 fetch 1 ,mem_new_24g_data_type 
+0659 1fe17e07 and_into bits_data ,pdata 
+065a 6000c991 store 1 ,mem_new_24g_common_temp + 1 
+065b 68024960 fetch 4 ,mem_new_24g_device_addr 
+065c 60024992 store 4 ,mem_new_24g_common_temp + 2 
 
 g24_put_pairing_data_in_buff:
-0659 70499600 jam 0 ,mem_new_24g_common_temp + 6 
-065a da204990 arg mem_new_24g_common_temp ,rega 
-065b d8400007 arg 7 ,temp 
-065c 20400458 call g24_put_data_in_buff 
-065d 2040046b call g24_transmit_prep 
-065e 2040043f call g24_txdata_enable_tx 
-065f 202031d4 branch disable_usr 
+065d 70499600 jam 0 ,mem_new_24g_common_temp + 6 
+065e da204990 arg mem_new_24g_common_temp ,rega 
+065f d8400007 arg 7 ,temp 
+0660 2040045c call g24_put_data_in_buff 
+0661 2040046f call g24_transmit_prep 
+0662 20400443 call g24_txdata_enable_tx 
+0663 202031d4 branch disable_usr 
 
 g24_paring_mode:
-0660 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-0661 c17f8000 rtneq state_24g_pairing_success 
-0662 c0088666 beq state_24g_pairing_1_waiting_ack ,g24_pairing_sm_1_waiting_ack 
-0663 c0090668 beq state_24g_pairing_2_waiting_ack ,g24_pairing_sm_2_waiting_ack 
-0664 c009866a beq state_24g_pairing_3_waiting_ack ,g24_pairing_sm_3_waiting_ack 
-0665 20600000 rtn 
+0664 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+0665 c17f8000 rtneq state_24g_pairing_success 
+0666 c008866a beq state_24g_pairing_1_waiting_ack ,g24_pairing_sm_1_waiting_ack 
+0667 c009066c beq state_24g_pairing_2_waiting_ack ,g24_pairing_sm_2_waiting_ack 
+0668 c009866e beq state_24g_pairing_3_waiting_ack ,g24_pairing_sm_3_waiting_ack 
+0669 20600000 rtn 
 
 g24_pairing_sm_1_waiting_ack:
-0666 70493802 jam state_24g_pairing_2 ,mem_new_24g_pairing_sm 
-0667 20200516 branch g24_transmit_abandon 
+066a 70493802 jam state_24g_pairing_2 ,mem_new_24g_pairing_sm 
+066b 2020051a branch g24_transmit_abandon 
 
 g24_pairing_sm_2_waiting_ack:
-0668 70493803 jam state_24g_pairing_3 ,mem_new_24g_pairing_sm 
-0669 20200516 branch g24_transmit_abandon 
+066c 70493803 jam state_24g_pairing_3 ,mem_new_24g_pairing_sm 
+066d 2020051a branch g24_transmit_abandon 
 
 g24_pairing_sm_3_waiting_ack:
-066a 704938ff jam state_24g_pairing_success ,mem_new_24g_pairing_sm 
-066b 70489639 jam bt_evt_24g_pairing_complete ,mem_ipc_tx_evt 
-066c 204002c6 call p_ipc_tx_evt 
-066d 68024908 fetch 4 ,mem_new_24g_rxpayload + 2 
-066e 2040039c call g24_update_addr_and_synccrc8 
-066f 20200516 branch g24_transmit_abandon 
+066e 704938ff jam state_24g_pairing_success ,mem_new_24g_pairing_sm 
+066f 70489639 jam bt_evt_24g_pairing_complete ,mem_ipc_tx_evt 
+0670 204002ca call p_ipc_tx_evt 
+0671 68024908 fetch 4 ,mem_new_24g_rxpayload + 2 
+0672 204003a0 call g24_update_addr_and_synccrc8 
+0673 2020051a branch g24_transmit_abandon 
 
 g24_start_24g_mode:
-0670 793f8026 set0 mark_24g ,mark 
-0671 2040039e call g24_ch 
-0672 68024950 fetch 4 ,mem_new_24g_addr 
-0673 2040045e call g24_syncword_crc8 
-0674 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
-0675 c1ff8000 rtnne state_24g_pairing_success 
-0676 20400686 call g24_tx_attemp_data_prep 
+0674 793f8026 set0 mark_24g ,mark 
+0675 204003a2 call g24_ch 
+0676 68024950 fetch 4 ,mem_new_24g_addr 
+0677 20400462 call g24_syncword_crc8 
+0678 6800c938 fetch 1 ,mem_new_24g_pairing_sm 
+0679 c1ff8000 rtnne state_24g_pairing_success 
+067a 2040068a call g24_tx_attemp_data_prep 
 
 g24_tx_attemp_dongle:
-0677 58000000 setarg 0 
-0678 60014956 store 2 ,mem_new_24g_check_dongle_times 
+067b 58000000 setarg 0 
+067c 60014956 store 2 ,mem_new_24g_check_dongle_times 
 
 g24_tx_attemp_dongle_loop:
-0679 200007d0 nop 2000 
-067a 6800c956 fetch 1 ,mem_new_24g_check_dongle_times 
-067b c07f854a beq 0xff ,g24_stop_24g_mode 
-067c 2040051e call g24_transmit_receive_ack 
-067d 242c0690 nbranch g24_attemp_txdata_retry ,sync 
-067e 24378690 nbranch g24_attemp_txdata_retry ,user3 
+067d 200007d0 nop 2000 
+067e 6800c956 fetch 1 ,mem_new_24g_check_dongle_times 
+067f c07f854e beq 0xff ,g24_stop_24g_mode 
+0680 20400522 call g24_transmit_receive_ack 
+0681 242c0694 nbranch g24_attemp_txdata_retry ,sync 
+0682 24378694 nbranch g24_attemp_txdata_retry ,user3 
 
 g24_tx_attemp_dongle_succ:
-067f 70413101 jam 1 ,mem_lpm_mode 
-0680 79200026 set1 mark_24g ,mark 
-0681 58000000 setarg 0 
-0682 60014956 store 2 ,mem_new_24g_check_dongle_times 
-0683 7009bd3a jam bt_evt_24g_attempt_success ,mem_fifo_temp 
-0684 20407d86 call ui_ipc_send_event 
-0685 20207e0d branch check_51cmd_stop_adv 
+0683 70413101 jam 1 ,mem_lpm_mode 
+0684 79200026 set1 mark_24g ,mark 
+0685 58000000 setarg 0 
+0686 60014956 store 2 ,mem_new_24g_check_dongle_times 
+0687 7009bd3a jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0688 20407d86 call ui_ipc_send_event 
+0689 20207e0d branch check_51cmd_stop_adv 
 
 g24_tx_attemp_data_prep:
-0686 79200027 set1 mark_24g_conext ,mark 
-0687 704990ff jam 0xff ,mem_new_24g_common_temp 
-0688 6800c929 fetch 1 ,mem_new_24g_data_type 
-0689 6000c991 store 1 ,mem_new_24g_common_temp + 1 
-068a 68024960 fetch 4 ,mem_new_24g_device_addr 
-068b 60024992 store 4 ,mem_new_24g_common_temp + 2 
-068c d8400006 arg 6 ,temp 
-068d da204990 arg mem_new_24g_common_temp ,rega 
-068e 20400458 call g24_put_data_in_buff 
-068f 2020046b branch g24_transmit_prep 
+068a 79200027 set1 mark_24g_conext ,mark 
+068b 704990ff jam 0xff ,mem_new_24g_common_temp 
+068c 6800c929 fetch 1 ,mem_new_24g_data_type 
+068d 6000c991 store 1 ,mem_new_24g_common_temp + 1 
+068e 68024960 fetch 4 ,mem_new_24g_device_addr 
+068f 60024992 store 4 ,mem_new_24g_common_temp + 2 
+0690 d8400006 arg 6 ,temp 
+0691 da204990 arg mem_new_24g_common_temp ,rega 
+0692 2040045c call g24_put_data_in_buff 
+0693 2020046f branch g24_transmit_prep 
 
 g24_attemp_txdata_retry:
-0690 68014956 fetch 2 ,mem_new_24g_check_dongle_times 
-0691 1fe0fe01 increase 1 ,pdata 
-0692 60014956 store 2 ,mem_new_24g_check_dongle_times 
-0693 2040039e call g24_ch 
-0694 20200679 branch g24_tx_attemp_dongle_loop 
+0694 68014956 fetch 2 ,mem_new_24g_check_dongle_times 
+0695 1fe0fe01 increase 1 ,pdata 
+0696 60014956 store 2 ,mem_new_24g_check_dongle_times 
+0697 204003a2 call g24_ch 
+0698 2020067d branch g24_tx_attemp_dongle_loop 
 org 0x3000
 
 start:
Index: btms/program/patch.prog
===================================================================
--- /branch/mouse/ShangGui/btms/program/patch.prog	(revision 429)
+++ /branch/mouse/ShangGui/btms/program/patch.prog	(working copy)
@@ -66,7 +66,8 @@
 	beq patch2b_6,p_process_conn_sm
 	beq patch35_6,p_scheduler_process0
 	beq patch39_0,p_ask_serviceclassid
-endif	
+endif
+	beq patch30_2,p_iicd_read_eep
 	beq patch32_5,p_gpio_set_before_lpm_common
 	beq patch3e_3,p_ui_timer_check_end
 	beq patch3e_7,p_check_51cmd_once
@@ -76,6 +77,7 @@
 
 p_soft_reset:
 	clear_stack
+	jam 0,mem_patch30
 	nbranch soft_reset+3,wake
 	fetch 1,mem_le_switch_send_data
 	nbranch p_soft_reset_start_51,blank
@@ -1097,6 +1099,10 @@
 	branch loopornot+2
 endif
 
+p_iicd_read_eep:
+	bmark1 mark_eeprom_size,iicd_read_eep_size_2k_lcadcode
+	branch iicd_read_eep+4
+
 p_gpio_set_before_lpm_common:
 	hfetch 4,core_gpio_pu0
 	hfetcht 4,core_gpio_pd0
Index: btms/sched/patch.dat
===================================================================
--- /branch/mouse/ShangGui/btms/sched/patch.dat	(revision 429)
+++ /branch/mouse/ShangGui/btms/sched/patch.dat	(working copy)
@@ -1,3 +1,4 @@
+mem_patch30:04 #must be the fisrt row
 mem_patch00:09
 mem_patch10:40
 mem_patch11:0c
Index: c51/patch/patch.dat
===================================================================
--- /branch/mouse/ShangGui/c51/patch/patch.dat	(revision 429)
+++ /branch/mouse/ShangGui/c51/patch/patch.dat	(working copy)
@@ -1,3 +1,4 @@
+mem_patch30:04 #must be the fisrt row
 mem_patch00:09
 mem_patch10:40
 mem_patch11:0c
Index: c51/patch/ramcode.rom
===================================================================
--- /branch/mouse/ShangGui/c51/patch/ramcode.rom	(revision 429)
+++ /branch/mouse/ShangGui/c51/patch/ramcode.rom	(working copy)
@@ -1,43 +1,45 @@
 c512800f
-c0000024
-c001802f
-c0430035
-c045003f
-c0458061
-c053806d
-c0540074
-c0548088
-c056009b
-c05a0320
-c05a80b4
-c05b00bb
-c05b80db
+c0000025
+c0018031
+c0430037
+c0450041
+c0458063
+c053806f
+c0540076
+c054808a
+c056009d
+c05a0324
+c05a80b6
+c05b00bd
+c05b80dd
 20203b34
-c0028115
-c00b011a
-c00d811e
-c0118121
-c0178145
-c018815a
-c019016c
-c019817f
-c01c8190
-c01e019d
-c01e81b0
-c01f01b6
-c01f81c5
-c02101e3
-c02681e8
-c04a8202
-c0798209
-c07b8215
-c07c024a
-c07c8250
+c0028117
+c00b011c
+c00d8120
+c0118123
+c0178147
+c018815c
+c019016e
+c0198181
+c01c8192
+c01e019f
+c01e81b2
+c01f01b8
+c01f81c7
+c02101e5
+c02681ea
+c0410204
+c04a8206
+c079820d
+c07b8219
+c07c024e
+c07c8254
 20203b34
 20800000
+70403000
 2435b004
 6800c595
-243a002d
+243a002f
 6800ce78
 203a3004
 704e7f00
@@ -45,11 +47,11 @@
 2435b004
 70828003
 20203004
-2040025a
-20400408
-20400298
+2040025e
+2040040c
+2040029c
 6800ce78
-243a034e
+243a0352
 2020301b
 2030b9a3
 708955d4
@@ -78,14 +80,14 @@
 2000000a
 7089027f
 6800c280
-c00a005e
-c2808058
-c2810058
+c00a0060
+c280805a
+c281005a
 70894c5b
 70894d96
 70894e2c
 70894f46
-2020005c
+2020005e
 70894cfb
 70894def
 70894eec
@@ -135,9 +137,9 @@
 207a0000
 20203c5e
 6800c595
-203a0095
+203a0097
 6800809f
-243a0095
+243a0097
 6800ce83
 6808ce84
 98467c00
@@ -147,28 +149,28 @@
 58000000
 600400a0
 20203c6a
-204000a0
+204000a2
 24740000
 68008b2b
 247a0000
 7049c100
 20203c6a
-204000a0
+204000a2
 24740000
 68008b2b
 247a0000
 20203c8c
-204000ab
+204000ad
 24740000
-204000a8
+204000aa
 24740000
 700b2b01
 700b2a01
-204000b0
-202000ab
+204000b2
+202000ad
 6801482c
 6809482e
-202000ad
+202000af
 680147c4
 680947c6
 98467c00
@@ -176,7 +178,7 @@
 202031d4
 68008b2a
 2000000a
-c08000b0
+c08000b2
 20600000
 70001627
 70015000
@@ -189,12 +191,12 @@
 20407f95
 207a0000
 1fe22600
-204000c1
+204000c3
 20203d9b
 c10c0000
-c00a00c6
-c00a80ce
-c01480d9
+c00a00c8
+c00a80d0
+c01480db
 20203d73
 704e8300
 70421200
@@ -205,7 +207,7 @@
 20403e7f
 20203dc2
 704ea400
-204002df
+204002e3
 7044b200
 70421200
 704ea600
@@ -215,7 +217,7 @@
 600944f8
 204052a0
 20203dc6
-20400103
+20400105
 20207e3b
 6008824e
 6800c89c
@@ -225,19 +227,19 @@
 207a0000
 1fe0ffff
 6000824e
-20400106
-204000e9
-2040010f
-204000f5
-204000fc
-202000df
+20400108
+204000eb
+20400111
+204000f7
+204000fe
+202000e1
 6800cea6
 207a0000
 6800c212
 2fe1fe20
-244080f3
+244080f5
 6800c131
-205a00f1
+205a00f3
 20600000
 70413101
 20600000
@@ -278,11 +280,11 @@
 20404968
 20404b51
 20404bd8
-204005ea
+204005ee
 20204945
 20403a50
 1fe22200
-20400628
+2040062c
 20204a3d
 68024e48
 60024596
@@ -324,13 +326,13 @@
 60014561
 20600000
 68008379
-c2828156
-204005dc
+c2828158
+204005e0
 704e6200
 6800ce20
-243a0150
+243a0152
 6800cea5
-c0008154
+c0008156
 68008303
 203a4bde
 20204f87
@@ -343,16 +345,16 @@
 6800ce62
 1fe0fe01
 6000ce62
-202005e0
+202005e4
 6800c467
-c003015e
-c0010165
+c0030160
+c0010167
 20204bfb
 6800ce53
-c0008162
+c0008164
 20403e6d
 20204c86
-20400103
+20400105
 704e5203
 20204c90
 58000013
@@ -363,9 +365,9 @@
 60014561
 20600000
 6800c46b
-c0010173
-c003017a
-c0038171
+c0010175
+c003017c
+c0038173
 20204c18
 704ea500
 20204d17
@@ -382,8 +384,8 @@
 20404bd6
 20204d01
 6800c46b
-c00d8183
-c00e8183
+c00d8185
+c00e8185
 20204c2b
 68094e4e
 6009446c
@@ -400,22 +402,22 @@
 20204f89
 6008c466
 28200602
-24208195
+24208197
 1840fffc
 60014467
 68088379
-20400198
+2040019a
 20204f92
 6800cea5
-c000819b
+c000819d
 20204bd0
 58000000
 20600000
 1a627e00
-c00001a3
-c00101a6
-c00181aa
-c00501ae
+c00001a5
+c00101a8
+c00181ac
+c00501b0
 20204fb9
 70413100
 704e513c
@@ -431,17 +433,17 @@
 7009bd2b
 20204bd6
 e8c08000
-c00081b3
+c00081b5
 20204ffe
 704ea501
 704e2003
 20205069
 e8c18000
 6001839a
-c00901ba
+c00901bc
 20205011
 70413101
-204001c0
+204001c2
 20405125
 24628000
 7009bd13
@@ -461,13 +463,13 @@
 20404b1e
 204049d4
 20404a8a
-243681d7
+243681d9
 68008003
 1fe0fe01
 60008003
 68008302
 1fe17e0f
-c00181e1
+c00181e3
 c002d1af
 68008016
 c093d17d
@@ -477,18 +479,18 @@
 1fe0fefa
 1fe0ffff
 20000026
-243a01dd
+243a01df
 20205196
 20404ac5
-202001d7
+202001d9
 68024596
 d840ea60
 9840fe00
 60024596
 202051a9
 7855fc00
-203701eb
-243681fa
+203701ed
+243681fc
 20403cb7
 68014161
 60010370
@@ -512,6 +514,8 @@
 9840fe00
 60010370
 20203cc3
+c515623d
+20206250
 68120078
 681a007c
 9841fe00
@@ -538,22 +542,22 @@
 20407d84
 18427e00
 207a0000
-c0118222
-c0120226
-c012822a
-c006822c
-c0138239
+c0118226
+c012022a
+c012822e
+c0068230
+c013823d
 20207db3
 6800c9c3
 6000c280
 704938ff
-20200670
+20200674
 6800c9c3
 6000c280
 793f8026
 2020497d
 70428014
-20200641
+20200645
 793f8026
 70413100
 180a7e00
@@ -563,7 +567,7 @@
 600944f8
 204052a0
 da400005
-20400243
+20400247
 1a427e00
 e0c08000
 20207e07
@@ -576,22 +580,22 @@
 58000001
 e0a08000
 da400004
-20200235
+20200239
 da204401
 ea208000
 207a0000
 98c0a200
 e8c08000
 c1008000
-20200244
+20200248
 204058c5
 243a7de5
 680089bd
 c584fde0
-c00f8270
+c00f8274
 20207dd0
 700b2a03
-204000b0
+204000b2
 704e455a
 20403cfc
 68120138
@@ -618,10 +622,10 @@
 1ff0fe00
 1fe17e03
 c1800000
-2040028e
+20400292
 24760000
 6800c2cf
-c2810271
+c2810275
 20600000
 68108078
 793ffe05
@@ -629,7 +633,7 @@
 7089718f
 6800c2d0
 60108973
-2040027c
+20400280
 68108078
 79207e05
 60108078
@@ -654,53 +658,53 @@
 20600000
 78567c00
 20404bd0
-205a028c
+205a0290
 6800c954
-245a028c
+245a0290
 20600000
 704ea301
-20400298
+2040029c
 704ea300
 20600000
-204000ab
+204000ad
 20740000
 1ff0fe00
 1fe20c00
-204002be
+204002c2
 6000c897
-c00082a9
-c00302da
+c00082ad
+c00302de
 1fe20400
 18c22200
 6800c040
-c30002b3
+c30002b7
 1a220c00
 c6848000
 18427e00
-c00282f1
+c00282f5
 20203b31
-204002be
-204002be
+204002c2
+204002c2
 600089bd
-204002ae
+204002b2
 20207d90
-204002c1
+204002c5
 18c20400
 18508400
 600947c4
 20600000
 1a220c00
 d8a000f5
-202002b6
-204002be
+202002ba
+204002c2
 1fe27200
-204002ba
-202002ae
 204002be
+202002b2
+204002c2
 e0a08000
-c20002ba
+c20002be
 20600000
-204002c1
+204002c5
 e8c08000
 20600000
 580047c4
@@ -717,8 +721,8 @@
 1a220c00
 e8c08000
 e0a08000
-204002d5
-c20002cd
+204002d9
+c20002d1
 18a27e00
 1ff0fe00
 6001482e
@@ -729,28 +733,28 @@
 d8a047c8
 20600000
 c6938000
-204002be
+204002c2
 1fe27200
 6000c970
-202002b8
+202002bc
 58000000
 6001ce85
 20600000
 c6130000
 6800c595
 207a0000
-204000ab
+204000ad
 20740000
 1ff0fe00
 1fe20c00
-204002be
+204002c2
 6000c897
 18c22200
-c08282b3
+c08282b7
 18c22400
 20404bd4
 247a0000
-202002f6
+202002fa
 18c22400
 6800cea3
 207a0000
@@ -772,10 +776,10 @@
 d8a04e87
 98a08a00
 1a420c00
-204002be
+204002c2
 1fe27200
-204002b8
-2040030d
+204002bc
+20400311
 20760000
 7009bd1b
 20204bd6
@@ -788,7 +792,7 @@
 1fe67c01
 24610000
 70489640
-202002c6
+202002ca
 5800472e
 1ff0fe00
 600147c4
@@ -802,41 +806,41 @@
 700b2a00
 70016c06
 20403e7f
-58000393
+58000397
 60014296
-58000294
+58000298
 60014290
-5800038c
+58000390
 6001428c
-24558317
-20558354
+2455831b
+20558358
 20403d3e
 6800ce45
-c02d0368
-20358366
+c02d036c
+2035836a
 6800c280
 6000c9c3
-204005d9
+204005dd
 68014e41
 1ff0fe00
 60014e41
 68014e43
 1ff0fe00
 60014e43
-20400373
-204003ad
+20400377
+204003b1
 680409c6
-243a0341
+243a0345
 68014ad4
 1ff0fe00
-203a0341
+203a0345
 60014e43
 7048962f
 6800ce78
-243a0349
-2040026e
-204002c6
-204002e2
+243a034d
+20400272
+204002ca
+204002e6
 70828003
 20600000
 2055bc29
@@ -848,19 +852,19 @@
 c3858000
 c3830000
 20403d60
-204004c5
-2020034e
+204004c9
+20200352
 1ce27e00
-c593035e
-203a0359
+c5930362
+203a035d
 7049b9bb
 20600000
 7049b900
 6800c9b7
 207a0000
 7049b700
-20200357
-203a0361
+2020035b
+203a0365
 7049c102
 20600000
 6800c9c2
@@ -869,9 +873,9 @@
 7049c101
 20600000
 7048963c
-20200342
+20200346
 1ce27e00
-203a0252
+203a0256
 2040530d
 204042eb
 58000000
@@ -880,7 +884,7 @@
 60014898
 6001489a
 7048963d
-20200342
+20200346
 204062c4
 580007e2
 da2009c6
@@ -890,7 +894,7 @@
 680409c6
 207a0000
 6800c2cf
-c281037e
+c2810382
 20600000
 680909c6
 680109cc
@@ -918,14 +922,14 @@
 c1280000
 1a627e00
 6000c896
-202002c6
+202002ca
 70492700
 7049324e
 68024934
 60024950
-2020045e
+20200462
 6808c933
-204003a4
+204003a8
 18408401
 18410403
 6008c933
@@ -960,53 +964,53 @@
 793ffe04
 6000c929
 20600000
-204005e0
+204005e4
 6800c9b4
-c00083c7
-c00103cb
+c00083cb
+c00103cf
 20600000
 7049b202
 7049b300
 7049b000
-202003b5
+202003b9
 7049b100
-202003c8
+202003cc
 6801492e
 1fe0fe01
 6001492e
-c2850545
+c2850549
 6800c9b1
-c00083d6
+c00083da
 7049b101
 6800c9b1
-c08083b5
+c08083b9
 6800c9b5
 1fe0fe01
 6000c9b5
-c00203dd
-2040039e
+c00203e1
+204003a2
 70496e02
-20200506
-204005e0
+2020050a
+204005e4
 7049b500
-202003b5
+202003b9
 7049b202
 7049b001
 7049b100
-202003b5
+202003b9
 6800c9b4
-c00183e1
+c00183e5
 6800c929
 2fec0004
-202083b3
+202083b7
 6800c9b4
-c00083e0
-c00103e1
+c00083e4
+c00103e5
 20600000
 6800c938
 c1ff8000
-204003f2
-245603fa
+204003f6
+245603fe
 20600000
 78567c00
 6800c9b0
@@ -1015,19 +1019,19 @@
 c1800000
 7049b401
 70496e04
-2020028c
+20200290
 6800c9b2
-203a0402
+203a0406
 1fe0ffff
 6000c9b2
 7049b402
-2040039e
+204003a2
 70496e04
 20600000
 7049b403
 6800c9b1
-243a03d4
-2040039e
+243a03d8
+204003a2
 70496e02
 20600000
 c6930000
@@ -1035,24 +1039,24 @@
 680a4949
 1c427e00
 98467c00
-24410421
+24410425
 1fe22400
 68024949
 6808c94d
 98408400
 1a427e00
 98467c00
-2421041f
+24210423
 793ffe1c
 60024949
-20400424
-20400431
-2034048e
-204003ed
-20400506
+20400428
+20400435
+20340492
+204003f1
+2040050a
 6800c938
 1fe67cff
-204285ea
+204285ee
 793f8027
 20600000
 20628000
@@ -1061,8 +1065,8 @@
 6800c964
 1fe0fe01
 6000c964
-c002042a
-c002842d
+c002042e
+c0028431
 20600000
 6800c94f
 6000c94d
@@ -1072,19 +1076,19 @@
 6000c94d
 20600000
 6800c938
-c0ff8645
-20400298
-20340445
+c0ff8649
+2040029c
+20340449
 6800c897
 c08364c0
 6800c9c0
-c000843b
+c000843f
 6800ce80
-205a04ab
+205a04af
 6800ce80
-245a0441
-2040044a
-2040046b
+245a0445
+2040044e
+2040046f
 70492d01
 20600000
 704e7900
@@ -1092,7 +1096,7 @@
 7049ba0a
 20600000
 6800ce78
-243a044a
+243a044e
 6800c92d
 c000b1d4
 20600000
@@ -1102,7 +1106,7 @@
 1fe22200
 da404971
 70495400
-204003b5
+204003b9
 6000c990
 1a208401
 d8a04991
@@ -1121,7 +1125,7 @@
 d8c04950
 e8c08000
 9a20a200
-c2000461
+c2000465
 1a227e00
 600149bb
 6800c9bb
@@ -1149,7 +1153,7 @@
 20207ecd
 70495401
 7049b100
-204003b5
+204003b9
 6000c990
 58000000
 6003c991
@@ -1157,21 +1161,21 @@
 60024998
 d840000c
 da204990
-20400458
+2040045c
 6800c929
 79207e03
 6000c929
-2040046b
-2040043f
-2020041b
+2040046f
+20400443
+2020041f
 6800ce78
-203a0492
-204004be
-202004df
+203a0496
+204004c2
+202004e3
 6800c9c0
 c1008000
 6800c954
-203a047d
+203a0481
 6808c9b8
 18408401
 6008c9b8
@@ -1179,7 +1183,7 @@
 98467c00
 20610000
 7049b800
-204000a0
+204000a2
 24740000
 68008b2b
 247a0000
@@ -1195,7 +1199,7 @@
 20203c11
 6800c2b8
 2fec0002
-202084b5
+202084b9
 6800ce79
 c1028000
 1fe0fe01
@@ -1211,7 +1215,7 @@
 6800c2b8
 79207e02
 6000c2b8
-202004b3
+202004b7
 6800ce79
 207a0000
 1fe0ffff
@@ -1220,20 +1224,20 @@
 704e7800
 20600000
 79200027
-20400298
-203404ca
+2040029c
+203404ce
 6800c897
-c00304db
+c00304df
 6800ce7d
-c00084d1
-c001048e
-c00184cf
+c00084d5
+c0010492
+c00184d3
 20600000
 704e7900
 704e7800
 6800c9c0
-c0008503
-204004ab
+c0008507
+204004af
 704e7d00
 df200007
 1f227e00
@@ -1241,20 +1245,20 @@
 d8c04e21
 20407ecd
 78547c00
-20400437
-204003ed
-20400506
-204005ea
+2040043b
+204003f1
+2040050a
+204005ee
 20403be2
 6801c20f
 207a0000
 6800c131
 207a0000
 6800ce80
-c00084e8
+c00084ec
 58000000
 600400a0
-204004f8
+204004fc
 d9600d00
 34730200
 6809ce7a
@@ -1274,7 +1278,7 @@
 60024e74
 6800ce7e
 1fe0fe01
-c08284fe
+c0828502
 58000000
 6000ce7e
 c4000000
@@ -1283,78 +1287,78 @@
 20600000
 704e7900
 704e7800
-202004df
+202004e3
 70493100
 d9600d00
 34730200
-2040051e
+20400522
 6800c965
 c1008000
-242c052d
-2437852d
-2040054c
-204005dc
+242c0531
+24378531
+20400550
+204005e0
 6800c927
 1fe0fe01
 6000c927
 6800c938
-c0ff851c
-204003e4
+c0ff8520
+204003e8
 58000000
 6001492e
 6000c930
 6000c9b3
 70492d00
 20600000
-204005d9
-20200660
+204005dd
+20200664
 7857fc00
-2040056c
+20400570
 6800c965
-c000852b
+c000852f
 18002a00
 68024950
 98001200
 68088017
 204039b9
 204039bf
-20400596
-205785d5
+2040059a
+205785d9
 20600000
-204005d5
-20200510
+204005d9
+20200514
 6800c930
 1fe0fe01
 6000c930
 6800c938
-c0ff8541
+c0ff8545
 6808c931
 18408401
 6008c931
 6800c96e
 98467e00
-243a0507
+243a050b
 6800c9b4
-c00183cd
+c00183d1
 6800c9b3
 1fe0fe01
 6000c9b3
-c00103c2
-204003b9
+c00103c6
+204003bd
 70496e01
-20200506
+2020050a
 6800c930
 c1ff8000
 70493000
-2020054a
+2020054e
 58000000
 6001492e
 70413100
 704e7900
 704e7800
 7048963b
-202002c6
-20400553
+202002ca
+20400557
 6800c926
 207a0000
 98007200
@@ -1389,8 +1393,8 @@
 20404976
 68024950
 98001200
-20400560
-20400569
+20400564
+2040056d
 79202a00
 782efc00
 78307c00
@@ -1410,7 +1414,7 @@
 d8c048e4
 e8c08000
 08008608
-c2000582
+c2000586
 78247c00
 08008618
 78447c00
@@ -1428,7 +1432,7 @@
 58000500
 20403b35
 204039bf
-20400560
+20400564
 7857fc00
 7826fc00
 7830fc00
@@ -1437,7 +1441,7 @@
 6801492b
 98003600
 37c18400
-242c05d8
+242c05dc
 7846fc00
 7825fc00
 7823fc00
@@ -1445,30 +1449,30 @@
 09800008
 19897e00
 6000c9be
-2040045e
+20400462
 6808c9be
 98467c00
-242285d5
+242285d9
 09800008
 19897e00
 6000c8a2
 6800c96f
 1fe67c02
-202285b5
+202285b9
 6800c8a2
 6808c929
 a8400e00
-242085d5
+242085d9
 09800008
 19897e00
 e0a08000
 1fe97e00
 1fe1721f
-202285bf
+202285c3
 09800008
 19897e00
 e0a08000
-c20005bb
+c20005bf
 18a22200
 09800008
 19897e00
@@ -1481,7 +1485,7 @@
 1ff17e00
 e0a18000
 7845fc00
-202305d5
+202305d9
 7837fc00
 68008017
 1fe0a200
@@ -1490,11 +1494,11 @@
 204039b1
 6800c9cf
 1fe22200
-20200628
+2020062c
 784dfc00
 7845fc00
 202036c6
-202005d5
+202005d9
 7049c401
 7049c500
 20600000
@@ -1504,7 +1508,7 @@
 20600000
 6800c9c5
 1fe67c01
-244105e8
+244105ec
 6800c9c5
 c1000000
 1fe0ffff
@@ -1513,18 +1517,18 @@
 7049c502
 20600000
 da2049c6
-20400631
+20400635
 6008c9d0
 280ffe26
-204085f8
-244085fc
+204085fc
+24408600
 98467c00
-24210615
+24210619
 6800c9c5
 1fe67c01
-24210600
+24210604
 6800c9c5
-c0000615
+c0000619
 20600000
 58000082
 20600000
@@ -1539,15 +1543,15 @@
 7049c500
 6808c9d0
 280ffe26
-204085fa
-244085fe
+204085fe
+24408602
 98467c00
 24610000
 6800c9c4
-c0000621
+c0000625
 1fe0ffff
 6000c9c4
-c0000621
+c0000625
 708955d0
 708956e0
 7089574c
@@ -1556,10 +1560,10 @@
 70428001
 20600000
 6800c9c4
-c001061a
+c001061e
 1fe0fe01
 6000c9c4
-c000860e
+c0008612
 708955d0
 708956e0
 7089574c
@@ -1588,7 +1592,7 @@
 1a220c00
 e8c08000
 98408400
-c2000634
+c2000638
 18497e00
 1fe20400
 c6930000
@@ -1600,22 +1604,22 @@
 98418400
 20600000
 79200026
-20400399
+2040039d
 70493801
 20600000
 6800c92d
 c000b1d4
 6800c938
-c000864c
-c001064f
-c0018652
+c0008650
+c0010653
+c0018656
 20203b31
 70493811
 704990aa
-20200654
+20200658
 70493812
 70499055
-20200654
+20200658
 70493813
 70499022
 6800c929
@@ -1626,41 +1630,41 @@
 70499600
 da204990
 d8400007
-20400458
-2040046b
-2040043f
+2040045c
+2040046f
+20400443
 202031d4
 6800c938
 c17f8000
-c0088666
-c0090668
-c009866a
+c008866a
+c009066c
+c009866e
 20600000
 70493802
-20200516
+2020051a
 70493803
-20200516
+2020051a
 704938ff
 70489639
-204002c6
+204002ca
 68024908
-2040039c
-20200516
+204003a0
+2020051a
 793f8026
-2040039e
+204003a2
 68024950
-2040045e
+20400462
 6800c938
 c1ff8000
-20400686
+2040068a
 58000000
 60014956
 200007d0
 6800c956
-c07f854a
-2040051e
-242c0690
-24378690
+c07f854e
+20400522
+242c0694
+24378694
 70413101
 79200026
 58000000
@@ -1676,10 +1680,10 @@
 60024992
 d8400006
 da204990
-20400458
-2020046b
+2040045c
+2020046f
 68014956
 1fe0fe01
 60014956
-2040039e
-20200679
+204003a2
+2020067d
Index: c51/patch/sched.rom
===================================================================
--- /branch/mouse/ShangGui/c51/patch/sched.rom	(revision 429)
+++ /branch/mouse/ShangGui/c51/patch/sched.rom	(working copy)
@@ -1,3 +1,4 @@
+mem_patch30:04 #must be the fisrt row
 mem_patch00:09
 mem_patch10:40
 mem_patch11:0c
