Index: format/app_mouse.format
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/format/app_mouse.format	(revision 1304)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/format/app_mouse.format	(working copy)
@@ -700,4 +700,61 @@
 
 
 
+//FCC
+memalloc mouse_fcc(
+0 mem_fcc_mode_start
+0 mem_fcc_param_new	
+1 mem_fcc_ch_new
+1 mem_fcc_mod_new
+1 mem_fcc_txrx_new
+1 mem_fcc_btble_new
+1 mem_fcc_data_new
+1 mem_fcc_data_length_new
+1 mem_fcc_hop_new
+
+0 mem_fcc_param
+1 mem_fcc_ch
+1 mem_fcc_mod
+1 mem_fcc_txrx
+1 mem_fcc_btble
+1 mem_fcc_data
+1 mem_fcc_data_length
+1 mem_fcc_hop
+
+1 mem_fcc_ch_switch
+1 mem_fcc_ch_switch_inc_en
+1 mem_fcc_ch_switch_dec_en
+1 mem_fcc_mode_switch
+1 mem_fcc_lkey_press
+1 mem_fcc_rkey_press
+1 mem_fcc_mkey_press
+
+1 mem_fcc_scan_mode_mkey_press
+1022 mem_pn9
+0 mem_fcc_mode_end
+)
+
+(
+1 FCC_STEP1_SCAN_MODE
+2 FCC_STEP2_MOD_TX_2408
+3 FCC_STEP3_MOD_TX_2440
+4 FCC_STEP4_MOD_TX_2474
+5 FCC_STEP5_MOD_RX_2408
+6 FCC_STEP6_MOD_RX_2440
+7 FCC_STEP7_MOD_RX_2474
+8 FCC_STEP8_NON_MOD_TX_2408
+9 FCC_STEP9_NON_MOD_TX_2440
+10 FCC_STEP10_NON_MOD_TX_2474
+11 FCC_STEP11_NON_MOD_RX_2408
+12 FCC_STEP12_NON_MOD_RX_2440
+13 FCC_STEP13_NON_MOD_RX_2474
+14 FCC_STEP14_NON_MOD_TX_2408
+15 FCC_STEP15_NON_MOD_TX_2440
+16 FCC_STEP16_NON_MOD_TX_2474
+17 FCC_STEP17_NON_MOD_RX_2408
+18 FCC_STEP18_NON_MOD_RX_2440
+19 FCC_STEP19_NON_MOD_RX_2474
+20 FCC_STEP_MAX
+)
+
 
Index: format/regs.format
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/format/regs.format	(revision 1304)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/format/regs.format	(working copy)
@@ -159,6 +159,7 @@
 	0x828a core_docd_pdata
 
 	0x8900 modem_en
+	0x890d core_tx_test_mode	
 	0x8938 mod_value_scale1
 	0x8960 core_rf_rx_agc_ctrl
 	0x8961 core_rf_rx_gain_fix
Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/eeprom.dat	(revision 1304)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/eeprom.dat	(working copy)
@@ -2,8 +2,8 @@
 02
 aa
 55
-0e
-17
+06
+15
 c2
 84
 00
@@ -23,83 +23,83 @@
 c0
 45
 80
-82
+78
 c0
 4f
 80
-8f
+85
 c0
 57
 00
-91
+87
 c0
 58
 00
-76
+6c
 c0
 61
 82
-64
+58
 c0
 63
 81
-60
+55
 c0
 64
 01
-66
+5b
 c0
 64
 81
-69
+5e
 c0
 65
 01
-9d
+92
 c0
 66
 00
-72
+68
 c0
 67
 03
-4a
+3e
 c0
 67
 84
-2d
+21
 c0
 68
 02
-73
+67
 c0
 68
 83
-7d
+71
 c0
 6a
 03
-5b
+4f
 c0
 6b
 01
-c8
+bd
 c0
 6c
 82
-84
+78
 c0
 6d
 02
-ef
+e3
 c0
 6f
 03
-f0
+e4
 c0
 74
 02
-fc
+f0
 20
 20
 13
@@ -107,43 +107,43 @@
 c0
 19
 80
-52
+48
 c0
 1a
 00
-57
+4d
 c0
 43
 82
-f8
+ec
 c0
 50
 83
-10
+04
 c0
 60
 03
-1a
+0e
 c0
 6e
 82
-53
+48
 c0
 71
 02
-19
+0e
 c0
 74
 82
-21
+16
 c0
 75
 01
-29
+1f
 c0
 76
 03
-41
+35
 20
 20
 13
@@ -292,46 +292,6 @@
 20
 11
 7d
-20
-40
-5b
-94
-20
-40
-04
-9d
-20
-34
-00
-4c
-20
-60
-00
-00
-da
-60
-5d
-e2
-6f
-e1
-4b
-f3
-1f
-e0
-fe
-03
-1f
-f0
-fe
-00
-67
-e1
-02
-e4
-20
-20
-5b
-3f
 da
 20
 09
@@ -471,7 +431,7 @@
 20
 40
 00
-57
+4d
 20
 20
 3e
@@ -523,7 +483,7 @@
 20
 20
 00
-76
+6c
 70
 8a
 8b
@@ -587,11 +547,7 @@
 24
 55
 80
-48
-24
-55
-80
-a7
+9c
 20
 40
 6d
@@ -599,7 +555,7 @@
 20
 40
 00
-d2
+c7
 20
 40
 41
@@ -611,7 +567,7 @@
 20
 40
 00
-9e
+93
 20
 40
 40
@@ -627,11 +583,11 @@
 20
 40
 00
-e2
+da
 20
 40
 03
-6d
+61
 20
 20
 3b
@@ -639,7 +595,7 @@
 20
 20
 00
-a0
+95
 20
 60
 00
@@ -655,7 +611,7 @@
 c2
 83
 80
-a5
+9a
 70
 4c
 39
@@ -695,7 +651,7 @@
 24
 21
 00
-b9
+ae
 d8
 c0
 4c
@@ -747,7 +703,7 @@
 20
 40
 00
-cf
+c4
 6f
 e0
 cc
@@ -862,12 +818,24 @@
 1e
 20
 40
+41
+10
+1a
+21
+7e
+07
+c0
+03
+84
+3c
+20
+40
 3d
 13
 20
 40
 00
-dc
+d4
 6f
 e4
 4b
@@ -879,7 +847,7 @@
 20
 40
 00
-df
+d7
 20
 20
 3b
@@ -911,15 +879,15 @@
 58
 00
 00
-e7
+df
 67
 e1
 48
 9b
 58
 00
-01
-03
+00
+f9
 67
 e1
 48
@@ -932,14 +900,6 @@
 93
 00
 00
-6f
-e0
-cb
-f6
-24
-3a
-05
-56
 20
 40
 3f
@@ -955,7 +915,7 @@
 c3
 0a
 80
-f0
+e6
 6f
 e0
 cb
@@ -975,7 +935,7 @@
 c2
 80
 80
-ff
+f5
 68
 48
 c7
@@ -1107,7 +1067,7 @@
 24
 21
 01
-19
+0f
 20
 40
 25
@@ -1119,11 +1079,11 @@
 24
 2c
 01
-1f
+15
 24
 37
 81
-1f
+15
 20
 40
 48
@@ -1147,7 +1107,7 @@
 c0
 08
 01
-21
+17
 20
 60
 00
@@ -1159,7 +1119,7 @@
 20
 20
 01
-0f
+05
 70
 4b
 a3
@@ -1191,7 +1151,7 @@
 20
 20
 03
-6d
+61
 20
 40
 26
@@ -1199,11 +1159,11 @@
 24
 34
 01
-af
+a4
 20
 40
 01
-38
+2e
 20
 40
 26
@@ -1215,7 +1175,7 @@
 24
 3a
 01
-33
+29
 6f
 e4
 48
@@ -1279,23 +1239,19 @@
 24
 2c
 01
-51
+46
 24
 37
 81
-51
+46
 20
 40
 26
 72
 20
 40
-04
-5e
-20
-40
 01
-44
+39
 20
 20
 26
@@ -1307,7 +1263,7 @@
 24
 5a
 01
-48
+3d
 70
 4b
 e1
@@ -1387,11 +1343,11 @@
 20
 40
 01
-5b
+50
 20
 20
 01
-39
+2f
 6f
 e0
 c8
@@ -1427,11 +1383,11 @@
 20
 40
 03
-66
+5a
 20
 40
 03
-6d
+61
 20
 20
 3e
@@ -1459,7 +1415,7 @@
 20
 40
 02
-aa
+9e
 20
 40
 40
@@ -1519,15 +1475,15 @@
 20
 40
 01
-7d
+72
 20
 40
 01
-8a
+7f
 20
 20
 01
-91
+86
 6f
 e1
 cb
@@ -1575,7 +1531,7 @@
 c2
 00
 01
-81
+76
 20
 60
 00
@@ -1723,11 +1679,11 @@
 20
 40
 03
-6d
+61
 20
 20
 01
-b4
+a9
 6f
 e0
 c8
@@ -1735,7 +1691,7 @@
 20
 5a
 01
-ba
+af
 6f
 e0
 c8
@@ -1827,7 +1783,7 @@
 20
 20
 01
-2b
+21
 1a
 62
 7e
@@ -1835,31 +1791,31 @@
 c0
 00
 81
-d1
+c6
 c0
 1e
 01
-f3
+e8
 c0
 1c
 81
-f1
+e6
 c0
 1d
 01
-fa
+ef
 c0
 19
 01
-dd
+d2
 c0
 22
 01
-e4
+d9
 c0
 0a
 81
-d3
+c8
 20
 20
 43
@@ -1919,7 +1875,7 @@
 c0
 00
 81
-e1
+d6
 70
 4b
 76
@@ -2035,23 +1991,23 @@
 24
 3a
 01
-a6
+9b
 6f
 e0
 c8
 8b
 c0
 01
-02
 01
+f6
 c0
 02
 02
-0c
+01
 c0
 01
 82
-11
+06
 20
 20
 48
@@ -2086,8 +2042,8 @@
 00
 20
 22
-82
-0a
+81
+ff
 20
 20
 48
@@ -2107,7 +2063,7 @@
 c3
 17
 82
-16
+0b
 6f
 e0
 cb
@@ -2115,7 +2071,7 @@
 c0
 00
 82
-16
+0b
 20
 20
 48
@@ -2127,15 +2083,15 @@
 c3
 17
 82
-16
+0b
 c2
 89
 82
-16
+0b
 c2
 89
 02
-16
+0b
 20
 20
 48
@@ -2151,7 +2107,7 @@
 20
 20
 01
-a6
+9b
 70
 48
 8b
@@ -2199,7 +2155,7 @@
 20
 3a
 02
-29
+1e
 6f
 e1
 48
@@ -2227,11 +2183,11 @@
 24
 2c
 02
-44
+39
 24
 37
 82
-44
+39
 20
 40
 26
@@ -2267,7 +2223,7 @@
 20
 42
 82
-40
+35
 6f
 e0
 c8
@@ -2371,7 +2327,7 @@
 c0
 02
 02
-51
+46
 20
 20
 25
@@ -2401,10 +2357,6 @@
 c8
 a1
 c2
-81
-84
-68
-c2
 80
 a3
 40
@@ -2419,7 +2371,7 @@
 c0
 00
 82
-5d
+51
 20
 20
 26
@@ -2431,7 +2383,7 @@
 24
 34
 02
-55
+4a
 20
 40
 26
@@ -2467,7 +2419,7 @@
 c0
 00
 02
-69
+5d
 20
 20
 3d
@@ -2519,7 +2471,7 @@
 20
 40
 02
-76
+6a
 20
 20
 40
@@ -2571,7 +2523,7 @@
 20
 3a
 02
-b1
+a5
 67
 e0
 cb
@@ -2607,7 +2559,7 @@
 20
 40
 02
-ae
+a2
 20
 40
 40
@@ -2619,11 +2571,11 @@
 20
 40
 02
-c6
+ba
 20
 40
 02
-de
+d2
 20
 40
 44
@@ -2639,7 +2591,7 @@
 20
 40
 02
-e4
+d8
 20
 40
 45
@@ -2671,15 +2623,15 @@
 20
 40
 02
-a0
+94
 20
 40
 02
-e7
+db
 20
 20
 02
-9d
+91
 da
 60
 4c
@@ -2731,7 +2683,7 @@
 20
 21
 02
-ac
+a0
 68
 48
 cb
@@ -2755,7 +2707,7 @@
 da
 40
 02
-b1
+a5
 20
 20
 31
@@ -2811,11 +2763,11 @@
 20
 41
 02
-c0
+b4
 24
 41
 02
-c4
+b8
 20
 20
 48
@@ -2851,7 +2803,7 @@
 c0
 00
 02
-cc
+c0
 6f
 e4
 4b
@@ -2867,7 +2819,7 @@
 20
 20
 02
-cf
+c3
 6f
 e4
 4b
@@ -2903,7 +2855,7 @@
 20
 22
 82
-d6
+ca
 20
 20
 44
@@ -2911,7 +2863,7 @@
 20
 40
 02
-dc
+d0
 6f
 e0
 cb
@@ -2934,8 +2886,8 @@
 56
 da
 40
-02
-0a
+01
+ff
 20
 20
 44
@@ -2959,7 +2911,7 @@
 24
 20
 82
-db
+cf
 20
 20
 3f
@@ -2991,7 +2943,7 @@
 da
 40
 02
-ec
+e0
 20
 20
 31
@@ -3003,7 +2955,7 @@
 c0
 00
 01
-a6
+9b
 20
 20
 43
@@ -3086,8 +3038,8 @@
 00
 c0
 04
-83
-04
+82
+f8
 20
 20
 4d
@@ -3187,7 +3139,7 @@
 c0
 02
 03
-1d
+11
 20
 20
 19
@@ -3203,11 +3155,11 @@
 c0
 05
 03
-22
+16
 c0
 09
 03
-31
+25
 20
 20
 1c
@@ -3235,7 +3187,7 @@
 c2
 81
 83
-2c
+20
 6f
 e1
 44
@@ -3263,11 +3215,11 @@
 24
 22
 83
-28
+1c
 24
 34
 03
-28
+1c
 20
 20
 1e
@@ -3403,7 +3355,7 @@
 20
 40
 03
-76
+6a
 6f
 e0
 c8
@@ -3423,7 +3375,7 @@
 20
 40
 03
-58
+4c
 20
 20
 45
@@ -3451,7 +3403,7 @@
 c0
 05
 83
-62
+56
 20
 40
 42
@@ -3471,7 +3423,7 @@
 20
 40
 03
-69
+5d
 da
 60
 4b
@@ -3491,7 +3443,7 @@
 c0
 05
 83
-69
+5d
 20
 20
 42
@@ -3531,7 +3483,7 @@
 c0
 05
 83
-74
+68
 58
 00
 08
@@ -3551,7 +3503,7 @@
 20
 40
 03
-b4
+a8
 6f
 e0
 cc
@@ -3559,7 +3511,7 @@
 24
 3a
 03
-cb
+bf
 6f
 e0
 cc
@@ -3567,11 +3519,11 @@
 24
 3a
 03
-ca
+be
 20
 40
 03
-7d
+71
 20
 20
 40
@@ -3591,27 +3543,27 @@
 20
 40
 03
-87
+7b
 20
 40
 03
-8c
+80
 20
 40
 03
-91
+85
 20
 40
 03
-96
+8a
 20
 40
 03
-a3
+97
 20
 40
 03
-b4
+a8
 20
 20
 41
@@ -3623,7 +3575,7 @@
 20
 40
 03
-b0
+a4
 20
 40
 41
@@ -3643,7 +3595,7 @@
 20
 40
 03
-b0
+a4
 20
 40
 41
@@ -3663,7 +3615,7 @@
 20
 40
 03
-b0
+a4
 20
 40
 41
@@ -3707,7 +3659,7 @@
 c0
 7f
 83
-9f
+93
 20
 20
 41
@@ -3719,7 +3671,7 @@
 20
 40
 03
-b2
+a6
 68
 48
 c9
@@ -3759,7 +3711,7 @@
 c0
 7f
 83
-ac
+a0
 20
 20
 41
@@ -3771,7 +3723,7 @@
 20
 40
 03
-b2
+a6
 68
 48
 c9
@@ -3815,7 +3767,7 @@
 24
 3a
 03
-c1
+b5
 68
 48
 cc
@@ -3883,15 +3835,15 @@
 20
 20
 03
-be
+b2
 c0
 02
 03
-e5
+d9
 20
 40
 03
-e8
+dc
 6f
 e2
 4c
@@ -3927,19 +3879,19 @@
 c0
 00
 03
-d9
+cd
 c0
 00
 83
-dc
+d0
 c0
 01
 03
-df
+d3
 c0
 01
 83
-e2
+d6
 20
 60
 00
@@ -4019,7 +3971,7 @@
 24
 41
 03
-ed
+e1
 20
 60
 00
@@ -4047,11 +3999,11 @@
 20
 40
 03
-f5
+e9
 20
 40
-04
-09
+03
+fd
 20
 20
 46
@@ -4087,7 +4039,7 @@
 20
 40
 03
-fe
+f2
 20
 20
 40
@@ -4114,8 +4066,8 @@
 10
 c0
 7f
-84
-05
+83
+f9
 20
 20
 40
@@ -4127,7 +4079,7 @@
 20
 40
 03
-b2
+a6
 68
 48
 c9
@@ -4151,11 +4103,11 @@
 20
 40
 03
-b0
+a4
 20
 40
 04
-10
+04
 68
 48
 cc
@@ -4179,7 +4131,7 @@
 20
 40
 04
-1f
+13
 67
 e0
 cc
@@ -4191,7 +4143,7 @@
 20
 3a
 04
-1b
+0f
 6f
 e0
 cc
@@ -4255,11 +4207,11 @@
 c0
 03
 84
-29
+1d
 c0
 00
 04
-2b
+1f
 20
 60
 00
@@ -4303,7 +4255,7 @@
 c2
 9e
 84
-39
+2d
 18
 42
 7e
@@ -4335,7 +4287,7 @@
 24
 3a
 04
-44
+38
 6f
 e4
 4b
@@ -4343,7 +4295,7 @@
 c2
 8e
 04
-41
+35
 18
 42
 7e
@@ -4359,7 +4311,7 @@
 20
 20
 04
-36
+2a
 18
 42
 7e
@@ -4371,7 +4323,7 @@
 20
 20
 04
-3f
+33
 18
 42
 7e
@@ -4387,1605 +4339,1133 @@
 20
 20
 04
-36
-6f
-e0
-cb
-f6
+2a
 20
-7a
-00
+40
+12
+d1
+20
+40
+49
+70
+58
 00
-6f
-e0
-cb
-f7
-c0
+0e
+15
+d8
+a0
+0a
 01
+98
+a6
+72
+00
+20
+40
+7d
+26
+20
+40
 04
-54
-c0
-02
-84
-56
-c0
-04
+46
+20
+40
 04
-58
-c0
-05
-84
-5a
-c0
-07
+dc
+70
+0a
+06
+19
+20
+20
 04
-5c
-c0
-08
-84
-52
+59
+df
 20
-60
+03
+fe
+d8
+a0
+0a
+17
+58
 00
+01
+ff
+18
 00
-70
-4b
-f7
-12
-20
-60
+24
 00
+1f
+e9
+22
 00
-70
-4b
-f7
-03
-20
-60
+1a
+23
+22
 00
+9a
+22
+a2
 00
-70
-4b
-f7
-06
+2a
+2f
+fe
+00
+79
 20
-60
+fe
+09
+18
+43
+04
 00
+2f
+ef
+fe
 00
-70
-4b
-f7
-09
+79
 20
-60
+84
+07
+1f
+e3
+7e
 00
+1a
+40
+a4
+01
+2a
+40
+0e
 00
-70
-4b
-f7
-0c
+24
 20
-60
-00
+84
+4a
+e0
+40
+80
+05
+c2
 00
-70
-4b
-f7
-0f
+04
+4a
 20
 60
 00
 00
 6f
-e0
-c8
-2a
-20
-3a
-04
-48
-1f
-e2
-24
-00
-70
-48
-2a
-00
+e3
+8a
+01
+67
+e3
+8a
+08
 6f
 e0
-c8
+8a
 0a
 c0
-57
-84
-70
-20
-60
 00
-00
-70
-4b
-f6
+84
+5e
+c0
 01
-70
-40
-99
-00
+04
+9f
 20
+40
+11
+61
+68
+48
+8a
+08
 20
+40
+12
 05
-50
-20
-60
-00
-00
-70
-47
-c6
-af
 20
 40
-22
-91
+16
+a5
+79
 20
-40
-26
-5b
-24
-6c
+2a
 00
+78
+2e
+fc
 00
-24
-77
-80
+78
+30
+7c
+00
+78
+50
+fc
 00
 20
 40
-25
-97
-20
-20
-26
-72
+17
+44
 6f
 e0
-c8
-0a
-c1
-d7
-80
+8a
+0c
+67
+f0
+89
+0d
+c0
 00
+04
+75
+6f
+20
+8a
+0d
+d8
+c0
+0a
+17
 ef
 e0
 80
 06
-e8
+08
+00
+86
+08
+c2
+00
+04
+6c
+20
 40
-80
-06
-18
+04
+a9
+6f
+e3
+8a
+08
+68
+4b
+8a
+01
+98
 46
 7c
-02
-24
-22
-93
-7a
-c0
 00
+20
+22
 84
-7f
-c0
-01
-04
-82
-c0
-01
-84
-84
-c0
-02
+6a
+20
+20
 04
-86
+59
+6f
+e0
+8a
+0e
 c0
-02
+00
 84
-de
+83
+df
+20
+00
+35
+d8
 c0
-03
-05
-04
-c0
-7f
-84
-7e
-20
-20
-13
-7a
-20
-60
+0a
+17
+ef
+e0
+80
+06
+08
 00
+86
+08
+c2
 00
+04
+79
 20
 40
 04
-65
-70
+a9
+6f
+e3
+8a
+08
+68
 4b
-f7
+8a
 01
-20
-60
-00
+98
+46
+7c
 00
-70
-4b
-f7
-04
 20
-60
-00
-00
-70
-4b
-f7
-07
+22
+84
+77
+20
+40
+11
+4f
+20
 20
+04
+59
+78
+48
+7c
+00
+db
 60
 00
+1a
+df
+20
 00
-70
-4b
-f7
+37
+d8
+c0
 0a
+17
 ef
-e1
-00
+e0
+80
 06
-e8
-41
+08
 00
-06
-6a
-21
-4c
-18
-9a
-26
-7c
+86
+08
+c2
 00
+04
+87
 24
-22
+21
 84
-fc
-6f
-e1
-4c
-1a
-98
-46
-7c
+85
+20
+40
+11
+4f
+d8
+e0
 00
-24
-22
-84
-fc
+0f
+58
+00
+03
+20
+20
+40
+7d
+66
+d8
+e0
+00
+0f
 20
 40
+7d
+74
+20
+3a
 04
-92
-24
-34
+96
+20
+40
 04
-fc
+a9
+6f
+e0
+8a
+12
+c0
+00
+84
+8f
 20
 20
 04
-fa
+59
 20
 40
 04
-9d
-24
-74
-00
-00
+98
+20
+20
+04
+59
 6f
-e1
-4c
-1a
-9e
-06
-7c
-00
+e0
+8a
+16
 24
-22
-fe
-56
-68
-49
-09
-e8
+3a
+05
+1f
 6f
-e1
-4c
-18
+e0
+8a
+01
 1f
 e0
-ff
-fb
+fe
+02
+67
+e0
+8a
+01
+c1
+a5
+00
+00
+20
+20
+05
+1f
+20
+40
+04
+a6
+20
+40
+04
+a9
+6f
+e3
+8a
+08
+68
+4b
+8a
+01
 98
 46
 7c
 00
-24
+20
 22
-fe
-56
+84
+a0
 20
 20
-7e
-54
-6f
-e1
-4b
-f3
-1f
-f0
-fe
-00
-67
-e1
-02
-e4
-d8
+04
+59
+20
 40
-00
-03
-da
+11
+4f
+68
+48
+8a
+08
 20
-09
-d2
+20
+16
+c8
 20
 40
-5d
-e2
-6f
-e0
-89
-d2
-c0
-ad
-7e
-56
-e8
-41
-00
-06
-60
-49
-09
-5c
-60
-49
-09
-e8
-6f
-e0
-89
-d2
-dd
-60
-ff
-ff
-d8
-40
-00
-00
-d8
-c0
-09
-d2
-df
+04
+ab
 20
-00
-03
 20
-40
 05
-14
-18
-42
-60
+28
+78
+54
+7c
 00
-6f
-e1
-4b
-f3
-1f
-e0
-ee
-03
 20
 40
-04
-c1
-1e
-f0
-fe
-00
-67
-e1
-02
-e4
-d8
 40
+dc
+24
+74
 00
-02
-da
-20
-09
-d2
-20
-40
-5d
-e2
-6f
-e1
-09
-d2
-9d
-66
-7c
 00
-24
-22
-fe
-56
 6f
 e0
-89
-d2
-9e
+c8
+d0
+c0
 00
-e0
+84
+b6
+c0
+01
+04
+bb
+c0
+02
+05
+12
+70
+0a
+13
 00
-ef
-e0
-80
-06
-9e
+70
+0a
+14
+00
+70
+0a
+15
+00
+20
+60
 00
+00
+6f
 e0
+8a
+13
+24
+7a
 00
-58
 00
-ff
-ff
-9e
+70
+0a
+13
+01
+70
+80
+10
 01
-60
-00
 20
 20
-7e
-54
+13
+7a
 6f
-e1
-09
-5c
-20
+e0
+8a
+14
+24
 7a
 00
 00
-1f
-e2
+70
+0a
+14
+01
+20
+40
 04
-00
-1f
-e6
-7c
-10
+c0
+20
 20
-21
 04
-dc
+c6
+6f
+e0
+8a
+12
 1f
 e0
-ff
-f0
-d8
-40
-00
-10
+fe
+01
 67
-e1
-09
-5c
-18
-42
-5e
-00
-1e
-e2
-7e
+e0
+8a
+12
+c1
+8a
 00
-1f
-f0
-fe
 00
-67
-e1
-02
-e4
-da
-20
-09
-d2
+70
+0a
+12
+01
 20
-40
-5d
-e2
-1e
-e2
-7e
+60
 00
-9d
-e0
-ee
 00
-1d
-e2
-72
+6f
+e0
+8a
+12
+c0
 00
-1d
-62
-7e
+84
+dc
+70
+0a
+16
 00
-d8
 c0
-09
-d2
-ef
-e0
-00
-06
-1f
-e2
-56
-00
-1d
-e2
-72
-00
-d8
+01
+04
+e4
+c0
+01
+84
+e9
 c0
-09
-d2
-1e
 02
 04
-00
-20
-40
-05
-14
-18
-42
-60
-00
-20
-20
-04
-c1
-58
-00
-00
-00
-20
-20
+ed
+c0
+02
+84
+f1
+c0
+03
 04
-c8
-70
-4b
-f7
-0d
-ef
-e0
-80
-06
-18
-c2
-22
-00
-68
-48
-cc
-1c
-98
-46
-7c
-00
-20
-22
+f4
+c0
+03
 84
-fa
-20
-40
-05
-0b
-24
-34
+f7
+c0
 04
-fc
-1a
-46
-7c
 04
-20
-21
+fa
+c0
 04
-fc
-1a
-40
-a5
-fc
-62
-41
-09
-59
-62
-21
-09
-57
-20
-40
-5d
-d3
-20
-40
+84
+fe
+c0
+05
+05
+02
+c0
+05
+85
+06
+c0
+06
+05
+0a
+c0
+06
+85
+0e
+c0
+07
 04
+fa
+c0
+07
+84
 fe
-20
-40
-5d
-da
-6a
-41
+c0
+08
+05
+02
+c0
+08
+85
+06
+c0
 09
-59
-6a
-21
+05
+0a
+c0
 09
-57
-6f
-e1
-4c
-18
-9a
-40
-fe
-00
-67
-e1
-4c
-18
-1a
-42
-72
-00
-d8
-40
+85
+0e
+20
+60
 00
 00
-1a
-22
-0c
+70
+0a
+12
+01
+70
+0a
+16
 00
-20
-40
+70
+0a
+01
+06
+70
+0a
 05
-14
-6f
-e1
-4c
-1a
-98
-40
-fe
 00
-67
-e1
-4c
-1a
 70
-4b
-f5
-00
+0a
+03
+01
+70
+0a
+04
+01
+70
+0a
+07
+01
 20
 60
 00
 00
 70
-4b
-f5
+0a
+01
+06
+70
+0a
+05
+00
+70
+0a
+03
 01
+70
+0a
+07
+00
 20
 60
 00
 00
-6f
-e1
-4b
-f3
+70
+0a
+01
+26
+70
+0a
+05
+00
+70
+0a
+03
+01
 20
-7a
+60
 00
 00
-68
-49
-4c
-18
-98
-40
-fe
-00
-1a
-42
-04
+70
+0a
+01
+48
+70
+0a
+05
 00
+70
+0a
+03
+01
 20
-20
-5e
-04
-6f
-e0
-cb
-f7
-c1
-08
-00
+60
 00
-c1
-08
-80
 00
-c1
-09
+70
+0a
+01
+06
+70
+0a
+03
+02
+20
+60
 00
 00
 70
-4c
-1d
-05
+0a
+01
+26
 70
-4b
-f7
-10
+0a
+03
+02
 20
 60
 00
 00
-68
+70
+0a
+01
 48
-cc
-1c
-67
-e0
-cc
-1c
-c0
-00
-05
-11
-98
-46
-7e
+70
+0a
+03
+02
+20
+60
 00
-c0
 00
-fe
-54
-20
-20
-7e
-56
-18
-46
-7c
-ff
-20
+70
+0a
+01
+06
+70
+0a
+05
 22
-fe
-54
-20
+70
+0a
+03
+01
 20
-7e
-56
-ef
-e0
-80
-06
-98
-40
-84
+60
 00
-c2
 00
+70
+0a
+01
+26
+70
+0a
 05
-14
+22
+70
+0a
+03
+01
 20
 60
 00
 00
-58
+70
+0a
+01
+48
+70
+0a
+05
+22
+70
+0a
+03
+01
+20
+60
 00
-ff
-ff
-ef
-e0
 00
+70
+0a
+01
 06
+70
+0a
+05
+22
+70
+0a
+03
+02
 20
 60
 00
 00
-6f
-20
-c8
-2a
-1f
+70
+0a
+01
 26
-7c
-02
-20
-21
-7e
-56
-df
-e0
-48
+70
 0a
-9f
+05
+22
+70
+0a
+03
+02
 20
-8c
+60
 00
-18
-c0
-8d
-fe
-e8
-41
 00
-06
-d8
-c0
+70
+0a
+01
 48
+70
 0a
-20
-40
 05
-18
-98
-46
-7c
-00
-20
 22
-fe
-54
-20
+70
+0a
+03
+02
 20
-7e
-56
-ef
+60
+00
+00
+6f
 e0
-80
-06
+8a
+15
+24
+7a
+00
+00
+70
+0a
+15
+01
+6f
+e0
+8a
+12
 c0
-ad
+00
+85
+25
+c0
+01
 05
-40
-1a
-22
+1b
+c0
+01
+85
+1b
+c0
 02
+05
+1b
+20
+60
 00
-68
-49
 00
-06
-18
-46
-7c
+6f
+e0
+8a
+01
+c0
 03
-20
+05
 21
+c0
+13
 05
-40
-18
+23
 c0
-8c
-02
-ef
-20
-80
-06
-1f
-26
-7c
-00
 24
-22
-85
-40
+05
 1f
-22
-7e
-00
-98
-c0
-8c
+70
+0a
+01
+06
+20
+60
 00
-18
-42
-7e
 00
-1f
-20
-f2
-03
-9f
+70
+0a
+01
 26
-04
+20
+60
 00
-24
-22
-85
-2b
-e8
-41
 00
-06
-1a
-20
-8c
+70
+0a
 01
-ef
-e1
+48
+20
+60
+00
 00
+70
+0a
+01
 06
-1f
-e0
-f2
-02
-1a
-20
-8c
+70
+0a
+16
 01
 20
-40
-05
-18
-98
-46
-7c
+60
 00
-24
-22
-85
-40
-20
-20
-7e
-54
-20
-20
-7e
-56
-6f
-e1
-4b
-f3
-1f
-e2
-0c
 00
 20
 40
-05
-27
-24
-34
-05
-4c
-6a
-21
-4b
-f3
-1a
+3f
+88
+6f
+e0
+c8
+e0
 20
-8c
-01
-ef
-e1
+7a
 00
-06
-1f
+00
+6f
 e0
-fe
+8a
+12
+c0
+01
 05
-9a
+30
+c0
+01
+85
+30
+c0
+02
+05
+30
 20
-fe
+60
+00
 00
-67
-e1
-4b
-f3
-20
-20
-05
-41
 6f
-e1
-4b
-f1
-68
-49
-4b
-f3
-98
-46
-7e
+e0
+c8
+e0
+70
+48
+e0
+00
+c0
 00
+85
+35
+c0
+7f
+85
+3b
 20
 60
 00
 00
-58
+6f
+e0
+8a
+01
+1f
+e0
+fe
+01
+67
+e0
+8a
+01
+c1
+a4
+80
 00
+70
+0a
+01
+06
+20
+60
 00
 00
-67
-e1
-4c
-18
-67
-e1
-4c
-1a
-67
+6f
 e0
-cc
-1c
+8a
+01
+1f
+e0
+ff
+ff
 67
 e0
-cb
-f7
+8a
+01
+c1
+82
+80
+00
+70
+0a
+01
+48
 20
 60
 00
 00
-20
+69
+94
+aa
+55
 40
-7e
-56
-6f
-e0
-cb
-f7
-c0
 00
-85
-5f
-c0
-02
-05
-69
-c0
-03
-85
-88
-c0
-05
-05
-ae
-c0
-06
-85
-a3
-c0
-08
-05
-8c
-20
-20
-05
-b7
-70
-47
-c6
-af
-70
-47
-c7
-01
-70
-47
-c8
 00
-70
-47
-c9
-02
-58
+40
+09
 00
 00
-01
-67
-e1
-47
-ca
-70
-48
-36
-01
-70
-48
-35
-06
-70
-4b
-f7
-02
-20
-60
 00
 00
-70
-47
-c6
-af
-70
-47
-c7
-02
-70
-47
-c8
 00
-70
-47
-c9
-02
-6f
-f1
 00
 00
-67
-e1
-47
-ca
-58
 00
-66
-61
-e7
-e1
 00
-05
-58
 00
 00
-01
-e7
-e3
 00
-05
-58
 00
 00
 00
-e7
-e1
+08
+08
 00
-05
-e7
-e1
+80
 00
-05
-20
 40
-05
-90
-e7
-e0
-80
-05
-58
+01
+00
+88
+d7
+53
+46
+00
+01
 00
 00
 00
-e7
-e0
-80
-05
-68
-49
-4b
-f3
-e0
-41
 00
-05
-6f
-e1
-4b
-f1
-1f
-ed
-7e
 00
-1f
-e3
-7e
 00
-98
-46
-7e
 00
-24
-21
-05
-86
-e7
-e1
 00
-05
-70
-48
-35
 18
-70
-48
-36
-01
-70
-4b
-f7
-05
-20
-60
 00
 00
-58
 00
 00
 00
-20
-20
-05
-81
-70
-4b
-f7
-08
-70
-47
-c7
-03
-70
-48
-35
-04
-20
-20
-05
-99
-70
-4b
-f7
-11
-70
-47
-c7
-06
-70
-48
-35
-04
-20
-20
-05
-99
-6f
-e4
-4b
-ab
-c2
-89
-85
-95
-c2
-89
-05
-97
-58
 00
 00
 00
-20
-60
 00
+80
 00
-58
 00
 00
 02
-20
-60
 00
 00
-58
+00
+01
 00
 00
-04
 20
-60
+04
+16
 00
 00
-70
-48
-36
+aa
+55
 01
-70
-47
-c6
-af
-70
-47
-c8
-00
-70
-47
-c9
-02
-20
-60
 00
-00
-70
-47
-c8
-01
-70
-48
-36
-01
-70
-47
-c6
-af
-70
-47
-c9
-02
-20
-60
-00
-00
-70
-4b
-f7
-0f
-70
-47
-c7
-05
-6f
-e0
-cc
-1c
-67
-e0
-c7
-ca
-70
-48
-35
-05
-70
-48
-36
-01
-70
-47
-c6
-af
-6f
-e0
-cb
-f5
-67
-e0
-c7
-c8
-70
-47
-c9
-02
-20
-60
-00
-00
-70
-4b
-f7
-0c
-70
-47
-c7
-04
-70
-48
-35
-04
-70
-48
-36
-01
-70
-47
-c6
-af
-6f
-e0
-cb
-f5
-67
-e0
-c7
-c8
-70
-47
-c9
-02
-20
-60
-00
-00
-70
-47
-c6
-af
-70
-47
-c7
-ff
-70
-47
-c8
-00
-70
-47
-c9
-02
-70
-48
-36
-01
-70
-48
-35
-04
-20
-60
-00
-00
-1f
-e2
-22
-00
-70
-4b
-f8
-00
-70
-48
-36
-01
-da
-40
-4b
-f9
-20
-60
-00
-00
-7f
-2f
-aa
-55
-40
-00
-00
-40
-09
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-00
-08
-08
-00
-80
-00
-40
-01
-00
-88
-d7
-53
-46
-00
-01
-00
-00
-00
-00
-00
-00
-00
-00
-18
-00
-00
-00
-00
-00
-00
-00
-00
-00
-80
-00
-00
-00
-02
-00
-00
-00
-01
-00
-00
-20
-04
-16
-00
-00
-aa
-55
-01
-00
-9a
-40
-08
-aa
-55
-03
+9a
+40
+08
+aa
+55
+03
 00
 7a
 41
@@ -6918,257 +6398,772 @@
 00
 ff
 ff
-aa
-55
-08
-00
-a3
-4a
-09
-5a
-0b
-f3
-09
-00
+aa
+55
+08
+00
+a3
+4a
+09
+5a
+0b
+f3
+09
+00
+ff
+ff
+aa
+55
+08
+00
+e3
+4b
+09
+a5
+0b
+f3
+09
+00
+ff
+ff
+aa
+55
+02
+00
+8d
+44
+2d
+49
+aa
+55
+01
+00
+8c
+44
+01
+aa
+55
+01
+00
+65
+48
+01
+aa
+55
+01
+00
+64
+48
+01
+aa
+55
+01
+00
+36
+48
+01
+aa
+55
+01
+00
+a8
+48
+06
+aa
+55
+02
+00
+38
+48
+c0
+12
+aa
+55
+03
+00
+54
+48
+19
+19
+1c
+aa
+55
+10
+00
+40
+48
+00
+13
+2c
+42
+06
+15
+36
+48
+0f
+1a
+3a
+4c
+11
+23
+31
+4d
+aa
+55
+01
+00
+5b
+48
+00
+aa
+55
+05
+00
+77
+48
+20
+15
+10
+05
+4e
+aa
+55
+05
+00
+8c
+48
+01
+0f
+0f
+0f
+0f
+aa
+55
+06
+00
+ad
+48
+0c
+f8
+00
+00
+77
+01
+aa
+55
+03
+00
+5c
+48
+00
+48
+60
+aa
+55
+01
+00
+7d
+48
+07
+aa
+55
+02
+00
+99
+48
+b5
+4a
+aa
+55
+01
+00
+ca
+48
+80
+aa
+55
+02
+00
+c2
+48
+14
+00
+aa
+55
+02
+00
+c0
+48
+50
+00
+aa
+55
+03
+00
+b8
+48
+00
+a6
+0e
+aa
+55
+03
+00
+b8
+49
+00
+50
+00
+aa
+55
+02
+00
+79
+44
+80
+1f
+aa
+55
+01
+00
+83
+44
+80
+aa
+55
+01
+00
+e8
+41
+01
+aa
+55
+05
+00
+f0
+4b
+02
+40
+00
+02
+1a
+55
+aa
+aa
+55
+a1
+7b
+31
+db
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
 ff
 ff
-aa
-55
-08
-00
-e3
-4b
-09
-a5
-0b
-f3
-09
-00
 ff
 ff
-aa
-55
-02
-00
-8d
-44
-2d
-49
-aa
-55
-01
-00
-8c
-44
-01
-aa
-55
-01
-00
-65
-48
-01
-aa
-55
-01
-00
-64
-48
-01
-aa
-55
-01
-00
-36
-48
-01
-aa
-55
-01
-00
-a8
-48
-06
-aa
-55
-02
-00
-38
-48
-c0
-12
-aa
-55
-03
-00
-54
-48
-19
-19
-1c
-aa
-55
-10
-00
-40
-48
-00
-13
-2c
-42
-06
-15
-36
-48
-0f
-1a
-3a
-4c
-11
-23
-31
-4d
-aa
-55
-01
-00
-5b
-48
-00
-aa
-55
-05
-00
-77
-48
-20
-15
-10
-05
-4e
-aa
-55
-05
-00
-8c
-48
-01
-0f
-0f
-0f
-0f
-aa
-55
-06
-00
-ad
-48
-0c
-f8
-00
-00
-77
-01
-aa
-55
-03
-00
-5c
-48
-00
-48
-60
-aa
-55
-01
-00
-7d
-48
-07
-aa
-55
-02
-00
-99
-48
-b5
-4a
-aa
-55
-01
-00
-ca
-48
-80
-aa
-55
-02
-00
-c2
-48
-14
-00
-aa
-55
-02
-00
-c0
-48
-50
-00
-aa
-55
-03
-00
-b8
-48
-00
-a6
-0e
-aa
-55
-03
-00
-b8
-49
-00
-50
-00
-aa
-55
-02
-00
-79
-44
-80
-1f
-aa
-55
-01
-00
-83
-44
-80
-aa
-55
-01
-00
-e8
-41
-01
-aa
-55
-05
-00
-f0
-4b
-02
-40
-00
-04
-1c
-95
-8e
 ff
 ff
 ff
@@ -8188,5 +8183,10 @@
 ff
 ff
 ff
-2c
-13
+ff
+ff
+ff
+ff
+ff
+11
+aa
Index: output/memmap.format
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/memmap.format	(revision 1304)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/memmap.format	(working copy)
@@ -565,6 +565,33 @@
 0x09fa mem_data_current
 0x09fc mem_data_sum
 0x09ff mem_data_value
+0x0a01 mem_fcc_mode_start
+0x0a01 mem_fcc_param_new
+0x0a01 mem_fcc_ch_new
+0x0a02 mem_fcc_mod_new
+0x0a03 mem_fcc_txrx_new
+0x0a04 mem_fcc_btble_new
+0x0a05 mem_fcc_data_new
+0x0a06 mem_fcc_data_length_new
+0x0a07 mem_fcc_hop_new
+0x0a08 mem_fcc_param
+0x0a08 mem_fcc_ch
+0x0a09 mem_fcc_mod
+0x0a0a mem_fcc_txrx
+0x0a0b mem_fcc_btble
+0x0a0c mem_fcc_data
+0x0a0d mem_fcc_data_length
+0x0a0e mem_fcc_hop
+0x0a0f mem_fcc_ch_switch
+0x0a10 mem_fcc_ch_switch_inc_en
+0x0a11 mem_fcc_ch_switch_dec_en
+0x0a12 mem_fcc_mode_switch
+0x0a13 mem_fcc_lkey_press
+0x0a14 mem_fcc_rkey_press
+0x0a15 mem_fcc_mkey_press
+0x0a16 mem_fcc_scan_mode_mkey_press
+0x0a17 mem_pn9
+0x0e15 mem_fcc_mode_end
 0x09f6 mem_tst_pktcnt_sync
 0x09f8 mem_tst_pktcnt_hec
 0x09fa mem_tst_pktcnt_crc
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/program.lis	(revision 1304)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/output/program.lis	(working copy)
@@ -4,39 +4,39 @@
 0001 c0000024 beq patch00_0 ,p_soft_reset 
 0002 c0018028 beq patch00_3 ,p_main_loop 
 0003 c0418041 beq patch10_3 ,p_set_sync_on 
-0004 c0458082 beq patch11_3 ,p_initialize_radio_cont 
-0005 c04f808f beq patch13_7 ,p_init_param 
-0006 c0570091 beq patch15_6 ,p_app_init 
-0007 c0580076 beq patch16_0 ,p_app_evt_100ms_loop 
-0008 c0618264 beq patch18_3 ,p_mouse_start_work 
-0009 c0638160 beq patch18_7 ,p_mouse_app_enter_hibernate 
-000a c0640166 beq patch19_0 ,p_mouse_before_hibernate 
-000b c0648169 beq patch19_1 ,p_mouse_setgpio_hibernate 
-000c c065019d beq patch19_2 ,p_mouse_lpm_before_common 
-000d c0660072 beq patch19_4 ,p_mouse_adc_read_start 
-000e c067034a beq patch19_6 ,p_mouse_motion 
-000f c067842d beq patch19_7 ,p_mouse_dpi_process 
-0010 c0680273 beq patch1a_0 ,p_mouse_seting_dpi 
-0011 c068837d beq patch1a_1 ,p_mouse_check_key_gpio 
-0012 c06a035b beq patch1a_4 ,p_mouse_sensor_poweron 
-0013 c06b01c8 beq patch1a_6 ,p_mouse_priority_bb_event 
-0014 c06c8284 beq patch1b_1 ,p_mouse_bb_event_timer 
-0015 c06d02ef beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06f03f0 beq patch1b_6 ,p_mouse_idle 
-0017 c07402fc beq patch1d_0 ,p_hid_rx_process 
+0004 c0458078 beq patch11_3 ,p_initialize_radio_cont 
+0005 c04f8085 beq patch13_7 ,p_init_param 
+0006 c0570087 beq patch15_6 ,p_app_init 
+0007 c058006c beq patch16_0 ,p_app_evt_100ms_loop 
+0008 c0618258 beq patch18_3 ,p_mouse_start_work 
+0009 c0638155 beq patch18_7 ,p_mouse_app_enter_hibernate 
+000a c064015b beq patch19_0 ,p_mouse_before_hibernate 
+000b c064815e beq patch19_1 ,p_mouse_setgpio_hibernate 
+000c c0650192 beq patch19_2 ,p_mouse_lpm_before_common 
+000d c0660068 beq patch19_4 ,p_mouse_adc_read_start 
+000e c067033e beq patch19_6 ,p_mouse_motion 
+000f c0678421 beq patch19_7 ,p_mouse_dpi_process 
+0010 c0680267 beq patch1a_0 ,p_mouse_seting_dpi 
+0011 c0688371 beq patch1a_1 ,p_mouse_check_key_gpio 
+0012 c06a034f beq patch1a_4 ,p_mouse_sensor_poweron 
+0013 c06b01bd beq patch1a_6 ,p_mouse_priority_bb_event 
+0014 c06c8278 beq patch1b_1 ,p_mouse_bb_event_timer 
+0015 c06d02e3 beq patch1b_2 ,p_mouse_start_discovery 
+0016 c06f03e4 beq patch1b_6 ,p_mouse_idle 
+0017 c07402f0 beq patch1d_0 ,p_hid_rx_process 
 0018 2020137c branch loop 
 
 pf_patch_ext:
-0019 c0198052 beq patch26_3 ,p_adc_init_data 
-001a c01a0057 beq patch26_4 ,p_enable_adc 
-001b c04382f8 beq patch30_7 ,p_ui_timer_check 
-001c c0508310 beq patch34_1 ,p_le_slave_match 
-001d c060031a beq patch38_0 ,p_le_parse_l2cap 
-001e c06e8253 beq patch3b_5 ,p_g24_dispatch 
-001f c0710219 beq patch3c_2 ,p_g24_pair_dispatch 
-0020 c0748221 beq patch3d_1 ,p_g24_reconn_dispatch 
-0021 c0750129 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0022 c0760341 beq patch3d_4 ,p_g24_lpm_wait 
+0019 c0198048 beq patch26_3 ,p_adc_init_data 
+001a c01a004d beq patch26_4 ,p_enable_adc 
+001b c04382ec beq patch30_7 ,p_ui_timer_check 
+001c c0508304 beq patch34_1 ,p_le_slave_match 
+001d c060030e beq patch38_0 ,p_le_parse_l2cap 
+001e c06e8248 beq patch3b_5 ,p_g24_dispatch 
+001f c071020e beq patch3c_2 ,p_g24_pair_dispatch 
+0020 c0748216 beq patch3d_1 ,p_g24_reconn_dispatch 
+0021 c075011f beq patch3d_2 ,p_g24_transmit_no_interrupt 
+0022 c0760335 beq patch3d_4 ,p_g24_lpm_wait 
 0023 2020137c branch loop 
 
 p_soft_reset:
@@ -87,1838 +87,1696 @@
 0046 708a8729 jam 0x29 ,core_syn_afc_cfg1 
 0047 2020117d branch set_sync_on_16m 
 
-p_g24_load_ota_config_poweron:
-0048 20405b94 call iicd_load_gpio_init 
-0049 2040049d call p_g24_check_ota_data 
-004a 2034004c branch p_g24_load_ota_config ,user 
-004b 20600000 rtn 
-
-p_g24_load_ota_config:
-004c da605de2 arg iicd_read_eep ,regc 
-004d 6fe14bf3 fetch 2 ,mem_g24_ota_config_addr 
-004e 1fe0fe03 increase 3 ,pdata 
-004f 1ff0fe00 byteswap pdata ,pdata 
-0050 67e102e4 store 2 ,mem_addr_mi 
-0051 20205b3f branch load_storage_loop 
-
 p_adc_init_data:
-0052 da20099e arg mem_temp_block2 ,rega 
-0053 d840000c arg 12 ,temp 
-0054 58000030 setarg efuse_offset_adc_param 
-0055 20405e63 call efuse_read_data 
-0056 202060bf branch adc_init_data + 6 
+0048 da20099e arg mem_temp_block2 ,rega 
+0049 d840000c arg 12 ,temp 
+004a 58000030 setarg efuse_offset_adc_param 
+004b 20405e63 call efuse_read_data 
+004c 202060bf branch adc_init_data + 6 
 
 p_enable_adc:
-0057 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
-0058 708a123d jam 0x3d ,core_rf_ldo_cfg6 
-0059 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
-005a 708a0a0c jam 0x0c ,core_rf_ldo_en0 
-005b 6ff08a09 fetch 1 ,core_clkpll_cfg6 
-005c 79207e07 set1 7 ,pdata 
-005d 67f08a09 store 1 ,core_clkpll_cfg6 
-005e 708a0b04 jam 0x04 ,core_rf_ldo_en1 
-005f 2000003c nop 60 
-0060 708a1600 jam 0 ,core_syn_en 
-0061 708a1706 jam 6 ,core_rx_en0 
-0062 2040611a call read_adc_mode 
-0063 67f08a97 store 1 ,core_gpadc_ctrl 
-0064 7080dc03 jam 0x03 ,core_sum_ctrl 
-0065 2000003c nop 60 
-0066 6ff08053 fetch 1 ,core_sum_en 
-0067 79207e07 set1 7 ,pdata 
-0068 67f08053 store 1 ,core_sum_en 
-0069 200003e8 nop 1000 
-006a 6ff10150 fetch 2 ,core_adc_sum 
-006b 67e144a2 store 2 ,mem_adc_current_value 
-006c 6ff08053 fetch 1 ,core_sum_en 
-006d 793ffe07 set0 7 ,pdata 
-006e 67f08053 store 1 ,core_sum_en 
-006f 708a9700 jam 0 ,core_gpadc_ctrl 
-0070 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
-0071 20600000 rtn 
+004d 6a508a12 fetchr regb ,1 ,core_rf_ldo_cfg6 
+004e 708a123d jam 0x3d ,core_rf_ldo_cfg6 
+004f 708a11aa jam 0xaa ,core_rf_ldo_cfg5 
+0050 708a0a0c jam 0x0c ,core_rf_ldo_en0 
+0051 6ff08a09 fetch 1 ,core_clkpll_cfg6 
+0052 79207e07 set1 7 ,pdata 
+0053 67f08a09 store 1 ,core_clkpll_cfg6 
+0054 708a0b04 jam 0x04 ,core_rf_ldo_en1 
+0055 2000003c nop 60 
+0056 708a1600 jam 0 ,core_syn_en 
+0057 708a1706 jam 6 ,core_rx_en0 
+0058 2040611a call read_adc_mode 
+0059 67f08a97 store 1 ,core_gpadc_ctrl 
+005a 7080dc03 jam 0x03 ,core_sum_ctrl 
+005b 2000003c nop 60 
+005c 6ff08053 fetch 1 ,core_sum_en 
+005d 79207e07 set1 7 ,pdata 
+005e 67f08053 store 1 ,core_sum_en 
+005f 200003e8 nop 1000 
+0060 6ff10150 fetch 2 ,core_adc_sum 
+0061 67e144a2 store 2 ,mem_adc_current_value 
+0062 6ff08053 fetch 1 ,core_sum_en 
+0063 793ffe07 set0 7 ,pdata 
+0064 67f08053 store 1 ,core_sum_en 
+0065 708a9700 jam 0 ,core_gpadc_ctrl 
+0066 62508a12 storer regb ,1 ,core_rf_ldo_cfg6 
+0067 20600000 rtn 
 
 p_mouse_adc_read_start:
-0072 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0073 247a0000 nrtn blank 
-0074 20400057 call p_enable_adc 
-0075 20203ebb branch mouse_adc_read_start + 3 
+0068 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0069 247a0000 nrtn blank 
+006a 2040004d call p_enable_adc 
+006b 20203ebb branch mouse_adc_read_start + 3 
 
 p_app_evt_100ms_loop:
-0076 6fe0830d fetch 1 ,mem_app_evt_timer_count 
-0077 207a0000 rtn blank 
-0078 1fe0ffff increase -1 ,pdata 
-0079 67e0830d store 1 ,mem_app_evt_timer_count 
-007a 204077c5 call ui_button_polling 
-007b 204031e3 call app_lpm_wake_auto_lock_timer 
-007c 204031a4 call app_unsniff_delay_timer 
-007d 204031aa call app_discovery_timer 
-007e 20405cdc call flash_write_spi_sm_timer 
-007f 6fe1446f fetch 2 ,mem_cb_event_timer 
-0080 20407e05 call callback_func 
-0081 20200076 branch p_app_evt_100ms_loop 
+006c 6fe0830d fetch 1 ,mem_app_evt_timer_count 
+006d 207a0000 rtn blank 
+006e 1fe0ffff increase -1 ,pdata 
+006f 67e0830d store 1 ,mem_app_evt_timer_count 
+0070 204077c5 call ui_button_polling 
+0071 204031e3 call app_lpm_wake_auto_lock_timer 
+0072 204031a4 call app_unsniff_delay_timer 
+0073 204031aa call app_discovery_timer 
+0074 20405cdc call flash_write_spi_sm_timer 
+0075 6fe1446f fetch 2 ,mem_cb_event_timer 
+0076 20407e05 call callback_func 
+0077 2020006c branch p_app_evt_100ms_loop 
 
 p_initialize_radio_cont:
-0082 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
-0083 2040126a call initialize_syn_afc_cfg1 
-0084 20401271 call initialize_rf_ldo_cfg1 
-0085 20401277 call initialize_rc_cal 
-0086 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
-0087 708a0305 jam 5 ,core_clkpll_cfg0 
-0088 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
-0089 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
-008a 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
-008b 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
-008c 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
-008d 70892140 jam 0x40 ,core_rx_ctrl1 
-008e 2020125d branch initialize_radio_cont + 8 
+0078 708a8be6 jam 0xe6 ,core_syn_aac_cfg1 
+0079 2040126a call initialize_syn_afc_cfg1 
+007a 20401271 call initialize_rf_ldo_cfg1 
+007b 20401277 call initialize_rc_cal 
+007c 708a6d09 jam 0x09 ,core_rx_bq_cfg0 
+007d 708a0305 jam 5 ,core_clkpll_cfg0 
+007e 708a7a94 jam 0x94 ,core_rx_iqadc_cfg 
+007f 708a0e0b jam 0x0b ,core_rf_ldo_cfg2 
+0080 708a0f05 jam 0x05 ,core_rf_ldo_cfg3 
+0081 708a8390 jam 0x90 ,core_syn_pfd_lkd_cfg 
+0082 708a8500 jam 0x00 ,core_syn_loopdiv_dsm_cfg 
+0083 70892140 jam 0x40 ,core_rx_ctrl1 
+0084 2020125d branch initialize_radio_cont + 8 
 
 p_init_param:
-008f 70008000 jam 0 ,mem_lmo_tid2 
-0090 202013b7 branch init_param_next + 1 
+0085 70008000 jam 0 ,mem_lmo_tid2 
+0086 202013b7 branch init_param_next + 1 
 
 p_app_init:
 
 p_mouse_init:
-0091 24558048 ncall p_g24_load_ota_config_poweron ,wake 
-0092 245580a7 ncall p_mouse_le_name_load ,wake 
-0093 20406df3 call enable_authrom 
-0094 204000d2 call p_mouse_setting_config 
-0095 204041a7 call mouse_init_sunt 
-0096 20758000 rtn wake 
-0097 2040009e call p_mouse_load_default_param 
-0098 2040408e call mouse_dpi_config 
-0099 20403d8a call mouse_usb_check_enable 
-009a 20404728 call mouse_drawing_optima_init 
-009b 204000e2 call p_mouse_cb_fuction 
-009c 2040036d call p_mouse_sensor_powerdown 
-009d 20203bc9 branch mouse_init + 8 
+0087 2455809c ncall p_mouse_le_name_load ,wake 
+0088 20406df3 call enable_authrom 
+0089 204000c7 call p_mouse_setting_config 
+008a 204041a7 call mouse_init_sunt 
+008b 20758000 rtn wake 
+008c 20400093 call p_mouse_load_default_param 
+008d 2040408e call mouse_dpi_config 
+008e 20403d8a call mouse_usb_check_enable 
+008f 20404728 call mouse_drawing_optima_init 
+0090 204000da call p_mouse_cb_fuction 
+0091 20400361 call p_mouse_sensor_powerdown 
+0092 20203bc9 branch mouse_init + 8 
 
 p_mouse_load_default_param:
-009e 202000a0 branch p_mouse_firebutton_connect_state_check 
-009f 20600000 rtn 
+0093 20200095 branch p_mouse_firebutton_connect_state_check 
+0094 20600000 rtn 
 
 p_mouse_firebutton_connect_state_check:
-00a0 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-00a1 c17f8000 rtneq gpio_disable 
-00a2 c28380a5 bbit1 gpio_active_bit ,p_mouse_firebutton_connect_vin 
+0095 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+0096 c17f8000 rtneq gpio_disable 
+0097 c283809a bbit1 gpio_active_bit ,p_mouse_firebutton_connect_vin 
 
 p_mouse_firebutton_connect_gnd:
-00a3 704c3900 jam 0 ,mem_mouse_firebutton_connect_vin_flag 
-00a4 20600000 rtn 
+0098 704c3900 jam 0 ,mem_mouse_firebutton_connect_vin_flag 
+0099 20600000 rtn 
 
 p_mouse_firebutton_connect_vin:
-00a5 704c3901 jam 1 ,mem_mouse_firebutton_connect_vin_flag 
-00a6 20600000 rtn 
+009a 704c3901 jam 1 ,mem_mouse_firebutton_connect_vin_flag 
+009b 20600000 rtn 
 
 p_mouse_le_name_load:
-00a7 6fe44c1f fetch 8 ,mem_le_name_patch 
-00a8 207a0000 rtn blank 
-00a9 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-00aa 1fe22200 copy pdata ,rega 
-00ab 1fe67c0b sub pdata ,11 ,null 
-00ac 242100b9 nbranch p_mouse_le_name_patch_len_overflow ,positive 
-00ad d8c04c1f arg mem_le_name_patch ,contr 
-00ae d8a04adb arg mem_le_adv_swift_pair + 9 ,contw 
-00af 1a227200 copy rega ,loopcnt 
-00b0 20407d5f call memcpy 
-00b1 d8c04c1f arg mem_le_name_patch ,contr 
-00b2 d8a0440a arg mem_le_scan_data + 2 ,contw 
-00b3 1a227200 copy rega ,loopcnt 
-00b4 20407d5f call memcpy 
-00b5 d8c04c1f arg mem_le_name_patch ,contr 
-00b6 d8a042f8 arg mem_le_name ,contw 
-00b7 1a227200 copy rega ,loopcnt 
-00b8 20207d5f branch memcpy 
+009c 6fe44c1f fetch 8 ,mem_le_name_patch 
+009d 207a0000 rtn blank 
+009e 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+009f 1fe22200 copy pdata ,rega 
+00a0 1fe67c0b sub pdata ,11 ,null 
+00a1 242100ae nbranch p_mouse_le_name_patch_len_overflow ,positive 
+00a2 d8c04c1f arg mem_le_name_patch ,contr 
+00a3 d8a04adb arg mem_le_adv_swift_pair + 9 ,contw 
+00a4 1a227200 copy rega ,loopcnt 
+00a5 20407d5f call memcpy 
+00a6 d8c04c1f arg mem_le_name_patch ,contr 
+00a7 d8a0440a arg mem_le_scan_data + 2 ,contw 
+00a8 1a227200 copy rega ,loopcnt 
+00a9 20407d5f call memcpy 
+00aa d8c04c1f arg mem_le_name_patch ,contr 
+00ab d8a042f8 arg mem_le_name ,contw 
+00ac 1a227200 copy rega ,loopcnt 
+00ad 20207d5f branch memcpy 
 
 p_mouse_le_name_patch_len_overflow:
-00b9 204000cf call p_mouse_le_swift_pair_disable 
-00ba 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-00bb 1fe0fe01 increase 1 ,pdata 
-00bc 67e0cad2 store 1 ,mem_le_adv_swift_pair 
-00bd 704ad309 jam 9 ,mem_le_adv_swift_pair + 1 
-00be d8c04c1f arg mem_le_name_patch ,contr 
-00bf d8a04ad4 arg mem_le_adv_swift_pair + 2 ,contw 
-00c0 1a227200 copy rega ,loopcnt 
-00c1 20407d5f call memcpy 
-00c2 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
-00c3 1fe0fe01 increase 1 ,pdata 
-00c4 67e0c408 store 1 ,mem_le_scan_data 
-00c5 70440909 jam 9 ,mem_le_scan_data + 1 
-00c6 d8c04c1f arg mem_le_name_patch ,contr 
-00c7 d8a0440a arg mem_le_scan_data + 2 ,contw 
-00c8 1a227200 copy rega ,loopcnt 
-00c9 20407d5f call memcpy 
-00ca d8c04c1e arg mem_le_name_patch_len ,contr 
-00cb d8a042f7 arg mem_le_name_len ,contw 
-00cc 1a227200 copy rega ,loopcnt 
-00cd 1f20f201 increase 1 ,loopcnt 
-00ce 20207d5f branch memcpy 
+00ae 204000c4 call p_mouse_le_swift_pair_disable 
+00af 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+00b0 1fe0fe01 increase 1 ,pdata 
+00b1 67e0cad2 store 1 ,mem_le_adv_swift_pair 
+00b2 704ad309 jam 9 ,mem_le_adv_swift_pair + 1 
+00b3 d8c04c1f arg mem_le_name_patch ,contr 
+00b4 d8a04ad4 arg mem_le_adv_swift_pair + 2 ,contw 
+00b5 1a227200 copy rega ,loopcnt 
+00b6 20407d5f call memcpy 
+00b7 6fe0cc1e fetch 1 ,mem_le_name_patch_len 
+00b8 1fe0fe01 increase 1 ,pdata 
+00b9 67e0c408 store 1 ,mem_le_scan_data 
+00ba 70440909 jam 9 ,mem_le_scan_data + 1 
+00bb d8c04c1f arg mem_le_name_patch ,contr 
+00bc d8a0440a arg mem_le_scan_data + 2 ,contw 
+00bd 1a227200 copy rega ,loopcnt 
+00be 20407d5f call memcpy 
+00bf d8c04c1e arg mem_le_name_patch_len ,contr 
+00c0 d8a042f7 arg mem_le_name_len ,contw 
+00c1 1a227200 copy rega ,loopcnt 
+00c2 1f20f201 increase 1 ,loopcnt 
+00c3 20207d5f branch memcpy 
 
 p_mouse_le_swift_pair_disable:
-00cf d8a04ad2 arg mem_le_adv_swift_pair ,contw 
-00d0 df200014 arg 20 ,loopcnt 
-00d1 20207d26 branch clear_mem 
+00c4 d8a04ad2 arg mem_le_adv_swift_pair ,contw 
+00c5 df200014 arg 20 ,loopcnt 
+00c6 20207d26 branch clear_mem 
 
 p_mouse_setting_config:
-00d2 20758000 rtn wake 
-00d3 20402607 call g24_transmit_init 
-00d4 204022ff call g24_chmap_param_init 
-00d5 20403f1e call mouse_gpio_init 
-00d6 20403d13 call mouse_param_init 
-00d7 204000dc call p_g24_short_sleep_set_8ms 
-00d8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00d9 c30c3bf5 bbit0 mouse_enable_24g_250hz ,mouse_setting_config_next 
-00da 204000df call p_g24_short_sleep_set_4ms 
-00db 20203bf5 branch mouse_setting_config_next 
+00c7 20758000 rtn wake 
+00c8 20402607 call g24_transmit_init 
+00c9 204022ff call g24_chmap_param_init 
+00ca 20403f1e call mouse_gpio_init 
+00cb 20404110 call mouse_key_check_once 
+00cc 1a217e07 and rega ,0x07 ,pdata 
+00cd c003843c beq mouse_lmr_button ,p_fcc_mode_start 
+00ce 20403d13 call mouse_param_init 
+00cf 204000d4 call p_g24_short_sleep_set_8ms 
+00d0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00d1 c30c3bf5 bbit0 mouse_enable_24g_250hz ,mouse_setting_config_next 
+00d2 204000d7 call p_g24_short_sleep_set_4ms 
+00d3 20203bf5 branch mouse_setting_config_next 
 
 p_g24_short_sleep_set_8ms:
-00dc 5800e290 setarg 58000 
-00dd 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-00de 20600000 rtn 
+00d4 5800e290 setarg 58000 
+00d5 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00d6 20600000 rtn 
 
 p_g24_short_sleep_set_4ms:
-00df 58001770 setarg 6000 
-00e0 67e1c8ad store 3 ,mem_24g_short_sleep_set 
-00e1 20600000 rtn 
+00d7 58001770 setarg 6000 
+00d8 67e1c8ad store 3 ,mem_24g_short_sleep_set 
+00d9 20600000 rtn 
 
 p_mouse_cb_fuction:
-00e2 580000e7 setarg p_mouse_24g_package_data 
-00e3 67e1489b store 2 ,mem_cb_24g_transmit_data 
-00e4 58000103 setarg p_mouse_24g_search_dongle 
-00e5 67e1489d store 2 ,mem_cb_24g_search_receiver 
-00e6 20203bd3 branch mouse_cb_fuction + 4 
+00da 580000df setarg p_mouse_24g_package_data 
+00db 67e1489b store 2 ,mem_cb_24g_transmit_data 
+00dc 580000f9 setarg p_mouse_24g_search_dongle 
+00dd 67e1489d store 2 ,mem_cb_24g_search_receiver 
+00de 20203bd3 branch mouse_cb_fuction + 4 
 
 p_mouse_24g_package_data:
-00e7 c6930000 rtnmark0 mark_24g 
-00e8 6fe0cbf6 fetch 1 ,mem_g24_ota_mode 
-00e9 243a0556 nbranch p_mouse_24g_package_ota ,blank 
-00ea 20403f70 call mouse_motion 
-00eb 24740000 nrtn user 
-00ec 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-00ed c30a80f0 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
-00ee 6fe0cb8b fetch 1 ,mem_customer_key 
-00ef 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
+00df c6930000 rtnmark0 mark_24g 
+00e0 20403f70 call mouse_motion 
+00e1 24740000 nrtn user 
+00e2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00e3 c30a80e6 bbit0 mouse_enable_keyboard ,p_mouse_24g_mouse_package_data 
+00e4 6fe0cb8b fetch 1 ,mem_customer_key 
+00e5 243a4884 nbranch mouse_24g_keyboard_package_data ,blank 
 
 p_mouse_24g_mouse_package_data:
-00f0 204042cb call mouse_data_xy_release 
-00f1 6fe0c836 fetch 1 ,mem_24g_data_type 
-00f2 c28080ff bbit1 1 ,p_mouse_24g_mouse_package_data_now 
-00f3 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
-00f4 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00f5 9841fe00 ior temp ,pdata 
-00f6 67e0c8d0 store 1 ,mem_mouse_key 
-00f7 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
-00f8 6fe0c8d5 fetch 1 ,mem_mouse_z 
-00f9 9840fe00 iadd temp ,pdata 
-00fa 67e0c8d5 store 1 ,mem_mouse_z 
-00fb 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
-00fc 6fe0c8d6 fetch 1 ,mem_mouse_tz 
-00fd 9840fe00 iadd temp ,pdata 
-00fe 67e0c8d6 store 1 ,mem_mouse_tz 
+00e6 204042cb call mouse_data_xy_release 
+00e7 6fe0c836 fetch 1 ,mem_24g_data_type 
+00e8 c28080f5 bbit1 1 ,p_mouse_24g_mouse_package_data_now 
+00e9 6848c7c7 fetcht 1 ,mem_24g_txbuf + 1 
+00ea 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00eb 9841fe00 ior temp ,pdata 
+00ec 67e0c8d0 store 1 ,mem_mouse_key 
+00ed 6848c7cc fetcht 1 ,mem_24g_txbuf + 6 
+00ee 6fe0c8d5 fetch 1 ,mem_mouse_z 
+00ef 9840fe00 iadd temp ,pdata 
+00f0 67e0c8d5 store 1 ,mem_mouse_z 
+00f1 6848c7cd fetcht 1 ,mem_24g_txbuf + 7 
+00f2 6fe0c8d6 fetch 1 ,mem_mouse_tz 
+00f3 9840fe00 iadd temp ,pdata 
+00f4 67e0c8d6 store 1 ,mem_mouse_tz 
 
 p_mouse_24g_mouse_package_data_now:
-00ff 70483601 jam type_ms ,mem_24g_data_type 
-0100 da200007 arg 7 ,rega 
-0101 da4048d0 arg mem_mouse_key ,regb 
-0102 202026e1 branch g24_transmit_by_interrupt_enable 
+00f5 70483601 jam type_ms ,mem_24g_data_type 
+00f6 da200007 arg 7 ,rega 
+00f7 da4048d0 arg mem_mouse_key ,regb 
+00f8 202026e1 branch g24_transmit_by_interrupt_enable 
 
 p_mouse_24g_search_dongle:
-0103 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0104 c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
-0105 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
-0106 207a0000 rtn blank 
-0107 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0108 207a0000 rtn blank 
-0109 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
-010a 1fe0fe01 increase 1 ,pdata 
-010b 1fe17e03 and_into 3 ,pdata 
-010c 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
-010d 247a0000 nrtn blank 
-010e 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
+00f9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+00fa c40b0000 rtnbit0 mouse_enable_24g_search_dongle 
+00fb 6fe0caae fetch 1 ,mem_mouse_long_mult_flag 
+00fc 207a0000 rtn blank 
+00fd 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+00fe 207a0000 rtn blank 
+00ff 6fe0cba1 fetch 1 ,mem_mouse_search_dongle_interval 
+0100 1fe0fe01 increase 1 ,pdata 
+0101 1fe17e03 and_into 3 ,pdata 
+0102 67e0cba1 store 1 ,mem_mouse_search_dongle_interval 
+0103 247a0000 nrtn blank 
+0104 704ba200 jam 0 ,mem_mouse_search_dongle_ch 
 
 p_mouse_24g_search_dongle_loop:
-010f 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
-0110 1fe0fe01 increase 1 ,pdata 
-0111 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
-0112 1fe67c08 sub pdata ,g24_ch_number ,null 
-0113 24210119 nbranch p_mouse_24g_search_dongle_loop_end ,positive 
-0114 2040259a call g24_reconn_data_prep 
-0115 2040265b call g24_transmit_receive_ack 
-0116 242c011f nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
-0117 2437811f nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
-0118 204048b5 call mouse_24g_search_dongle_success 
+0105 6fe0cba2 fetch 1 ,mem_mouse_search_dongle_ch 
+0106 1fe0fe01 increase 1 ,pdata 
+0107 67e0cba2 store 1 ,mem_mouse_search_dongle_ch 
+0108 1fe67c08 sub pdata ,g24_ch_number ,null 
+0109 2421010f nbranch p_mouse_24g_search_dongle_loop_end ,positive 
+010a 2040259a call g24_reconn_data_prep 
+010b 2040265b call g24_transmit_receive_ack 
+010c 242c0115 nbranch p_mouse_24g_search_dongle_loop_retry ,sync 
+010d 24378115 nbranch p_mouse_24g_search_dongle_loop_retry ,user3 
+010e 204048b5 call mouse_24g_search_dongle_success 
 
 p_mouse_24g_search_dongle_loop_end:
-0119 20402597 call g24_txbuf_clear 
-011a 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
-011b 1fe0fe01 increase 1 ,pdata 
-011c 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
-011d c0080121 beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
-011e 20600000 rtn 
+010f 20402597 call g24_txbuf_clear 
+0110 6fe0cba3 fetch 1 ,mem_mouse_search_dongle_count 
+0111 1fe0fe01 increase 1 ,pdata 
+0112 67e0cba3 store 1 ,mem_mouse_search_dongle_count 
+0113 c0080117 beq g24_ch_poll_count ,p_mouse_24g_search_dongle_check 
+0114 20600000 rtn 
 
 p_mouse_24g_search_dongle_loop_retry:
-011f 204022cb call g24_ch 
-0120 2020010f branch p_mouse_24g_search_dongle_loop 
+0115 204022cb call g24_ch 
+0116 20200105 branch p_mouse_24g_search_dongle_loop 
 
 p_mouse_24g_search_dongle_check:
-0121 704ba300 jam 0 ,mem_mouse_search_dongle_count 
-0122 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
-0123 c3800000 rtnbit1 g24_disconn_state 
-0124 79207e00 set1 g24_disconn_state ,pdata 
-0125 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
-0126 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
-0127 67e14ab2 store 2 ,mem_mouse_no_data_timer 
-0128 2020036d branch p_mouse_sensor_powerdown 
+0117 704ba300 jam 0 ,mem_mouse_search_dongle_count 
+0118 6fe0cba4 fetch 1 ,mem_mouse_search_dongle_action 
+0119 c3800000 rtnbit1 g24_disconn_state 
+011a 79207e00 set1 g24_disconn_state ,pdata 
+011b 67e0cba4 store 1 ,mem_mouse_search_dongle_action 
+011c 6fe14bbc fetch 2 ,mem_mouse_24g_search_dongle_time_init 
+011d 67e14ab2 store 2 ,mem_mouse_no_data_timer 
+011e 20200361 branch p_mouse_sensor_powerdown 
 
 p_g24_transmit_no_interrupt:
-0129 20402631 call g24_txdata_prep 
-012a 243401af nbranch p_g24_nodata_transmit ,user 
+011f 20402631 call g24_txdata_prep 
+0120 243401a4 nbranch p_g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-012b 20400138 call p_g24_transmit_process 
-012c 204026ee call power_ctrl_start 
-012d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-012e 243a0133 nbranch p_g24_short_sleep ,blank 
-012f 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-0130 67e4485c store 8 ,mem_24g_enter_hibernate 
-0131 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-0132 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+0121 2040012e call p_g24_transmit_process 
+0122 204026ee call power_ctrl_start 
+0123 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0124 243a0129 nbranch p_g24_short_sleep ,blank 
+0125 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0126 67e4485c store 8 ,mem_24g_enter_hibernate 
+0127 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0128 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-0133 204026bb call g24_lpm_wait 
-0134 24740000 nrtn user 
-0135 20407fdc call clear_wake 
-0136 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0137 202026b8 branch g24_long_sleep2 
+0129 204026bb call g24_lpm_wait 
+012a 24740000 nrtn user 
+012b 20407fdc call clear_wake 
+012c 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+012d 202026b8 branch g24_long_sleep2 
 
 p_g24_transmit_process:
-0138 7048a600 jam 0 ,mem_24g_retry 
+012e 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-0139 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-013a 34730200 until clkn_rt ,meet 
-013b 2040265b call g24_transmit_receive_ack 
-013c 6fe0c82c fetch 1 ,mem_24g_no_ack 
-013d c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-013e 242c0151 nbranch p_g24_retransmit ,sync 
-013f 24378151 nbranch p_g24_retransmit ,user3 
-0140 20402672 call g24_ackpayload_parse 
-0141 2040045e call p_g24_mouse_parse_rx 
-0142 20400144 call p_mouse_wakeup_24g 
-0143 20202651 branch g24_transmit_no_ack 
+012f 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+0130 34730200 until clkn_rt ,meet 
+0131 2040265b call g24_transmit_receive_ack 
+0132 6fe0c82c fetch 1 ,mem_24g_no_ack 
+0133 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+0134 242c0146 nbranch p_g24_retransmit ,sync 
+0135 24378146 nbranch p_g24_retransmit ,user3 
+0136 20402672 call g24_ackpayload_parse 
+0137 20400139 call p_mouse_wakeup_24g 
+0138 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-0144 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0145 245a0148 ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
-0146 704be100 jam 0 ,mem_sensor_shutdown_flag 
-0147 20600000 rtn 
+0139 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+013a 245a013d ncall p_mouse_wakeup_24g_from_long_sleep ,blank 
+013b 704be100 jam 0 ,mem_sensor_shutdown_flag 
+013c 20600000 rtn 
 
 p_mouse_wakeup_24g_from_long_sleep:
-0148 204041aa call mouse_init_sensor_wakeup 
-0149 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-014a c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+013d 204041aa call mouse_init_sensor_wakeup 
+013e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+013f c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_set_wakeup:
-014b 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-014c d8400040 arg gpcfg_pullup ,temp 
-014d 20406093 call gpio_config_function_int 
-014e 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-014f d8400040 arg gpcfg_pullup ,temp 
-0150 20206093 branch gpio_config_function_int 
+0140 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+0141 d8400040 arg gpcfg_pullup ,temp 
+0142 20406093 call gpio_config_function_int 
+0143 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0144 d8400040 arg gpcfg_pullup ,temp 
+0145 20206093 branch gpio_config_function_int 
 
 p_g24_retransmit:
-0151 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0152 247a0000 nrtn blank 
-0153 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-0154 1fe0fe01 increase 1 ,pdata 
-0155 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0156 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-0157 c280a679 bbit1 1 ,g24_tx_attempt_fail 
-0158 2040267e call g24_transmit_hop_process 
-0159 2040015b call p_delay_40ms 
-015a 20200139 branch p_g24_transmit_loop 
+0146 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0147 247a0000 nrtn blank 
+0148 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0149 1fe0fe01 increase 1 ,pdata 
+014a 67e148a3 store 2 ,mem_24g_txfail_cnt 
+014b 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+014c c280a679 bbit1 1 ,g24_tx_attempt_fail 
+014d 2040267e call g24_transmit_hop_process 
+014e 20400150 call p_delay_40ms 
+014f 2020012f branch p_g24_transmit_loop 
 
 p_delay_40ms:
-015b 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-015c 1fe67c00 sub pdata ,0x00 ,null 
-015d 20610000 rtn positive 
-015e df200028 arg 40 ,loopcnt 
-015f 20207d13 branch delay_ms_wait 
+0150 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0151 1fe67c00 sub pdata ,0x00 ,null 
+0152 20610000 rtn positive 
+0153 df200028 arg 40 ,loopcnt 
+0154 20207d13 branch delay_ms_wait 
 
 p_mouse_app_enter_hibernate:
-0160 58000006 setarg pan_reg_config 
-0161 20405b0d call twspi_read 
-0162 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
-0163 20400366 call p_mouse_sensor_reset 
-0164 2040036d call p_mouse_sensor_powerdown 
-0165 20203e23 branch mouse_app_enter_hibernate + 3 
+0155 58000006 setarg pan_reg_config 
+0156 20405b0d call twspi_read 
+0157 c281be23 bbit1 3 ,mouse_app_enter_hibernate + 3 
+0158 2040035a call p_mouse_sensor_reset 
+0159 20400361 call p_mouse_sensor_powerdown 
+015a 20203e23 branch mouse_app_enter_hibernate + 3 
 
 p_mouse_before_hibernate:
-0166 20403e26 call mouse_before_hibernate + 1 
-0167 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
-0168 20206036 branch gpio_set_wake 
+015b 20403e26 call mouse_before_hibernate + 1 
+015c 6848c911 fetcht 1 ,mem_sensor_motion_gpio 
+015d 20206036 branch gpio_set_wake 
 
 p_mouse_setgpio_hibernate:
-0169 204042e9 call mouse_set_sdio_high 
-016a 20407fdc call clear_wake 
-016b 204002aa call p_mouse_logo_led_off 
-016c 20404015 call mouse_before_hibernate_wheel_gpio_set 
-016d 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-016e 20406069 call gpio_out_active 
-016f 6848c910 fetcht 1 ,mem_matrix_public_gpio 
-0170 20406042 call gpio_clr_wake 
-0171 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
-0172 d840003f arg gpcfg_output_high ,temp 
-0173 20406093 call gpio_config_function_int 
-0174 d8400003 arg 3 ,temp 
-0175 20403f56 call mouse_gpio_config_input_pu 
-0176 20403e40 call mouse_lpm_before_common 
-0177 20406082 call gpio_pd_idle 
-0178 d8400013 arg 19 ,temp 
-0179 20403f56 call mouse_gpio_config_input_pu 
-017a 2040017d call p_mouse_gpio_set_high_impedance 
-017b 2040018a call p_mouse_adc_gpio_set_before_hibernate 
-017c 20200191 branch p_mouse_wheel_gpio_set_before_hibernate 
+015e 204042e9 call mouse_set_sdio_high 
+015f 20407fdc call clear_wake 
+0160 2040029e call p_mouse_logo_led_off 
+0161 20404015 call mouse_before_hibernate_wheel_gpio_set 
+0162 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0163 20406069 call gpio_out_active 
+0164 6848c910 fetcht 1 ,mem_matrix_public_gpio 
+0165 20406042 call gpio_clr_wake 
+0166 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
+0167 d840003f arg gpcfg_output_high ,temp 
+0168 20406093 call gpio_config_function_int 
+0169 d8400003 arg 3 ,temp 
+016a 20403f56 call mouse_gpio_config_input_pu 
+016b 20403e40 call mouse_lpm_before_common 
+016c 20406082 call gpio_pd_idle 
+016d d8400013 arg 19 ,temp 
+016e 20403f56 call mouse_gpio_config_input_pu 
+016f 20400172 call p_mouse_gpio_set_high_impedance 
+0170 2040017f call p_mouse_adc_gpio_set_before_hibernate 
+0171 20200186 branch p_mouse_wheel_gpio_set_before_hibernate 
 
 p_mouse_gpio_set_high_impedance:
-017d 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
-017e 67e1895c store 3 ,mem_pdatatemp 
-017f df200014 arg 20 ,loopcnt 
-0180 d8400000 arg 0 ,temp 
+0172 6fe1cbde fetch 3 ,mem_mouse_set_high_impedance_bit_set 
+0173 67e1895c store 3 ,mem_pdatatemp 
+0174 df200014 arg 20 ,loopcnt 
+0175 d8400000 arg 0 ,temp 
 
 p_mouse_gpio_set_high_impedance_bit_loop:
-0181 6fe1895c fetch 3 ,mem_pdatatemp 
-0182 2feffe00 isolate1 0 ,pdata 
-0183 2040e07f call gpio_set_high_impedance ,true 
-0184 6fe1895c fetch 3 ,mem_pdatatemp 
-0185 1fe37e00 rshift pdata ,pdata 
-0186 67e1895c store 3 ,mem_pdatatemp 
-0187 18408401 increase 1 ,temp 
-0188 c2000181 loop p_mouse_gpio_set_high_impedance_bit_loop 
-0189 20600000 rtn 
+0176 6fe1895c fetch 3 ,mem_pdatatemp 
+0177 2feffe00 isolate1 0 ,pdata 
+0178 2040e07f call gpio_set_high_impedance ,true 
+0179 6fe1895c fetch 3 ,mem_pdatatemp 
+017a 1fe37e00 rshift pdata ,pdata 
+017b 67e1895c store 3 ,mem_pdatatemp 
+017c 18408401 increase 1 ,temp 
+017d c2000176 loop p_mouse_gpio_set_high_impedance_bit_loop 
+017e 20600000 rtn 
 
 p_mouse_adc_gpio_set_before_hibernate:
-018a 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-018b c40a0000 rtnbit0 mouse_enable_adc 
-018c 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
-018d c1810000 rtnne adc_config_gpio 
-018e 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
-018f d84000c0 arg gpcfg_no_ie ,temp 
-0190 20206093 branch gpio_config_function_int 
+017f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0180 c40a0000 rtnbit0 mouse_enable_adc 
+0181 6fe0c8fd fetch 1 ,mem_adc_config_flag_init 
+0182 c1810000 rtnne adc_config_gpio 
+0183 6fe0c8fc fetch 1 ,mem_adc_channel_gpio 
+0184 d84000c0 arg gpcfg_no_ie ,temp 
+0185 20206093 branch gpio_config_function_int 
 
 p_mouse_wheel_gpio_set_before_hibernate:
-0191 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0192 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
+0186 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0187 c41e0000 rtnbit0 mouse_enable_wheel_wake_up_cancel 
 
 p_mouse_wheel_clr_wakeup:
-0193 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-0194 20406042 call gpio_clr_wake 
-0195 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-0196 20406042 call gpio_clr_wake 
-0197 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
-0198 d8400080 arg gpcfg_pulldown ,temp 
-0199 20406093 call gpio_config_function_int 
-019a 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
-019b d8400080 arg gpcfg_pulldown ,temp 
-019c 20206093 branch gpio_config_function_int 
+0188 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0189 20406042 call gpio_clr_wake 
+018a 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+018b 20406042 call gpio_clr_wake 
+018c 6fe0c913 fetch 1 ,mem_whee_a_data_gpio 
+018d d8400080 arg gpcfg_pulldown ,temp 
+018e 20406093 call gpio_config_function_int 
+018f 6fe0c914 fetch 1 ,mem_whee_b_data_gpio 
+0190 d8400080 arg gpcfg_pulldown ,temp 
+0191 20206093 branch gpio_config_function_int 
 
 p_mouse_lpm_before_common:
-019d 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
-019e 20406050 call gpio_config_input 
-019f 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
-01a0 20406050 call gpio_config_input 
-01a1 20403f88 call mouse_wheel_check 
-01a2 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
-01a3 d840003f arg gpcfg_output_high ,temp 
-01a4 20406093 call gpio_config_function_int 
-01a5 20203e44 branch mouse_lpm_before_common_next 
+0192 6848c913 fetcht 1 ,mem_whee_a_data_gpio 
+0193 20406050 call gpio_config_input 
+0194 6848c914 fetcht 1 ,mem_whee_b_data_gpio 
+0195 20406050 call gpio_config_input 
+0196 20403f88 call mouse_wheel_check 
+0197 6fe0c91f fetch 1 ,mem_mouse_sensor_sclk_gpio 
+0198 d840003f arg gpcfg_output_high ,temp 
+0199 20406093 call gpio_config_function_int 
+019a 20203e44 branch mouse_lpm_before_common_next 
 
 p_mouse_24g_hibernate_set:
-01a6 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
-01a7 20402652 call g24_transmit_next_packet 
-01a8 5fffffff setarg -1 
-01a9 67e2485c store 4 ,mem_24g_enter_hibernate 
-01aa 58000000 setarg 0 
-01ab 67e3c8d0 store 7 ,mem_mouse_key 
-01ac 704be101 jam 1 ,mem_sensor_shutdown_flag 
-01ad 2040036d call p_mouse_sensor_powerdown 
-01ae 202001b4 branch p_g24_long_sleep 
+019b 7048a500 jam 0 ,mem_24g_attempt_fail_flag 
+019c 20402652 call g24_transmit_next_packet 
+019d 5fffffff setarg -1 
+019e 67e2485c store 4 ,mem_24g_enter_hibernate 
+019f 58000000 setarg 0 
+01a0 67e3c8d0 store 7 ,mem_mouse_key 
+01a1 704be101 jam 1 ,mem_sensor_shutdown_flag 
+01a2 20400361 call p_mouse_sensor_powerdown 
+01a3 202001a9 branch p_g24_long_sleep 
 
 p_g24_nodata_transmit:
-01af 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-01b0 205a01ba call p_g24_send_abort_packet ,blank 
-01b1 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-01b2 c1008000 rtneq g24_tx_timer_int_enable 
-01b3 2040269f call g24_search_receiver 
+01a4 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+01a5 205a01af call p_g24_send_abort_packet ,blank 
+01a6 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+01a7 c1008000 rtneq g24_tx_timer_int_enable 
+01a8 2040269f call g24_search_receiver 
 
 p_g24_long_sleep:
-01b4 204026bb call g24_lpm_wait 
-01b5 24740000 nrtn user 
-01b6 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-01b7 245a3e33 ncall mouse_setgpio_hibernate ,blank 
-01b8 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
-01b9 202026b8 branch g24_long_sleep2 
+01a9 204026bb call g24_lpm_wait 
+01aa 24740000 nrtn user 
+01ab 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+01ac 245a3e33 ncall mouse_setgpio_hibernate ,blank 
+01ad 6fe2485c fetch 4 ,mem_24g_enter_hibernate 
+01ae 202026b8 branch g24_long_sleep2 
 
 p_g24_send_abort_packet:
-01ba 70483601 jam type_ms ,mem_24g_data_type 
-01bb 7048a701 jam 1 ,mem_24g_abort_pac 
-01bc 20402642 call g24_transmit_rf_ctrl_clear 
-01bd 67e0c7c6 store 1 ,mem_24g_txbuf 
-01be 58000000 setarg 0 
-01bf 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-01c0 6fe248a9 fetch 4 ,mem_24g_device_addr 
-01c1 67e247ce store 4 ,mem_24g_txbuf + 8 
-01c2 7048350c jam 12 ,mem_24g_datalen 
-01c3 6fe0c836 fetch 1 ,mem_24g_data_type 
-01c4 79207e03 set1 bit_abort ,pdata 
-01c5 67e0c836 store 1 ,mem_24g_data_type 
-01c6 20402291 call g24_transmit_prep 
-01c7 2020012b branch p_g24_transmit_start 
+01af 70483601 jam type_ms ,mem_24g_data_type 
+01b0 7048a701 jam 1 ,mem_24g_abort_pac 
+01b1 20402642 call g24_transmit_rf_ctrl_clear 
+01b2 67e0c7c6 store 1 ,mem_24g_txbuf 
+01b3 58000000 setarg 0 
+01b4 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+01b5 6fe248a9 fetch 4 ,mem_24g_device_addr 
+01b6 67e247ce store 4 ,mem_24g_txbuf + 8 
+01b7 7048350c jam 12 ,mem_24g_datalen 
+01b8 6fe0c836 fetch 1 ,mem_24g_data_type 
+01b9 79207e03 set1 bit_abort ,pdata 
+01ba 67e0c836 store 1 ,mem_24g_data_type 
+01bb 20402291 call g24_transmit_prep 
+01bc 20200121 branch p_g24_transmit_start 
 
 p_mouse_priority_bb_event:
-01c8 1a627e00 copy regc ,pdata 
-01c9 c00081d1 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-01ca c01e01f3 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-01cb c01c81f1 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-01cc c01d01fa beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-01cd c01901dd beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-01ce c02201e4 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
-01cf c00a81d3 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-01d0 20204336 branch mouse_priority_bb_event + 2 
+01bd 1a627e00 copy regc ,pdata 
+01be c00081c6 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+01bf c01e01e8 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+01c0 c01c81e6 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+01c1 c01d01ef beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+01c2 c01901d2 beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+01c3 c02201d9 beq bt_evt_le_parse_conn_param_accepted ,p_mouse_le_parse_conn_param_accepted 
+01c4 c00a81c8 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+01c5 20204336 branch mouse_priority_bb_event + 2 
 
 p_mouse_bb_event_connected:
-01d1 20404544 call mouse_no_data_timer_init 
-01d2 202043fa branch mouse_bb_event_connected 
+01c6 20404544 call mouse_no_data_timer_init 
+01c7 202043fa branch mouse_bb_event_connected 
 
 p_mouse_le_bb_disconnected:
-01d3 58000000 setarg 0 
-01d4 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-01d5 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
-01d6 58000006 setarg le_interval_7_5ms 
-01d7 67e14372 store 2 ,mem_le_interval_min 
-01d8 67e14374 store 2 ,mem_le_interval_min + 2 
-01d9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-01da c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
-01db 58000007 setarg le_interval_8_75ms 
-01dc 20204364 branch mouse_le_bb_disconnected_next 
+01c8 58000000 setarg 0 
+01c9 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+01ca 704ac600 jam 0 ,mem_mouse_le_bb_connected_flag 
+01cb 58000006 setarg le_interval_7_5ms 
+01cc 67e14372 store 2 ,mem_le_interval_min 
+01cd 67e14374 store 2 ,mem_le_interval_min + 2 
+01ce 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01cf c28dc366 bbit1 mouse_enable_bt_125hz ,mouse_le_bb_disconnected_next + 2 
+01d0 58000007 setarg le_interval_8_75ms 
+01d1 20204364 branch mouse_le_bb_disconnected_next 
 
 p_mouse_le_ll_start_encryt:
-01dd 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-01de c00081e1 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
-01df 704b7614 jam 20 ,mem_le_start_encrypt_timer 
-01e0 20204373 branch mouse_le_ll_enable_start_enc_flag 
+01d2 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+01d3 c00081d6 beq 1 ,p_mouse_le_ll_reconn_start_encryt 
+01d4 704b7614 jam 20 ,mem_le_start_encrypt_timer 
+01d5 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_ll_reconn_start_encryt:
-01e1 2040436c call mouse_updata_le_param 
-01e2 704b7605 jam 5 ,mem_le_start_encrypt_timer 
-01e3 20204373 branch mouse_le_ll_enable_start_enc_flag 
+01d6 2040436c call mouse_updata_le_param 
+01d7 704b7605 jam 5 ,mem_le_start_encrypt_timer 
+01d8 20204373 branch mouse_le_ll_enable_start_enc_flag 
 
 p_mouse_le_parse_conn_param_accepted:
-01e4 6fe082c1 fetch 1 ,mem_le_new_conninterval 
-01e5 1fe67c0c sub pdata ,le_interval_15ms ,null 
-01e6 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
-01e7 67e14372 store 2 ,mem_le_interval_min 
-01e8 67e14374 store 2 ,mem_le_interval_min + 2 
-01e9 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-01ea 203a439a branch mouse_le_lpm_mult_reinit ,blank 
-01eb 6848cb8a fetcht 1 ,mem_lpm_mult_init 
-01ec 98467c00 isub temp ,null 
-01ed 2021439a branch mouse_le_lpm_mult_reinit ,positive 
-01ee 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
-01ef 67e0cb8a store 1 ,mem_lpm_mult_init 
-01f0 20204386 branch mouse_le_conn_param_lpm_enable 
+01d9 6fe082c1 fetch 1 ,mem_le_new_conninterval 
+01da 1fe67c0c sub pdata ,le_interval_15ms ,null 
+01db 24214384 nbranch mouse_le_conn_param_lpm_disable ,positive 
+01dc 67e14372 store 2 ,mem_le_interval_min 
+01dd 67e14374 store 2 ,mem_le_interval_min + 2 
+01de 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01df 203a439a branch mouse_le_lpm_mult_reinit ,blank 
+01e0 6848cb8a fetcht 1 ,mem_lpm_mult_init 
+01e1 98467c00 isub temp ,null 
+01e2 2021439a branch mouse_le_lpm_mult_reinit ,positive 
+01e3 6fe082c3 fetch 1 ,mem_le_new_connslavelatency 
+01e4 67e0cb8a store 1 ,mem_lpm_mult_init 
+01e5 20204386 branch mouse_le_conn_param_lpm_enable 
 
 p_mouse_24g_pairing_complete:
-01f1 20404544 call mouse_no_data_timer_init 
-01f2 20204857 branch mouse_24g_pairing_complete 
+01e6 20404544 call mouse_no_data_timer_init 
+01e7 20204857 branch mouse_24g_pairing_complete 
 
 p_mouse_24g_attempt_success:
-01f3 6fe2483c fetch 4 ,mem_24g_addr 
-01f4 67e24891 store 4 ,mem_24g_receiver_addr 
-01f5 67e24993 store 4 ,mem_mouse_24g_addr 
-01f6 2040257e call g24_ch_syncword_crc8_init 
-01f7 204048c6 call mouse_device_poweron_timer_init 
-01f8 20404544 call mouse_no_data_timer_init 
-01f9 2020484e branch mouse_24g_attempt_success 
+01e8 6fe2483c fetch 4 ,mem_24g_addr 
+01e9 67e24891 store 4 ,mem_24g_receiver_addr 
+01ea 67e24993 store 4 ,mem_mouse_24g_addr 
+01eb 2040257e call g24_ch_syncword_crc8_init 
+01ec 204048c6 call mouse_device_poweron_timer_init 
+01ed 20404544 call mouse_no_data_timer_init 
+01ee 2020484e branch mouse_24g_attempt_success 
 
 p_mouse_24g_attempt_fail:
-01fa 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
-01fb 243a01a6 nbranch p_mouse_24g_hibernate_set ,blank 
-01fc 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-01fd c0010201 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
-01fe c002020c beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-01ff c0018211 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-0200 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
+01ef 6fe0c8a5 fetch 1 ,mem_24g_attempt_fail_flag 
+01f0 243a019b nbranch p_mouse_24g_hibernate_set ,blank 
+01f1 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+01f2 c00101f6 beq fast_conn_and_3_0_addr ,p_mouse_24g_fast_conn_attempt_fail 
+01f3 c0020201 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+01f4 c0018206 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+01f5 20204839 branch mouse_24g_attempt_fail_enter_hibernate 
 
 p_mouse_24g_fast_conn_attempt_fail:
-0201 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0202 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
-0203 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
-0204 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
-0205 6fe24993 fetch 4 ,mem_mouse_24g_addr 
-0206 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
-0207 98467c00 isub temp ,null 
-0208 2022820a branch p_mouse_24g_start_pair_mode ,zero 
-0209 20204806 branch mouse_24g_reconn_dongle_start 
+01f6 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+01f7 c297c811 bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_start_auto_pair 
+01f8 c2984811 bbit1 mouse_enable_auto_24g_paring ,mouse_24g_start_auto_pair 
+01f9 c31d4806 bbit0 mouse_enable_24g_auto_pair_nerver_been_paired ,mouse_24g_reconn_dongle_start 
+01fa 6fe24993 fetch 4 ,mem_mouse_24g_addr 
+01fb 684a4974 fetcht 4 ,mem_mouse_compare_addr_ff 
+01fc 98467c00 isub temp ,null 
+01fd 202281ff branch p_mouse_24g_start_pair_mode ,zero 
+01fe 20204806 branch mouse_24g_reconn_dongle_start 
 
 p_mouse_24g_start_pair_mode:
-020a 70488b00 jam 0 ,mem_24g_reconn_type 
-020b 20204827 branch mouse_24g_start_pair_mode 
+01ff 70488b00 jam 0 ,mem_24g_reconn_type 
+0200 20204827 branch mouse_24g_start_pair_mode 
 
 p_mouse_24g_auto_pair_attempt_fail:
-020c 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-020d c3178216 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-020e 6fe0cbb4 fetch 1 ,mem_device_number 
-020f c0008216 beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
-0210 2020481a branch mouse_24g_first_bluetooth_reconnect 
+0201 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0202 c317820b bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+0203 6fe0cbb4 fetch 1 ,mem_device_number 
+0204 c000820b beq 1 ,p_mouse_24g_attempt_fail_enter_hibernate 
+0205 2020481a branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_reconn_dongle_attempt_fail:
-0211 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0212 c3178216 bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
-0213 c2898216 bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
-0214 c2890216 bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
-0215 20204812 branch mouse_24g_start_auto_pair + 1 
+0206 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0207 c317820b bbit0 mouse_enable_24g_first_auto_pairing ,p_mouse_24g_attempt_fail_enter_hibernate 
+0208 c289820b bbit1 mouse_enable_eeprom ,p_mouse_24g_attempt_fail_enter_hibernate 
+0209 c289020b bbit1 mouse_enable_flash ,p_mouse_24g_attempt_fail_enter_hibernate 
+020a 20204812 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_24g_attempt_fail_enter_hibernate:
-0216 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0217 c31e4839 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
-0218 202001a6 branch p_mouse_24g_hibernate_set 
+020b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+020c c31e4839 bbit0 mouse_enable_wheel_wake_up_cancel ,mouse_24g_attempt_fail_enter_hibernate 
+020d 2020019b branch p_mouse_24g_hibernate_set 
 
 p_g24_pair_dispatch:
-0219 70488b00 jam default_24g_device ,mem_24g_reconn_type 
-021a 6fe14beb fetch 2 ,mem_24g_pair_count 
-021b 1fe0fe01 increase 1 ,pdata 
-021c 67e14beb store 2 ,mem_24g_pair_count 
-021d 6fe0cbeb fetch 1 ,mem_24g_pair_count 
-021e 1fe17eff and pdata ,0xff ,pdata 
-021f c0002341 beq 0 ,g24_pair_dispatch + 1 
-0220 20600000 rtn 
+020e 70488b00 jam default_24g_device ,mem_24g_reconn_type 
+020f 6fe14beb fetch 2 ,mem_24g_pair_count 
+0210 1fe0fe01 increase 1 ,pdata 
+0211 67e14beb store 2 ,mem_24g_pair_count 
+0212 6fe0cbeb fetch 1 ,mem_24g_pair_count 
+0213 1fe17eff and pdata ,0xff ,pdata 
+0214 c0002341 beq 0 ,g24_pair_dispatch + 1 
+0215 20600000 rtn 
 
 p_g24_reconn_dispatch:
-0221 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0222 d84001f8 arg 0x01f8 ,temp 
-0223 98417e00 iand temp ,pdata 
-0224 203a0229 branch p_g24_reconn_dispatch_next ,blank 
-0225 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0226 1fe0fe01 increase 1 ,pdata 
-0227 67e14889 store 2 ,mem_24g_reconn_count 
-0228 20600000 rtn 
+0216 6fe14889 fetch 2 ,mem_24g_reconn_count 
+0217 d84001f8 arg 0x01f8 ,temp 
+0218 98417e00 iand temp ,pdata 
+0219 203a021e branch p_g24_reconn_dispatch_next ,blank 
+021a 6fe14889 fetch 2 ,mem_24g_reconn_count 
+021b 1fe0fe01 increase 1 ,pdata 
+021c 67e14889 store 2 ,mem_24g_reconn_count 
+021d 20600000 rtn 
 
 p_g24_reconn_dispatch_next:
-0229 2040259a call g24_reconn_data_prep 
-022a 2040265b call g24_transmit_receive_ack 
-022b 242c0244 nbranch p_g24_reconn_device_fail ,sync 
-022c 24378244 nbranch p_g24_reconn_device_fail ,user3 
-022d 20402672 call g24_ackpayload_parse 
-022e 6fe24877 fetch 4 ,mem_24g_pair_addr 
-022f 684a483c fetcht 4 ,mem_24g_addr 
-0230 98467c00 isub temp ,null 
-0231 2022a32e branch g24_pair_start ,zero 
-0232 6fe248a9 fetch 4 ,mem_24g_device_addr 
-0233 684a483c fetcht 4 ,mem_24g_addr 
-0234 98467c00 isub temp ,null 
-0235 20428240 call p_g24_store_receiver_addr ,zero 
-0236 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-0237 793ffe02 set0 state_24g_reconn ,pdata 
-0238 67e0c8a1 store 1 ,mem_24g_conn_sm 
-0239 58000000 setarg 0 
-023a 67e14883 store 2 ,mem_24g_pair_timeout 
-023b 67e14889 store 2 ,mem_24g_reconn_count 
-023c 67e14887 store 2 ,mem_24g_reconn_timeout 
-023d 70095b3c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
-023e 20407871 call ui_ipc_send_event 
-023f 20202597 branch g24_txbuf_clear 
+021e 2040259a call g24_reconn_data_prep 
+021f 2040265b call g24_transmit_receive_ack 
+0220 242c0239 nbranch p_g24_reconn_device_fail ,sync 
+0221 24378239 nbranch p_g24_reconn_device_fail ,user3 
+0222 20402672 call g24_ackpayload_parse 
+0223 6fe24877 fetch 4 ,mem_24g_pair_addr 
+0224 684a483c fetcht 4 ,mem_24g_addr 
+0225 98467c00 isub temp ,null 
+0226 2022a32e branch g24_pair_start ,zero 
+0227 6fe248a9 fetch 4 ,mem_24g_device_addr 
+0228 684a483c fetcht 4 ,mem_24g_addr 
+0229 98467c00 isub temp ,null 
+022a 20428235 call p_g24_store_receiver_addr ,zero 
+022b 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+022c 793ffe02 set0 state_24g_reconn ,pdata 
+022d 67e0c8a1 store 1 ,mem_24g_conn_sm 
+022e 58000000 setarg 0 
+022f 67e14883 store 2 ,mem_24g_pair_timeout 
+0230 67e14889 store 2 ,mem_24g_reconn_count 
+0231 67e14887 store 2 ,mem_24g_reconn_timeout 
+0232 70095b3c jam bt_evt_24g_attempt_success ,mem_fifo_temp 
+0233 20407871 call ui_ipc_send_event 
+0234 20202597 branch g24_txbuf_clear 
 
 p_g24_store_receiver_addr:
-0240 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
-0241 207a0000 rtn blank 
-0242 67e24891 store 4 ,mem_24g_receiver_addr 
-0243 2020257e branch g24_ch_syncword_crc8_init 
+0235 6fe2480c fetch 4 ,mem_24g_rxpayload + 2 
+0236 207a0000 rtn blank 
+0237 67e24891 store 4 ,mem_24g_receiver_addr 
+0238 2020257e branch g24_ch_syncword_crc8_init 
 
 p_g24_reconn_device_fail:
-0244 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
-0245 203a22cb branch g24_ch ,blank 
-0246 6fe14889 fetch 2 ,mem_24g_reconn_count 
-0247 1fe0fe01 increase 1 ,pdata 
-0248 67e14889 store 2 ,mem_24g_reconn_count 
-0249 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
-024a 2feffe01 isolate1 1 ,pdata 
-024b 6fe0c88b fetch 1 ,mem_24g_reconn_type 
-024c c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
-024d c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
-024e c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
-024f c0020251 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
-0250 2020256e branch g24_reconn_receiver_addr 
+0239 6fe0c88c fetch 1 ,mem_24g_fast_conn_enable 
+023a 203a22cb branch g24_ch ,blank 
+023b 6fe14889 fetch 2 ,mem_24g_reconn_count 
+023c 1fe0fe01 increase 1 ,pdata 
+023d 67e14889 store 2 ,mem_24g_reconn_count 
+023e 6fe0c88a fetch 1 ,mem_24g_reconn_count + 1 
+023f 2feffe01 isolate1 1 ,pdata 
+0240 6fe0c88b fetch 1 ,mem_24g_reconn_type 
+0241 c000a5ad beq fast_conn_and_receiver ,g24_reconn_fast_conn_and_receiver 
+0242 c00125af beq fast_conn_and_3_0_addr ,g24_reconn_fast_conn_and_3_0 
+0243 c001a5b1 beq receiver_and_3_0_addr ,g24_reconn_receiver_and_3_0 
+0244 c0020246 beq pair_and_3_0_addr ,p_g24_reconn_pair_and_3_0 
+0245 2020256e branch g24_reconn_receiver_addr 
 
 p_g24_reconn_pair_and_3_0:
-0251 2020a575 branch g24_reconn_device_3_0_addr ,true 
-0252 20202339 branch g24_pair_init_param 
+0246 2020a575 branch g24_reconn_device_3_0_addr ,true 
+0247 20202339 branch g24_pair_init_param 
 
 p_g24_dispatch:
-0253 c61a0000 rtnmark1 mark_adc_enable 
-0254 c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
+0248 c61a0000 rtnmark1 mark_adc_enable 
+0249 c513a40e bmark1 mark_24g_rxmode ,g24_receive_dispatch 
 
 p_g24_transmit_dispatch:
-0255 c6930000 rtnmark0 mark_24g 
-0256 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
-0257 c2818468 bbit1 state_24g_ota ,p_g24_ota_dispatch 
-0258 c280a340 bbit1 state_24g_pair ,g24_pair_dispatch 
-0259 c2812580 bbit1 state_24g_reconn ,g24_reconn_dispatch 
-025a 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-025b c000825d beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
-025c 20202621 branch g24_transmit_no_interrupt 
+024a c6930000 rtnmark0 mark_24g 
+024b 6fe0c8a1 fetch 1 ,mem_24g_conn_sm 
+024c c280a340 bbit1 state_24g_pair ,g24_pair_dispatch 
+024d c2812580 bbit1 state_24g_reconn ,g24_reconn_dispatch 
+024e 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+024f c0008251 beq g24_tx_timer_int_enable ,p_g24_transmit_by_interrupt 
+0250 20202621 branch g24_transmit_no_interrupt 
 
 p_g24_transmit_by_interrupt:
-025d 204022ea call g24_timer_check 
-025e 24340255 nbranch p_g24_transmit_dispatch ,user 
-025f 204026db call g24_interval_calibrate 
-0260 6fe148be fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0261 1fe0fe01 increase 1 ,pdata 
-0262 67e148be store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0263 20202621 branch g24_transmit_no_interrupt 
+0251 204022ea call g24_timer_check 
+0252 2434024a nbranch p_g24_transmit_dispatch ,user 
+0253 204026db call g24_interval_calibrate 
+0254 6fe148be fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0255 1fe0fe01 increase 1 ,pdata 
+0256 67e148be store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0257 20202621 branch g24_transmit_no_interrupt 
 
 p_mouse_start_work:
-0264 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0265 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
-0266 6fe0c938 fetch 1 ,mem_device_flag 
-0267 c0000269 beq mode_24g_device ,p_mouse_24g_start_mode 
-0268 20203d57 branch mouse_start_work + 5 
+0258 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0259 c297c80a bbit1 mouse_enable_24g_first_auto_pairing ,mouse_24g_first_start_auto_pair_mode 
+025a 6fe0c938 fetch 1 ,mem_device_flag 
+025b c000025d beq mode_24g_device ,p_mouse_24g_start_mode 
+025c 20203d57 branch mouse_start_work + 5 
 
 p_mouse_24g_start_mode:
-0269 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-026a c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
-026b 20403d65 call mouse_wakeup_from_power_check 
-026c 20344806 branch mouse_24g_reconn_dongle_start ,user 
-026d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-026e c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
-026f c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
-0270 20404110 call mouse_key_check_once 
-0271 1a217e07 and rega ,0x07 ,pdata 
-0272 202047ff branch mouse_24g_start_mode + 9 
+025d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+025e c308c803 bbit0 mouse_enable_24g ,mouse_24g_mode_setup_error 
+025f 20403d65 call mouse_wakeup_from_power_check 
+0260 20344806 branch mouse_24g_reconn_dongle_start ,user 
+0261 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0262 c298480c bbit1 mouse_enable_auto_24g_paring ,mouse_24g_reconn_general_dongle 
+0263 c318c80c bbit0 mouse_enable_24g_power_on_pairing ,mouse_24g_reconn_general_dongle 
+0264 20404110 call mouse_key_check_once 
+0265 1a217e07 and rega ,0x07 ,pdata 
+0266 202047ff branch mouse_24g_start_mode + 9 
 
 p_mouse_seting_dpi:
-0273 2040408f call mouse_setting_dpi_4_level 
-0274 20400276 call p_mouse_dpi_led_blink_delay 
-0275 20204098 branch mouse_seting_sensor_type 
+0267 2040408f call mouse_setting_dpi_4_level 
+0268 2040026a call p_mouse_dpi_led_blink_delay 
+0269 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-0276 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-0277 c17f8000 rtneq gpio_disable 
-0278 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0279 247a0000 nrtn blank 
-027a 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-027b 247a0000 nrtn blank 
-027c 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-027d 247a0000 nrtn blank 
-027e 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-027f 247a0000 nrtn blank 
-0280 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-0281 203a02b1 branch p_mouse_dpi_led_blink_init ,blank 
-0282 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-0283 20600000 rtn 
+026a 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+026b c17f8000 rtneq gpio_disable 
+026c 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+026d 247a0000 nrtn blank 
+026e 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+026f 247a0000 nrtn blank 
+0270 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0271 247a0000 nrtn blank 
+0272 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
+0273 247a0000 nrtn blank 
+0274 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+0275 203a02a5 branch p_mouse_dpi_led_blink_init ,blank 
+0276 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+0277 20600000 rtn 
 
 p_mouse_bb_event_timer:
-0284 20403e9b call mouse_adc_read 
-0285 20404956 call mouse_low_voltage_led_timer 
-0286 2040232b call g24_pair_timeout_timer 
-0287 20402556 call g24_reconn_timeout_timer 
-0288 204047cd call mouse_24g_long_sleep_param_update_timer 
-0289 204048be call mouse_device_poweron_timer 
-028a 204002ae call p_mouse_dpi_led_blink_delay_timer 
-028b 2040407c call mouse_dpi_key_check_long_press 
-028c 204044cc call mouse_bt_discovery_check 
-028d 204002c6 call p_mouse_commbination_key_process 
-028e 204002de call p_mouse_24g_pair_key_timer 
-028f 204044ff call mouse_check_discovery_timeout_timer 
-0290 20404504 call mouse_check_direct_timeout_timer 
-0291 20404512 call mouse_le_enable_att_list_timer 
-0292 204002e4 call p_mouse_le_battery_updata_timer 
-0293 20404515 call mouse_le_send_smp_security_request_timer 
-0294 2040452a call mouse_check_hid_handshake_timer 
-0295 2040452d call mouse_bt_check_sniff_req_timeout_timer 
-0296 20404532 call mouse_check_reconnect_delay_long_sleep 
-0297 20404535 call mouse_current_mult_update_timer 
-0298 20404022 call mouse_wheel_trigger_timer 
-0299 20404547 call mouse_store_information_delay_timer 
-029a 204002a0 call p_mouse_logo_led_on_timer 
-029b 204002e7 call p_mouse_check_no_data_timeout_timer 
-029c 2020029d branch p_mouse_g24_ota_reset_timer 
+0278 20403e9b call mouse_adc_read 
+0279 20404956 call mouse_low_voltage_led_timer 
+027a 2040232b call g24_pair_timeout_timer 
+027b 20402556 call g24_reconn_timeout_timer 
+027c 204047cd call mouse_24g_long_sleep_param_update_timer 
+027d 204048be call mouse_device_poweron_timer 
+027e 204002a2 call p_mouse_dpi_led_blink_delay_timer 
+027f 2040407c call mouse_dpi_key_check_long_press 
+0280 204044cc call mouse_bt_discovery_check 
+0281 204002ba call p_mouse_commbination_key_process 
+0282 204002d2 call p_mouse_24g_pair_key_timer 
+0283 204044ff call mouse_check_discovery_timeout_timer 
+0284 20404504 call mouse_check_direct_timeout_timer 
+0285 20404512 call mouse_le_enable_att_list_timer 
+0286 204002d8 call p_mouse_le_battery_updata_timer 
+0287 20404515 call mouse_le_send_smp_security_request_timer 
+0288 2040452a call mouse_check_hid_handshake_timer 
+0289 2040452d call mouse_bt_check_sniff_req_timeout_timer 
+028a 20404532 call mouse_check_reconnect_delay_long_sleep 
+028b 20404535 call mouse_current_mult_update_timer 
+028c 20404022 call mouse_wheel_trigger_timer 
+028d 20404547 call mouse_store_information_delay_timer 
+028e 20400294 call p_mouse_logo_led_on_timer 
+028f 204002db call p_mouse_check_no_data_timeout_timer 
+0290 20200291 branch p_mouse_g24_ota_reset_timer 
 
 p_mouse_g24_ota_reset_timer:
-029d da604c1d arg mem_g24_ota_reset_timer ,regc 
-029e da405d8c arg soft_reset_chip ,regb 
-029f 2020318a branch timer_single_step 
+0291 da604c1d arg mem_g24_ota_reset_timer ,regc 
+0292 da405d8c arg soft_reset_chip ,regb 
+0293 2020318a branch timer_single_step 
 
 p_mouse_logo_led_on_timer:
-02a0 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
-02a1 c17f8000 rtneq gpio_disable 
-02a2 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
-02a3 207a0000 rtn blank 
-02a4 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
-02a5 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
-02a6 98460400 isub temp ,temp 
-02a7 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
-02a8 98467e00 isub temp ,pdata 
-02a9 202102ac branch p_mouse_logo_led_on ,positive 
+0294 6fe0cbed fetch 1 ,mem_mouse_logo_led_gpio 
+0295 c17f8000 rtneq gpio_disable 
+0296 6fe14ab2 fetch 2 ,mem_mouse_no_data_timer 
+0297 207a0000 rtn blank 
+0298 6fe14bbe fetch 2 ,mem_mouse_no_data_timeout 
+0299 68494ab2 fetcht 2 ,mem_mouse_no_data_timer 
+029a 98460400 isub temp ,temp 
+029b 6fe14bee fetch 2 ,mem_mouse_logo_led_on_time_init 
+029c 98467e00 isub temp ,pdata 
+029d 202102a0 branch p_mouse_logo_led_on ,positive 
 
 p_mouse_logo_led_off:
-02aa 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-02ab 20206065 branch gpio_out_inactive 
+029e 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+029f 20206065 branch gpio_out_inactive 
 
 p_mouse_logo_led_on:
-02ac 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
-02ad 20406069 call gpio_out_active 
+02a0 6848cbed fetcht 1 ,mem_mouse_logo_led_gpio 
+02a1 20406069 call gpio_out_active 
 
 p_mouse_dpi_led_blink_delay_timer:
-02ae da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-02af da4002b1 arg p_mouse_dpi_led_blink_init ,regb 
-02b0 2020318a branch timer_single_step 
+02a2 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+02a3 da4002a5 arg p_mouse_dpi_led_blink_init ,regb 
+02a4 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-02b1 6fe0c927 fetch 1 ,mem_config_sensor_type 
-02b2 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-02b3 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-02b4 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-02b5 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-02b6 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-02b7 67e14930 store 2 ,mem_mouse_on_time 
-02b8 67e14932 store 2 ,mem_mouse_off_time 
-02b9 da200000 arg 0 ,rega 
-02ba 6848c992 fetcht 1 ,mem_mouse_dpi 
-02bb 18408402 increase 2 ,temp 
-02bc 18467c03 sub temp ,3 ,null 
-02bd 204102c0 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-02be 244102c4 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-02bf 202048ff branch mouse_dpi_led_blink_init_end 
+02a5 6fe0c927 fetch 1 ,mem_config_sensor_type 
+02a6 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+02a7 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+02a8 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+02a9 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+02aa 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+02ab 67e14930 store 2 ,mem_mouse_on_time 
+02ac 67e14932 store 2 ,mem_mouse_off_time 
+02ad da200000 arg 0 ,rega 
+02ae 6848c992 fetcht 1 ,mem_mouse_dpi 
+02af 18408402 increase 2 ,temp 
+02b0 18467c03 sub temp ,3 ,null 
+02b1 204102b4 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+02b2 244102b8 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+02b3 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-02c0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02c1 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-02c2 18408401 increase 1 ,temp 
-02c3 20600000 rtn 
+02b4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02b5 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+02b6 18408401 increase 1 ,temp 
+02b7 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-02c4 184085fd increase -3 ,temp 
-02c5 20600000 rtn 
+02b8 184085fd increase -3 ,temp 
+02b9 20600000 rtn 
 
 p_mouse_commbination_key_process:
-02c6 6fe0c938 fetch 1 ,mem_device_flag 
-02c7 c00002cc beq mode_24g_device ,p_mouse_24g_commbination_key_process 
-02c8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02c9 c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
-02ca 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
-02cb 202002cf branch p_mouse_commbination_key_start 
+02ba 6fe0c938 fetch 1 ,mem_device_flag 
+02bb c00002c0 beq mode_24g_device ,p_mouse_24g_commbination_key_process 
+02bc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02bd c41a8000 rtnbit0 mouse_enable_commbination_key_by_bt_discovery 
+02be 6848cbca fetcht 1 ,mem_mouse_commbination_key_bt 
+02bf 202002c3 branch p_mouse_commbination_key_start 
 
 p_mouse_24g_commbination_key_process:
-02cc 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02cd c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
-02ce 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
+02c0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02c1 c4190000 rtnbit0 mouse_enable_commbination_key_by_24g_pairing 
+02c2 6848cbcb fetcht 1 ,mem_mouse_commbination_key_24g 
 
 p_mouse_commbination_key_start:
-02cf 6048cb9d storet 1 ,mem_mouse_commbination_key 
-02d0 20404115 call mouse_check_key_gpio 
-02d1 1fe17e07 and pdata ,0x07 ,pdata 
-02d2 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
-02d3 98467c00 isub temp ,null 
-02d4 202282d6 branch p_mouse_commbination_key_down ,zero 
-02d5 202044eb branch mouse_commbination_key_up 
+02c3 6048cb9d storet 1 ,mem_mouse_commbination_key 
+02c4 20404115 call mouse_check_key_gpio 
+02c5 1fe17e07 and pdata ,0x07 ,pdata 
+02c6 6848cb9d fetcht 1 ,mem_mouse_commbination_key 
+02c7 98467c00 isub temp ,null 
+02c8 202282ca branch p_mouse_commbination_key_down ,zero 
+02c9 202044eb branch mouse_commbination_key_up 
 
 p_mouse_commbination_key_down:
-02d6 204002dc call p_mouse_combination_ui_timer + 1 
-02d7 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
-02d8 c1008000 rtneq commbination_key_state_down 
-02d9 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
-02da 20600000 rtn 
+02ca 204002d0 call p_mouse_combination_ui_timer + 1 
+02cb 6fe0cb9f fetch 1 ,mem_commbination_key_statue 
+02cc c1008000 rtneq commbination_key_state_down 
+02cd 704b9f01 jam commbination_key_state_down ,mem_commbination_key_statue 
+02ce 20600000 rtn 
 
 p_mouse_combination_ui_timer:
-02db 20403f56 call mouse_gpio_config_input_pu 
-02dc da40020a arg p_mouse_24g_start_pair_mode ,regb 
-02dd 202044f7 branch mouse_combination_ui_timer + 1 
+02cf 20403f56 call mouse_gpio_config_input_pu 
+02d0 da4001ff arg p_mouse_24g_start_pair_mode ,regb 
+02d1 202044f7 branch mouse_combination_ui_timer + 1 
 
 p_mouse_24g_pair_key_timer:
-02de 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
-02df 20403f54 call mouse_gpio_config_input_pd 
-02e0 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
-02e1 20406059 call gpio_get_bit 
-02e2 242082db nbranch p_mouse_combination_ui_timer ,true 
-02e3 20203f56 branch mouse_gpio_config_input_pu 
+02d2 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
+02d3 20403f54 call mouse_gpio_config_input_pd 
+02d4 6848cc3f fetcht 1 ,mem_24g_pair_button_gpio 
+02d5 20406059 call gpio_get_bit 
+02d6 242082cf nbranch p_mouse_combination_ui_timer ,true 
+02d7 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_le_battery_updata_timer:
-02e4 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-02e5 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
-02e6 2020451f branch mouse_le_battery_updata_timer 
+02d8 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+02d9 c39d8000 rtnbit1 mouse_enable_le_battery_service_cancel 
+02da 2020451f branch mouse_le_battery_updata_timer 
 
 p_mouse_check_no_data_timeout_timer:
-02e7 6fe0c92a fetch 1 ,mem_usb_addr 
-02e8 c3838000 rtnbit1 7 
-02e9 da604ab2 arg mem_mouse_no_data_timer ,regc 
-02ea da4002ec arg p_mouse_check_no_data_timeout ,regb 
-02eb 20203191 branch timer_single_step_2b 
+02db 6fe0c92a fetch 1 ,mem_usb_addr 
+02dc c3838000 rtnbit1 7 
+02dd da604ab2 arg mem_mouse_no_data_timer ,regc 
+02de da4002e0 arg p_mouse_check_no_data_timeout ,regb 
+02df 20203191 branch timer_single_step_2b 
 
 p_mouse_check_no_data_timeout:
-02ec 6fe0c938 fetch 1 ,mem_device_flag 
-02ed c00001a6 beq mode_24g_device ,p_mouse_24g_hibernate_set 
-02ee 2020431b branch mouse_disconnect 
+02e0 6fe0c938 fetch 1 ,mem_device_flag 
+02e1 c000019b beq mode_24g_device ,p_mouse_24g_hibernate_set 
+02e2 2020431b branch mouse_disconnect 
 
 p_mouse_start_discovery:
-02ef 6fe1478c fetch 2 ,mem_ui_state_map 
-02f0 2feffe0b isolate1 ui_state_ble_adv ,pdata 
-02f1 2040c581 call mouse_stop_le_adv ,true 
-02f2 6fe1478c fetch 2 ,mem_ui_state_map 
-02f3 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
-02f4 2040c322 call mouse_cancel_reconnect ,true 
-02f5 58000000 setarg 0 
-02f6 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
-02f7 20204554 branch mouse_start_discovery + 1 
+02e3 6fe1478c fetch 2 ,mem_ui_state_map 
+02e4 2feffe0b isolate1 ui_state_ble_adv ,pdata 
+02e5 2040c581 call mouse_stop_le_adv ,true 
+02e6 6fe1478c fetch 2 ,mem_ui_state_map 
+02e7 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
+02e8 2040c322 call mouse_cancel_reconnect ,true 
+02e9 58000000 setarg 0 
+02ea 67e14af2 store 2 ,mem_le_battery_level_updata_timer 
+02eb 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-02f8 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-02f9 245a7861 ncall ui_timer_init ,blank 
-02fa 704be200 jam 0 ,mem_power_on_flag 
-02fb 20207851 branch ui_timer_check + 1 
+02ec 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+02ed 245a7861 ncall ui_timer_init ,blank 
+02ee 704be200 jam 0 ,mem_power_on_flag 
+02ef 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-02fc 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-02fd 1fe20c00 copy pdata ,contr 
-02fe efe08006 ifetch 1 ,contr 
-02ff 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0300 1fe1040f and pdata ,0x0f ,temp 
-0301 1ff1fe00 rshift4 pdata ,pdata 
-0302 c0048304 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0303 20204d93 branch hid_rx_process + 7 
+02f0 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+02f1 1fe20c00 copy pdata ,contr 
+02f2 efe08006 ifetch 1 ,contr 
+02f3 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+02f4 1fe1040f and pdata ,0x0f ,temp 
+02f5 1ff1fe00 rshift4 pdata ,pdata 
+02f6 c00482f8 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+02f7 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0304 da200001 arg 1 ,rega 
-0305 20404dc0 call hid_malloc_tx_buff 
-0306 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-0307 e7e10005 istore 2 ,contw 
-0308 58000000 setarg 0 
-0309 e7e08005 istore 1 ,contw 
-030a 70095001 jam 1 ,mem_ui_data_txbuff_length 
-030b 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-030c 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-030d 67e0c4e2 store 1 ,mem_hid_control_state 
-030e 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-030f 20207871 branch ui_ipc_send_event 
+02f8 da200001 arg 1 ,rega 
+02f9 20404dc0 call hid_malloc_tx_buff 
+02fa 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+02fb e7e10005 istore 2 ,contw 
+02fc 58000000 setarg 0 
+02fd e7e08005 istore 1 ,contw 
+02fe 70095001 jam 1 ,mem_ui_data_txbuff_length 
+02ff 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0300 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0301 67e0c4e2 store 1 ,mem_hid_control_state 
+0302 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0303 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-0310 6fe0c3dd fetch 1 ,mem_le_md_count 
-0311 1fe0fe01 pincrease 1 
-0312 67e0c3dd store 1 ,mem_le_md_count 
-0313 c006165a beq le_md_max_count ,le_slave_cont 
-0314 2040191b call le_acknowledge 
-0315 2040196a call le_prepare_tx 
-0316 6fe082bd fetch 1 ,mem_le_tx_phy 
-0317 2040168b call le_enable_phy_by_pdata 
-0318 20401838 call le_transmit 
-0319 20201655 branch le_slave_match + 10 
+0304 6fe0c3dd fetch 1 ,mem_le_md_count 
+0305 1fe0fe01 pincrease 1 
+0306 67e0c3dd store 1 ,mem_le_md_count 
+0307 c006165a beq le_md_max_count ,le_slave_cont 
+0308 2040191b call le_acknowledge 
+0309 2040196a call le_prepare_tx 
+030a 6fe082bd fetch 1 ,mem_le_tx_phy 
+030b 2040168b call le_enable_phy_by_pdata 
+030c 20401838 call le_transmit 
+030d 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-031a efe10006 ifetch 2 ,contr 
-031b c002031d beq le_l2cap_cid_att ,p_le_parse_att 
-031c 202019e4 branch le_parse_l2cap + 10 
+030e efe10006 ifetch 2 ,contr 
+030f c0020311 beq le_l2cap_cid_att ,p_le_parse_att 
+0310 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-031d efe18006 ifetch 3 ,contr 
-031e 67e1c436 store 3 ,mem_le_att_opcode 
-031f c0050322 beq attop_read_request ,p_le_parse_att_read_request 
-0320 c0090331 beq attop_write_request ,p_le_parse_att_write_request 
-0321 20201cd3 branch le_parse_att + 2 
+0311 efe18006 ifetch 3 ,contr 
+0312 67e1c436 store 3 ,mem_le_att_opcode 
+0313 c0050316 beq attop_read_request ,p_le_parse_att_read_request 
+0314 c0090325 beq attop_write_request ,p_le_parse_att_write_request 
+0315 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_read_request:
-0322 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0323 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
-0324 20401e8d call le_check_encrypt_state 
-0325 68494437 fetcht 2 ,mem_le_att_handle 
-0326 6fe0c3c0 fetch 1 ,mem_le_configuration 
-0327 c281832c bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
+0316 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0317 c31d9de7 bbit0 mouse_enable_le_battery_service_cancel ,le_parse_att_read_request 
+0318 20401e8d call le_check_encrypt_state 
+0319 68494437 fetcht 2 ,mem_le_att_handle 
+031a 6fe0c3c0 fetch 1 ,mem_le_configuration 
+031b c2818320 bbit1 bit_ble_read_auth ,p_le_send_att_read_response_check_auth 
 
 p_le_send_att_read_response:
-0328 6fe14437 fetch 2 ,mem_le_att_handle 
-0329 c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
-032a 68494437 fetcht 2 ,mem_le_att_handle 
-032b 20201deb branch le_send_att_read_response 
+031c 6fe14437 fetch 2 ,mem_le_att_handle 
+031d c0181ec8 beq 0x30 ,le_send_att_error_response_notfound 
+031e 68494437 fetcht 2 ,mem_le_att_handle 
+031f 20201deb branch le_send_att_read_response 
 
 p_le_send_att_read_response_check_auth:
-032c 6fe143d1 fetch 2 ,mem_le_pairing_handle 
-032d 98467c00 isub temp ,null 
-032e 24228328 nbranch p_le_send_att_read_response ,zero 
-032f 24340328 nbranch p_le_send_att_read_response ,user 
-0330 20201e10 branch le_send_att_read_response_error_insufficient_auth 
+0320 6fe143d1 fetch 2 ,mem_le_pairing_handle 
+0321 98467c00 isub temp ,null 
+0322 2422831c nbranch p_le_send_att_read_response ,zero 
+0323 2434031c nbranch p_le_send_att_read_response ,user 
+0324 20201e10 branch le_send_att_read_response_error_insufficient_auth 
 
 p_le_parse_att_write_request:
-0331 18c22200 copy contr ,rega 
-0332 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0333 1fe0a5fd add pdata ,-3 ,regb 
-0334 20401a25 call le_writeatt_cb 
-0335 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-0336 c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-0337 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-0338 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-0339 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-033a c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-033b 5800001a setarg 0x001a 
-033c 68494437 fetcht 2 ,mem_le_att_handle 
-033d 98467c00 isub temp ,null 
-033e 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-033f 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-0340 20201ec9 branch le_send_att_error_response 
+0325 18c22200 copy contr ,rega 
+0326 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0327 1fe0a5fd add pdata ,-3 ,regb 
+0328 20401a25 call le_writeatt_cb 
+0329 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+032a c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+032b 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+032c 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+032d 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+032e c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+032f 5800001a setarg 0x001a 
+0330 68494437 fetcht 2 ,mem_le_att_handle 
+0331 98467c00 isub temp ,null 
+0332 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0333 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+0334 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-0341 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0342 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-0343 78347c00 enable user 
-0344 20401465 call lpo_calibration 
-0345 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-0346 203a7e56 branch disable_user ,blank 
-0347 6fe0c099 fetch 1 ,mem_lpm_mode 
-0348 203a7e56 branch disable_user ,blank 
-0349 202026c4 branch g24_setgpio_lpm_before 
+0335 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0336 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0337 78347c00 enable user 
+0338 20401465 call lpo_calibration 
+0339 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+033a 203a7e56 branch disable_user ,blank 
+033b 6fe0c099 fetch 1 ,mem_lpm_mode 
+033c 203a7e56 branch disable_user ,blank 
+033d 202026c4 branch g24_setgpio_lpm_before 
 
 p_mouse_motion:
-034a 78547c00 disable user 
-034b 58000000 setarg 0 
-034c 67e348d1 store 6 ,mem_mouse_x 
-034d 20404240 call mouse_check_sensor_data 
-034e 2040408e call mouse_dpi_config 
-034f 20403f7e call mouse_zwheel 
-0350 20403f83 call mouse_t_zwheel 
-0351 20400376 call p_mouse_key 
-0352 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0353 1fe17e1f and_into 0x1f ,pdata 
-0354 67e0c8d0 store 1 ,mem_mouse_key 
-0355 24344728 nbranch mouse_drawing_optima_init ,user 
-0356 20400358 call p_mouse_drawing_optima 
-0357 20204544 branch mouse_no_data_timer_init 
+033e 78547c00 disable user 
+033f 58000000 setarg 0 
+0340 67e348d1 store 6 ,mem_mouse_x 
+0341 20404240 call mouse_check_sensor_data 
+0342 2040408e call mouse_dpi_config 
+0343 20403f7e call mouse_zwheel 
+0344 20403f83 call mouse_t_zwheel 
+0345 2040036a call p_mouse_key 
+0346 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0347 1fe17e1f and_into 0x1f ,pdata 
+0348 67e0c8d0 store 1 ,mem_mouse_key 
+0349 24344728 nbranch mouse_drawing_optima_init ,user 
+034a 2040034c call p_mouse_drawing_optima 
+034b 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_drawing_optima:
-0358 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0359 c1018000 rtneq p3212 
-035a 2020471a branch mouse_drawing_optima 
+034c 6fe0c927 fetch 1 ,mem_config_sensor_type 
+034d c1018000 rtneq p3212 
+034e 2020471a branch mouse_drawing_optima 
 
 p_mouse_sensor_poweron:
-035b 20403f65 call mouse_sensor_spi_init 
-035c 6fe0c927 fetch 1 ,mem_config_sensor_type 
-035d c0058362 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
-035e 20404232 call mouse_sensor_reset 
-035f da604aa3 arg mem_sensor_poweron_init ,regc 
-0360 2040422b call mouse_sensor_wr_seq 
-0361 2020408e branch mouse_dpi_config 
+034f 20403f65 call mouse_sensor_spi_init 
+0350 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0351 c0058356 beq ka8g2 ,p_mouse_ka8g2_sensor_init 
+0352 20404232 call mouse_sensor_reset 
+0353 da604aa3 arg mem_sensor_poweron_init ,regc 
+0354 2040422b call mouse_sensor_wr_seq 
+0355 2020408e branch mouse_dpi_config 
 
 p_mouse_ka8g2_sensor_init:
-0362 20400369 call p_mouse_ka8g2_sensor_reset 
-0363 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
-0364 2040422b call mouse_sensor_wr_seq 
-0365 2020408e branch mouse_dpi_config 
+0356 2040035d call p_mouse_ka8g2_sensor_reset 
+0357 da604be3 arg mem_ka8g2_sensor_poweron_init ,regc 
+0358 2040422b call mouse_sensor_wr_seq 
+0359 2020408e branch mouse_dpi_config 
 
 p_mouse_sensor_reset:
-0366 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0367 c0058369 beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
-0368 20204232 branch mouse_sensor_reset 
+035a 6fe0c927 fetch 1 ,mem_config_sensor_type 
+035b c005835d beq ka8g2 ,p_mouse_ka8g2_sensor_reset 
+035c 20204232 branch mouse_sensor_reset 
 
 p_mouse_ka8g2_sensor_reset:
-0369 58009706 setarg 0x9706 
-036a 20405b0c call twspi_write 
-036b 20002ee0 nop 12000 
-036c 20600000 rtn 
+035d 58009706 setarg 0x9706 
+035e 20405b0c call twspi_write 
+035f 20002ee0 nop 12000 
+0360 20600000 rtn 
 
 p_mouse_sensor_powerdown:
-036d 20600000 rtn 
-036e 204041a7 call mouse_init_sunt 
-036f 20403f65 call mouse_sensor_spi_init 
-0370 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0371 c0058374 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
-0372 58000806 setarg 0x0806 
-0373 20205b0c branch twspi_write 
+0361 20600000 rtn 
+0362 204041a7 call mouse_init_sunt 
+0363 20403f65 call mouse_sensor_spi_init 
+0364 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0365 c0058368 beq ka8g2 ,p_mouse_ka8g2_sensor_powerdown 
+0366 58000806 setarg 0x0806 
+0367 20205b0c branch twspi_write 
 
 p_mouse_ka8g2_sensor_powerdown:
-0374 58001f06 setarg 0x1f06 
-0375 20205b0c branch twspi_write 
+0368 58001f06 setarg 0x1f06 
+0369 20205b0c branch twspi_write 
 
 p_mouse_key:
-0376 204003b4 call p_mouse_check_firekey_gpio 
-0377 6fe0cc37 fetch 1 ,mem_fire_key_flag 
-0378 243a03cb nbranch p_fire_key_press ,blank 
-0379 6fe0cc32 fetch 1 ,mem_fire_key_status 
-037a 243a03ca nbranch p_fire_key_process ,blank 
-037b 2040037d call p_mouse_check_key_gpio 
-037c 202040dd branch mouse_key + 1 
+036a 204003a8 call p_mouse_check_firekey_gpio 
+036b 6fe0cc37 fetch 1 ,mem_fire_key_flag 
+036c 243a03bf nbranch p_fire_key_press ,blank 
+036d 6fe0cc32 fetch 1 ,mem_fire_key_status 
+036e 243a03be nbranch p_fire_key_process ,blank 
+036f 20400371 call p_mouse_check_key_gpio 
+0370 202040dd branch mouse_key + 1 
 
 p_mouse_check_key_gpio:
-037d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-037e 245a4121 ncall mouse_check_key_gpio_once ,blank 
-037f da200000 arg 0 ,rega 
-0380 20400387 call p_mouse_check_lkey_gpio 
-0381 2040038c call p_mouse_check_rkey_gpio 
-0382 20400391 call p_mouse_check_mkey_gpio 
-0383 20400396 call p_mouse_check_bkkey_gpio 
-0384 204003a3 call p_mouse_check_fwkey_gpio 
-0385 204003b4 call p_mouse_check_firekey_gpio 
-0386 2020411e branch mouse_check_key_gpio_next 
+0371 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0372 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0373 da200000 arg 0 ,rega 
+0374 2040037b call p_mouse_check_lkey_gpio 
+0375 20400380 call p_mouse_check_rkey_gpio 
+0376 20400385 call p_mouse_check_mkey_gpio 
+0377 2040038a call p_mouse_check_bkkey_gpio 
+0378 20400397 call p_mouse_check_fwkey_gpio 
+0379 204003a8 call p_mouse_check_firekey_gpio 
+037a 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-0387 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0388 204003b0 call p_mouse_gpio_config_output_high 
-0389 20404124 call mouse_check_lkey_gpio 
-038a 6848c918 fetcht 1 ,mem_lbutton_gpio 
-038b 20203f56 branch mouse_gpio_config_input_pu 
+037b 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+037c 204003a4 call p_mouse_gpio_config_output_high 
+037d 20404124 call mouse_check_lkey_gpio 
+037e 6848c918 fetcht 1 ,mem_lbutton_gpio 
+037f 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-038c 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-038d 204003b0 call p_mouse_gpio_config_output_high 
-038e 2040412a call mouse_check_rkey_gpio 
-038f 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0390 20203f56 branch mouse_gpio_config_input_pu 
+0380 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+0381 204003a4 call p_mouse_gpio_config_output_high 
+0382 2040412a call mouse_check_rkey_gpio 
+0383 6848c919 fetcht 1 ,mem_rbutton_gpio 
+0384 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0391 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0392 204003b0 call p_mouse_gpio_config_output_high 
-0393 20404130 call mouse_check_mkey_gpio 
-0394 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0395 20203f56 branch mouse_gpio_config_input_pu 
+0385 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0386 204003a4 call p_mouse_gpio_config_output_high 
+0387 20404130 call mouse_check_mkey_gpio 
+0388 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0389 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0396 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0397 c17f8000 rtneq gpio_disable 
-0398 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-0399 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-039a 1fe22600 copy pdata ,regc 
-039b 6848c90d fetcht 1 ,mem_bk_button_gpio 
-039c 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-039d c07f839f beq gpio_disable ,p_mouse_3io6key_bk_check 
-039e 2020413e branch mouse_check_bkkey_gpio_next 
+038a 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+038b c17f8000 rtneq gpio_disable 
+038c 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+038d 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+038e 1fe22600 copy pdata ,regc 
+038f 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0390 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0391 c07f8393 beq gpio_disable ,p_mouse_3io6key_bk_check 
+0392 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-039f 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03a0 204003b2 call p_mouse_gpio_config_output_low 
-03a1 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03a2 2020414b branch mouse_3io6key_bk_check 
+0393 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0394 204003a6 call p_mouse_gpio_config_output_low 
+0395 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0396 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-03a3 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03a4 c17f8000 rtneq gpio_disable 
-03a5 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-03a6 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-03a7 1fe22600 copy pdata ,regc 
-03a8 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03a9 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03aa c07f83ac beq gpio_disable ,p_mouse_3io6key_fw_check 
-03ab 20204157 branch mouse_check_fwkey_gpio_next 
+0397 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0398 c17f8000 rtneq gpio_disable 
+0399 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+039a 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+039b 1fe22600 copy pdata ,regc 
+039c 6848c90e fetcht 1 ,mem_fw_button_gpio 
+039d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+039e c07f83a0 beq gpio_disable ,p_mouse_3io6key_fw_check 
+039f 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-03ac 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03ad 204003b2 call p_mouse_gpio_config_output_low 
-03ae 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03af 20204164 branch mouse_3io6key_fw_check 
+03a0 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03a1 204003a6 call p_mouse_gpio_config_output_low 
+03a2 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03a3 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-03b0 d840003f arg gpcfg_output_high ,temp 
-03b1 20206093 branch gpio_config_function_int 
+03a4 d840003f arg gpcfg_output_high ,temp 
+03a5 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-03b2 d840003e arg gpcfg_output_low ,temp 
-03b3 20206093 branch gpio_config_function_int 
+03a6 d840003e arg gpcfg_output_low ,temp 
+03a7 20206093 branch gpio_config_function_int 
 
 p_mouse_check_firekey_gpio:
-03b4 da400000 arg 0 ,regb 
-03b5 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-03b6 c17f8000 rtneq gpio_disable 
-03b7 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
-03b8 243a03c1 nbranch p_mouse_check_firekey_connect_vin ,blank 
+03a8 da400000 arg 0 ,regb 
+03a9 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+03aa c17f8000 rtneq gpio_disable 
+03ab 6fe0cc39 fetch 1 ,mem_mouse_firebutton_connect_vin_flag 
+03ac 243a03b5 nbranch p_mouse_check_firekey_connect_vin ,blank 
 
 p_mouse_check_firekey_connect_gnd:
-03b9 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-03ba 20403f56 call mouse_gpio_config_input_pu 
-03bb 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-03bc 20406059 call gpio_get_bit 
-03bd 7920a400 setflag true ,0 ,regb 
+03ad 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+03ae 20403f56 call mouse_gpio_config_input_pu 
+03af 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+03b0 20406059 call gpio_get_bit 
+03b1 7920a400 setflag true ,0 ,regb 
 
 p_mouse_firekey_state_store:
-03be 1a427e00 copy regb ,pdata 
-03bf 67e0cc37 store 1 ,mem_fire_key_flag 
-03c0 20600000 rtn 
+03b2 1a427e00 copy regb ,pdata 
+03b3 67e0cc37 store 1 ,mem_fire_key_flag 
+03b4 20600000 rtn 
 
 p_mouse_check_firekey_connect_vin:
-03c1 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
-03c2 793ffe07 set0 gpio_active_bit ,pdata 
-03c3 67e0cc38 store 1 ,mem_firebutton_gpio 
-03c4 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-03c5 20403f54 call mouse_gpio_config_input_pd 
-03c6 6848cc38 fetcht 1 ,mem_firebutton_gpio 
-03c7 20406059 call gpio_get_bit 
-03c8 7d20a400 nsetflag true ,0 ,regb 
-03c9 202003be branch p_mouse_firekey_state_store 
+03b5 6fe0cc38 fetch 1 ,mem_firebutton_gpio 
+03b6 793ffe07 set0 gpio_active_bit ,pdata 
+03b7 67e0cc38 store 1 ,mem_firebutton_gpio 
+03b8 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+03b9 20403f54 call mouse_gpio_config_input_pd 
+03ba 6848cc38 fetcht 1 ,mem_firebutton_gpio 
+03bb 20406059 call gpio_get_bit 
+03bc 7d20a400 nsetflag true ,0 ,regb 
+03bd 202003b2 branch p_mouse_firekey_state_store 
 
 p_fire_key_process:
-03ca c00203e5 beq 4 ,p_fire_key_process_end 
+03be c00203d9 beq 4 ,p_fire_key_process_end 
 
 p_fire_key_press:
-03cb 204003e8 call p_firekey_clkn_bt_timer_check 
-03cc 6fe24c33 fetch 4 ,mem_fire_key_delay 
-03cd d84000a0 arg 0xa0 ,temp 
-03ce 98408400 iadd temp ,temp 
-03cf 1c427e00 copy clkn_bt ,pdata 
-03d0 98467c00 isub temp ,null 
-03d1 24610000 nrtn positive 
-03d2 67e24c33 store 4 ,mem_fire_key_delay 
-03d3 6fe0cc32 fetch 1 ,mem_fire_key_status 
-03d4 c00003d9 beq 0 ,p_fire_key_process_start 
-03d5 c00083dc beq 1 ,p_fire_key_process_release1 
-03d6 c00103df beq 2 ,p_fire_key_process_start2 
-03d7 c00183e2 beq 3 ,p_fire_key_process_release2 
-03d8 20600000 rtn 
+03bf 204003dc call p_firekey_clkn_bt_timer_check 
+03c0 6fe24c33 fetch 4 ,mem_fire_key_delay 
+03c1 d84000a0 arg 0xa0 ,temp 
+03c2 98408400 iadd temp ,temp 
+03c3 1c427e00 copy clkn_bt ,pdata 
+03c4 98467c00 isub temp ,null 
+03c5 24610000 nrtn positive 
+03c6 67e24c33 store 4 ,mem_fire_key_delay 
+03c7 6fe0cc32 fetch 1 ,mem_fire_key_status 
+03c8 c00003cd beq 0 ,p_fire_key_process_start 
+03c9 c00083d0 beq 1 ,p_fire_key_process_release1 
+03ca c00103d3 beq 2 ,p_fire_key_process_start2 
+03cb c00183d6 beq 3 ,p_fire_key_process_release2 
+03cc 20600000 rtn 
 
 p_fire_key_process_start:
-03d9 704c3201 jam 1 ,mem_fire_key_status 
-03da 7048d001 jam 1 ,mem_mouse_key 
-03db 20207e54 branch enable_user 
+03cd 704c3201 jam 1 ,mem_fire_key_status 
+03ce 7048d001 jam 1 ,mem_mouse_key 
+03cf 20207e54 branch enable_user 
 
 p_fire_key_process_release1:
-03dc 704c3202 jam 2 ,mem_fire_key_status 
-03dd 7048d000 jam 0 ,mem_mouse_key 
-03de 20207e54 branch enable_user 
+03d0 704c3202 jam 2 ,mem_fire_key_status 
+03d1 7048d000 jam 0 ,mem_mouse_key 
+03d2 20207e54 branch enable_user 
 
 p_fire_key_process_start2:
-03df 704c3203 jam 3 ,mem_fire_key_status 
-03e0 7048d001 jam 1 ,mem_mouse_key 
-03e1 20207e54 branch enable_user 
+03d3 704c3203 jam 3 ,mem_fire_key_status 
+03d4 7048d001 jam 1 ,mem_mouse_key 
+03d5 20207e54 branch enable_user 
 
 p_fire_key_process_release2:
-03e2 704c3200 jam 0 ,mem_fire_key_status 
-03e3 7048d000 jam 0 ,mem_mouse_key 
-03e4 20207e54 branch enable_user 
+03d6 704c3200 jam 0 ,mem_fire_key_status 
+03d7 7048d000 jam 0 ,mem_mouse_key 
+03d8 20207e54 branch enable_user 
 
 p_fire_key_process_end:
-03e5 704c3200 jam 0 ,mem_fire_key_status 
-03e6 7048d000 jam 0 ,mem_mouse_key 
-03e7 20600000 rtn 
+03d9 704c3200 jam 0 ,mem_fire_key_status 
+03da 7048d000 jam 0 ,mem_mouse_key 
+03db 20600000 rtn 
 
 p_firekey_clkn_bt_timer_check:
-03e8 684a4c33 fetcht 4 ,mem_fire_key_delay 
-03e9 1c427e00 copy clkn_bt ,pdata 
-03ea 98467c00 isub temp ,null 
-03eb 244103ed ncall p_firekey_clkn_bt_timer_timeout ,positive 
-03ec 20600000 rtn 
+03dc 684a4c33 fetcht 4 ,mem_fire_key_delay 
+03dd 1c427e00 copy clkn_bt ,pdata 
+03de 98467c00 isub temp ,null 
+03df 244103e1 ncall p_firekey_clkn_bt_timer_timeout ,positive 
+03e0 20600000 rtn 
 
 p_firekey_clkn_bt_timer_timeout:
-03ed 58000000 setarg 0 
-03ee 67e24c33 store 4 ,mem_fire_key_delay 
-03ef 20600000 rtn 
+03e1 58000000 setarg 0 
+03e2 67e24c33 store 4 ,mem_fire_key_delay 
+03e3 20600000 rtn 
 
 p_mouse_idle:
-03f0 20404990 call mouse_low_voltage_led_no_enter_lpm 
-03f1 20407936 call ui_check_paring_button 
-03f2 204003f5 call p_mouse_dpi_check 
-03f3 20400409 call p_mouse_dpi_another_gpio_check 
-03f4 2020464f branch mouse_idle + 4 
+03e4 20404990 call mouse_low_voltage_led_no_enter_lpm 
+03e5 20407936 call ui_check_paring_button 
+03e6 204003e9 call p_mouse_dpi_check 
+03e7 204003fd call p_mouse_dpi_another_gpio_check 
+03e8 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-03f5 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03f6 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-03f7 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03f8 c17f8000 rtneq gpio_disable 
-03f9 da200000 arg 0 ,rega 
-03fa 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-03fb 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03fc 204003fe call p_mouse_dpi_key_check 
-03fd 2020402f branch mouse_dpi_check_next 
+03e9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03ea c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+03eb 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03ec c17f8000 rtneq gpio_disable 
+03ed da200000 arg 0 ,rega 
+03ee 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+03ef 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03f0 204003f2 call p_mouse_dpi_key_check 
+03f1 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03fe 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03ff c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-0400 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-0401 1fe22600 copy pdata ,regc 
-0402 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-0403 c07f8405 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-0404 2020403f branch mouse_dpi_key_check_next 
+03f2 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03f3 c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03f4 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+03f5 1fe22600 copy pdata ,regc 
+03f6 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03f7 c07f83f9 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03f8 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-0405 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-0406 204003b2 call p_mouse_gpio_config_output_low 
-0407 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-0408 20204195 branch mouse_3io6key_check 
+03f9 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03fa 204003a6 call p_mouse_gpio_config_output_low 
+03fb 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03fc 20204195 branch mouse_3io6key_check 
 
 p_mouse_dpi_another_gpio_check:
-0409 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-040a c41e8000 rtnbit0 mouse_enable_double_dpi_key 
-040b 6fe0cc3a fetch 1 ,mem_dpi_another_button_gpio 
-040c 204003b0 call p_mouse_gpio_config_output_high 
-040d 20400410 call p_mouse_dpi_another_check 
-040e 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
-040f 20203f56 branch mouse_gpio_config_input_pu 
+03fd 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03fe c41e8000 rtnbit0 mouse_enable_double_dpi_key 
+03ff 6fe0cc3a fetch 1 ,mem_dpi_another_button_gpio 
+0400 204003a4 call p_mouse_gpio_config_output_high 
+0401 20400404 call p_mouse_dpi_another_check 
+0402 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
+0403 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_dpi_another_check:
-0410 704c3e00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
-0411 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
-0412 6fe0cc3b fetch 1 ,mem_dpi_another_press_status 
-0413 2040041f call p_mouse_check_key_connect_gnd_new 
-0414 67e0cc3b store 1 ,mem_dpi_another_press_status 
-0415 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
-0416 203a041b branch p_mouse_dpi_another_up ,blank 
+0404 704c3e00 jam mouse_dpi_another_key ,mem_mouse_key_temp_patch 
+0405 6848cc3a fetcht 1 ,mem_dpi_another_button_gpio 
+0406 6fe0cc3b fetch 1 ,mem_dpi_another_press_status 
+0407 20400413 call p_mouse_check_key_connect_gnd_new 
+0408 67e0cc3b store 1 ,mem_dpi_another_press_status 
+0409 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
+040a 203a040f branch p_mouse_dpi_another_up ,blank 
 
 p_mouse_dpi_another_down:
-0417 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
-0418 c1008000 rtneq dpi_button_state_down 
-0419 704c3c01 jam dpi_button_state_down ,mem_dpi_another_button_state 
-041a 20204069 branch mouse_dpi_process 
+040b 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
+040c c1008000 rtneq dpi_button_state_down 
+040d 704c3c01 jam dpi_button_state_down ,mem_dpi_another_button_state 
+040e 20204069 branch mouse_dpi_process 
 
 p_mouse_dpi_another_up:
-041b 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
-041c c1000000 rtneq dpi_button_state_up 
-041d 704c3c00 jam dpi_button_state_up ,mem_dpi_another_button_state 
-041e 20600000 rtn 
+040f 6fe0cc3c fetch 1 ,mem_dpi_another_button_state 
+0410 c1000000 rtneq dpi_button_state_up 
+0411 704c3c00 jam dpi_button_state_up ,mem_dpi_another_button_state 
+0412 20600000 rtn 
 
 p_mouse_check_key_connect_gnd_new:
-041f 1fe3fe00 lshift pdata ,pdata 
-0420 1fe22400 copy pdata ,regb 
-0421 20406059 call gpio_get_bit 
-0422 7920a400 setflag true ,0 ,regb 
-0423 1a417e07 and regb ,0x07 ,pdata 
-0424 6848cc3e fetcht 1 ,mem_mouse_key_temp_patch 
-0425 18420e00 copy temp ,queue 
-0426 c0038429 beq 0x07 ,p_mouse_key_press 
-0427 c000042b beq 0x00 ,p_mouse_key_release 
-0428 20600000 rtn 
+0413 1fe3fe00 lshift pdata ,pdata 
+0414 1fe22400 copy pdata ,regb 
+0415 20406059 call gpio_get_bit 
+0416 7920a400 setflag true ,0 ,regb 
+0417 1a417e07 and regb ,0x07 ,pdata 
+0418 6848cc3e fetcht 1 ,mem_mouse_key_temp_patch 
+0419 18420e00 copy temp ,queue 
+041a c003841d beq 0x07 ,p_mouse_key_press 
+041b c000041f beq 0x00 ,p_mouse_key_release 
+041c 20600000 rtn 
 
 p_mouse_key_press:
-0429 704c3d01 jam 1 ,mem_dpi_another_button_down_enable 
-042a 20600000 rtn 
+041d 704c3d01 jam 1 ,mem_dpi_another_button_down_enable 
+041e 20600000 rtn 
 
 p_mouse_key_release:
-042b 704c3d00 jam 0 ,mem_dpi_another_button_down_enable 
-042c 20600000 rtn 
+041f 704c3d00 jam 0 ,mem_dpi_another_button_down_enable 
+0420 20600000 rtn 
 
 p_mouse_dpi_process:
-042d 20404072 call mouse_dpi_ghost_check 
-042e 20740000 rtn user 
-042f 6fe0c992 fetch 1 ,mem_mouse_dpi 
-0430 1fe20400 copy pdata ,temp 
-0431 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0432 c29e8439 bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
-0433 18427e00 copy temp ,pdata 
-0434 1fe0fe01 increase 1 ,pdata 
-0435 1fe17e03 and pdata ,0x03 ,pdata 
+0421 20404072 call mouse_dpi_ghost_check 
+0422 20740000 rtn user 
+0423 6fe0c992 fetch 1 ,mem_mouse_dpi 
+0424 1fe20400 copy pdata ,temp 
+0425 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0426 c29e842d bbit1 mouse_enable_double_dpi_key ,p_mouse_double_dpi_check 
+0427 18427e00 copy temp ,pdata 
+0428 1fe0fe01 increase 1 ,pdata 
+0429 1fe17e03 and pdata ,0x03 ,pdata 
 
 p_mouse_dpi_store:
-0436 67e0c992 store 1 ,mem_mouse_dpi 
-0437 20404095 call mouse_seting_dpi 
-0438 202045ee branch mouse_store_device_info_delay 
+042a 67e0c992 store 1 ,mem_mouse_dpi 
+042b 20404095 call mouse_seting_dpi 
+042c 202045ee branch mouse_store_device_info_delay 
 
 p_mouse_double_dpi_check:
-0439 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
-043a 243a0444 nbranch p_mouse_another_dpi_button_down ,blank 
+042d 6fe0cc3d fetch 1 ,mem_dpi_another_button_down_enable 
+042e 243a0438 nbranch p_mouse_another_dpi_button_down ,blank 
 
 p_mouse_dpi_increase:
-043b 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-043c c28e0441 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
-043d 18427e00 copy temp ,pdata 
-043e c1010000 rtneq mouse_dpi_level3 
+042f 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0430 c28e0435 bbit1 mouse_enable_dpi_level_4 ,p_mouse_dpi_increase_level_4 
+0431 18427e00 copy temp ,pdata 
+0432 c1010000 rtneq mouse_dpi_level3 
 
 p_mouse_dpi_increase_level:
-043f 1fe0fe01 increase 1 ,pdata 
-0440 20200436 branch p_mouse_dpi_store 
+0433 1fe0fe01 increase 1 ,pdata 
+0434 2020042a branch p_mouse_dpi_store 
 
 p_mouse_dpi_increase_level_4:
-0441 18427e00 copy temp ,pdata 
-0442 c1018000 rtneq mouse_dpi_level4 
-0443 2020043f branch p_mouse_dpi_increase_level 
+0435 18427e00 copy temp ,pdata 
+0436 c1018000 rtneq mouse_dpi_level4 
+0437 20200433 branch p_mouse_dpi_increase_level 
 
 p_mouse_another_dpi_button_down:
 
 p_mouse_dpi_decrease:
-0444 18427e00 copy temp ,pdata 
-0445 c1000000 rtneq mouse_dpi_level1 
-0446 1fe0ffff increase -1 ,pdata 
-0447 20200436 branch p_mouse_dpi_store 
-
-p_g24_parse_rx_ota_sm:
-0448 6fe0cbf6 fetch 1 ,mem_g24_ota_mode 
-0449 207a0000 rtn blank 
-044a 6fe0cbf7 fetch 1 ,mem_g24_ota_sm 
-044b c0010454 beq g24_ota_sm_tx_version ,p_g24_ota_sm_tx_version 
-044c c0028456 beq g24_ota_sm_tx_info ,p_g24_ota_sm_tx_info 
-044d c0040458 beq g24_ota_sm_tx_config ,p_g24_ota_sm_tx_config 
-044e c005845a beq g24_ota_sm_tx_set_config_end ,p_g24_ota_sm_tx_config_end 
-044f c007045c beq g24_ota_sm_tx_data ,p_g24_ota_sm_tx_data 
-0450 c0088452 beq g24_ota_sm_tx_reset ,p_g24_ota_sm_tx_reset 
-0451 20600000 rtn 
-
-p_g24_ota_sm_tx_reset:
-0452 704bf712 jam g24_ota_sm_tx_reset_ok ,mem_g24_ota_sm 
-0453 20600000 rtn 
-
-p_g24_ota_sm_tx_version:
-0454 704bf703 jam g24_ota_sm_tx_version_ok ,mem_g24_ota_sm 
-0455 20600000 rtn 
-
-p_g24_ota_sm_tx_info:
-0456 704bf706 jam g24_ota_sm_tx_info_ok ,mem_g24_ota_sm 
-0457 20600000 rtn 
-
-p_g24_ota_sm_tx_config:
-0458 704bf709 jam g24_ota_sm_tx_config_ok ,mem_g24_ota_sm 
-0459 20600000 rtn 
-
-p_g24_ota_sm_tx_config_end:
-045a 704bf70c jam g24_ota_sm_tx_set_config_end_ok ,mem_g24_ota_sm 
-045b 20600000 rtn 
-
-p_g24_ota_sm_tx_data:
-045c 704bf70f jam g24_ota_sm_tx_data_ok ,mem_g24_ota_sm 
-045d 20600000 rtn 
-
-p_g24_mouse_parse_rx:
-045e 6fe0c82a fetch 1 ,mem_24g_rxdata_length 
-045f 203a0448 branch p_g24_parse_rx_ota_sm ,blank 
-0460 1fe22400 copy pdata ,regb 
-0461 70482a00 jam 0 ,mem_24g_rxdata_length 
-0462 6fe0c80a fetch 1 ,mem_24g_rxpayload 
-0463 c0578470 beq datatype_ota ,p_g24_rx_ota 
-0464 20600000 rtn 
-
-p_g24_ota_mode_enable:
-0465 704bf601 jam 1 ,mem_g24_ota_mode 
-0466 70409900 jam 0 ,mem_lpm_mode 
-0467 20200550 branch p_ota_init 
-
-p_g24_ota_dispatch:
-0468 20600000 rtn 
-
-p_g24_ota_transmit:
-0469 7047c6af jam datatype_ota ,mem_24g_txbuf 
-046a 20402291 call g24_transmit_prep 
-046b 2040265b call g24_transmit_receive_ack 
-046c 246c0000 nrtn sync 
-046d 24778000 nrtn user3 
-046e 20402597 call g24_txbuf_clear 
-046f 20202672 branch g24_ackpayload_parse 
-
-p_g24_rx_ota:
-0470 6fe0c80a fetch 1 ,mem_24g_rxpayload 
-0471 c1d78000 rtnne datatype_ota 
-0472 efe08006 ifetch 1 ,contr 
-0473 e8408006 ifetcht 1 ,contr 
-0474 18467c02 sub temp ,g24_ota_target_mouse ,null 
-0475 2422937a nbranch assert ,zero 
-0476 c000847f beq g24_ota_cmd_version ,p_g24_mouse_ota_process_version 
-0477 c0010482 beq g24_ota_cmd_info ,p_g24_mouse_ota_process_info 
-0478 c0018484 beq g24_ota_cmd_config ,p_g24_mouse_ota_process_config 
-0479 c0020486 beq g24_ota_cmd_set_config_end ,p_g24_mouse_ota_process_set_config_end 
-047a c00284de beq g24_ota_cmd_data ,p_g24_mouse_ota_process_data 
-047b c0030504 beq g24_ota_cmd_reset ,p_g24_mouse_ota_process_reset 
-047c c07f847e beq g24_ota_cmd_ping ,p_g24_mouse_ota_process_ping 
-047d 2020137a branch assert 
-
-p_g24_mouse_ota_process_ping:
-047e 20600000 rtn 
-
-p_g24_mouse_ota_process_version:
-047f 20400465 call p_g24_ota_mode_enable 
-0480 704bf701 jam g24_ota_sm_rx_version ,mem_g24_ota_sm 
-0481 20600000 rtn 
-
-p_g24_mouse_ota_process_info:
-0482 704bf704 jam g24_ota_sm_rx_info ,mem_g24_ota_sm 
-0483 20600000 rtn 
-
-p_g24_mouse_ota_process_config:
-0484 704bf707 jam g24_ota_sm_rx_config ,mem_g24_ota_sm 
-0485 20600000 rtn 
-
-p_g24_mouse_ota_process_set_config_end:
-0486 704bf70a jam g24_ota_sm_rx_set_config_end ,mem_g24_ota_sm 
-0487 efe10006 ifetch 2 ,contr 
-0488 e8410006 ifetcht 2 ,contr 
-0489 6a214c18 fetchr rega ,2 ,mem_g24_ota_rx_alllen 
-048a 9a267c00 isub rega ,null 
-048b 242284fc nbranch p_g24_mouse_ota_process_fail ,zero 
-048c 6fe14c1a fetch 2 ,mem_g24_ota_rx_sum 
-048d 98467c00 isub temp ,null 
-048e 242284fc nbranch p_g24_mouse_ota_process_fail ,zero 
-048f 20400492 call p_g24_check_ota_data_all 
-0490 243404fc nbranch p_g24_mouse_ota_process_fail ,user 
-0491 202004fa branch p_g24_mouse_ota_process_ok 
-
-p_g24_check_ota_data_all:
-0492 2040049d call p_g24_check_ota_data 
-0493 24740000 nrtn user 
-0494 6fe14c1a fetch 2 ,mem_g24_ota_rx_sum 
-0495 9e067c00 isub alarm ,null 
-0496 2422fe56 nbranch disable_user ,zero 
-0497 684909e8 fetcht 2 ,mem_temp_block6 
-0498 6fe14c18 fetch 2 ,mem_g24_ota_rx_alllen 
-0499 1fe0fffb increase -5 ,pdata 
-049a 98467c00 isub temp ,null 
-049b 2422fe56 nbranch disable_user ,zero 
-049c 20207e54 branch enable_user 
-
-p_g24_check_ota_data:
-049d 6fe14bf3 fetch 2 ,mem_g24_ota_config_addr 
-049e 1ff0fe00 byteswap pdata ,pdata 
-049f 67e102e4 store 2 ,mem_addr_mi 
-04a0 d8400003 arg 3 ,temp 
-04a1 da2009d2 arg mem_temp_block5 ,rega 
-04a2 20405de2 call iicd_read_eep 
-04a3 6fe089d2 fetch 1 ,mem_temp_block5 
-04a4 c0ad7e56 bne g24_ota_data_header ,disable_user 
-04a5 e8410006 ifetcht 2 ,contr 
-04a6 6049095c storet 2 ,mem_pdatatemp 
-04a7 604909e8 storet 2 ,mem_temp_block6 
-04a8 6fe089d2 fetch 1 ,mem_temp_block5 
-04a9 dd60ffff arg 0xffff ,rege 
-04aa d8400000 arg 0 ,temp 
-04ab d8c009d2 arg mem_temp_block5 ,contr 
-04ac df200003 arg 3 ,loopcnt 
-04ad 20400514 call p_g24_mouse_data_sum 
-04ae 18426000 copy temp ,alarm 
-04af 6fe14bf3 fetch 2 ,mem_g24_ota_config_addr 
-04b0 1fe0ee03 add pdata ,3 ,regf 
-04b1 204004c1 call p_g24_check_ota_data_loop 
-04b2 1ef0fe00 byteswap regf ,pdata 
-04b3 67e102e4 store 2 ,mem_addr_mi 
-04b4 d8400002 arg 2 ,temp 
-04b5 da2009d2 arg mem_temp_block5 ,rega 
-04b6 20405de2 call iicd_read_eep 
-04b7 6fe109d2 fetch 2 ,mem_temp_block5 
-04b8 9d667c00 isub rege ,null 
-04b9 2422fe56 nbranch disable_user ,zero 
-04ba 6fe089d2 fetch 1 ,mem_temp_block5 
-04bb 9e00e000 iadd alarm ,alarm 
-04bc efe08006 ifetch 1 ,contr 
-04bd 9e00e000 iadd alarm ,alarm 
-04be 5800ffff setarg 0xffff 
-04bf 9e016000 iand alarm ,alarm 
-04c0 20207e54 branch enable_user 
-
-p_g24_check_ota_data_loop:
-04c1 6fe1095c fetch 2 ,mem_pdatatemp 
-04c2 207a0000 rtn blank 
-04c3 1fe20400 copy pdata ,temp 
-04c4 1fe67c10 sub pdata ,16 ,null 
-04c5 202104dc branch p_g24_check_ota_data_loopend ,positive 
-04c6 1fe0fff0 increase -16 ,pdata 
-04c7 d8400010 arg 0x10 ,temp 
-
-p_g24_check_ota_data_loop2:
-04c8 67e1095c store 2 ,mem_pdatatemp 
-04c9 18425e00 copy temp ,regext 
-04ca 1ee27e00 copy regf ,pdata 
-04cb 1ff0fe00 byteswap pdata ,pdata 
-04cc 67e102e4 store 2 ,mem_addr_mi 
-04cd da2009d2 arg mem_temp_block5 ,rega 
-04ce 20405de2 call iicd_read_eep 
-04cf 1ee27e00 copy regf ,pdata 
-04d0 9de0ee00 iadd regext ,regf 
-04d1 1de27200 copy regext ,loopcnt 
-04d2 1d627e00 copy rege ,pdata 
-04d3 d8c009d2 arg mem_temp_block5 ,contr 
-04d4 efe00006 icrc contr 
-04d5 1fe25600 copy pdata ,rege 
-04d6 1de27200 copy regext ,loopcnt 
-04d7 d8c009d2 arg mem_temp_block5 ,contr 
-04d8 1e020400 copy alarm ,temp 
-04d9 20400514 call p_g24_mouse_data_sum 
-04da 18426000 copy temp ,alarm 
-04db 202004c1 branch p_g24_check_ota_data_loop 
-
-p_g24_check_ota_data_loopend:
-04dc 58000000 setarg 0 
-04dd 202004c8 branch p_g24_check_ota_data_loop2 
-
-p_g24_mouse_ota_process_data:
-04de 704bf70d jam g24_ota_sm_rx_data ,mem_g24_ota_sm 
-04df efe08006 ifetch 1 ,contr 
-04e0 18c22200 copy contr ,rega 
-04e1 6848cc1c fetcht 1 ,mem_g24_ota_rx_data_count 
-04e2 98467c00 isub temp ,null 
-04e3 202284fa branch p_g24_mouse_ota_process_ok ,zero 
-04e4 2040050b call p_g24_cmd_ota_data_check_count 
-04e5 243404fc nbranch p_g24_mouse_ota_process_fail ,user 
-04e6 1a467c04 sub regb ,4 ,null 
-04e7 202104fc branch p_g24_mouse_ota_process_fail ,positive 
-04e8 1a40a5fc increase -4 ,regb 
-04e9 62410959 storer regb ,2 ,mem_hold_contw 
-04ea 62210957 storer rega ,2 ,mem_hold_contr 
-04eb 20405dd3 call iicd_eeprom_write_enable 
-04ec 204004fe call p_dongle_usb_cmd_ota_write_data 
-04ed 20405dda call iicd_eeprom_write_disable 
-04ee 6a410959 fetchr regb ,2 ,mem_hold_contw 
-04ef 6a210957 fetchr rega ,2 ,mem_hold_contr 
-04f0 6fe14c18 fetch 2 ,mem_g24_ota_rx_alllen 
-04f1 9a40fe00 iadd regb ,pdata 
-04f2 67e14c18 store 2 ,mem_g24_ota_rx_alllen 
-04f3 1a427200 copy regb ,loopcnt 
-04f4 d8400000 arg 0 ,temp 
-04f5 1a220c00 copy rega ,contr 
-04f6 20400514 call p_g24_mouse_data_sum 
-04f7 6fe14c1a fetch 2 ,mem_g24_ota_rx_sum 
-04f8 9840fe00 iadd temp ,pdata 
-04f9 67e14c1a store 2 ,mem_g24_ota_rx_sum 
-
-p_g24_mouse_ota_process_ok:
-04fa 704bf500 jam g24_ota_status_success ,mem_g24_ota_rtn_state 
-04fb 20600000 rtn 
-
-p_g24_mouse_ota_process_fail:
-04fc 704bf501 jam g24_ota_status_fail ,mem_g24_ota_rtn_state 
+0438 18427e00 copy temp ,pdata 
+0439 c1000000 rtneq mouse_dpi_level1 
+043a 1fe0ffff increase -1 ,pdata 
+043b 2020042a branch p_mouse_dpi_store 
+
+p_fcc_mode_start:
+043c 204012d1 call init_lpm_ctrl 
+043d 20404970 call mouse_low_voltage_led_on 
+043e 58000e15 setarg mem_fcc_mode_end 
+043f d8a00a01 arg mem_fcc_mode_start ,contw 
+0440 98a67200 isub contw ,loopcnt 
+0441 20407d26 call clear_mem 
+0442 20400446 call p_pn9 
+0443 204004dc call p_fcc_step1_scan_mode 
+0444 700a0619 jam 0x19 ,mem_fcc_data_length_new 
+0445 20200459 branch p_test_tx_new_param 
+
+p_pn9:
+0446 df2003fe arg 1022 ,loopcnt 
+0447 d8a00a17 arg mem_pn9 ,contw 
+0448 580001ff setarg 0x1ff 
+0449 18002400 force 0 ,regb 
+
+p_pn9_loop:
+044a 1fe92200 rshift3 pdata ,rega 
+044b 1a232200 rshift rega ,rega 
+044c 9a22a200 ixor rega ,rega 
+044d 2a2ffe00 isolate1 0 ,rega 
+044e 7920fe09 setflag true ,9 ,pdata 
+044f 18430400 rshift temp ,temp 
+0450 2feffe00 isolate1 0 ,pdata 
+0451 79208407 setflag true ,7 ,temp 
+0452 1fe37e00 rshift pdata ,pdata 
+0453 1a40a401 increase 1 ,regb 
+0454 2a400e00 compare 0 ,regb ,0x7 
+0455 2420844a nbranch p_pn9_loop ,true 
+0456 e0408005 istoret 1 ,contw 
+0457 c200044a loop p_pn9_loop 
+0458 20600000 rtn 
+
+p_test_tx_new_param:
+0459 6fe38a01 fetch 7 ,mem_fcc_param_new 
+045a 67e38a08 store 7 ,mem_fcc_param 
+
+p_test_tx_or_rx:
+045b 6fe08a0a fetch 1 ,mem_fcc_txrx 
+045c c000845e beq 0x01 ,p_test_tx_start 
+045d c001049f beq 0x02 ,p_test_rx_start 
+
+p_test_tx_start:
+
+p_test_ble_tx_on:
+045e 20401161 call set_sync_on 
+045f 68488a08 fetcht 1 ,mem_fcc_ch 
+0460 20401205 call set_freq_tx 
+0461 204016a5 call le_enable 
+0462 79202a00 set1 txgfsk ,radio_ctrl 
+0463 782efc00 enable encode_fec0 
+0464 78307c00 enable is_tx 
+0465 7850fc00 disable is_rx 
+0466 20401744 call le_wait_tx 
+0467 6fe08a0c fetch 1 ,mem_fcc_data 
+0468 67f0890d store 1 ,core_tx_test_mode 
+0469 c0000475 beq 0 ,p_test_tx_data 
+
+p_test_tx_carrier_loop:
+046a 6f208a0d fetchr loopcnt ,1 ,mem_fcc_data_length 
+046b d8c00a17 arg mem_pn9 ,contr 
+
+p_pnloop_carrier:
+046c efe08006 ifetch 1 ,contr 
+046d 08008608 inject mod ,8 
+046e c200046c loop p_pnloop_carrier 
+046f 204004a9 call p_key_wheel_process 
+0470 6fe38a08 fetch 7 ,mem_fcc_param 
+0471 684b8a01 fetcht 7 ,mem_fcc_param_new 
+0472 98467c00 isub temp ,null 
+0473 2022846a branch p_test_tx_carrier_loop ,zero 
+0474 20200459 branch p_test_tx_new_param 
+
+p_test_tx_data:
+0475 6fe08a0e fetch 1 ,mem_fcc_hop 
+0476 c0008483 beq 1 ,p_tx_data_hopping 
+
+p_tx_data:
+0477 df200035 arg 53 ,loopcnt 
+0478 d8c00a17 arg mem_pn9 ,contr 
+
+p_pnloop_stable:
+0479 efe08006 ifetch 1 ,contr 
+047a 08008608 inject mod ,8 
+047b c2000479 loop p_pnloop_stable 
+
+p_stable_stop:
+047c 204004a9 call p_key_wheel_process 
+047d 6fe38a08 fetch 7 ,mem_fcc_param 
+047e 684b8a01 fetcht 7 ,mem_fcc_param_new 
+047f 98467c00 isub temp ,null 
+0480 20228477 branch p_tx_data ,zero 
+0481 2040114f call shutdown_radio 
+0482 20200459 branch p_test_tx_new_param 
+
+p_tx_data_hopping:
+0483 78487c00 disable swfine 
+0484 db60001a arg 26 ,stop_watch 
+
+p_tx_data_hopping2:
+0485 df200037 arg 55 ,loopcnt 
+0486 d8c00a17 arg mem_pn9 ,contr 
+
+p_pnloop_stable2:
+0487 efe08006 ifetch 1 ,contr 
+0488 08008608 inject mod ,8 
+0489 c2000487 loop p_pnloop_stable2 
+048a 24218485 nbranch p_tx_data_hopping2 ,timeout 
+048b 2040114f call shutdown_radio 
+048c d8e0000f arg 15 ,queue 
+048d 58000320 setarg 800 
+048e 20407d66 call timer_init 
+
+p_500ms_cycle:
+048f d8e0000f arg 15 ,queue 
+0490 20407d74 call timer_check 
+0491 203a0496 branch p_hopping_change_ch ,blank 
+0492 204004a9 call p_key_wheel_process 
+0493 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+0494 c000848f beq fcc_step1_scan_mode ,p_500ms_cycle 
+0495 20200459 branch p_test_tx_new_param 
+
+p_hopping_change_ch:
+0496 20400498 call p_hopping_ch_update 
+0497 20200459 branch p_test_tx_new_param 
+
+p_hopping_ch_update:
+0498 6fe08a16 fetch 1 ,mem_fcc_scan_mode_mkey_press 
+0499 243a051f nbranch p_fcc_set_channel_2408 ,blank 
+049a 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+049b 1fe0fe02 pincrease 2 
+049c 67e08a01 store 1 ,mem_fcc_ch_new 
+049d c1a50000 rtnne 74 
+049e 2020051f branch p_fcc_set_channel_2408 
+
+p_test_rx_start:
+049f 204004a6 call p_test_ble_rx_on 
+
+p_test_rx_loop:
+04a0 204004a9 call p_key_wheel_process 
+04a1 6fe38a08 fetch 7 ,mem_fcc_param 
+04a2 684b8a01 fetcht 7 ,mem_fcc_param_new 
+04a3 98467c00 isub temp ,null 
+04a4 202284a0 branch p_test_rx_loop ,zero 
+04a5 20200459 branch p_test_tx_new_param 
+
+p_test_ble_rx_on:
+04a6 2040114f call shutdown_radio 
+04a7 68488a08 fetcht 1 ,mem_fcc_ch 
+04a8 202016c8 branch le_rf_rx_enable 
+
+p_key_wheel_process:
+04a9 204004ab call p_key_process 
+04aa 20200528 branch p_wheel_process 
+
+p_key_process:
+04ab 78547c00 disable user 
+04ac 204040dc call mouse_key 
+04ad 24740000 nrtn user 
+04ae 6fe0c8d0 fetch 1 ,mem_mouse_key 
+04af c00084b6 beq mouse_l_button ,p_fcc_mode_exit 
+04b0 c00104bb beq mouse_r_button ,p_fcc_mode_switch 
+04b1 c0020512 beq mouse_m_button ,p_fcc_mkey_channel_switch 
+04b2 700a1300 jam 0 ,mem_fcc_lkey_press 
+04b3 700a1400 jam 0 ,mem_fcc_rkey_press 
+04b4 700a1500 jam 0 ,mem_fcc_mkey_press 
+04b5 20600000 rtn 
+
+p_fcc_mode_exit:
+04b6 6fe08a13 fetch 1 ,mem_fcc_lkey_press 
+04b7 247a0000 nrtn blank 
+04b8 700a1301 jam 1 ,mem_fcc_lkey_press 
+04b9 70801001 jam 1 ,core_reset 
+04ba 2020137a branch assert 
+
+p_fcc_mode_switch:
+04bb 6fe08a14 fetch 1 ,mem_fcc_rkey_press 
+04bc 247a0000 nrtn blank 
+04bd 700a1401 jam 1 ,mem_fcc_rkey_press 
+04be 204004c0 call p_fcc_mode_cnt 
+04bf 202004c6 branch p_fcc_mode_choose 
+
+p_fcc_mode_cnt:
+04c0 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+04c1 1fe0fe01 pincrease 1 
+04c2 67e08a12 store 1 ,mem_fcc_mode_switch 
+04c3 c18a0000 rtnne fcc_step_max 
+04c4 700a1201 jam fcc_step1_scan_mode ,mem_fcc_mode_switch 
+04c5 20600000 rtn 
+
+p_fcc_mode_choose:
+04c6 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+04c7 c00084dc beq fcc_step1_scan_mode ,p_fcc_step1_scan_mode 
+04c8 700a1600 jam 0 ,mem_fcc_scan_mode_mkey_press 
+04c9 c00104e4 beq fcc_step2_mod_tx_2408 ,p_fcc_step2_mod_tx_2408 
+04ca c00184e9 beq fcc_step3_mod_tx_2440 ,p_fcc_step3_mod_tx_2440 
+04cb c00204ed beq fcc_step4_mod_tx_2474 ,p_fcc_step4_mod_tx_2474 
+04cc c00284f1 beq fcc_step5_mod_rx_2408 ,p_fcc_step5_mod_rx_2408 
+04cd c00304f4 beq fcc_step6_mod_rx_2440 ,p_fcc_step6_mod_rx_2440 
+04ce c00384f7 beq fcc_step7_mod_rx_2474 ,p_fcc_step7_mod_rx_2474 
+04cf c00404fa beq fcc_step8_non_mod_tx_2408 ,p_fcc_non_mod_tx_2408 
+04d0 c00484fe beq fcc_step9_non_mod_tx_2440 ,p_fcc_non_mod_tx_2440 
+04d1 c0050502 beq fcc_step10_non_mod_tx_2474 ,p_fcc_non_mod_tx_2474 
+04d2 c0058506 beq fcc_step11_non_mod_rx_2408 ,p_fcc_non_mod_rx_2408 
+04d3 c006050a beq fcc_step12_non_mod_rx_2440 ,p_fcc_non_mod_rx_2440 
+04d4 c006850e beq fcc_step13_non_mod_rx_2474 ,p_fcc_non_mod_rx_2474 
+04d5 c00704fa beq fcc_step14_non_mod_tx_2408 ,p_fcc_non_mod_tx_2408 
+04d6 c00784fe beq fcc_step15_non_mod_tx_2440 ,p_fcc_non_mod_tx_2440 
+04d7 c0080502 beq fcc_step16_non_mod_tx_2474 ,p_fcc_non_mod_tx_2474 
+04d8 c0088506 beq fcc_step17_non_mod_rx_2408 ,p_fcc_non_mod_rx_2408 
+04d9 c009050a beq fcc_step18_non_mod_rx_2440 ,p_fcc_non_mod_rx_2440 
+04da c009850e beq fcc_step19_non_mod_rx_2474 ,p_fcc_non_mod_rx_2474 
+04db 20600000 rtn 
+
+p_fcc_step1_scan_mode:
+04dc 700a1201 jam fcc_step1_scan_mode ,mem_fcc_mode_switch 
+04dd 700a1600 jam 0 ,mem_fcc_scan_mode_mkey_press 
+04de 700a0106 jam 6 ,mem_fcc_ch_new 
+04df 700a0500 jam 0 ,mem_fcc_data_new 
+04e0 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+04e1 700a0401 jam 0x01 ,mem_fcc_btble_new 
+04e2 700a0701 jam 0x01 ,mem_fcc_hop_new 
+04e3 20600000 rtn 
+
+p_fcc_step2_mod_tx_2408:
+04e4 700a0106 jam 6 ,mem_fcc_ch_new 
+04e5 700a0500 jam 0x00 ,mem_fcc_data_new 
+04e6 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+04e7 700a0700 jam 0x00 ,mem_fcc_hop_new 
+04e8 20600000 rtn 
+
+p_fcc_step3_mod_tx_2440:
+04e9 700a0126 jam 38 ,mem_fcc_ch_new 
+04ea 700a0500 jam 0x00 ,mem_fcc_data_new 
+04eb 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+04ec 20600000 rtn 
+
+p_fcc_step4_mod_tx_2474:
+04ed 700a0148 jam 72 ,mem_fcc_ch_new 
+04ee 700a0500 jam 0x00 ,mem_fcc_data_new 
+04ef 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+04f0 20600000 rtn 
+
+p_fcc_step5_mod_rx_2408:
+04f1 700a0106 jam 6 ,mem_fcc_ch_new 
+04f2 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+04f3 20600000 rtn 
+
+p_fcc_step6_mod_rx_2440:
+04f4 700a0126 jam 38 ,mem_fcc_ch_new 
+04f5 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+04f6 20600000 rtn 
+
+p_fcc_step7_mod_rx_2474:
+04f7 700a0148 jam 72 ,mem_fcc_ch_new 
+04f8 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+04f9 20600000 rtn 
+
+p_fcc_non_mod_tx_2408:
+04fa 700a0106 jam 6 ,mem_fcc_ch_new 
+04fb 700a0522 jam 0x22 ,mem_fcc_data_new 
+04fc 700a0301 jam 0x01 ,mem_fcc_txrx_new 
 04fd 20600000 rtn 
 
-p_dongle_usb_cmd_ota_write_data:
-04fe 6fe14bf3 fetch 2 ,mem_g24_ota_config_addr 
-04ff 207a0000 rtn blank 
-0500 68494c18 fetcht 2 ,mem_g24_ota_rx_alllen 
-0501 9840fe00 iadd temp ,pdata 
-0502 1a420400 copy regb ,temp 
-0503 20205e04 branch iicd_write_ota_data 
-
-p_g24_mouse_ota_process_reset:
-0504 6fe0cbf7 fetch 1 ,mem_g24_ota_sm 
-0505 c1080000 rtneq g24_ota_sm_rx_reset 
-0506 c1088000 rtneq g24_ota_sm_tx_reset 
-0507 c1090000 rtneq g24_ota_sm_tx_reset_ok 
-0508 704c1d05 jam 5 ,mem_g24_ota_reset_timer 
-0509 704bf710 jam g24_ota_sm_rx_reset ,mem_g24_ota_sm 
-050a 20600000 rtn 
-
-p_g24_cmd_ota_data_check_count:
-050b 6848cc1c fetcht 1 ,mem_g24_ota_rx_data_count 
-050c 67e0cc1c store 1 ,mem_g24_ota_rx_data_count 
-050d c0000511 beq 0 ,p_g24_cmd_ota_data_check_count_0 
-050e 98467e00 isub temp ,pdata 
-050f c000fe54 beq 1 ,enable_user 
-0510 20207e56 branch disable_user 
-
-p_g24_cmd_ota_data_check_count_0:
-0511 18467cff sub temp ,0xff ,null 
-0512 2022fe54 branch enable_user ,zero 
-0513 20207e56 branch disable_user 
-
-p_g24_mouse_data_sum:
-0514 efe08006 ifetch 1 ,contr 
-0515 98408400 iadd temp ,temp 
-0516 c2000514 loop p_g24_mouse_data_sum 
-0517 20600000 rtn 
-
-p_g24_mouse_ota_crc:
-0518 5800ffff setarg 0xffff 
-0519 efe00006 icrc contr 
+p_fcc_non_mod_tx_2440:
+04fe 700a0126 jam 38 ,mem_fcc_ch_new 
+04ff 700a0522 jam 0x22 ,mem_fcc_data_new 
+0500 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+0501 20600000 rtn 
+
+p_fcc_non_mod_tx_2474:
+0502 700a0148 jam 72 ,mem_fcc_ch_new 
+0503 700a0522 jam 0x22 ,mem_fcc_data_new 
+0504 700a0301 jam 0x01 ,mem_fcc_txrx_new 
+0505 20600000 rtn 
+
+p_fcc_non_mod_rx_2408:
+0506 700a0106 jam 6 ,mem_fcc_ch_new 
+0507 700a0522 jam 0x22 ,mem_fcc_data_new 
+0508 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+0509 20600000 rtn 
+
+p_fcc_non_mod_rx_2440:
+050a 700a0126 jam 38 ,mem_fcc_ch_new 
+050b 700a0522 jam 0x22 ,mem_fcc_data_new 
+050c 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+050d 20600000 rtn 
+
+p_fcc_non_mod_rx_2474:
+050e 700a0148 jam 72 ,mem_fcc_ch_new 
+050f 700a0522 jam 0x22 ,mem_fcc_data_new 
+0510 700a0302 jam 0x02 ,mem_fcc_txrx_new 
+0511 20600000 rtn 
+
+p_fcc_mkey_channel_switch:
+0512 6fe08a15 fetch 1 ,mem_fcc_mkey_press 
+0513 247a0000 nrtn blank 
+0514 700a1501 jam 1 ,mem_fcc_mkey_press 
+0515 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+0516 c0008525 beq fcc_step1_scan_mode ,p_fcc_mkey_scan_mode_ch_switch 
+0517 c001051b beq fcc_step2_mod_tx_2408 ,p_fcc_mkey_mod_tx_channel_switch 
+0518 c001851b beq fcc_step3_mod_tx_2440 ,p_fcc_mkey_mod_tx_channel_switch 
+0519 c002051b beq fcc_step4_mod_tx_2474 ,p_fcc_mkey_mod_tx_channel_switch 
 051a 20600000 rtn 
 
-p_g24_mouse_ota_check_crc:
-051b 6f20c82a fetchr loopcnt ,1 ,mem_24g_rxdata_length 
-051c 1f267c02 sub loopcnt ,2 ,null 
-051d 20217e56 branch disable_user ,positive 
-051e dfe0480a arg mem_24g_rxpayload ,pdata 
-051f 9f208c00 iadd loopcnt ,contr 
-0520 18c08dfe increase -2 ,contr 
-0521 e8410006 ifetcht 2 ,contr 
-0522 d8c0480a arg mem_24g_rxpayload ,contr 
-0523 20400518 call p_g24_mouse_ota_crc 
-0524 98467c00 isub temp ,null 
-0525 2022fe54 branch enable_user ,zero 
-0526 20207e56 branch disable_user 
-
-p_g24_mouse_ota_check_data:
-0527 efe08006 ifetch 1 ,contr 
-0528 c0ad0540 bne 0x5a ,p_g24_mouse_ota_load_fail 
-0529 1a220200 copy rega ,1 ,contr 
-052a 68490006 fetcht 2 ,contr 
-
-p_g24_mouse_ota_check_data_loop:
-052b 18467c03 sub temp ,3 ,null 
-052c 20210540 branch p_g24_mouse_ota_load_fail ,positive 
-052d 18c08c02 increase 2 ,contr 
-052e ef208006 ifetchr loopcnt ,1 ,contr 
-052f 1f267c00 sub loopcnt ,0 ,null 
-0530 24228540 nbranch p_g24_mouse_ota_load_fail ,zero 
-0531 1f227e00 copy loopcnt ,pdata 
-0532 98c08c00 iadd contr ,contr 
-0533 18427e00 copy temp ,pdata 
-0534 1f20f203 increase 3 ,loopcnt 
-0535 9f260400 isub loopcnt ,temp 
-0536 2422852b nbranch p_g24_mouse_ota_check_data_loop ,zero 
-0537 e8410006 ifetcht 2 ,contr 
-0538 1a208c01 add rega ,1 ,contr 
-0539 efe10006 ifetch 2 ,contr 
-053a 1fe0f202 add pdata ,2 ,loopcnt 
-053b 1a208c01 add rega ,1 ,contr 
-053c 20400518 call p_g24_mouse_ota_crc 
-053d 98467c00 isub temp ,null 
-053e 24228540 nbranch p_g24_mouse_ota_load_fail ,zero 
-
-p_g24_mouse_ota_load_success:
-053f 20207e54 branch enable_user 
-
-p_g24_mouse_ota_load_fail:
-0540 20207e56 branch disable_user 
-
-p_g24_mouse_ota_get_otaaddr:
-0541 6fe14bf3 fetch 2 ,mem_g24_ota_config_addr 
-0542 1fe20c00 copy pdata ,contr 
-0543 20400527 call p_g24_mouse_ota_check_data 
-0544 2434054c nbranch p_g24_mouse_ota_config_end ,user 
-0545 6a214bf3 fetchr rega ,2 ,mem_g24_ota_config_addr 
-0546 1a208c01 add rega ,1 ,contr 
-0547 efe10006 ifetch 2 ,contr 
-0548 1fe0fe05 increase 5 ,pdata 
-0549 9a20fe00 iadd rega ,pdata 
-054a 67e14bf3 store 2 ,mem_g24_ota_config_addr 
-054b 20200541 branch p_g24_mouse_ota_get_otaaddr 
-
-p_g24_mouse_ota_config_end:
-054c 6fe14bf1 fetch 2 ,mem_g24_ota_storage_size 
-054d 68494bf3 fetcht 2 ,mem_g24_ota_config_addr 
-054e 98467e00 isub temp ,pdata 
-054f 20600000 rtn 
-
-p_ota_init:
-0550 58000000 setarg 0 
-0551 67e14c18 store 2 ,mem_g24_ota_rx_alllen 
-0552 67e14c1a store 2 ,mem_g24_ota_rx_sum 
-0553 67e0cc1c store 1 ,mem_g24_ota_rx_data_count 
-0554 67e0cbf7 store 1 ,mem_g24_ota_sm 
-0555 20600000 rtn 
-
-p_mouse_24g_package_ota:
-0556 20407e56 call disable_user 
-0557 6fe0cbf7 fetch 1 ,mem_g24_ota_sm 
-0558 c000855f beq g24_ota_sm_rx_version ,p_mouse_24g_package_ota_version 
-0559 c0020569 beq g24_ota_sm_rx_info ,p_mouse_24g_package_ota_info 
-055a c0038588 beq g24_ota_sm_rx_config ,p_mouse_24g_package_ota_config 
-055b c00505ae beq g24_ota_sm_rx_set_config_end ,p_mouse_24g_package_ota_set_config_end 
-055c c00685a3 beq g24_ota_sm_rx_data ,p_mouse_24g_package_ota_data 
-055d c008058c beq g24_ota_sm_rx_reset ,p_mouse_24g_package_ota_reset 
-055e 202005b7 branch p_mouse_24g_package_ping 
-
-p_mouse_24g_package_ota_version:
-055f 7047c6af jam datatype_ota ,mem_24g_txbuf 
-0560 7047c701 jam g24_ota_cmd_version ,mem_24g_txbuf + 1 
-0561 7047c800 jam g24_ota_status_success ,mem_24g_txbuf + 2 
-0562 7047c902 jam g24_ota_target_mouse ,mem_24g_txbuf + 3 
-0563 58000001 setarg g24_ota_version 
-0564 67e147ca store 2 ,mem_24g_txbuf + 4 
-0565 70483601 jam type_ms ,mem_24g_data_type 
-0566 70483506 jam 6 ,mem_24g_datalen 
-0567 704bf702 jam g24_ota_sm_tx_version ,mem_g24_ota_sm 
-0568 20600000 rtn 
-
-p_mouse_24g_package_ota_info:
-0569 7047c6af jam datatype_ota ,mem_24g_txbuf 
-056a 7047c702 jam g24_ota_cmd_info ,mem_24g_txbuf + 1 
-056b 7047c800 jam g24_ota_status_success ,mem_24g_txbuf + 2 
-056c 7047c902 jam g24_ota_target_mouse ,mem_24g_txbuf + 3 
-056d 6ff10000 fetch 2 ,core_chipid 
-056e 67e147ca store 2 ,mem_24g_txbuf + 4 
-056f 58006661 setarg 0x6661 
-0570 e7e10005 istore 2 ,contw 
-0571 58000001 setarg 1 
-0572 e7e30005 istore 6 ,contw 
-0573 58000000 setarg 0 
-0574 e7e10005 istore 2 ,contw 
-0575 e7e10005 istore 2 ,contw 
-0576 20400590 call p_mouse_24g_storage_type 
-0577 e7e08005 istore 1 ,contw 
-0578 58000000 setarg 0 
-0579 e7e08005 istore 1 ,contw 
-057a 68494bf3 fetcht 2 ,mem_g24_ota_config_addr 
-057b e0410005 istoret 2 ,contw 
-057c 6fe14bf1 fetch 2 ,mem_g24_ota_storage_size 
-057d 1fed7e00 lshift8 pdata ,pdata 
-057e 1fe37e00 rshift pdata ,pdata 
-057f 98467e00 isub temp ,pdata 
-0580 24210586 nbranch p_dongle_usb_cmd_ota_info_dongle_empty ,positive 
-
-p_dongle_usb_cmd_ota_info_dongle_common:
-0581 e7e10005 istore 2 ,contw 
-0582 70483518 jam 24 ,mem_24g_datalen 
-0583 70483601 jam type_ms ,mem_24g_data_type 
-0584 704bf705 jam g24_ota_sm_tx_info ,mem_g24_ota_sm 
-0585 20600000 rtn 
-
-p_dongle_usb_cmd_ota_info_dongle_empty:
-0586 58000000 setarg 0 
-0587 20200581 branch p_dongle_usb_cmd_ota_info_dongle_common 
-
-p_mouse_24g_package_ota_config:
-0588 704bf708 jam g24_ota_sm_tx_config ,mem_g24_ota_sm 
-0589 7047c703 jam g24_ota_cmd_config ,mem_24g_txbuf + 1 
-058a 70483504 jam 4 ,mem_24g_datalen 
-058b 20200599 branch p_mouse_24g_package_ota_common_ok 
-
-p_mouse_24g_package_ota_reset:
-058c 704bf711 jam g24_ota_sm_tx_reset ,mem_g24_ota_sm 
-058d 7047c706 jam g24_ota_cmd_reset ,mem_24g_txbuf + 1 
-058e 70483504 jam 4 ,mem_24g_datalen 
-058f 20200599 branch p_mouse_24g_package_ota_common_ok 
-
-p_mouse_24g_storage_type:
-0590 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0591 c2898595 bbit1 mouse_enable_eeprom ,p_mouse_24g_storage_type_eeprom 
-0592 c2890597 bbit1 mouse_enable_flash ,p_mouse_24g_storage_type_flash 
-0593 58000000 setarg g24_ota_storage_error 
-0594 20600000 rtn 
-
-p_mouse_24g_storage_type_eeprom:
-0595 58000002 setarg g24_ota_storage_eeprom 
-0596 20600000 rtn 
-
-p_mouse_24g_storage_type_flash:
-0597 58000004 setarg g24_ota_storage_flash 
-0598 20600000 rtn 
-
-p_mouse_24g_package_ota_common_ok:
-0599 70483601 jam type_ms ,mem_24g_data_type 
-059a 7047c6af jam datatype_ota ,mem_24g_txbuf 
-059b 7047c800 jam g24_ota_status_success ,mem_24g_txbuf + 2 
-059c 7047c902 jam g24_ota_target_mouse ,mem_24g_txbuf + 3 
-059d 20600000 rtn 
-
-p_mouse_24g_package_ota_common_fail:
-059e 7047c801 jam g24_ota_status_fail ,mem_24g_txbuf + 2 
-059f 70483601 jam type_ms ,mem_24g_data_type 
-05a0 7047c6af jam datatype_ota ,mem_24g_txbuf 
-05a1 7047c902 jam g24_ota_target_mouse ,mem_24g_txbuf + 3 
-05a2 20600000 rtn 
-
-p_mouse_24g_package_ota_data:
-05a3 704bf70f jam g24_ota_sm_tx_data_ok ,mem_g24_ota_sm 
-05a4 7047c705 jam g24_ota_cmd_data ,mem_24g_txbuf + 1 
-05a5 6fe0cc1c fetch 1 ,mem_g24_ota_rx_data_count 
-05a6 67e0c7ca store 1 ,mem_24g_txbuf + 4 
-05a7 70483505 jam 5 ,mem_24g_datalen 
-05a8 70483601 jam type_ms ,mem_24g_data_type 
-05a9 7047c6af jam datatype_ota ,mem_24g_txbuf 
-05aa 6fe0cbf5 fetch 1 ,mem_g24_ota_rtn_state 
-05ab 67e0c7c8 store 1 ,mem_24g_txbuf + 2 
-05ac 7047c902 jam g24_ota_target_mouse ,mem_24g_txbuf + 3 
-05ad 20600000 rtn 
-
-p_mouse_24g_package_ota_set_config_end:
-05ae 704bf70c jam g24_ota_sm_tx_set_config_end_ok ,mem_g24_ota_sm 
-05af 7047c704 jam g24_ota_cmd_set_config_end ,mem_24g_txbuf + 1 
-05b0 70483504 jam 4 ,mem_24g_datalen 
-05b1 70483601 jam type_ms ,mem_24g_data_type 
-05b2 7047c6af jam datatype_ota ,mem_24g_txbuf 
-05b3 6fe0cbf5 fetch 1 ,mem_g24_ota_rtn_state 
-05b4 67e0c7c8 store 1 ,mem_24g_txbuf + 2 
-05b5 7047c902 jam g24_ota_target_mouse ,mem_24g_txbuf + 3 
-05b6 20600000 rtn 
-
-p_mouse_24g_package_ping:
-05b7 7047c6af jam datatype_ota ,mem_24g_txbuf 
-05b8 7047c7ff jam g24_ota_cmd_ping ,mem_24g_txbuf + 1 
-05b9 7047c800 jam g24_ota_status_success ,mem_24g_txbuf + 2 
-05ba 7047c902 jam g24_ota_target_mouse ,mem_24g_txbuf + 3 
-05bb 70483601 jam type_ms ,mem_24g_data_type 
-05bc 70483504 jam 4 ,mem_24g_datalen 
-05bd 20600000 rtn 
-
-p_mouse_24g_package_data_ota:
-05be 1fe22200 copy pdata ,rega 
-05bf 704bf800 jam 0 ,mem_g24_ota_prepare_send_len 
-05c0 70483601 jam type_ms ,mem_24g_data_type 
-05c1 da404bf9 arg mem_g24_ota_txbuf ,regb 
-05c2 20600000 rtn 
+p_fcc_mkey_mod_tx_channel_switch:
+051b 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+051c c0030521 beq 6 ,p_fcc_set_channel_2440 
+051d c0130523 beq 38 ,p_fcc_set_channel_2474 
+051e c024051f beq 72 ,p_fcc_set_channel_2408 
+
+p_fcc_set_channel_2408:
+051f 700a0106 jam 6 ,mem_fcc_ch_new 
+0520 20600000 rtn 
+
+p_fcc_set_channel_2440:
+0521 700a0126 jam 38 ,mem_fcc_ch_new 
+0522 20600000 rtn 
+
+p_fcc_set_channel_2474:
+0523 700a0148 jam 72 ,mem_fcc_ch_new 
+0524 20600000 rtn 
+
+p_fcc_mkey_scan_mode_ch_switch:
+0525 700a0106 jam 6 ,mem_fcc_ch_new 
+0526 700a1601 jam 1 ,mem_fcc_scan_mode_mkey_press 
+0527 20600000 rtn 
+
+p_wheel_process:
+0528 20403f88 call mouse_wheel_check 
+0529 6fe0c8e0 fetch 1 ,mem_mouse_z_data 
+052a 207a0000 rtn blank 
+052b 6fe08a12 fetch 1 ,mem_fcc_mode_switch 
+052c c0010530 beq fcc_step2_mod_tx_2408 ,p_fcc_wheel_mod_tx_channel_switch 
+052d c0018530 beq fcc_step3_mod_tx_2440 ,p_fcc_wheel_mod_tx_channel_switch 
+052e c0020530 beq fcc_step4_mod_tx_2474 ,p_fcc_wheel_mod_tx_channel_switch 
+052f 20600000 rtn 
+
+p_fcc_wheel_mod_tx_channel_switch:
+0530 6fe0c8e0 fetch 1 ,mem_mouse_z_data 
+0531 7048e000 jam 0 ,mem_mouse_z_data 
+0532 c0008535 beq 0x01 ,p_fcc_wheel_mod_tx_channel_inc 
+0533 c07f853b beq 0xff ,p_fcc_wheel_mod_tx_channel_dec 
+0534 20600000 rtn 
+
+p_fcc_wheel_mod_tx_channel_inc:
+0535 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+0536 1fe0fe01 pincrease 1 
+0537 67e08a01 store 1 ,mem_fcc_ch_new 
+0538 c1a48000 rtnne 73 
+0539 700a0106 jam 6 ,mem_fcc_ch_new 
+053a 20600000 rtn 
+
+p_fcc_wheel_mod_tx_channel_dec:
+053b 6fe08a01 fetch 1 ,mem_fcc_ch_new 
+053c 1fe0ffff pincrease -1 
+053d 67e08a01 store 1 ,mem_fcc_ch_new 
+053e c1828000 rtnne 5 
+053f 700a0148 jam 72 ,mem_fcc_ch_new 
+0540 20600000 rtn 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/program/patch.prog	(revision 1304)
+++ /YC1308AC/branch/mouse_project/AiTanSi_Project/Only2.4G_PBPair/program/patch.prog	(working copy)
@@ -1,5 +1,6 @@
 
-define G24_OTA
+//define G24_OTA
+define FCC
 define FIRE_KEY
 
 	bbit1 8,pf_patch_ext
@@ -304,6 +305,11 @@
 	call g24_transmit_init
 	call g24_chmap_param_init
 	call mouse_gpio_init
+ifdef FCC
+	call mouse_key_check_once
+	and rega,0x07,pdata
+	beq MOUSE_LMR_BUTTON,p_fcc_mode_start
+endif	
 	call mouse_param_init
 	call p_g24_short_sleep_set_8ms
 	fetch MOUSE_FLAG_LEN,mem_mouse_flag
@@ -1999,3 +2005,384 @@
 ///////////////////////////// 2.4g ota start ///////////////////////////////////////////////////////////	
 endif
 
+
+
+
+ifdef FCC
+
+p_fcc_mode_start:
+	call init_lpm_ctrl
+	call mouse_low_voltage_led_on
+	setarg mem_fcc_mode_end
+	arg mem_fcc_mode_start,contw
+	isub contw,loopcnt
+	call clear_mem
+	call p_pn9
+	call p_fcc_step1_scan_mode
+	jam 0x19,mem_fcc_data_length_new
+	branch p_test_tx_new_param
+
+p_pn9:
+	arg 1022,loopcnt
+ 	arg mem_pn9,contw
+  	setarg 0x1ff
+	force 0,regb
+p_pn9_loop:    
+    rshift3 pdata,rega
+    rshift rega,rega
+    ixor rega,rega
+    isolate1 0,rega
+    setflag true,9,pdata
+    rshift temp,temp
+    isolate1 0,pdata
+    setflag true,7,temp
+    rshift pdata,pdata
+    increase 1,regb
+    compare 0,regb,0x7
+    nbranch p_pn9_loop,true
+    istoret 1,contw
+    loop p_pn9_loop
+    rtn
+
+p_test_tx_new_param:
+	fetch 7,mem_fcc_param_new
+	store 7,mem_fcc_param
+p_test_tx_or_rx:
+	fetch 1,mem_fcc_txrx
+	beq 0x01,p_test_tx_start
+	beq 0x02,p_test_rx_start
+p_test_tx_start:
+p_test_ble_tx_on:
+	call set_sync_on
+	fetcht 1,mem_fcc_ch
+	call set_freq_tx
+	call le_enable
+	set1 TXGFSK,radio_ctrl
+	enable encode_fec0
+	enable is_tx
+	disable is_rx
+	call le_wait_tx
+	fetch 1,mem_fcc_data
+	store 1,core_tx_test_mode
+	beq 0,p_test_tx_data
+p_test_tx_carrier_loop:
+	fetchr loopcnt,1,mem_fcc_data_length
+	arg mem_pn9,contr
+p_pnloop_carrier:
+	ifetch 1,contr
+	inject mod,8
+	loop p_pnloop_carrier
+	call p_key_wheel_process
+	fetch 7,mem_fcc_param
+	fetcht 7,mem_fcc_param_new
+	isub temp,null
+	branch p_test_tx_carrier_loop,zero
+	branch p_test_tx_new_param
+
+p_test_tx_data:
+	fetch 1,mem_fcc_hop
+	beq 1,p_tx_data_hopping
+p_tx_data:
+	arg 53,loopcnt
+	arg mem_pn9,contr
+p_pnloop_stable:
+	ifetch 1,contr
+	inject mod,8
+	loop p_pnloop_stable
+p_stable_stop:
+	call p_key_wheel_process
+	fetch 7,mem_fcc_param
+	fetcht 7,mem_fcc_param_new
+	isub temp,null
+	branch p_tx_data,zero
+	call shutdown_radio
+	branch p_test_tx_new_param
+
+
+p_tx_data_hopping:
+	disable swfine
+	arg 26,stop_watch	//26 * 0.3125 = 8.125ms
+p_tx_data_hopping2:
+	arg 55,loopcnt
+	arg mem_pn9,contr
+p_pnloop_stable2:
+	ifetch 1,contr
+	inject mod,8
+	loop p_pnloop_stable2
+	nbranch p_tx_data_hopping2,timeout
+	call shutdown_radio
+	arg 15,queue
+	setarg 800	//500ms
+	call timer_init
+p_500ms_cycle:
+	arg 15,queue
+	call timer_check
+	branch p_hopping_change_ch,blank
+	call p_key_wheel_process
+	fetch 1,mem_fcc_mode_switch
+	beq FCC_STEP1_SCAN_MODE,p_500ms_cycle
+	branch p_test_tx_new_param
+
+p_hopping_change_ch:
+	call p_hopping_ch_update
+	branch p_test_tx_new_param
+
+p_hopping_ch_update:
+	fetch 1,mem_fcc_scan_mode_mkey_press
+	nbranch p_fcc_set_channel_2408,blank
+	fetch 1,mem_fcc_ch_new
+	pincrease 2
+	store 1,mem_fcc_ch_new
+	rtnne 74
+	branch p_fcc_set_channel_2408
+
+
+p_test_rx_start:
+	call p_test_ble_rx_on
+p_test_rx_loop:
+	call p_key_wheel_process
+	fetch 7,mem_fcc_param
+	fetcht 7,mem_fcc_param_new
+	isub temp,null
+	branch p_test_rx_loop,zero
+	branch p_test_tx_new_param
+
+p_test_ble_rx_on:
+	call shutdown_radio	//close tx
+	fetcht 1,mem_fcc_ch
+	branch le_rf_rx_enable
+
+p_key_wheel_process:
+	call p_key_process
+	branch p_wheel_process
+
+p_key_process:
+	disable user
+	call mouse_key
+	nrtn user
+	fetch 1,mem_mouse_key
+ 	beq MOUSE_L_BUTTON,p_fcc_mode_exit
+	beq MOUSE_R_BUTTON,p_fcc_mode_switch
+	beq MOUSE_M_BUTTON,p_fcc_mkey_channel_switch
+	jam 0,mem_fcc_lkey_press
+	jam 0,mem_fcc_rkey_press
+	jam 0,mem_fcc_mkey_press	
+	rtn
+
+
+p_fcc_mode_exit:
+	fetch 1,mem_fcc_lkey_press
+	nrtn blank
+	jam 1,mem_fcc_lkey_press
+	jam 1,core_reset
+	branch assert
+
+p_fcc_mode_switch:
+	fetch 1,mem_fcc_rkey_press
+	nrtn blank
+	jam 1,mem_fcc_rkey_press
+	call p_fcc_mode_cnt
+	branch p_fcc_mode_choose
+
+p_fcc_mode_cnt:
+	fetch 1,mem_fcc_mode_switch
+	pincrease 1
+	store 1,mem_fcc_mode_switch
+	rtnne FCC_STEP_MAX
+	jam FCC_STEP1_SCAN_MODE,mem_fcc_mode_switch
+	rtn
+
+p_fcc_mode_choose:
+	fetch 1,mem_fcc_mode_switch
+	beq FCC_STEP1_SCAN_MODE,p_fcc_step1_scan_mode
+	jam 0,mem_fcc_scan_mode_mkey_press
+	beq FCC_STEP2_MOD_TX_2408,p_fcc_step2_mod_tx_2408
+	beq FCC_STEP3_MOD_TX_2440,p_fcc_step3_mod_tx_2440
+	beq FCC_STEP4_MOD_TX_2474,p_fcc_step4_mod_tx_2474
+	beq FCC_STEP5_MOD_RX_2408,p_fcc_step5_mod_rx_2408
+	beq FCC_STEP6_MOD_RX_2440,p_fcc_step6_mod_rx_2440
+	beq FCC_STEP7_MOD_RX_2474,p_fcc_step7_mod_rx_2474
+	beq FCC_STEP8_NON_MOD_TX_2408,p_fcc_non_mod_tx_2408
+	beq FCC_STEP9_NON_MOD_TX_2440,p_fcc_non_mod_tx_2440
+	beq FCC_STEP10_NON_MOD_TX_2474,p_fcc_non_mod_tx_2474
+	beq FCC_STEP11_NON_MOD_RX_2408,p_fcc_non_mod_rx_2408
+	beq FCC_STEP12_NON_MOD_RX_2440,p_fcc_non_mod_rx_2440
+	beq FCC_STEP13_NON_MOD_RX_2474,p_fcc_non_mod_rx_2474
+	beq FCC_STEP14_NON_MOD_TX_2408,p_fcc_non_mod_tx_2408
+	beq FCC_STEP15_NON_MOD_TX_2440,p_fcc_non_mod_tx_2440
+	beq FCC_STEP16_NON_MOD_TX_2474,p_fcc_non_mod_tx_2474
+	beq FCC_STEP17_NON_MOD_RX_2408,p_fcc_non_mod_rx_2408
+	beq FCC_STEP18_NON_MOD_RX_2440,p_fcc_non_mod_rx_2440
+	beq FCC_STEP19_NON_MOD_RX_2474,p_fcc_non_mod_rx_2474
+	rtn
+
+p_fcc_step1_scan_mode:
+	jam FCC_STEP1_SCAN_MODE,mem_fcc_mode_switch
+	jam 0,mem_fcc_scan_mode_mkey_press
+	jam 6,mem_fcc_ch_new
+	jam 0,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	jam 0x01,mem_fcc_btble_new
+	jam 0x01,mem_fcc_hop_new
+	rtn
+
+p_fcc_step2_mod_tx_2408:
+	jam 6,mem_fcc_ch_new
+	jam 0x00,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	jam 0x00,mem_fcc_hop_new
+	rtn
+p_fcc_step3_mod_tx_2440:
+	jam 38,mem_fcc_ch_new
+	jam 0x00,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	rtn
+p_fcc_step4_mod_tx_2474:
+	jam 72,mem_fcc_ch_new
+	jam 0x00,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	rtn
+p_fcc_step5_mod_rx_2408:
+	jam 6,mem_fcc_ch_new
+	jam 0x02,mem_fcc_txrx_new
+	rtn
+p_fcc_step6_mod_rx_2440:
+	jam 38,mem_fcc_ch_new
+	jam 0x02,mem_fcc_txrx_new
+	rtn
+p_fcc_step7_mod_rx_2474:
+	jam 72,mem_fcc_ch_new
+	jam 0x02,mem_fcc_txrx_new
+	rtn
+p_fcc_non_mod_tx_2408:
+	jam 6,mem_fcc_ch_new
+	jam 0x22,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	rtn
+p_fcc_non_mod_tx_2440:
+	jam 38,mem_fcc_ch_new
+	jam 0x22,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	rtn
+p_fcc_non_mod_tx_2474:
+	jam 72,mem_fcc_ch_new
+	jam 0x22,mem_fcc_data_new
+	jam 0x01,mem_fcc_txrx_new
+	rtn
+p_fcc_non_mod_rx_2408:
+	jam 6,mem_fcc_ch_new
+	jam 0x22,mem_fcc_data_new
+	jam 0x02,mem_fcc_txrx_new
+	rtn
+p_fcc_non_mod_rx_2440:
+	jam 38,mem_fcc_ch_new
+	jam 0x22,mem_fcc_data_new
+	jam 0x02,mem_fcc_txrx_new
+	rtn
+p_fcc_non_mod_rx_2474:
+	jam 72,mem_fcc_ch_new
+	jam 0x22,mem_fcc_data_new
+	jam 0x02,mem_fcc_txrx_new
+	rtn
+
+	
+p_fcc_mkey_channel_switch:
+	fetch 1,mem_fcc_mkey_press
+	nrtn blank
+	jam 1,mem_fcc_mkey_press
+	fetch 1,mem_fcc_mode_switch
+	beq FCC_STEP1_SCAN_MODE,p_fcc_mkey_scan_mode_ch_switch
+	beq FCC_STEP2_MOD_TX_2408,p_fcc_mkey_mod_tx_channel_switch
+	beq FCC_STEP3_MOD_TX_2440,p_fcc_mkey_mod_tx_channel_switch
+	beq FCC_STEP4_MOD_TX_2474,p_fcc_mkey_mod_tx_channel_switch
+	rtn
+p_fcc_mkey_mod_tx_channel_switch:
+	fetch 1,mem_fcc_ch_new
+	beq 6,p_fcc_set_channel_2440
+	beq 38,p_fcc_set_channel_2474
+	beq 72,p_fcc_set_channel_2408
+p_fcc_set_channel_2408:
+	jam 6,mem_fcc_ch_new
+	rtn
+p_fcc_set_channel_2440:
+	jam 38,mem_fcc_ch_new
+	rtn
+p_fcc_set_channel_2474:
+	jam 72,mem_fcc_ch_new
+	rtn	
+
+p_fcc_mkey_scan_mode_ch_switch:
+	jam 6,mem_fcc_ch_new
+	jam 1,mem_fcc_scan_mode_mkey_press
+	rtn
+
+
+p_wheel_process:
+	call mouse_wheel_check
+	fetch 1,mem_mouse_z_data
+	rtn blank
+	fetch 1,mem_fcc_mode_switch
+	beq FCC_STEP2_MOD_TX_2408,p_fcc_wheel_mod_tx_channel_switch
+	beq FCC_STEP3_MOD_TX_2440,p_fcc_wheel_mod_tx_channel_switch
+	beq FCC_STEP4_MOD_TX_2474,p_fcc_wheel_mod_tx_channel_switch
+	rtn
+
+p_fcc_wheel_mod_tx_channel_switch:
+	fetch 1,mem_mouse_z_data
+	jam 0,mem_mouse_z_data
+	beq 0x01,p_fcc_wheel_mod_tx_channel_inc	//forward
+	beq 0xff,p_fcc_wheel_mod_tx_channel_dec	//back
+	rtn
+p_fcc_wheel_mod_tx_channel_inc:
+	fetch 1,mem_fcc_ch_new
+	pincrease 1
+	store 1,mem_fcc_ch_new
+	rtnne 73
+	jam 6,mem_fcc_ch_new
+	rtn
+p_fcc_wheel_mod_tx_channel_dec:
+	fetch 1,mem_fcc_ch_new
+	pincrease -1
+	store 1,mem_fcc_ch_new
+	rtnne 5
+	jam 72,mem_fcc_ch_new
+	rtn
+	
+	
+endif
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
