Index: output/flash.dat
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/output/flash.dat	(revision 1879)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-be
+c2
 17
 20
 20
@@ -23,7 +23,7 @@
 20
 40
 04
-f6
+f7
 68
 00
 c6
@@ -43,7 +43,7 @@
 20
 40
 05
-93
+94
 20
 40
 00
@@ -275,15 +275,15 @@
 c0
 42
 85
-62
+63
 c0
 44
 85
-33
+34
 c0
 45
 05
-64
+65
 c0
 0d
 84
@@ -295,27 +295,27 @@
 c0
 24
 04
-64
+65
 c0
 25
 04
-66
+67
 c0
 28
 84
-6f
+70
 c0
 2c
 84
-62
+63
 c0
 53
 84
-74
+75
 c0
 56
 84
-8a
+8b
 c0
 65
 b3
@@ -323,7 +323,7 @@
 c0
 74
 84
-9b
+9c
 c0
 50
 80
@@ -407,23 +407,23 @@
 c0
 7d
 04
-de
+df
 c0
 02
 84
-9d
+9e
 c0
 40
 04
-9f
+a0
 c0
 41
 04
-a9
+aa
 c0
 44
 04
-ba
+bb
 c0
 46
 04
@@ -899,7 +899,7 @@
 20
 20
 05
-66
+67
 da
 20
 43
@@ -1051,7 +1051,7 @@
 20
 20
 05
-66
+67
 68
 08
 cb
@@ -2127,7 +2127,7 @@
 20
 20
 05
-66
+67
 70
 0a
 99
@@ -2143,7 +2143,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -2151,7 +2151,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -2159,7 +2159,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -2167,7 +2167,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -2175,7 +2175,7 @@
 20
 20
 05
-66
+67
 20
 40
 02
@@ -2223,7 +2223,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -2231,7 +2231,7 @@
 20
 20
 05
-66
+67
 20
 40
 02
@@ -2243,7 +2243,7 @@
 20
 20
 05
-66
+67
 68
 00
 ca
@@ -3439,11 +3439,11 @@
 24
 34
 05
-93
+94
 20
 40
 05
-87
+88
 20
 20
 3f
@@ -3607,7 +3607,7 @@
 20
 20
 05
-66
+67
 20
 40
 02
@@ -3647,7 +3647,7 @@
 20
 40
 05
-07
+08
 20
 20
 53
@@ -3695,7 +3695,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -3703,7 +3703,7 @@
 20
 20
 05
-66
+67
 68
 00
 84
@@ -3715,7 +3715,7 @@
 20
 40
 04
-f9
+fa
 68
 00
 c7
@@ -3839,7 +3839,7 @@
 20
 20
 04
-fd
+fe
 68
 00
 c7
@@ -4215,7 +4215,7 @@
 20
 20
 05
-66
+67
 68
 00
 80
@@ -4307,7 +4307,7 @@
 20
 20
 05
-66
+67
 68
 10
 80
@@ -4391,7 +4391,7 @@
 20
 20
 05
-66
+67
 20
 40
 21
@@ -4439,7 +4439,7 @@
 c5
 16
 84
-5e
+5f
 20
 20
 21
@@ -4464,10 +4464,14 @@
 3f
 80
 0b
-18
+68
+00
+80
+77
+98
 00
 08
-01
+00
 70
 00
 11
@@ -4507,7 +4511,7 @@
 20
 20
 05
-66
+67
 68
 00
 80
@@ -4519,7 +4523,7 @@
 20
 40
 84
-6a
+6b
 20
 20
 24
@@ -4535,15 +4539,15 @@
 20
 40
 84
-fd
+fe
 24
 40
 84
-f9
+fa
 20
 20
 05
-07
+08
 20
 40
 24
@@ -4595,7 +4599,7 @@
 20
 3a
 04
-7e
+7f
 68
 00
 c5
@@ -4703,7 +4707,7 @@
 20
 5a
 04
-98
+99
 20
 20
 2b
@@ -4727,7 +4731,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -4735,7 +4739,7 @@
 20
 20
 05
-66
+67
 68
 00
 85
@@ -4747,7 +4751,7 @@
 c0
 09
 84
-a3
+a4
 20
 20
 5d
@@ -4795,19 +4799,19 @@
 c2
 83
 84
-b2
+b3
 c0
 01
 84
-b4
+b5
 c0
 18
 84
-b6
+b7
 c0
 0b
 84
-b8
+b9
 20
 20
 60
@@ -4819,7 +4823,7 @@
 20
 20
 05
-66
+67
 70
 11
 c6
@@ -4827,7 +4831,7 @@
 20
 20
 05
-66
+67
 70
 4b
 01
@@ -4863,11 +4867,11 @@
 c0
 02
 04
-dc
+dd
 c0
 08
 04
-c1
+c2
 20
 20
 63
@@ -4883,7 +4887,7 @@
 c0
 00
 84
-c5
+c6
 20
 20
 63
@@ -4899,7 +4903,7 @@
 c2
 80
 04
-c9
+ca
 20
 20
 63
@@ -4967,7 +4971,7 @@
 24
 21
 04
-da
+db
 20
 20
 63
@@ -5007,15 +5011,15 @@
 c0
 0f
 84
-e6
+e7
 c0
 10
 04
-e9
+ea
 c0
 09
 04
-f3
+f4
 20
 20
 7d
@@ -5031,7 +5035,7 @@
 20
 20
 04
-eb
+ec
 70
 01
 85
@@ -5123,7 +5127,7 @@
 24
 41
 05
-05
+06
 68
 00
 cd
@@ -5187,7 +5191,7 @@
 c5
 13
 05
-11
+12
 58
 00
 00
@@ -5199,7 +5203,7 @@
 24
 21
 05
-29
+2a
 68
 00
 cd
@@ -5211,7 +5215,7 @@
 24
 21
 05
-19
+1a
 68
 00
 cd
@@ -5219,7 +5223,7 @@
 c0
 00
 05
-2a
+2b
 20
 60
 00
@@ -5247,7 +5251,7 @@
 c5
 13
 05
-20
+21
 58
 00
 00
@@ -5267,7 +5271,7 @@
 c0
 00
 05
-31
+32
 1f
 e0
 ff
@@ -5279,7 +5283,7 @@
 c0
 00
 05
-31
+32
 70
 41
 de
@@ -5299,7 +5303,7 @@
 c0
 01
 05
-2f
+30
 1f
 e0
 fe
@@ -5311,7 +5315,7 @@
 c0
 00
 85
-27
+28
 70
 41
 de
@@ -5395,19 +5399,19 @@
 c0
 01
 05
-4b
+4c
 c0
 02
 05
-50
+51
 c0
 10
 05
-5f
+60
 20
 40
 05
-55
+56
 70
 89
 55
@@ -5427,7 +5431,7 @@
 20
 40
 05
-5a
+5b
 70
 89
 55
@@ -5447,7 +5451,7 @@
 20
 40
 05
-55
+56
 70
 89
 55
@@ -5551,7 +5555,7 @@
 20
 22
 85
-85
+86
 60
 08
 cb
@@ -5627,7 +5631,7 @@
 24
 22
 85
-76
+77
 20
 40
 01
@@ -5675,7 +5679,7 @@
 20
 40
 05
-df
+e0
 58
 00
 00
@@ -5683,15 +5687,15 @@
 20
 40
 05
-d5
+d6
 20
 5a
 05
-d1
+d2
 24
 5a
 05
-d3
+d4
 58
 00
 00
@@ -5699,11 +5703,11 @@
 20
 40
 05
-da
+db
 20
 5a
 05
-d1
+d2
 68
 00
 cb
@@ -5711,7 +5715,7 @@
 c0
 00
 85
-96
+97
 df
 20
 00
@@ -5743,7 +5747,7 @@
 20
 40
 05
-a9
+aa
 68
 01
 11
@@ -5779,7 +5783,7 @@
 20
 40
 05
-a9
+aa
 68
 01
 11
@@ -5823,7 +5827,7 @@
 20
 20
 85
-b6
+b7
 68
 00
 91
@@ -5831,7 +5835,7 @@
 c0
 7f
 85
-bd
+be
 68
 00
 91
@@ -5859,7 +5863,7 @@
 c0
 00
 05
-ba
+bb
 68
 01
 91
@@ -5867,7 +5871,7 @@
 20
 20
 05
-b2
+b3
 70
 11
 c4
@@ -5879,7 +5883,7 @@
 20
 20
 05
-b2
+b3
 68
 00
 91
@@ -5887,7 +5891,7 @@
 20
 40
 05
-c8
+c9
 60
 00
 91
@@ -5899,7 +5903,7 @@
 20
 3a
 05
-c6
+c7
 58
 00
 00
@@ -5923,11 +5927,11 @@
 20
 20
 05
-c3
+c4
 20
 40
 05
-cd
+ce
 1f
 e3
 7e
@@ -5935,7 +5939,7 @@
 20
 40
 05
-ce
+cf
 1f
 e6
 7e
@@ -6023,7 +6027,7 @@
 20
 40
 05
-e6
+e7
 1f
 e2
 22
@@ -6035,7 +6039,7 @@
 20
 40
 05
-e6
+e7
 1f
 e2
 24
@@ -6055,7 +6059,7 @@
 c0
 7f
 85
-ec
+ed
 68
 00
 91
@@ -6079,9 +6083,9 @@
 20
 20
 05
-ea
-07
-0c
+eb
+b5
+04
 aa
 55
 08
@@ -7112,7 +7116,7 @@
 00
 51
 4b
-d3
+d7
 27
 00
 ff
@@ -10192,5 +10196,5 @@
 55
 00
 00
-45
-b9
+f0
+d4
Index: output/program.lis
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/output/program.lis	(revision 1879)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/output/program.lis	(working copy)
@@ -10,12 +10,12 @@
 0001 204001ac call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000cce2 store 1 ,mem_tx_power_temp 
-0004 204004f6 call power_ctrl_pac_succ_cnt_init 
+0004 204004f7 call power_ctrl_pac_succ_cnt_init 
 0005 6800c685 fetch 1 ,mem_ui_button_timeout 
 0006 6000c6da store 1 ,mem_combination_ui_button_count 
 0007 20400292 call p_mouse_bt_discovery_button_up_init 
 0008 20400131 call p_mouse_spi_init 
-0009 20400593 call p_drawing_optima_init 
+0009 20400594 call p_drawing_optima_init 
 000a 20400012 call p_mouse_cb_fuction 
 000b 20400023 call p_mouse_wakeup_from_power 
 000c 20405810 call le_set_config_fixed_ltk 
@@ -83,19 +83,19 @@
 0040 c284005a bbit1 8 ,pf_patch_ext 
 0041 c0008076 beq patch00_1 ,p_soft_reset_1 
 0042 c001007f beq patch00_2 ,p_soft_reset_2 
-0043 c0428562 beq patch10_5 ,p_shutdown_radio 
-0044 c0448533 beq patch11_1 ,p_set_freq_tx 
-0045 c0450564 beq patch11_2 ,p_initialize_radio_cont 
+0043 c0428563 beq patch10_5 ,p_shutdown_radio 
+0044 c0448534 beq patch11_1 ,p_set_freq_tx 
+0045 c0450565 beq patch11_2 ,p_initialize_radio_cont 
 0046 c00d8447 beq patch03_3 ,p_page_wait_fhs_reply_ok 
 0047 c0130449 beq patch04_6 ,p_role_switch_master 
-0048 c0240464 beq patch09_0 ,p_quit_connection_cont 
-0049 c0250466 beq patch09_2 ,p_prepare_tx 
-004a c028846f beq patch0a_1 ,p_slave_conn_recv_packet 
-004b c02c8462 beq patch0b_1 ,p_process_dmh 
-004c c0538474 beq patch14_7 ,p_lpm_dispatch 
-004d c056848a beq patch15_5 ,p_lpm_set_mult 
+0048 c0240465 beq patch09_0 ,p_quit_connection_cont 
+0049 c0250467 beq patch09_2 ,p_prepare_tx 
+004a c0288470 beq patch0a_1 ,p_slave_conn_recv_packet 
+004b c02c8463 beq patch0b_1 ,p_process_dmh 
+004c c0538475 beq patch14_7 ,p_lpm_dispatch 
+004d c056848b beq patch15_5 ,p_lpm_set_mult 
 004e c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004f c074849b beq patch1d_1 ,p_mouse_bb_disconnected 
+004f c074849c beq patch1d_1 ,p_mouse_bb_disconnected 
 0050 c0508088 beq patch14_1 ,p_init_param 
 0051 c058808d beq patch16_1 ,p_lpm_check_wake_lock 
 0052 c059009b beq patch16_2 ,p_g24_dispatch 
@@ -118,11 +118,11 @@
 0061 c03383e5 beq patch2c_7 ,p_le_parse_l2cap 
 0062 c035041d beq patch2d_2 ,p_le_adv_not_match 
 0063 c03b8428 beq patch2e_7 ,p_le_lpm_setmult 
-0064 c07d04de beq patch3f_2 ,p_check_51cmd_once_continue 
-0065 c002849d beq patch20_5 ,p_hid_rx_process 
-0066 c040049f beq patch30_0 ,p_parse_lmp_accepted 
-0067 c04104a9 beq patch30_2 ,p_send_lmp 
-0068 c04404ba beq patch31_0 ,p_process_conn_sm 
+0064 c07d04df beq patch3f_2 ,p_check_51cmd_once_continue 
+0065 c002849e beq patch20_5 ,p_hid_rx_process 
+0066 c04004a0 beq patch30_0 ,p_parse_lmp_accepted 
+0067 c04104aa beq patch30_2 ,p_send_lmp 
+0068 c04404bb beq patch31_0 ,p_process_conn_sm 
 0069 c0460434 beq patch31_4 ,p_twspi_reset 
 006a c0468440 beq patch31_5 ,p_spid_init 
 006b 20202a8e branch loop 
@@ -283,7 +283,7 @@
 
 p_mouse4_0_check_reconn_target:
 00de 7011c612 jam zcode_12 ,mem_zcode_temp_param0 
-00df 20200566 branch p_zcode_entrance 
+00df 20200567 branch p_zcode_entrance 
 
 p_le_check_adv_flag:
 00e0 da204370 arg mem_le_adv_data ,rega 
@@ -341,7 +341,7 @@
 
 p_mouse_setting_config:
 0104 7011c680 jam zcode_80 ,mem_zcode_temp_param0 
-0105 20200566 branch p_zcode_entrance 
+0105 20200567 branch p_zcode_entrance 
 
 p_flash_ncs_disable:
 0106 6808cb43 fetcht 1 ,mem_flash_ncs_gpio 
@@ -698,7 +698,7 @@
 020f 20400230 call p_mouse_sensor_powerdown_check 
 0210 20400123 call p_mouse_store_flash_device_info 
 0211 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0212 20200566 branch p_zcode_entrance 
+0212 20200567 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
@@ -708,25 +708,25 @@
 
 p_mouse_le_ll_start_encryt:
 0215 7011c6b3 jam zcode_b3 ,mem_zcode_temp_param0 
-0216 20200566 branch p_zcode_entrance 
+0216 20200567 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
 0217 7011c6a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0218 20200566 branch p_zcode_entrance 
+0218 20200567 branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
 0219 7011c6a3 jam zcode_a3 ,mem_zcode_temp_param0 
-021a 20200566 branch p_zcode_entrance 
+021a 20200567 branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
 021b 7011c670 jam zcode_70 ,mem_zcode_temp_param0 
-021c 20200566 branch p_zcode_entrance 
+021c 20200567 branch p_zcode_entrance 
 
 p_mouse_sniff_not_accept:
 021d 7011c6b1 jam zcode_b1 ,mem_zcode_temp_param0 
-021e 20200566 branch p_zcode_entrance 
+021e 20200567 branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
 021f 20400265 call p_mouse_store_eeprom_enable 
@@ -742,16 +742,16 @@
 0227 20400230 call p_mouse_sensor_powerdown_check 
 0228 20400123 call p_mouse_store_flash_device_info 
 0229 7011c6b4 jam zcode_b4 ,mem_zcode_temp_param0 
-022a 20200566 branch p_zcode_entrance 
+022a 20200567 branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
 022b 7011c6b2 jam zcode_b2 ,mem_zcode_temp_param0 
-022c 20200566 branch p_zcode_entrance 
+022c 20200567 branch p_zcode_entrance 
 
 p_mouse_before_hibernate:
 022d 20400230 call p_mouse_sensor_powerdown_check 
 022e 7011c6a0 jam zcode_a0 ,mem_zcode_temp_param0 
-022f 20200566 branch p_zcode_entrance 
+022f 20200567 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
 0230 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
@@ -1192,8 +1192,8 @@
 0357 20404079 call mouse_zwheel 
 0358 2040407e call mouse_t_zwheel 
 0359 2040035d call p_mouse_key 
-035a 24340593 nbranch p_drawing_optima_init ,user 
-035b 20400587 call p_drawing_optima 
+035a 24340594 nbranch p_drawing_optima_init ,user 
+035b 20400588 call p_drawing_optima 
 035c 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
@@ -1258,7 +1258,7 @@
 
 p_mouse_start_discovery:
 0383 7011c630 jam zcode_30 ,mem_zcode_temp_param0 
-0384 20200566 branch p_zcode_entrance 
+0384 20200567 branch p_zcode_entrance 
 
 p_mouse_stop_discovery:
 0385 204002ea call p_mouse_discovey_led_blink_off 
@@ -1272,7 +1272,7 @@
 038b c0065395 beq le_md_max_count ,le_slave_cont 
 038c 204055aa call le_acknowledge 
 038d 2040561e call le_prepare_tx 
-038e 20400507 call power_ctrl_start 
+038e 20400508 call power_ctrl_start 
 038f 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
@@ -1290,16 +1290,16 @@
 
 p_le_update_param:
 0399 7011c620 jam zcode_20 ,mem_zcode_temp_param0 
-039a 20200566 branch p_zcode_entrance 
+039a 20200567 branch p_zcode_entrance 
 
 p_le_update_channel_map:
 039b 7011c621 jam zcode_21 ,mem_zcode_temp_param0 
-039c 20200566 branch p_zcode_entrance 
+039c 20200567 branch p_zcode_entrance 
 
 p_le_prepare_tx:
 039d 68008456 fetch 1 ,mem_le_arq 
 039e c28283bd bbit1 wak ,p_le_prepare_tx_wak 
-039f 204004f9 call power_ctrl_pac_succ_incrs 
+039f 204004fa call power_ctrl_pac_succ_incrs 
 03a0 6800c78e fetch 1 ,mem_empty_count 
 03a1 243a03a7 nbranch p_le_send_empyt ,blank 
 03a2 6800843f fetch 1 ,mem_le_state 
@@ -1342,7 +1342,7 @@
 03bd 204003b1 call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
-03be 202004fd branch power_ctrl_pac_succ_decrs 
+03be 202004fe branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
 03bf 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
@@ -1468,7 +1468,7 @@
 
 p_le_parse_smp_pairing_failed:
 041b 7011c682 jam zcode_82 ,mem_zcode_temp_param0 
-041c 20200566 branch p_zcode_entrance 
+041c 20200567 branch p_zcode_entrance 
 
 p_le_adv_not_match:
 041d 68008016 fetch 1 ,mem_le_ch_mapped 
@@ -1501,7 +1501,7 @@
 
 p_le_mouse_bb_event_connect_complete:
 0432 7011c622 jam zcode_22 ,mem_zcode_temp_param0 
-0433 20200566 branch p_zcode_entrance 
+0433 20200567 branch p_zcode_entrance 
 
 p_twspi_reset:
 0434 68108077 hfetch 1 ,core_gpio_out3 
@@ -1530,7 +1530,7 @@
 
 p_page_wait_fhs_reply_ok:
 0447 7011c600 jam zcode_00 ,mem_zcode_temp_param0 
-0448 20200566 branch p_zcode_entrance 
+0448 20200567 branch p_zcode_entrance 
 
 p_role_switch_master:
 0449 204021c9 call role_switch_check 
@@ -1548,7 +1548,7 @@
 0451 c5058456 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
 0452 20402455 call new_conn_timeout 
 0453 243a044f nbranch p_roles_waitfhs_loop ,blank 
-0454 c516845e bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+0454 c516845f bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
 0455 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
@@ -1557,578 +1557,579 @@
 0458 204022dc call master_send_packet 
 0459 7920002d set1 mark_role_switch_receive_fhs ,mark 
 045a 793f800b set0 mark_fhs_already_good ,mark 
-045b 18000801 force 1 ,am_addr 
-045c 70001102 jam 2 ,mem_newconnto_counter 
-045d 2020044f branch p_roles_waitfhs_loop 
+045b 68008077 fetch 1 ,mem_amaddr 
+045c 98000800 iforce am_addr 
+045d 70001102 jam 2 ,mem_newconnto_counter 
+045e 2020044f branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-045e 68020165 fetch 4 ,mem_clke_bt 
-045f 1fe0fe08 pincrease 8 
-0460 60020165 store 4 ,mem_clke_bt 
-0461 202021f8 branch roles_replyto_fhs + 4 
+045f 68020165 fetch 4 ,mem_clke_bt 
+0460 1fe0fe08 pincrease 8 
+0461 60020165 store 4 ,mem_clke_bt 
+0462 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-0462 c516264d bmark1 mark_first_packet ,end_of_packet 
-0463 2020258f branch process_dmh + 1 
+0463 c516264d bmark1 mark_first_packet ,end_of_packet 
+0464 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-0464 7011c623 jam zcode_23 ,mem_zcode_temp_param0 
-0465 20200566 branch p_zcode_entrance 
+0465 7011c623 jam zcode_23 ,mem_zcode_temp_param0 
+0466 20200567 branch p_zcode_entrance 
 
 p_prepare_tx:
-0466 68008030 fetch 1 ,mem_state 
-0467 2feffe00 isolate1 state_inconn ,pdata 
-0468 2040846a call p_bt_power_ctrl ,true 
-0469 2020248a branch prepare_tx + 1 
+0467 68008030 fetch 1 ,mem_state 
+0468 2feffe00 isolate1 state_inconn ,pdata 
+0469 2040846b call p_bt_power_ctrl ,true 
+046a 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-046a 68008047 fetch 1 ,mem_arq 
-046b 2feffe03 isolate1 wack ,pdata 
-046c 204084fd call power_ctrl_pac_succ_decrs ,true 
-046d 244084f9 ncall power_ctrl_pac_succ_incrs ,true 
-046e 20200507 branch power_ctrl_start 
+046b 68008047 fetch 1 ,mem_arq 
+046c 2feffe03 isolate1 wack ,pdata 
+046d 204084fe call power_ctrl_pac_succ_decrs ,true 
+046e 244084fa ncall power_ctrl_pac_succ_incrs ,true 
+046f 20200508 branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-046f 204024f0 call slave_receive_master_slot 
-0470 242c28f9 nbranch shutdown_radio ,sync 
-0471 204029bb call save_rssi 
-0472 2040006c call p_rssi_signal 
-0473 20202518 branch slave_conn_recv_packet + 4 
+0470 204024f0 call slave_receive_master_slot 
+0471 242c28f9 nbranch shutdown_radio ,sync 
+0472 204029bb call save_rssi 
+0473 2040006c call p_rssi_signal 
+0474 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-0474 c6130000 rtnmark1 mark_24g 
-0475 20402afa call lpo_calibration 
-0476 6801c16f fetch 3 ,mem_clks_per_lpo 
-0477 207a0000 rtn blank 
-0478 6800c091 fetch 1 ,mem_lpm_mode 
-0479 207a0000 rtn blank 
-047a 6800c65a fetch 1 ,mem_ssp_enable 
-047b 203a047e branch p_lpm_dispatch_next ,blank 
-047c 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-047d 207a0000 rtn blank 
+0475 c6130000 rtnmark1 mark_24g 
+0476 20402afa call lpo_calibration 
+0477 6801c16f fetch 3 ,mem_clks_per_lpo 
+0478 207a0000 rtn blank 
+0479 6800c091 fetch 1 ,mem_lpm_mode 
+047a 207a0000 rtn blank 
+047b 6800c65a fetch 1 ,mem_ssp_enable 
+047c 203a047f branch p_lpm_dispatch_next ,blank 
+047d 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+047e 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-047e 6800c4c0 fetch 1 ,mem_le_sc_calc 
-047f 247a0000 nrtn blank 
-0480 20402c3a call lpm_check_wake_lock 
-0481 247a0000 nrtn blank 
-0482 6800c040 fetch 1 ,mem_context 
-0483 2fe00e03 compare 3 ,pdata ,0x7 
-0484 2420ab9d nbranch lpm_dispatch_unconn ,true 
-0485 68014042 fetch 2 ,mem_context + coffset_tsniff 
-0486 d840ffff arg 0xffff ,temp 
-0487 98467c00 isub temp ,null 
-0488 20628000 rtn zero 
-0489 20202b7d branch lpm_dispatch_next + 9 
+047f 6800c4c0 fetch 1 ,mem_le_sc_calc 
+0480 247a0000 nrtn blank 
+0481 20402c3a call lpm_check_wake_lock 
+0482 247a0000 nrtn blank 
+0483 6800c040 fetch 1 ,mem_context 
+0484 2fe00e03 compare 3 ,pdata ,0x7 
+0485 2420ab9d nbranch lpm_dispatch_unconn ,true 
+0486 68014042 fetch 2 ,mem_context + coffset_tsniff 
+0487 d840ffff arg 0xffff ,temp 
+0488 98467c00 isub temp ,null 
+0489 20628000 rtn zero 
+048a 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-048a 7855fc00 disable wake 
-048b 68008030 fetch 1 ,mem_state 
-048c c4008000 rtnbit0 state_insniff 
-048d 2436abd0 nbranch lpm_not_match ,match 
-048e 20402bcb call lpm_match 
-048f 680140c1 fetch 2 ,mem_rx_window_sniff 
-0490 6001003e store 2 ,mem_rx_window 
-0491 68008047 fetch 1 ,mem_arq 
-0492 c281abde bbit1 wack ,lpm_mult_short 
-0493 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-0494 20405274 call l2cap_malloc_is_fifo_empty 
-0495 243a2bde nbranch lpm_mult_short ,blank 
-0496 205a0498 call p_lpm_set_attemp_timeout ,blank 
-0497 20202bbe branch lpm_set_mult + 13 
+048b 7855fc00 disable wake 
+048c 68008030 fetch 1 ,mem_state 
+048d c4008000 rtnbit0 state_insniff 
+048e 2436abd0 nbranch lpm_not_match ,match 
+048f 20402bcb call lpm_match 
+0490 680140c1 fetch 2 ,mem_rx_window_sniff 
+0491 6001003e store 2 ,mem_rx_window 
+0492 68008047 fetch 1 ,mem_arq 
+0493 c281abde bbit1 wack ,lpm_mult_short 
+0494 c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0495 20405274 call l2cap_malloc_is_fifo_empty 
+0496 243a2bde nbranch lpm_mult_short ,blank 
+0497 205a0499 call p_lpm_set_attemp_timeout ,blank 
+0498 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-0498 70008a01 jam 1 ,mem_current_sniff_attempt 
-0499 70008b00 jam 0 ,mem_current_sniff_timeout 
-049a 20600000 rtn 
+0499 70008a01 jam 1 ,mem_current_sniff_attempt 
+049a 70008b00 jam 0 ,mem_current_sniff_timeout 
+049b 20600000 rtn 
 
 p_mouse_bb_disconnected:
-049b 7011c601 jam zcode_01 ,mem_zcode_temp_param0 
-049c 20200566 branch p_zcode_entrance 
+049c 7011c601 jam zcode_01 ,mem_zcode_temp_param0 
+049d 20200567 branch p_zcode_entrance 
 
 p_hid_rx_process:
-049d 7011c602 jam zcode_02 ,mem_zcode_temp_param0 
-049e 20200566 branch p_zcode_entrance 
+049e 7011c602 jam zcode_02 ,mem_zcode_temp_param0 
+049f 20200567 branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-049f 68008552 fetch 1 ,mem_rxbuf + 1 
-04a0 600084c9 store 1 ,mem_lmi_accepted_opcode 
-04a1 c00984a3 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-04a2 20205db4 branch parse_lmp_accepted + 3 
+04a0 68008552 fetch 1 ,mem_rxbuf + 1 
+04a1 600084c9 store 1 ,mem_lmi_accepted_opcode 
+04a2 c00984a4 beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+04a3 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-04a3 20405dcf call parse_lmp_accepted_switch 
-04a4 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
-04a5 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-04a6 207a0000 rtn blank 
-04a7 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
-04a8 20600000 rtn 
+04a4 20405dcf call parse_lmp_accepted_switch 
+04a5 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
+04a6 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+04a7 207a0000 rtn blank 
+04a8 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
+04a9 20600000 rtn 
 
 p_send_lmp:
-04a9 78547c00 disable user 
-04aa 204062c1 call lmo_fifo_process 
-04ab 68008048 fetch 1 ,mem_lmp_to_send 
-04ac 207a0000 rtn blank 
-04ad c28384b2 bbit1 7 ,p_send_lmp_escape 
-04ae c00184b4 beq lmp_accepted ,p_send_lmp_accepted 
-04af c01884b6 beq lmp_setup_complete ,p_send_lmp_setup_complete 
-04b0 c00b84b8 beq lmp_sniff_req ,p_send_lmp_sniff_req 
-04b1 20206010 branch send_lmp0 
+04aa 78547c00 disable user 
+04ab 204062c1 call lmo_fifo_process 
+04ac 68008048 fetch 1 ,mem_lmp_to_send 
+04ad 207a0000 rtn blank 
+04ae c28384b3 bbit1 7 ,p_send_lmp_escape 
+04af c00184b5 beq lmp_accepted ,p_send_lmp_accepted 
+04b0 c01884b7 beq lmp_setup_complete ,p_send_lmp_setup_complete 
+04b1 c00b84b9 beq lmp_sniff_req ,p_send_lmp_sniff_req 
+04b2 20206010 branch send_lmp0 
 
 p_send_lmp_escape:
-04b2 7011c610 jam zcode_10 ,mem_zcode_temp_param0 
-04b3 20200566 branch p_zcode_entrance 
+04b3 7011c610 jam zcode_10 ,mem_zcode_temp_param0 
+04b4 20200567 branch p_zcode_entrance 
 
 p_send_lmp_accepted:
-04b4 7011c611 jam zcode_11 ,mem_zcode_temp_param0 
-04b5 20200566 branch p_zcode_entrance 
+04b5 7011c611 jam zcode_11 ,mem_zcode_temp_param0 
+04b6 20200567 branch p_zcode_entrance 
 
 p_send_lmp_setup_complete:
-04b6 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
-04b7 202061c3 branch send_lmp_setup_complete 
+04b7 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
+04b8 202061c3 branch send_lmp_setup_complete 
 
 p_send_lmp_sniff_req:
-04b8 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
-04b9 202061a4 branch send_lmp_sniff_req 
+04b9 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
+04ba 202061a4 branch send_lmp_sniff_req 
 
 p_process_conn_sm:
-04ba 204062bc call lmo_fifo_check 
-04bb 247a0000 nrtn blank 
+04bb 204062bc call lmo_fifo_check 
+04bc 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-04bc 68008055 fetch 1 ,mem_conn_sm 
-04bd 207a0000 rtn blank 
-04be c00204dc beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-04bf c00804c1 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-04c0 20206320 branch process_conn_sm_continue + 2 
+04bd 68008055 fetch 1 ,mem_conn_sm 
+04be 207a0000 rtn blank 
+04bf c00204dd beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+04c0 c00804c2 beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+04c1 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-04c1 6800c55b fetch 1 ,mem_switch_flag 
-04c2 c1000000 rtneq switch_flag_init 
-04c3 c00084c5 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-04c4 2020635f branch host_creat_conn_wait_switch + 3 
+04c2 6800c55b fetch 1 ,mem_switch_flag 
+04c3 c1000000 rtneq switch_flag_init 
+04c4 c00084c6 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+04c5 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-04c5 20748000 rtn master 
+04c6 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-04c6 6800816d fetch 1 ,mem_connection_options 
-04c7 c28004c9 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-04c8 20206399 branch host_create_conn_auth_pair + 1 
+04c7 6800816d fetch 1 ,mem_connection_options 
+04c8 c28004ca bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+04c9 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-04c9 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-04ca c000e39d beq 1 ,host_create_conn_auth_pair_true 
-04cb 6800c1bd fetch 1 ,mem_link_key_exists 
-04cc 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-04cd 680084d1 fetch 1 ,mem_lmp_conn_state 
-04ce c4018000 rtnbit0 sent_setup_complete 
-04cf c4010000 rtnbit0 received_setup_complete 
-04d0 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-04d1 207a0000 rtn blank 
-04d2 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-04d3 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-04d4 d8400014 arg 20 ,temp 
-04d5 98408400 iadd temp ,temp 
-04d6 1c427e00 copy clkn_bt ,pdata 
-04d7 98467c00 isub temp ,null 
-04d8 242104da nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-04d9 20206349 branch host_create_conn_auth 
+04ca 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+04cb c000e39d beq 1 ,host_create_conn_auth_pair_true 
+04cc 6800c1bd fetch 1 ,mem_link_key_exists 
+04cd 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+04ce 680084d1 fetch 1 ,mem_lmp_conn_state 
+04cf c4018000 rtnbit0 sent_setup_complete 
+04d0 c4010000 rtnbit0 received_setup_complete 
+04d1 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+04d2 207a0000 rtn blank 
+04d3 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+04d4 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+04d5 d8400014 arg 20 ,temp 
+04d6 98408400 iadd temp ,temp 
+04d7 1c427e00 copy clkn_bt ,pdata 
+04d8 98467c00 isub temp ,null 
+04d9 242104db nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+04da 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-04da 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-04db 20600000 rtn 
+04db 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+04dc 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-04dc 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
-04dd 2020636f branch host_create_conn_send_conn_req 
+04dd 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
+04de 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-04de 204062bc call lmo_fifo_check 
-04df 243a7ddb nbranch check_51cmd_restore ,blank 
-04e0 68008a99 fetch 1 ,mem_fifo_temp 
-04e1 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-04e2 c00f84e6 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-04e3 c01004e9 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-04e4 c00904f3 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-04e5 20207dca branch check_51cmd_once_continue + 2 
+04df 204062bc call lmo_fifo_check 
+04e0 243a7ddb nbranch check_51cmd_restore ,blank 
+04e1 68008a99 fetch 1 ,mem_fifo_temp 
+04e2 c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+04e3 c00f84e7 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+04e4 c01004ea beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+04e5 c00904f4 beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+04e6 20207dca branch check_51cmd_once_continue + 2 
 
 p_flash_store_le_reconn_info:
-04e6 70018534 jam rec_4_mode ,mem_record_bt_mode 
-04e7 6803044f fetch 6 ,mem_le_plap 
-04e8 202004eb branch p_flash_store_reconn_info 
+04e7 70018534 jam rec_4_mode ,mem_record_bt_mode 
+04e8 6803044f fetch 6 ,mem_le_plap 
+04e9 202004ec branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-04e9 70018533 jam rec_3_mode ,mem_record_bt_mode 
-04ea 68030040 fetch 6 ,mem_plap 
+04ea 70018533 jam rec_3_mode ,mem_record_bt_mode 
+04eb 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-04eb 60030186 store 6 ,mem_temp_lap 
+04ec 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-04ec 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-04ed c4038000 rtnbit0 mouse_store_eeprom_flag 
-04ee d8e00007 arg mouse_store_eeprom_flag ,queue 
-04ef 204043d2 call mouse_disable_function_flag 
-04f0 204042e8 call mouse_check_device_addr 
+04ed 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+04ee c4038000 rtnbit0 mouse_store_eeprom_flag 
+04ef d8e00007 arg mouse_store_eeprom_flag ,queue 
+04f0 204043d2 call mouse_disable_function_flag 
+04f1 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-04f1 204042fb call mouse_before_store_reconn_info 
-04f2 20200123 branch p_mouse_store_flash_device_info 
+04f2 204042fb call mouse_before_store_reconn_info 
+04f3 20200123 branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
-04f3 20405890 call le_fifo_check_full 
-04f4 247a0000 nrtn blank 
-04f5 20205abf branch le_l2cap_tx_update_req 
+04f4 20405890 call le_fifo_check_full 
+04f5 247a0000 nrtn blank 
+04f6 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-04f6 704d6701 jam 1 ,mem_power_ctrl_level 
-04f7 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-04f8 20600000 rtn 
+04f7 704d6701 jam 1 ,mem_power_ctrl_level 
+04f8 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+04f9 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-04f9 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04fa 1fe0fe01 increase 1 ,pdata 
-04fb 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
-04fc 20600000 rtn 
+04fa 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04fb 1fe0fe01 increase 1 ,pdata 
+04fc 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
+04fd 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-04fd 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-04fe 1fe67c02 sub pdata ,2 ,null 
-04ff 24410505 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-0500 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0501 c1000000 rtneq 0 
-0502 1fe0ffff increase -1 ,pdata 
-0503 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
-0504 20600000 rtn 
+04fe 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+04ff 1fe67c02 sub pdata ,2 ,null 
+0500 24410506 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+0501 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0502 c1000000 rtneq 0 
+0503 1fe0ffff increase -1 ,pdata 
+0504 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0505 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-0505 704d6403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-0506 20600000 rtn 
+0506 704d6403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0507 20600000 rtn 
 
 power_ctrl_start:
-0507 68014682 fetch 2 ,mem_ui_state_map 
-0508 c3858000 rtnbit1 ui_state_ble_adv 
-0509 c3838000 rtnbit1 ui_state_bt_reconnect 
-050a c3830000 rtnbit1 ui_state_bt_discovery 
-050b da204ced arg mem_rssi_signal_buf ,rega 
-050c 2040009c call p_rssi_average 
-050d 6008cd65 storet 1 ,mem_rssi_avg_received 
-050e 58000082 setarg rssi_dis_max_24g 
-050f c5130511 bmark1 mark_24g ,power_ctrl_start_next 
-0510 58000080 setarg rssi_dis_max_ble 
+0508 68014682 fetch 2 ,mem_ui_state_map 
+0509 c3858000 rtnbit1 ui_state_ble_adv 
+050a c3838000 rtnbit1 ui_state_bt_reconnect 
+050b c3830000 rtnbit1 ui_state_bt_discovery 
+050c da204ced arg mem_rssi_signal_buf ,rega 
+050d 2040009c call p_rssi_average 
+050e 6008cd65 storet 1 ,mem_rssi_avg_received 
+050f 58000082 setarg rssi_dis_max_24g 
+0510 c5130512 bmark1 mark_24g ,power_ctrl_start_next 
+0511 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-0511 98467c00 isub temp ,null 
-0512 24210529 nbranch power_ctrl_txpower_incrs_force ,positive 
-0513 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0514 1fe67c02 sub pdata ,2 ,null 
-0515 24210519 nbranch power_ctrl_txpower_decrs_check ,positive 
-0516 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0517 c000052a beq 0 ,power_ctrl_txpower_incrs 
-0518 20600000 rtn 
+0512 98467c00 isub temp ,null 
+0513 2421052a nbranch power_ctrl_txpower_incrs_force ,positive 
+0514 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0515 1fe67c02 sub pdata ,2 ,null 
+0516 2421051a nbranch power_ctrl_txpower_decrs_check ,positive 
+0517 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0518 c000052b beq 0 ,power_ctrl_txpower_incrs 
+0519 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0519 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-051a c1990000 rtnne 50 
-051b 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+051a 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+051b c1990000 rtnne 50 
+051c 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-051c 6808cd65 fetcht 1 ,mem_rssi_avg_received 
-051d 58000077 setarg rssi_dis_min_24g 
-051e c5130520 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-051f 58000075 setarg rssi_dis_min_ble 
+051d 6808cd65 fetcht 1 ,mem_rssi_avg_received 
+051e 58000077 setarg rssi_dis_min_24g 
+051f c5130521 bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+0520 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-0520 98467c00 isub temp ,null 
-0521 24610000 nrtn positive 
-0522 6800cd67 fetch 1 ,mem_power_ctrl_level 
-0523 c0000531 beq 0 ,power_ctrl_decrs_level0 
-0524 1fe0ffff increase -1 ,pdata 
-0525 6000cd67 store 1 ,mem_power_ctrl_level 
-0526 c0000531 beq 0 ,power_ctrl_decrs_level0 
+0521 98467c00 isub temp ,null 
+0522 24610000 nrtn positive 
+0523 6800cd67 fetch 1 ,mem_power_ctrl_level 
+0524 c0000532 beq 0 ,power_ctrl_decrs_level0 
+0525 1fe0ffff increase -1 ,pdata 
+0526 6000cd67 store 1 ,mem_power_ctrl_level 
+0527 c0000532 beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0527 7041de00 jam tx_power_0db ,mem_tx_power 
-0528 20600000 rtn 
+0528 7041de00 jam tx_power_0db ,mem_tx_power 
+0529 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0529 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+052a 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-052a 6800cd67 fetch 1 ,mem_power_ctrl_level 
-052b c001052f beq 2 ,power_ctrl_incrs_level2 
-052c 1fe0fe01 increase 1 ,pdata 
-052d 6000cd67 store 1 ,mem_power_ctrl_level 
-052e c0008527 beq 1 ,power_ctrl_incrs_level1 
+052b 6800cd67 fetch 1 ,mem_power_ctrl_level 
+052c c0010530 beq 2 ,power_ctrl_incrs_level2 
+052d 1fe0fe01 increase 1 ,pdata 
+052e 6000cd67 store 1 ,mem_power_ctrl_level 
+052f c0008528 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-052f 7041de02 jam tx_power_5db ,mem_tx_power 
-0530 20600000 rtn 
+0530 7041de02 jam tx_power_5db ,mem_tx_power 
+0531 20600000 rtn 
 
 power_ctrl_decrs_level0:
-0531 7041de04 jam tx_power_f5db ,mem_tx_power 
-0532 20600000 rtn 
+0532 7041de04 jam tx_power_f5db ,mem_tx_power 
+0533 20600000 rtn 
 
 p_set_freq_tx:
-0533 60088017 storet 1 ,mem_last_freq 
-0534 1840a200 add temp ,0 ,rega 
-0535 20402981 call rf_write_freq 
-0536 58000500 setarg param_pll_setup 
-0537 20402a8f call sleep 
+0534 60088017 storet 1 ,mem_last_freq 
+0535 1840a200 add temp ,0 ,rega 
+0536 20402981 call rf_write_freq 
+0537 58000500 setarg param_pll_setup 
+0538 20402a8f call sleep 
 
 p_rf_tx_enable:
-0538 70890601 jam 0x1 ,rfen_adc 
-0539 7089003c jam 0x3c ,rfen_rx 
-053a 708901e0 jam 0xe0 ,rfen_tx 
-053b 2000000a nop 10 
-053c 70890201 jam 0x01 ,rfen_mdm 
-053d 7089023d jam 0x3d ,rfen_mdm 
-053e 2000000a nop 10 
-053f 708903b7 jam 0xb7 ,rfen_sn 
-0540 2000000a nop 10 
-0541 7089027d jam 0x7d ,rfen_mdm 
-0542 6800c1de fetch 1 ,mem_tx_power 
-0543 c001054b beq tx_power_5db ,p_set_tx_power_5db 
-0544 c0020550 beq tx_power_f5db ,p_set_tx_power_f5db 
-0545 c010055f beq tx_power_pair ,p_set_tx_power_pair 
+0539 70890601 jam 0x1 ,rfen_adc 
+053a 7089003c jam 0x3c ,rfen_rx 
+053b 708901e0 jam 0xe0 ,rfen_tx 
+053c 2000000a nop 10 
+053d 70890201 jam 0x01 ,rfen_mdm 
+053e 7089023d jam 0x3d ,rfen_mdm 
+053f 2000000a nop 10 
+0540 708903b7 jam 0xb7 ,rfen_sn 
+0541 2000000a nop 10 
+0542 7089027d jam 0x7d ,rfen_mdm 
+0543 6800c1de fetch 1 ,mem_tx_power 
+0544 c001054c beq tx_power_5db ,p_set_tx_power_5db 
+0545 c0020551 beq tx_power_f5db ,p_set_tx_power_f5db 
+0546 c0100560 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0546 20400555 call p_rx_low_sens 
-0547 708955d0 jam 0xd0 ,0x8955 
-0548 708956e0 jam 0xe0 ,0x8956 
-0549 7089586c jam 0x6c ,0x8958 
-054a 2020294b branch set_tx_power_0db 
+0547 20400556 call p_rx_low_sens 
+0548 708955d0 jam 0xd0 ,0x8955 
+0549 708956e0 jam 0xe0 ,0x8956 
+054a 7089586c jam 0x6c ,0x8958 
+054b 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-054b 2040055a call p_rx_high_sens 
-054c 708955d0 jam 0xd0 ,0x8955 
-054d 708956e0 jam 0xe0 ,0x8956 
-054e 7089583c jam 0x3c ,0x8958 
-054f 20202953 branch set_tx_power_5db 
+054c 2040055b call p_rx_high_sens 
+054d 708955d0 jam 0xd0 ,0x8955 
+054e 708956e0 jam 0xe0 ,0x8956 
+054f 7089583c jam 0x3c ,0x8958 
+0550 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0550 20400555 call p_rx_low_sens 
-0551 708955d0 jam 0xd0 ,0x8955 
-0552 708956c0 jam 0xc0 ,0x8956 
-0553 7089586c jam 0x6c ,0x8958 
-0554 2020295b branch set_tx_power_f5db 
+0551 20400556 call p_rx_low_sens 
+0552 708955d0 jam 0xd0 ,0x8955 
+0553 708956c0 jam 0xc0 ,0x8956 
+0554 7089586c jam 0x6c ,0x8958 
+0555 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0555 70894c5b jam 0x5b ,0x894c 
-0556 70894d96 jam 0x96 ,0x894d 
-0557 70894e2c jam 0x2c ,0x894e 
-0558 70894f46 jam 0x46 ,0x894f 
-0559 20600000 rtn 
+0556 70894c5b jam 0x5b ,0x894c 
+0557 70894d96 jam 0x96 ,0x894d 
+0558 70894e2c jam 0x2c ,0x894e 
+0559 70894f46 jam 0x46 ,0x894f 
+055a 20600000 rtn 
 
 p_rx_high_sens:
-055a 70894cfb jam 0xfb ,0x894c 
-055b 70894def jam 0xef ,0x894d 
-055c 70894eec jam 0xec ,0x894e 
-055d 70894f5e jam 0x5e ,0x894f 
-055e 20600000 rtn 
+055b 70894cfb jam 0xfb ,0x894c 
+055c 70894def jam 0xef ,0x894d 
+055d 70894eec jam 0xec ,0x894e 
+055e 70894f5e jam 0x5e ,0x894f 
+055f 20600000 rtn 
 
 p_set_tx_power_pair:
-055f 708956c2 jam 0xc2 ,0x8956 
-0560 708955d0 jam 0xd0 ,0x8955 
-0561 20600000 rtn 
+0560 708956c2 jam 0xc2 ,0x8956 
+0561 708955d0 jam 0xd0 ,0x8955 
+0562 20600000 rtn 
 
 p_shutdown_radio:
-0562 18002a08 force 8 ,radio_ctrl 
-0563 202028fa branch shutdown_radio + 1 
+0563 18002a08 force 8 ,radio_ctrl 
+0564 202028fa branch shutdown_radio + 1 
 
 p_initialize_radio_cont:
-0564 20402978 call initialize_radio_cont + 1 
-0565 20600000 rtn 
+0565 20402978 call initialize_radio_cont + 1 
+0566 20600000 rtn 
 
 p_zcode_entrance:
-0566 680891c6 fetcht 1 ,mem_zcode_temp_param0 
-0567 18518400 rshift4 temp ,temp 
-0568 6800cb50 fetch 1 ,mem_zcode_current_number 
-0569 98467c00 isub temp ,null 
-056a 20228585 branch p_zcode_run ,zero 
-056b 6008cb50 storet 1 ,mem_zcode_current_number 
-056c 18408401 increase 1 ,temp 
-056d 58000100 setarg zcode_buff_size 
-056e 984f8400 imul32 temp ,temp 
-056f 6801cb51 fetch 3 ,mem_xip_flash_offset 
-0570 98467e00 isub temp ,pdata 
-0571 6809cb54 fetcht 3 ,mem_flash_start_addr 
-0572 9840fe00 iadd temp ,pdata 
-0573 1fe0fffb increase -5 ,pdata 
-0574 6001cb57 store 3 ,mem_flash_address 
-0575 20400162 call p_flash_release_deep_power_down 
+0567 680891c6 fetcht 1 ,mem_zcode_temp_param0 
+0568 18518400 rshift4 temp ,temp 
+0569 6800cb50 fetch 1 ,mem_zcode_current_number 
+056a 98467c00 isub temp ,null 
+056b 20228586 branch p_zcode_run ,zero 
+056c 6008cb50 storet 1 ,mem_zcode_current_number 
+056d 18408401 increase 1 ,temp 
+056e 58000100 setarg zcode_buff_size 
+056f 984f8400 imul32 temp ,temp 
+0570 6801cb51 fetch 3 ,mem_xip_flash_offset 
+0571 98467e00 isub temp ,pdata 
+0572 6809cb54 fetcht 3 ,mem_flash_start_addr 
+0573 9840fe00 iadd temp ,pdata 
+0574 1fe0fffb increase -5 ,pdata 
+0575 6001cb57 store 3 ,mem_flash_address 
+0576 20400162 call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-0576 6801cb57 fetch 3 ,mem_flash_address 
-0577 d8400100 arg zcode_buff_size ,temp 
-0578 da201f00 arg mem_zcode_buff ,rega 
-0579 20406562 call spid_read_flash 
-057a 68021f00 fetch 4 ,mem_zcode_buff 
-057b 680a4b5a fetcht 4 ,mem_zcode_head 
-057c 98467c00 isub temp ,null 
-057d 24228576 nbranch p_zcode_read_loop ,zero 
-057e 20400131 call p_mouse_spi_init 
-057f 58001f00 setarg mem_zcode_buff 
-0580 60014199 store 2 ,mem_patch_ptr 
-0581 70419b40 jam zcode_code_size ,mem_patch_len 
-0582 204064ca call load_ucode 
-0583 58000000 setarg 0 
-0584 60024199 store 4 ,mem_patch_ptr 
+0577 6801cb57 fetch 3 ,mem_flash_address 
+0578 d8400100 arg zcode_buff_size ,temp 
+0579 da201f00 arg mem_zcode_buff ,rega 
+057a 20406562 call spid_read_flash 
+057b 68021f00 fetch 4 ,mem_zcode_buff 
+057c 680a4b5a fetcht 4 ,mem_zcode_head 
+057d 98467c00 isub temp ,null 
+057e 24228577 nbranch p_zcode_read_loop ,zero 
+057f 20400131 call p_mouse_spi_init 
+0580 58001f00 setarg mem_zcode_buff 
+0581 60014199 store 2 ,mem_patch_ptr 
+0582 70419b40 jam zcode_code_size ,mem_patch_len 
+0583 204064ca call load_ucode 
+0584 58000000 setarg 0 
+0585 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-0585 680091c6 fetch 1 ,mem_zcode_temp_param0 
-0586 20200001 branch p_zcode 
+0586 680091c6 fetch 1 ,mem_zcode_temp_param0 
+0587 20200001 branch p_zcode 
 
 p_drawing_optima:
-0587 6802469b fetch 4 ,mem_mouse_x 
-0588 207a0000 rtn blank 
-0589 204005df call p_data_abs_check 
-058a 58000003 setarg 0x03 
-058b 204005d5 call p_pdata_greater_than_check 
-058c 205a05d1 call p_disable_asm ,blank 
-058d 245a05d3 ncall p_enable_asm ,blank 
-058e 58000002 setarg 0x02 
-058f 204005da call p_data_less_than_check 
-0590 205a05d1 call p_disable_asm ,blank 
-0591 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-0592 c0008596 beq 1 ,p_drawing_optima_modify 
+0588 6802469b fetch 4 ,mem_mouse_x 
+0589 207a0000 rtn blank 
+058a 204005e0 call p_data_abs_check 
+058b 58000003 setarg 0x03 
+058c 204005d6 call p_pdata_greater_than_check 
+058d 205a05d2 call p_disable_asm ,blank 
+058e 245a05d4 ncall p_enable_asm ,blank 
+058f 58000002 setarg 0x02 
+0590 204005db call p_data_less_than_check 
+0591 205a05d2 call p_disable_asm ,blank 
+0592 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+0593 c0008597 beq 1 ,p_drawing_optima_modify 
 
 p_drawing_optima_init:
-0593 df200005 arg 5 ,loopcnt 
-0594 d8a04b0b arg mem_mouse_asm_flag ,contw 
-0595 20207ed4 branch clear_mem 
+0594 df200005 arg 5 ,loopcnt 
+0595 d8a04b0b arg mem_mouse_asm_flag ,contw 
+0596 20207ed4 branch clear_mem 
 
 p_drawing_optima_modify:
-0596 68014b0c fetch 2 ,mem_mouse_x_pre 
-0597 600111be store 2 ,mem_data_pre 
-0598 6801469b fetch 2 ,mem_mouse_x 
-0599 600111c0 store 2 ,mem_data_current 
-059a 204005a9 call p_drawing_optima_data 
-059b 680111be fetch 2 ,mem_data_pre 
-059c 60014b0c store 2 ,mem_mouse_x_pre 
-059d 680111c0 fetch 2 ,mem_data_current 
-059e 6001469b store 2 ,mem_mouse_x 
-059f 68014b0e fetch 2 ,mem_mouse_y_pre 
-05a0 600111be store 2 ,mem_data_pre 
-05a1 6801469d fetch 2 ,mem_mouse_y 
-05a2 600111c0 store 2 ,mem_data_current 
-05a3 204005a9 call p_drawing_optima_data 
-05a4 680111be fetch 2 ,mem_data_pre 
-05a5 60014b0e store 2 ,mem_mouse_y_pre 
-05a6 680111c0 fetch 2 ,mem_data_current 
-05a7 6001469d store 2 ,mem_mouse_y 
-05a8 20600000 rtn 
+0597 68014b0c fetch 2 ,mem_mouse_x_pre 
+0598 600111be store 2 ,mem_data_pre 
+0599 6801469b fetch 2 ,mem_mouse_x 
+059a 600111c0 store 2 ,mem_data_current 
+059b 204005aa call p_drawing_optima_data 
+059c 680111be fetch 2 ,mem_data_pre 
+059d 60014b0c store 2 ,mem_mouse_x_pre 
+059e 680111c0 fetch 2 ,mem_data_current 
+059f 6001469b store 2 ,mem_mouse_x 
+05a0 68014b0e fetch 2 ,mem_mouse_y_pre 
+05a1 600111be store 2 ,mem_data_pre 
+05a2 6801469d fetch 2 ,mem_mouse_y 
+05a3 600111c0 store 2 ,mem_data_current 
+05a4 204005aa call p_drawing_optima_data 
+05a5 680111be fetch 2 ,mem_data_pre 
+05a6 60014b0e store 2 ,mem_mouse_y_pre 
+05a7 680111c0 fetch 2 ,mem_data_current 
+05a8 6001469d store 2 ,mem_mouse_y 
+05a9 20600000 rtn 
 
 p_drawing_optima_data:
-05a9 680111be fetch 2 ,mem_data_pre 
-05aa 680911c0 fetcht 2 ,mem_data_current 
-05ab 9840fe00 iadd temp ,pdata 
-05ac 600191c2 store 3 ,mem_data_sum 
-05ad 2feffe10 isolate1 16 ,pdata 
-05ae 202085b6 branch p_data_sum_overflow ,true 
-05af 680091c3 fetch 1 ,mem_data_sum + 1 
-05b0 c07f85bd beq 0xff ,p_data_sum_n 
-05b1 680091c2 fetch 1 ,mem_data_sum 
+05aa 680111be fetch 2 ,mem_data_pre 
+05ab 680911c0 fetcht 2 ,mem_data_current 
+05ac 9840fe00 iadd temp ,pdata 
+05ad 600191c2 store 3 ,mem_data_sum 
+05ae 2feffe10 isolate1 16 ,pdata 
+05af 202085b7 branch p_data_sum_overflow ,true 
+05b0 680091c3 fetch 1 ,mem_data_sum + 1 
+05b1 c07f85be beq 0xff ,p_data_sum_n 
+05b2 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-05b2 1fe37e00 rshift pdata ,pdata 
-05b3 600111be store 2 ,mem_data_pre 
-05b4 600111c0 store 2 ,mem_data_current 
-05b5 20600000 rtn 
+05b3 1fe37e00 rshift pdata ,pdata 
+05b4 600111be store 2 ,mem_data_pre 
+05b5 600111c0 store 2 ,mem_data_current 
+05b6 20600000 rtn 
 
 p_data_sum_overflow:
-05b6 680091c3 fetch 1 ,mem_data_sum + 1 
-05b7 c00005ba beq 0 ,p_data_sum_overflow_p 
-05b8 680191c2 fetch 3 ,mem_data_sum 
-05b9 202005b2 branch p_data_store_pre 
+05b7 680091c3 fetch 1 ,mem_data_sum + 1 
+05b8 c00005bb beq 0 ,p_data_sum_overflow_p 
+05b9 680191c2 fetch 3 ,mem_data_sum 
+05ba 202005b3 branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-05ba 7011c400 jam 0 ,mem_data_sum + 2 
-05bb 680091c2 fetch 1 ,mem_data_sum 
-05bc 202005b2 branch p_data_store_pre 
+05bb 7011c400 jam 0 ,mem_data_sum + 2 
+05bc 680091c2 fetch 1 ,mem_data_sum 
+05bd 202005b3 branch p_data_store_pre 
 
 p_data_sum_n:
-05bd 680091c2 fetch 1 ,mem_data_sum 
-05be 204005c8 call p_pdata_get_half 
-05bf 600091be store 1 ,mem_data_pre 
-05c0 600091c0 store 1 ,mem_data_current 
-05c1 203a05c6 branch p_data_zero ,blank 
-05c2 580000ff setarg 0xff 
+05be 680091c2 fetch 1 ,mem_data_sum 
+05bf 204005c9 call p_pdata_get_half 
+05c0 600091be store 1 ,mem_data_pre 
+05c1 600091c0 store 1 ,mem_data_current 
+05c2 203a05c7 branch p_data_zero ,blank 
+05c3 580000ff setarg 0xff 
 
 p_data_set_direction:
-05c3 600091bf store 1 ,mem_data_pre + 1 
-05c4 600091c1 store 1 ,mem_data_current + 1 
-05c5 20600000 rtn 
+05c4 600091bf store 1 ,mem_data_pre + 1 
+05c5 600091c1 store 1 ,mem_data_current + 1 
+05c6 20600000 rtn 
 
 p_data_zero:
-05c6 58000000 setarg 0 
-05c7 202005c3 branch p_data_set_direction 
+05c7 58000000 setarg 0 
+05c8 202005c4 branch p_data_set_direction 
 
 p_pdata_get_half:
-05c8 204005cd call p_pdata_invert 
-05c9 1fe37e00 rshift pdata ,pdata 
+05c9 204005ce call p_pdata_invert 
+05ca 1fe37e00 rshift pdata ,pdata 
 
 p_pdata_get_new_value:
-05ca 204005ce call p_rega_in_out 
-05cb 1fe67e00 sub pdata ,0 ,pdata 
-05cc 20600000 rtn 
+05cb 204005cf call p_rega_in_out 
+05cc 1fe67e00 sub pdata ,0 ,pdata 
+05cd 20600000 rtn 
 
 p_pdata_invert:
-05cd 1fe67e00 sub pdata ,0 ,pdata 
+05ce 1fe67e00 sub pdata ,0 ,pdata 
 
 p_rega_in_out:
-05ce 60008aae store 1 ,mem_rega 
-05cf 68008aae fetch 1 ,mem_rega 
-05d0 20600000 rtn 
+05cf 60008aae store 1 ,mem_rega 
+05d0 68008aae fetch 1 ,mem_rega 
+05d1 20600000 rtn 
 
 p_disable_asm:
-05d1 704b0b00 jam 0 ,mem_mouse_asm_flag 
-05d2 20600000 rtn 
+05d2 704b0b00 jam 0 ,mem_mouse_asm_flag 
+05d3 20600000 rtn 
 
 p_enable_asm:
-05d3 704b0b01 jam 1 ,mem_mouse_asm_flag 
-05d4 20600000 rtn 
+05d4 704b0b01 jam 1 ,mem_mouse_asm_flag 
+05d5 20600000 rtn 
 
 p_pdata_greater_than_check:
-05d5 9a267c00 isub rega ,null 
-05d6 24217fef nbranch disable_blank ,positive 
-05d7 9a467c00 isub regb ,null 
-05d8 24217fef nbranch disable_blank ,positive 
-05d9 20207ff1 branch enable_blank 
+05d6 9a267c00 isub rega ,null 
+05d7 24217fef nbranch disable_blank ,positive 
+05d8 9a467c00 isub regb ,null 
+05d9 24217fef nbranch disable_blank ,positive 
+05da 20207ff1 branch enable_blank 
 
 p_data_less_than_check:
-05da 9a267c00 isub rega ,null 
-05db 24610000 nrtn positive 
-05dc 9a467c00 isub regb ,null 
-05dd 24610000 nrtn positive 
-05de 20207ff1 branch enable_blank 
+05db 9a267c00 isub rega ,null 
+05dc 24610000 nrtn positive 
+05dd 9a467c00 isub regb ,null 
+05de 24610000 nrtn positive 
+05df 20207ff1 branch enable_blank 
 
 p_data_abs_check:
-05df 6801469b fetch 2 ,mem_mouse_x 
-05e0 204005e6 call p_data_abs 
-05e1 1fe22200 copy pdata ,rega 
-05e2 6801469d fetch 2 ,mem_mouse_y 
-05e3 204005e6 call p_data_abs 
-05e4 1fe22400 copy pdata ,regb 
-05e5 20600000 rtn 
+05e0 6801469b fetch 2 ,mem_mouse_x 
+05e1 204005e7 call p_data_abs 
+05e2 1fe22200 copy pdata ,rega 
+05e3 6801469d fetch 2 ,mem_mouse_y 
+05e4 204005e7 call p_data_abs 
+05e5 1fe22400 copy pdata ,regb 
+05e6 20600000 rtn 
 
 p_data_abs:
-05e6 600111c0 store 2 ,mem_data_current 
-05e7 680091c1 fetch 1 ,mem_data_current + 1 
-05e8 c07f85ec beq 0xff ,p_data_reversal 
-05e9 680091c0 fetch 1 ,mem_data_current 
+05e7 600111c0 store 2 ,mem_data_current 
+05e8 680091c1 fetch 1 ,mem_data_current + 1 
+05e9 c07f85ed beq 0xff ,p_data_reversal 
+05ea 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-05ea 1fe17eff and_into 0xff ,pdata 
-05eb 20600000 rtn 
+05eb 1fe17eff and_into 0xff ,pdata 
+05ec 20600000 rtn 
 
 p_data_reversal:
-05ec 680111c0 fetch 2 ,mem_data_current 
-05ed 1fe67e00 sub pdata ,0 ,pdata 
-05ee 202005ea branch p_data_abs_store 
+05ed 680111c0 fetch 2 ,mem_data_current 
+05ee 1fe67e00 sub pdata ,0 ,pdata 
+05ef 202005eb branch p_data_abs_store 
 org 0x2000
 
 start:
Index: output/ramcode.rom
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/output/ramcode.rom	(revision 1879)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/output/ramcode.rom	(working copy)
@@ -2,12 +2,12 @@
 204001ac
 6800c1de
 6000cce2
-204004f6
+204004f7
 6800c685
 6000c6da
 20400292
 20400131
-20400593
+20400594
 20400012
 20400023
 20405810
@@ -65,19 +65,19 @@
 c284005a
 c0008076
 c001007f
-c0428562
-c0448533
-c0450564
+c0428563
+c0448534
+c0450565
 c00d8447
 c0130449
-c0240464
-c0250466
-c028846f
-c02c8462
-c0538474
-c056848a
+c0240465
+c0250467
+c0288470
+c02c8463
+c0538475
+c056848b
 c065b3e4
-c074849b
+c074849c
 c0508088
 c058808d
 c059009b
@@ -98,11 +98,11 @@
 c03383e5
 c035041d
 c03b8428
-c07d04de
-c002849d
-c040049f
-c04104a9
-c04404ba
+c07d04df
+c002849e
+c04004a0
+c04104aa
+c04404bb
 c0460434
 c0468440
 20202a8e
@@ -221,7 +221,7 @@
 203a33eb
 20204274
 7011c612
-20200566
+20200567
 da204370
 ea208000
 207a0000
@@ -259,7 +259,7 @@
 7046e001
 20600000
 7011c680
-20200566
+20200567
 6808cb43
 20206825
 70808640
@@ -528,19 +528,19 @@
 20400230
 20400123
 7011c6a2
-20200566
+20200567
 700a9912
 20207d8f
 7011c6b3
-20200566
+20200567
 7011c6a1
-20200566
+20200567
 7011c6a3
-20200566
+20200567
 7011c670
-20200566
+20200567
 7011c6b1
-20200566
+20200567
 20400265
 204001c9
 58000000
@@ -552,12 +552,12 @@
 20400230
 20400123
 7011c6b4
-20200566
+20200567
 7011c6b2
-20200566
+20200567
 20400230
 7011c6a0
-20200566
+20200567
 6800cafe
 207a0000
 704afe00
@@ -856,8 +856,8 @@
 20404079
 2040407e
 2040035d
-24340593
-20400587
+24340594
+20400588
 20203fa0
 2040035f
 2020409a
@@ -898,7 +898,7 @@
 204002b0
 2020426d
 7011c630
-20200566
+20200567
 204002ea
 204001c9
 202042cb
@@ -908,7 +908,7 @@
 c0065395
 204055aa
 2040561e
-20400507
+20400508
 2020538f
 68008016
 1fe0fe01
@@ -920,12 +920,12 @@
 2040006c
 202054a3
 7011c620
-20200566
+20200567
 7011c621
-20200566
+20200567
 68008456
 c28283bd
-204004f9
+204004fa
 6800c78e
 243a03a7
 6800843f
@@ -956,7 +956,7 @@
 20405650
 20600000
 204003b1
-202004fd
+202004fe
 6800c7a1
 207a0000
 6800c6c5
@@ -1050,7 +1050,7 @@
 704b6c01
 20205b09
 7011c682
-20200566
+20200567
 68008016
 c093d6f2
 20400423
@@ -1073,7 +1073,7 @@
 2420abde
 202057fb
 7011c622
-20200566
+20200567
 68108077
 1fe17efd
 60108077
@@ -1094,7 +1094,7 @@
 60108081
 20600000
 7011c600
-20200566
+20200567
 204021c9
 24740000
 78547c00
@@ -1106,14 +1106,15 @@
 c5058456
 20402455
 243a044f
-c516845e
+c516845f
 202021ec
 20402a4d
 d8200010
 204022dc
 7920002d
 793f800b
-18000801
+68008077
+98000800
 70001102
 2020044f
 68020165
@@ -1123,16 +1124,16 @@
 c516264d
 2020258f
 7011c623
-20200566
+20200567
 68008030
 2feffe00
-2040846a
+2040846b
 2020248a
 68008047
 2feffe03
-204084fd
-244084f9
-20200507
+204084fe
+244084fa
+20200508
 204024f0
 242c28f9
 204029bb
@@ -1145,7 +1146,7 @@
 6800c091
 207a0000
 6800c65a
-203a047e
+203a047f
 6800c5b1
 207a0000
 6800c4c0
@@ -1172,18 +1173,18 @@
 c586abde
 20405274
 243a2bde
-205a0498
+205a0499
 20202bbe
 70008a01
 70008b00
 20600000
 7011c601
-20200566
+20200567
 7011c602
-20200566
+20200567
 68008552
 600084c9
-c00984a3
+c00984a4
 20205db4
 20405dcf
 704aff01
@@ -1195,15 +1196,15 @@
 204062c1
 68008048
 207a0000
-c28384b2
-c00184b4
-c01884b6
-c00b84b8
+c28384b3
+c00184b5
+c01884b7
+c00b84b9
 20206010
 7011c610
-20200566
+20200567
 7011c611
-20200566
+20200567
 704b0101
 202061c3
 704b0904
@@ -1212,16 +1213,16 @@
 247a0000
 68008055
 207a0000
-c00204dc
-c00804c1
+c00204dd
+c00804c2
 20206320
 6800c55b
 c1000000
-c00084c5
+c00084c6
 2020635f
 20748000
 6800816d
-c28004c9
+c28004ca
 20206399
 6800cb01
 c000e39d
@@ -1238,7 +1239,7 @@
 98408400
 1c427e00
 98467c00
-242104da
+242104db
 20206349
 704b0001
 20600000
@@ -1248,13 +1249,13 @@
 243a7ddb
 68008a99
 c584fdd6
-c00f84e6
-c01004e9
-c00904f3
+c00f84e7
+c01004ea
+c00904f4
 20207dca
 70018534
 6803044f
-202004eb
+202004ec
 70018533
 68030040
 60030186
@@ -1277,7 +1278,7 @@
 20600000
 6800cd64
 1fe67c02
-24410505
+24410506
 6800cd64
 c1000000
 1fe0ffff
@@ -1293,38 +1294,38 @@
 2040009c
 6008cd65
 58000082
-c5130511
+c5130512
 58000080
 98467c00
-24210529
+2421052a
 6800cd64
 1fe67c02
-24210519
+2421051a
 6800cd64
-c000052a
+c000052b
 20600000
 6800cd64
 c1990000
 704d6400
 6808cd65
 58000077
-c5130520
+c5130521
 58000075
 98467c00
 24610000
 6800cd67
-c0000531
+c0000532
 1fe0ffff
 6000cd67
-c0000531
+c0000532
 7041de00
 20600000
 704d6400
 6800cd67
-c001052f
+c0010530
 1fe0fe01
 6000cd67
-c0008527
+c0008528
 7041de02
 20600000
 7041de04
@@ -1345,20 +1346,20 @@
 2000000a
 7089027d
 6800c1de
-c001054b
-c0020550
-c010055f
-20400555
+c001054c
+c0020551
+c0100560
+20400556
 708955d0
 708956e0
 7089586c
 2020294b
-2040055a
+2040055b
 708955d0
 708956e0
 7089583c
 20202953
-20400555
+20400556
 708955d0
 708956c0
 7089586c
@@ -1384,7 +1385,7 @@
 18518400
 6800cb50
 98467c00
-20228585
+20228586
 6008cb50
 18408401
 58000100
@@ -1403,7 +1404,7 @@
 68021f00
 680a4b5a
 98467c00
-24228576
+24228577
 20400131
 58001f00
 60014199
@@ -1415,16 +1416,16 @@
 20200001
 6802469b
 207a0000
-204005df
+204005e0
 58000003
-204005d5
-205a05d1
-245a05d3
+204005d6
+205a05d2
+245a05d4
 58000002
-204005da
-205a05d1
+204005db
+205a05d2
 6800cb0b
-c0008596
+c0008597
 df200005
 d8a04b0b
 20207ed4
@@ -1432,7 +1433,7 @@
 600111be
 6801469b
 600111c0
-204005a9
+204005aa
 680111be
 60014b0c
 680111c0
@@ -1441,7 +1442,7 @@
 600111be
 6801469d
 600111c0
-204005a9
+204005aa
 680111be
 60014b0e
 680111c0
@@ -1452,35 +1453,35 @@
 9840fe00
 600191c2
 2feffe10
-202085b6
+202085b7
 680091c3
-c07f85bd
+c07f85be
 680091c2
 1fe37e00
 600111be
 600111c0
 20600000
 680091c3
-c00005ba
+c00005bb
 680191c2
-202005b2
+202005b3
 7011c400
 680091c2
-202005b2
+202005b3
 680091c2
-204005c8
+204005c9
 600091be
 600091c0
-203a05c6
+203a05c7
 580000ff
 600091bf
 600091c1
 20600000
 58000000
-202005c3
-204005cd
-1fe37e00
+202005c4
 204005ce
+1fe37e00
+204005cf
 1fe67e00
 20600000
 1fe67e00
@@ -1502,18 +1503,18 @@
 24610000
 20207ff1
 6801469b
-204005e6
+204005e7
 1fe22200
 6801469d
-204005e6
+204005e7
 1fe22400
 20600000
 600111c0
 680091c1
-c07f85ec
+c07f85ed
 680091c0
 1fe17eff
 20600000
 680111c0
 1fe67e00
-202005ea
+202005eb
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/program/patch.prog	(revision 1879)
+++ /branch/mouse_project/ZJL_Project/ZJL_1059/FR_2639_BT&BLE/program/patch.prog	(working copy)
@@ -2817,7 +2817,8 @@
 	call master_send_packet
 	set1 mark_role_switch_receive_fhs,mark
 	set0 mark_fhs_already_good,mark
-	force 1,am_addr	/* process_fhs will update am_addr, so slave will not receive fhs succeffully sometimes */
+	fetch 1,mem_amaddr
+	iforce am_addr	//use current LT_ADDR
 	jam 2,mem_newconnto_counter
 	branch p_roles_waitfhs_loop
 
