Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch/output/flash.dat	(revision 1879)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch/output/flash.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-ae
+b2
 1f
 20
 20
@@ -23,7 +23,7 @@
 20
 40
 06
-f1
+f2
 68
 00
 c6
@@ -43,7 +43,7 @@
 20
 40
 07
-8f
+90
 20
 40
 00
@@ -275,15 +275,15 @@
 c0
 42
 87
-5d
+5e
 c0
 44
 87
-2e
+2f
 c0
 45
 07
-5f
+60
 c0
 0d
 86
@@ -295,27 +295,27 @@
 c0
 24
 06
-5f
+60
 c0
 25
 06
-61
+62
 c0
 28
 86
-6a
+6b
 c0
 2c
 86
-5d
+5e
 c0
 53
 86
-6f
+70
 c0
 56
 86
-85
+86
 c0
 65
 b3
@@ -323,7 +323,7 @@
 c0
 74
 86
-96
+97
 c0
 50
 80
@@ -407,23 +407,23 @@
 c0
 7d
 06
-d9
+da
 c0
 02
 86
-98
+99
 c0
 40
 06
-9a
+9b
 c0
 41
 06
-a4
+a5
 c0
 44
 06
-b5
+b6
 c0
 46
 06
@@ -675,7 +675,7 @@
 20
 40
 07
-02
+03
 20
 40
 00
@@ -723,7 +723,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -731,7 +731,7 @@
 20
 20
 07
-62
+63
 58
 01
 77
@@ -1087,7 +1087,7 @@
 20
 20
 07
-62
+63
 70
 4d
 7c
@@ -1227,7 +1227,7 @@
 20
 40
 06
-f8
+f9
 20
 20
 01
@@ -1271,7 +1271,7 @@
 20
 40
 06
-f8
+f9
 70
 4d
 5e
@@ -1655,7 +1655,7 @@
 20
 40
 06
-f4
+f5
 68
 00
 cc
@@ -1815,11 +1815,11 @@
 20
 40
 07
-25
+26
 20
 40
 06
-f8
+f9
 20
 20
 01
@@ -1983,11 +1983,11 @@
 20
 20
 07
-62
+63
 20
 40
 06
-f1
+f2
 70
 11
 c6
@@ -1995,7 +1995,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -2003,7 +2003,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -2011,7 +2011,7 @@
 20
 20
 07
-62
+63
 79
 3f
 80
@@ -2887,7 +2887,7 @@
 20
 20
 07
-62
+63
 20
 40
 03
@@ -3011,7 +3011,7 @@
 20
 20
 07
-62
+63
 68
 08
 cb
@@ -4231,7 +4231,7 @@
 20
 20
 07
-62
+63
 70
 0a
 99
@@ -4247,7 +4247,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -4255,7 +4255,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -4263,7 +4263,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -4271,7 +4271,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -4279,7 +4279,7 @@
 20
 20
 07
-62
+63
 20
 40
 04
@@ -4323,7 +4323,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -4331,7 +4331,7 @@
 20
 20
 07
-62
+63
 20
 40
 03
@@ -4343,7 +4343,7 @@
 20
 20
 07
-62
+63
 20
 40
 04
@@ -4355,7 +4355,7 @@
 20
 20
 07
-62
+63
 20
 40
 03
@@ -4367,7 +4367,7 @@
 20
 20
 07
-62
+63
 20
 40
 04
@@ -4379,7 +4379,7 @@
 20
 20
 07
-62
+63
 68
 00
 ca
@@ -5439,11 +5439,11 @@
 24
 34
 07
-8f
+90
 20
 40
 07
-83
+84
 20
 20
 3f
@@ -5635,7 +5635,7 @@
 20
 20
 07
-62
+63
 20
 40
 05
@@ -5675,7 +5675,7 @@
 20
 40
 07
-02
+03
 20
 20
 53
@@ -5723,7 +5723,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -5731,7 +5731,7 @@
 20
 20
 07
-62
+63
 68
 00
 84
@@ -5743,7 +5743,7 @@
 20
 40
 06
-f4
+f5
 68
 00
 c7
@@ -5867,7 +5867,7 @@
 20
 20
 06
-f8
+f9
 68
 00
 c7
@@ -6243,7 +6243,7 @@
 20
 20
 07
-62
+63
 68
 00
 80
@@ -6335,7 +6335,7 @@
 20
 20
 07
-62
+63
 68
 10
 80
@@ -6419,7 +6419,7 @@
 20
 20
 07
-62
+63
 20
 40
 21
@@ -6467,7 +6467,7 @@
 c5
 16
 86
-59
+5a
 20
 20
 21
@@ -6492,10 +6492,14 @@
 3f
 80
 0b
-18
+68
+00
+80
+77
+98
 00
 08
-01
+00
 70
 00
 11
@@ -6535,7 +6539,7 @@
 20
 20
 07
-62
+63
 68
 00
 80
@@ -6547,7 +6551,7 @@
 20
 40
 86
-65
+66
 20
 20
 24
@@ -6563,15 +6567,15 @@
 20
 40
 86
-f8
+f9
 24
 40
 86
-f4
+f5
 20
 20
 07
-02
+03
 20
 40
 24
@@ -6623,7 +6627,7 @@
 20
 3a
 06
-79
+7a
 68
 00
 c5
@@ -6731,7 +6735,7 @@
 20
 5a
 06
-93
+94
 20
 20
 2b
@@ -6755,7 +6759,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -6763,7 +6767,7 @@
 20
 20
 07
-62
+63
 68
 00
 85
@@ -6775,7 +6779,7 @@
 c0
 09
 86
-9e
+9f
 20
 20
 5d
@@ -6823,19 +6827,19 @@
 c2
 83
 86
-ad
+ae
 c0
 01
 86
-af
+b0
 c0
 18
 86
-b1
+b2
 c0
 0b
 86
-b3
+b4
 20
 20
 60
@@ -6847,7 +6851,7 @@
 20
 20
 07
-62
+63
 70
 11
 c6
@@ -6855,7 +6859,7 @@
 20
 20
 07
-62
+63
 70
 4b
 01
@@ -6891,11 +6895,11 @@
 c0
 02
 06
-d7
+d8
 c0
 08
 06
-bc
+bd
 20
 20
 63
@@ -6911,7 +6915,7 @@
 c0
 00
 86
-c0
+c1
 20
 20
 63
@@ -6927,7 +6931,7 @@
 c2
 80
 06
-c4
+c5
 20
 20
 63
@@ -6995,7 +6999,7 @@
 24
 21
 06
-d5
+d6
 20
 20
 63
@@ -7035,15 +7039,15 @@
 c0
 0f
 86
-e1
+e2
 c0
 10
 06
-e4
+e5
 c0
 09
 06
-ee
+ef
 20
 20
 7d
@@ -7059,7 +7063,7 @@
 20
 20
 06
-e6
+e7
 70
 01
 85
@@ -7151,7 +7155,7 @@
 24
 41
 07
-00
+01
 68
 00
 cd
@@ -7215,7 +7219,7 @@
 c5
 13
 07
-0c
+0d
 58
 00
 00
@@ -7227,7 +7231,7 @@
 24
 21
 07
-24
+25
 68
 00
 cd
@@ -7239,7 +7243,7 @@
 24
 21
 07
-14
+15
 68
 00
 cd
@@ -7247,7 +7251,7 @@
 c0
 00
 07
-25
+26
 20
 60
 00
@@ -7275,7 +7279,7 @@
 c5
 13
 07
-1b
+1c
 58
 00
 00
@@ -7295,7 +7299,7 @@
 c0
 00
 07
-2c
+2d
 1f
 e0
 ff
@@ -7307,7 +7311,7 @@
 c0
 00
 07
-2c
+2d
 70
 41
 de
@@ -7327,7 +7331,7 @@
 c0
 01
 07
-2a
+2b
 1f
 e0
 fe
@@ -7339,7 +7343,7 @@
 c0
 00
 87
-22
+23
 70
 41
 de
@@ -7423,19 +7427,19 @@
 c0
 01
 07
-46
+47
 c0
 02
 07
-4b
+4c
 c0
 10
 07
-5a
+5b
 20
 40
 07
-50
+51
 70
 89
 55
@@ -7455,7 +7459,7 @@
 20
 40
 07
-55
+56
 70
 89
 55
@@ -7475,7 +7479,7 @@
 20
 40
 07
-50
+51
 70
 89
 55
@@ -7583,7 +7587,7 @@
 20
 22
 87
-81
+82
 60
 08
 cb
@@ -7659,7 +7663,7 @@
 24
 22
 87
-72
+73
 20
 40
 03
@@ -7707,7 +7711,7 @@
 20
 40
 07
-db
+dc
 58
 00
 00
@@ -7715,15 +7719,15 @@
 20
 40
 07
-d1
+d2
 20
 5a
 07
-cd
+ce
 24
 5a
 07
-cf
+d0
 58
 00
 00
@@ -7731,11 +7735,11 @@
 20
 40
 07
-d6
+d7
 20
 5a
 07
-cd
+ce
 68
 00
 cb
@@ -7743,7 +7747,7 @@
 c0
 00
 87
-92
+93
 df
 20
 00
@@ -7775,7 +7779,7 @@
 20
 40
 07
-a5
+a6
 68
 01
 11
@@ -7811,7 +7815,7 @@
 20
 40
 07
-a5
+a6
 68
 01
 11
@@ -7855,7 +7859,7 @@
 20
 20
 87
-b2
+b3
 68
 00
 91
@@ -7863,7 +7867,7 @@
 c0
 7f
 87
-b9
+ba
 68
 00
 91
@@ -7891,7 +7895,7 @@
 c0
 00
 07
-b6
+b7
 68
 01
 91
@@ -7899,7 +7903,7 @@
 20
 20
 07
-ae
+af
 70
 11
 c4
@@ -7911,7 +7915,7 @@
 20
 20
 07
-ae
+af
 68
 00
 91
@@ -7919,7 +7923,7 @@
 20
 40
 07
-c4
+c5
 60
 00
 91
@@ -7931,7 +7935,7 @@
 20
 3a
 07
-c2
+c3
 58
 00
 00
@@ -7955,11 +7959,11 @@
 20
 20
 07
-bf
+c0
 20
 40
 07
-c9
+ca
 1f
 e3
 7e
@@ -7967,7 +7971,7 @@
 20
 40
 07
-ca
+cb
 1f
 e6
 7e
@@ -8055,7 +8059,7 @@
 20
 40
 07
-e2
+e3
 1f
 e2
 22
@@ -8067,7 +8071,7 @@
 20
 40
 07
-e2
+e3
 1f
 e2
 24
@@ -8087,7 +8091,7 @@
 c0
 7f
 87
-e8
+e9
 68
 00
 91
@@ -8111,9 +8115,9 @@
 20
 20
 07
-e6
-e1
-0a
+e7
+c8
+94
 aa
 55
 08
@@ -9146,7 +9150,7 @@
 00
 51
 4b
-c5
+c9
 2f
 00
 ff
@@ -12226,5 +12230,5 @@
 55
 00
 00
-e1
-e9
+56
+db
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch/output/program.lis	(revision 1879)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch/output/program.lis	(working copy)
@@ -10,12 +10,12 @@
 0001 204003a5 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000cce2 store 1 ,mem_tx_power_temp 
-0004 204006f1 call power_ctrl_pac_succ_cnt_init 
+0004 204006f2 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 204004c3 call p_mouse_bt_discovery_button_up_init 
 0008 2040031c call p_mouse_spi_init 
-0009 2040078f call p_drawing_optima_init 
+0009 20400790 call p_drawing_optima_init 
 000a 20400017 call p_mouse_cb_fuction 
 000b 2040002a call p_mouse_wakeup_from_power 
 000c 680240a0 fetch 4 ,mem_lap 
@@ -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 c042875d beq patch10_5 ,p_shutdown_radio 
-0044 c044872e beq patch11_1 ,p_set_freq_tx 
-0045 c045075f beq patch11_2 ,p_initialize_radio_cont 
+0043 c042875e beq patch10_5 ,p_shutdown_radio 
+0044 c044872f beq patch11_1 ,p_set_freq_tx 
+0045 c0450760 beq patch11_2 ,p_initialize_radio_cont 
 0046 c00d8642 beq patch03_3 ,p_page_wait_fhs_reply_ok 
 0047 c0130644 beq patch04_6 ,p_role_switch_master 
-0048 c024065f beq patch09_0 ,p_quit_connection_cont 
-0049 c0250661 beq patch09_2 ,p_prepare_tx 
-004a c028866a beq patch0a_1 ,p_slave_conn_recv_packet 
-004b c02c865d beq patch0b_1 ,p_process_dmh 
-004c c053866f beq patch14_7 ,p_lpm_dispatch 
-004d c0568685 beq patch15_5 ,p_lpm_set_mult 
+0048 c0240660 beq patch09_0 ,p_quit_connection_cont 
+0049 c0250662 beq patch09_2 ,p_prepare_tx 
+004a c028866b beq patch0a_1 ,p_slave_conn_recv_packet 
+004b c02c865e beq patch0b_1 ,p_process_dmh 
+004c c0538670 beq patch14_7 ,p_lpm_dispatch 
+004d c0568686 beq patch15_5 ,p_lpm_set_mult 
 004e c065b3e4 beq patch19_3 ,app_bt_start_reconnect + 3 
-004f c0748696 beq patch1d_1 ,p_mouse_bb_disconnected 
+004f c0748697 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 c03385e0 beq patch2c_7 ,p_le_parse_l2cap 
 0062 c0350618 beq patch2d_2 ,p_le_adv_not_match 
 0063 c03b8623 beq patch2e_7 ,p_le_lpm_setmult 
-0064 c07d06d9 beq patch3f_2 ,p_check_51cmd_once_continue 
-0065 c0028698 beq patch20_5 ,p_hid_rx_process 
-0066 c040069a beq patch30_0 ,p_parse_lmp_accepted 
-0067 c04106a4 beq patch30_2 ,p_send_lmp 
-0068 c04406b5 beq patch31_0 ,p_process_conn_sm 
+0064 c07d06da beq patch3f_2 ,p_check_51cmd_once_continue 
+0065 c0028699 beq patch20_5 ,p_hid_rx_process 
+0066 c040069b beq patch30_0 ,p_parse_lmp_accepted 
+0067 c04106a5 beq patch30_2 ,p_send_lmp 
+0068 c04406b6 beq patch31_0 ,p_process_conn_sm 
 0069 c046062f beq patch31_4 ,p_twspi_reset 
 006a c046863b beq patch31_5 ,p_spid_init 
 006b 20202a8e branch loop 
@@ -203,7 +203,7 @@
 00a4 20400194 call p_g24_transmit_packet 
 00a5 6800cc3b fetch 1 ,mem_24g_pairing_sm 
 00a6 c1ff8000 rtnne state_24g_pairing_success 
-00a7 20400702 call power_ctrl_start 
+00a7 20400703 call power_ctrl_start 
 00a8 204000b6 call g24_long_sleep_shorter_param_update 
 00a9 6800cb25 fetch 1 ,mem_mouse_multi_led_state 
 00aa c0008368 beq on ,p_g24_transmit_by_interrupt_enable 
@@ -219,11 +219,11 @@
 
 p_g24_pair_dispatch:
 00b2 7011c660 jam zcode_60 ,mem_zcode_temp_param0 
-00b3 20200762 branch p_zcode_entrance 
+00b3 20200763 branch p_zcode_entrance 
 
 p_g24_reconn_dispatch:
 00b4 7011c653 jam zcode_53 ,mem_zcode_temp_param0 
-00b5 20200762 branch p_zcode_entrance 
+00b5 20200763 branch p_zcode_entrance 
 
 g24_long_sleep_shorter_param_update:
 00b6 58017700 setarg g24_long_sleep_step1 
@@ -342,7 +342,7 @@
 
 p_g24_search_dongle:
 010d 7011c671 jam zcode_71 ,mem_zcode_temp_param0 
-010e 20200762 branch p_zcode_entrance 
+010e 20200763 branch p_zcode_entrance 
 
 p_g24_search_dongle_check:
 010f 704d7c00 jam 0 ,mem_24g_search_dongle_count 
@@ -391,7 +391,7 @@
 012e 793ffe04 set0 bit_hop ,pdata 
 012f 6000cc2c store 1 ,mem_24g_data_type 
 0130 6000cbe7 store 1 ,mem_24g_txpayload 
-0131 204006f8 call power_ctrl_pac_succ_decrs 
+0131 204006f9 call power_ctrl_pac_succ_decrs 
 0132 2020015f branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
@@ -408,7 +408,7 @@
 013b 20200194 branch p_g24_transmit_packet 
 
 p_g24_rf_hop_fastly_exit:
-013c 204006f8 call power_ctrl_pac_succ_decrs 
+013c 204006f9 call power_ctrl_pac_succ_decrs 
 013d 704d5e00 jam 0 ,mem_24g_hop_fastly_cnt 
 013e 20200122 branch p_g24_transmit_rf_ctrl_clear 
 
@@ -536,7 +536,7 @@
 0199 243781b6 nbranch p_g24_retransmit ,user3 
 019a 204001a8 call p_g24_txbuf_clear 
 019b 204001d1 call p_g24_ackpayload_parse 
-019c 204006f4 call power_ctrl_pac_succ_incrs 
+019c 204006f5 call power_ctrl_pac_succ_incrs 
 
 p_g24_transmit_next_packet:
 019d 6800cc2a fetch 1 ,mem_24g_pid 
@@ -592,8 +592,8 @@
 01c3 20202dd4 branch g24_stop_24g_mode 
 
 p_g24_tx_fast_hop:
-01c4 20400725 call power_ctrl_txpower_incrs 
-01c5 204006f8 call power_ctrl_pac_succ_decrs 
+01c4 20400726 call power_ctrl_txpower_incrs 
+01c5 204006f9 call power_ctrl_pac_succ_decrs 
 01c6 2020015f branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
@@ -652,22 +652,22 @@
 
 p_g24_pairing_sm:
 01ed 7011c690 jam zcode_90 ,mem_zcode_temp_param0 
-01ee 20200762 branch p_zcode_entrance 
+01ee 20200763 branch p_zcode_entrance 
 
 p_g24_paring_mode_start:
-01ef 204006f1 call power_ctrl_pac_succ_cnt_init 
+01ef 204006f2 call power_ctrl_pac_succ_cnt_init 
 
 p_g24_paring_mode:
 01f0 7011c691 jam zcode_91 ,mem_zcode_temp_param0 
-01f1 20200762 branch p_zcode_entrance 
+01f1 20200763 branch p_zcode_entrance 
 
 p_g24_start_24g_mode:
 01f2 7011c640 jam zcode_40 ,mem_zcode_temp_param0 
-01f3 20200762 branch p_zcode_entrance 
+01f3 20200763 branch p_zcode_entrance 
 
 p_g24_auto_pair_start:
 01f4 7011c641 jam zcode_41 ,mem_zcode_temp_param0 
-01f5 20200762 branch p_zcode_entrance 
+01f5 20200763 branch p_zcode_entrance 
 
 p_g24_check_51cmd_stop_24g:
 01f6 793f8026 set0 mark_24g ,mark 
@@ -946,7 +946,7 @@
 
 p_mouse4_0_check_reconn_target:
 02cf 7011c612 jam zcode_12 ,mem_zcode_temp_param0 
-02d0 20200762 branch p_zcode_entrance 
+02d0 20200763 branch p_zcode_entrance 
 
 p_mouse_init_sunt:
 02d1 2040031c call p_mouse_spi_init 
@@ -993,7 +993,7 @@
 
 p_mouse_setting_config:
 02ee 7011c680 jam zcode_80 ,mem_zcode_temp_param0 
-02ef 20200762 branch p_zcode_entrance 
+02ef 20200763 branch p_zcode_entrance 
 
 p_flash_ncs_disable:
 02f0 6808cb43 fetcht 1 ,mem_flash_ncs_gpio 
@@ -1400,7 +1400,7 @@
 p_mouse_le_bb_disconnected:
 041e 20400446 call p_mouse_sensor_powerdown_check 
 041f 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0420 20200762 branch p_zcode_entrance 
+0420 20200763 branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
@@ -1410,25 +1410,25 @@
 
 p_mouse_le_ll_start_encryt:
 0423 7011c6b3 jam zcode_b3 ,mem_zcode_temp_param0 
-0424 20200762 branch p_zcode_entrance 
+0424 20200763 branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
 0425 7011c6a1 jam zcode_a1 ,mem_zcode_temp_param0 
-0426 20200762 branch p_zcode_entrance 
+0426 20200763 branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
 0427 7011c6a3 jam zcode_a3 ,mem_zcode_temp_param0 
-0428 20200762 branch p_zcode_entrance 
+0428 20200763 branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
 0429 7011c670 jam zcode_70 ,mem_zcode_temp_param0 
-042a 20200762 branch p_zcode_entrance 
+042a 20200763 branch p_zcode_entrance 
 
 p_mouse_sniff_not_accept:
 042b 7011c6b1 jam zcode_b1 ,mem_zcode_temp_param0 
-042c 20200762 branch p_zcode_entrance 
+042c 20200763 branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
 042d 20400481 call p_mouse_store_eeprom_enable 
@@ -1443,31 +1443,31 @@
 p_mouse_bb_event_disconnected:
 0435 20400446 call p_mouse_sensor_powerdown_check 
 0436 7011c6b4 jam zcode_b4 ,mem_zcode_temp_param0 
-0437 20200762 branch p_zcode_entrance 
+0437 20200763 branch p_zcode_entrance 
 
 p_mouse_enter_sniff_check:
 0438 7011c6b2 jam zcode_b2 ,mem_zcode_temp_param0 
-0439 20200762 branch p_zcode_entrance 
+0439 20200763 branch p_zcode_entrance 
 
 p_mouse_24g_pairing_complete:
 043a 204003c2 call p_mouse_init_sensor_reset 
 043b 7011c650 jam zcode_50 ,mem_zcode_temp_param0 
-043c 20200762 branch p_zcode_entrance 
+043c 20200763 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_fail:
 043d 20400446 call p_mouse_sensor_powerdown_check 
 043e 7011c651 jam zcode_51 ,mem_zcode_temp_param0 
-043f 20200762 branch p_zcode_entrance 
+043f 20200763 branch p_zcode_entrance 
 
 p_mouse_24g_attempt_success:
 0440 204003c2 call p_mouse_init_sensor_reset 
 0441 7011c652 jam zcode_52 ,mem_zcode_temp_param0 
-0442 20200762 branch p_zcode_entrance 
+0442 20200763 branch p_zcode_entrance 
 
 p_mouse_before_hibernate:
 0443 20400446 call p_mouse_sensor_powerdown_check 
 0444 7011c6a0 jam zcode_a0 ,mem_zcode_temp_param0 
-0445 20200762 branch p_zcode_entrance 
+0445 20200763 branch p_zcode_entrance 
 
 p_mouse_sensor_powerdown_check:
 0446 6800cafe fetch 1 ,mem_mouse_init_sensor_reset_flag 
@@ -1882,8 +1882,8 @@
 054b 20404079 call mouse_zwheel 
 054c 2040407e call mouse_t_zwheel 
 054d 20400551 call p_mouse_key 
-054e 2434078f nbranch p_drawing_optima_init ,user 
-054f 20400783 call p_drawing_optima 
+054e 24340790 nbranch p_drawing_optima_init ,user 
+054f 20400784 call p_drawing_optima 
 0550 20203fa0 branch mouse_motion + 9 
 
 p_mouse_key:
@@ -1955,7 +1955,7 @@
 
 p_mouse_start_discovery:
 057e 7011c630 jam zcode_30 ,mem_zcode_temp_param0 
-057f 20200762 branch p_zcode_entrance 
+057f 20200763 branch p_zcode_entrance 
 
 p_mouse_stop_discovery:
 0580 20400519 call p_mouse_discovey_led_blink_off 
@@ -1969,7 +1969,7 @@
 0586 c0065395 beq le_md_max_count ,le_slave_cont 
 0587 204055aa call le_acknowledge 
 0588 2040561e call le_prepare_tx 
-0589 20400702 call power_ctrl_start 
+0589 20400703 call power_ctrl_start 
 058a 2020538f branch le_slave_match + 7 
 
 p_le_next_adv_channel:
@@ -1987,16 +1987,16 @@
 
 p_le_update_param:
 0594 7011c620 jam zcode_20 ,mem_zcode_temp_param0 
-0595 20200762 branch p_zcode_entrance 
+0595 20200763 branch p_zcode_entrance 
 
 p_le_update_channel_map:
 0596 7011c621 jam zcode_21 ,mem_zcode_temp_param0 
-0597 20200762 branch p_zcode_entrance 
+0597 20200763 branch p_zcode_entrance 
 
 p_le_prepare_tx:
 0598 68008456 fetch 1 ,mem_le_arq 
 0599 c28285b8 bbit1 wak ,p_le_prepare_tx_wak 
-059a 204006f4 call power_ctrl_pac_succ_incrs 
+059a 204006f5 call power_ctrl_pac_succ_incrs 
 059b 6800c78e fetch 1 ,mem_empty_count 
 059c 243a05a2 nbranch p_le_send_empyt ,blank 
 059d 6800843f fetch 1 ,mem_le_state 
@@ -2039,7 +2039,7 @@
 05b8 204005ac call p_le_check_tx_retransmit_setmd 
 
 p_le_power_ctrl_pac_succ_decrs:
-05b9 202006f8 branch power_ctrl_pac_succ_decrs 
+05b9 202006f9 branch power_ctrl_pac_succ_decrs 
 
 p_mouse_le_reconn_write_enable_timer_reinit:
 05ba 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
@@ -2165,7 +2165,7 @@
 
 p_le_parse_smp_pairing_failed:
 0616 7011c682 jam zcode_82 ,mem_zcode_temp_param0 
-0617 20200762 branch p_zcode_entrance 
+0617 20200763 branch p_zcode_entrance 
 
 p_le_adv_not_match:
 0618 68008016 fetch 1 ,mem_le_ch_mapped 
@@ -2198,7 +2198,7 @@
 
 p_le_mouse_bb_event_connect_complete:
 062d 7011c622 jam zcode_22 ,mem_zcode_temp_param0 
-062e 20200762 branch p_zcode_entrance 
+062e 20200763 branch p_zcode_entrance 
 
 p_twspi_reset:
 062f 68108077 hfetch 1 ,core_gpio_out3 
@@ -2227,7 +2227,7 @@
 
 p_page_wait_fhs_reply_ok:
 0642 7011c600 jam zcode_00 ,mem_zcode_temp_param0 
-0643 20200762 branch p_zcode_entrance 
+0643 20200763 branch p_zcode_entrance 
 
 p_role_switch_master:
 0644 204021c9 call role_switch_check 
@@ -2245,7 +2245,7 @@
 064c c5058651 bmark1 mark_fhs_already_good ,p_roles_replyto_fhs 
 064d 20402455 call new_conn_timeout 
 064e 243a064a nbranch p_roles_waitfhs_loop ,blank 
-064f c5168659 bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
+064f c516865a bmark1 mark_role_switch_receive_fhs ,p_roles_replyto_fhs1 
 0650 202021ec branch role_switch_fail_master 
 
 p_roles_replyto_fhs:
@@ -2254,579 +2254,580 @@
 0653 204022dc call master_send_packet 
 0654 7920002d set1 mark_role_switch_receive_fhs ,mark 
 0655 793f800b set0 mark_fhs_already_good ,mark 
-0656 18000801 force 1 ,am_addr 
-0657 70001102 jam 2 ,mem_newconnto_counter 
-0658 2020064a branch p_roles_waitfhs_loop 
+0656 68008077 fetch 1 ,mem_amaddr 
+0657 98000800 iforce am_addr 
+0658 70001102 jam 2 ,mem_newconnto_counter 
+0659 2020064a branch p_roles_waitfhs_loop 
 
 p_roles_replyto_fhs1:
-0659 68020165 fetch 4 ,mem_clke_bt 
-065a 1fe0fe08 pincrease 8 
-065b 60020165 store 4 ,mem_clke_bt 
-065c 202021f8 branch roles_replyto_fhs + 4 
+065a 68020165 fetch 4 ,mem_clke_bt 
+065b 1fe0fe08 pincrease 8 
+065c 60020165 store 4 ,mem_clke_bt 
+065d 202021f8 branch roles_replyto_fhs + 4 
 
 p_process_dmh:
-065d c516264d bmark1 mark_first_packet ,end_of_packet 
-065e 2020258f branch process_dmh + 1 
+065e c516264d bmark1 mark_first_packet ,end_of_packet 
+065f 2020258f branch process_dmh + 1 
 
 p_quit_connection_cont:
-065f 7011c623 jam zcode_23 ,mem_zcode_temp_param0 
-0660 20200762 branch p_zcode_entrance 
+0660 7011c623 jam zcode_23 ,mem_zcode_temp_param0 
+0661 20200763 branch p_zcode_entrance 
 
 p_prepare_tx:
-0661 68008030 fetch 1 ,mem_state 
-0662 2feffe00 isolate1 state_inconn ,pdata 
-0663 20408665 call p_bt_power_ctrl ,true 
-0664 2020248a branch prepare_tx + 1 
+0662 68008030 fetch 1 ,mem_state 
+0663 2feffe00 isolate1 state_inconn ,pdata 
+0664 20408666 call p_bt_power_ctrl ,true 
+0665 2020248a branch prepare_tx + 1 
 
 p_bt_power_ctrl:
-0665 68008047 fetch 1 ,mem_arq 
-0666 2feffe03 isolate1 wack ,pdata 
-0667 204086f8 call power_ctrl_pac_succ_decrs ,true 
-0668 244086f4 ncall power_ctrl_pac_succ_incrs ,true 
-0669 20200702 branch power_ctrl_start 
+0666 68008047 fetch 1 ,mem_arq 
+0667 2feffe03 isolate1 wack ,pdata 
+0668 204086f9 call power_ctrl_pac_succ_decrs ,true 
+0669 244086f5 ncall power_ctrl_pac_succ_incrs ,true 
+066a 20200703 branch power_ctrl_start 
 
 p_slave_conn_recv_packet:
-066a 204024f0 call slave_receive_master_slot 
-066b 242c28f9 nbranch shutdown_radio ,sync 
-066c 204029bb call save_rssi 
-066d 2040006c call p_rssi_signal 
-066e 20202518 branch slave_conn_recv_packet + 4 
+066b 204024f0 call slave_receive_master_slot 
+066c 242c28f9 nbranch shutdown_radio ,sync 
+066d 204029bb call save_rssi 
+066e 2040006c call p_rssi_signal 
+066f 20202518 branch slave_conn_recv_packet + 4 
 
 p_lpm_dispatch:
-066f c6130000 rtnmark1 mark_24g 
-0670 20402afa call lpo_calibration 
-0671 6801c16f fetch 3 ,mem_clks_per_lpo 
-0672 207a0000 rtn blank 
-0673 6800c091 fetch 1 ,mem_lpm_mode 
-0674 207a0000 rtn blank 
-0675 6800c65a fetch 1 ,mem_ssp_enable 
-0676 203a0679 branch p_lpm_dispatch_next ,blank 
-0677 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
-0678 207a0000 rtn blank 
+0670 c6130000 rtnmark1 mark_24g 
+0671 20402afa call lpo_calibration 
+0672 6801c16f fetch 3 ,mem_clks_per_lpo 
+0673 207a0000 rtn blank 
+0674 6800c091 fetch 1 ,mem_lpm_mode 
+0675 207a0000 rtn blank 
+0676 6800c65a fetch 1 ,mem_ssp_enable 
+0677 203a067a branch p_lpm_dispatch_next ,blank 
+0678 6800c5b1 fetch 1 ,mem_sp_local_key_invalid 
+0679 207a0000 rtn blank 
 
 p_lpm_dispatch_next:
-0679 6800c4c0 fetch 1 ,mem_le_sc_calc 
-067a 247a0000 nrtn blank 
-067b 20402c3a call lpm_check_wake_lock 
-067c 247a0000 nrtn blank 
-067d 6800c040 fetch 1 ,mem_context 
-067e 2fe00e03 compare 3 ,pdata ,0x7 
-067f 2420ab9d nbranch lpm_dispatch_unconn ,true 
-0680 68014042 fetch 2 ,mem_context + coffset_tsniff 
-0681 d840ffff arg 0xffff ,temp 
-0682 98467c00 isub temp ,null 
-0683 20628000 rtn zero 
-0684 20202b7d branch lpm_dispatch_next + 9 
+067a 6800c4c0 fetch 1 ,mem_le_sc_calc 
+067b 247a0000 nrtn blank 
+067c 20402c3a call lpm_check_wake_lock 
+067d 247a0000 nrtn blank 
+067e 6800c040 fetch 1 ,mem_context 
+067f 2fe00e03 compare 3 ,pdata ,0x7 
+0680 2420ab9d nbranch lpm_dispatch_unconn ,true 
+0681 68014042 fetch 2 ,mem_context + coffset_tsniff 
+0682 d840ffff arg 0xffff ,temp 
+0683 98467c00 isub temp ,null 
+0684 20628000 rtn zero 
+0685 20202b7d branch lpm_dispatch_next + 9 
 
 p_lpm_set_mult:
-0685 7855fc00 disable wake 
-0686 68008030 fetch 1 ,mem_state 
-0687 c4008000 rtnbit0 state_insniff 
-0688 2436abd0 nbranch lpm_not_match ,match 
-0689 20402bcb call lpm_match 
-068a 680140c1 fetch 2 ,mem_rx_window_sniff 
-068b 6001003e store 2 ,mem_rx_window 
-068c 68008047 fetch 1 ,mem_arq 
-068d c281abde bbit1 wack ,lpm_mult_short 
-068e c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
-068f 20405274 call l2cap_malloc_is_fifo_empty 
-0690 243a2bde nbranch lpm_mult_short ,blank 
-0691 205a0693 call p_lpm_set_attemp_timeout ,blank 
-0692 20202bbe branch lpm_set_mult + 13 
+0686 7855fc00 disable wake 
+0687 68008030 fetch 1 ,mem_state 
+0688 c4008000 rtnbit0 state_insniff 
+0689 2436abd0 nbranch lpm_not_match ,match 
+068a 20402bcb call lpm_match 
+068b 680140c1 fetch 2 ,mem_rx_window_sniff 
+068c 6001003e store 2 ,mem_rx_window 
+068d 68008047 fetch 1 ,mem_arq 
+068e c281abde bbit1 wack ,lpm_mult_short 
+068f c586abde bmark0 mark_lpm_mult_enable ,lpm_mult_short 
+0690 20405274 call l2cap_malloc_is_fifo_empty 
+0691 243a2bde nbranch lpm_mult_short ,blank 
+0692 205a0694 call p_lpm_set_attemp_timeout ,blank 
+0693 20202bbe branch lpm_set_mult + 13 
 
 p_lpm_set_attemp_timeout:
-0693 70008a01 jam 1 ,mem_current_sniff_attempt 
-0694 70008b00 jam 0 ,mem_current_sniff_timeout 
-0695 20600000 rtn 
+0694 70008a01 jam 1 ,mem_current_sniff_attempt 
+0695 70008b00 jam 0 ,mem_current_sniff_timeout 
+0696 20600000 rtn 
 
 p_mouse_bb_disconnected:
-0696 7011c601 jam zcode_01 ,mem_zcode_temp_param0 
-0697 20200762 branch p_zcode_entrance 
+0697 7011c601 jam zcode_01 ,mem_zcode_temp_param0 
+0698 20200763 branch p_zcode_entrance 
 
 p_hid_rx_process:
-0698 7011c602 jam zcode_02 ,mem_zcode_temp_param0 
-0699 20200762 branch p_zcode_entrance 
+0699 7011c602 jam zcode_02 ,mem_zcode_temp_param0 
+069a 20200763 branch p_zcode_entrance 
 
 p_parse_lmp_accepted:
-069a 68008552 fetch 1 ,mem_rxbuf + 1 
-069b 600084c9 store 1 ,mem_lmi_accepted_opcode 
-069c c009869e beq lmp_switch_req ,p_parse_lmp_accepted_switch 
-069d 20205db4 branch parse_lmp_accepted + 3 
+069b 68008552 fetch 1 ,mem_rxbuf + 1 
+069c 600084c9 store 1 ,mem_lmi_accepted_opcode 
+069d c009869f beq lmp_switch_req ,p_parse_lmp_accepted_switch 
+069e 20205db4 branch parse_lmp_accepted + 3 
 
 p_parse_lmp_accepted_switch:
-069e 20405dcf call parse_lmp_accepted_switch 
-069f 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
-06a0 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06a1 207a0000 rtn blank 
-06a2 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
-06a3 20600000 rtn 
+069f 20405dcf call parse_lmp_accepted_switch 
+06a0 704aff01 jam 1 ,mem_bt_rcvd_switch_req_accept 
+06a1 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06a2 207a0000 rtn blank 
+06a3 704b0102 jam 2 ,mem_bt_send_lmp_setup_complete 
+06a4 20600000 rtn 
 
 p_send_lmp:
-06a4 78547c00 disable user 
-06a5 204062c1 call lmo_fifo_process 
-06a6 68008048 fetch 1 ,mem_lmp_to_send 
-06a7 207a0000 rtn blank 
-06a8 c28386ad bbit1 7 ,p_send_lmp_escape 
-06a9 c00186af beq lmp_accepted ,p_send_lmp_accepted 
-06aa c01886b1 beq lmp_setup_complete ,p_send_lmp_setup_complete 
-06ab c00b86b3 beq lmp_sniff_req ,p_send_lmp_sniff_req 
-06ac 20206010 branch send_lmp0 
+06a5 78547c00 disable user 
+06a6 204062c1 call lmo_fifo_process 
+06a7 68008048 fetch 1 ,mem_lmp_to_send 
+06a8 207a0000 rtn blank 
+06a9 c28386ae bbit1 7 ,p_send_lmp_escape 
+06aa c00186b0 beq lmp_accepted ,p_send_lmp_accepted 
+06ab c01886b2 beq lmp_setup_complete ,p_send_lmp_setup_complete 
+06ac c00b86b4 beq lmp_sniff_req ,p_send_lmp_sniff_req 
+06ad 20206010 branch send_lmp0 
 
 p_send_lmp_escape:
-06ad 7011c610 jam zcode_10 ,mem_zcode_temp_param0 
-06ae 20200762 branch p_zcode_entrance 
+06ae 7011c610 jam zcode_10 ,mem_zcode_temp_param0 
+06af 20200763 branch p_zcode_entrance 
 
 p_send_lmp_accepted:
-06af 7011c611 jam zcode_11 ,mem_zcode_temp_param0 
-06b0 20200762 branch p_zcode_entrance 
+06b0 7011c611 jam zcode_11 ,mem_zcode_temp_param0 
+06b1 20200763 branch p_zcode_entrance 
 
 p_send_lmp_setup_complete:
-06b1 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
-06b2 202061c3 branch send_lmp_setup_complete 
+06b2 704b0101 jam 1 ,mem_bt_send_lmp_setup_complete 
+06b3 202061c3 branch send_lmp_setup_complete 
 
 p_send_lmp_sniff_req:
-06b3 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
-06b4 202061a4 branch send_lmp_sniff_req 
+06b4 704b0904 jam 4 ,mem_mouse_bt_send_first_package_timer 
+06b5 202061a4 branch send_lmp_sniff_req 
 
 p_process_conn_sm:
-06b5 204062bc call lmo_fifo_check 
-06b6 247a0000 nrtn blank 
+06b6 204062bc call lmo_fifo_check 
+06b7 247a0000 nrtn blank 
 
 p_process_conn_sm_continue:
-06b7 68008055 fetch 1 ,mem_conn_sm 
-06b8 207a0000 rtn blank 
-06b9 c00206d7 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
-06ba c00806bc beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
-06bb 20206320 branch process_conn_sm_continue + 2 
+06b8 68008055 fetch 1 ,mem_conn_sm 
+06b9 207a0000 rtn blank 
+06ba c00206d8 beq conn_sm_send_conn_req ,p_host_create_conn_send_conn_req 
+06bb c00806bd beq conn_sm_wait_switch_after_host_connection ,p_host_creat_conn_wait_switch 
+06bc 20206320 branch process_conn_sm_continue + 2 
 
 p_host_creat_conn_wait_switch:
-06bc 6800c55b fetch 1 ,mem_switch_flag 
-06bd c1000000 rtneq switch_flag_init 
-06be c00086c0 beq switch_flag_accept ,p_host_create_conn_switch_accept 
-06bf 2020635f branch host_creat_conn_wait_switch + 3 
+06bd 6800c55b fetch 1 ,mem_switch_flag 
+06be c1000000 rtneq switch_flag_init 
+06bf c00086c1 beq switch_flag_accept ,p_host_create_conn_switch_accept 
+06c0 2020635f branch host_creat_conn_wait_switch + 3 
 
 p_host_create_conn_switch_accept:
-06c0 20748000 rtn master 
+06c1 20748000 rtn master 
 
 p_host_create_conn_auth_pair:
-06c1 6800816d fetch 1 ,mem_connection_options 
-06c2 c28006c4 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
-06c3 20206399 branch host_create_conn_auth_pair + 1 
+06c2 6800816d fetch 1 ,mem_connection_options 
+06c3 c28006c5 bbit1 connection_auth ,p_host_create_conn_auth_pair_true 
+06c4 20206399 branch host_create_conn_auth_pair + 1 
 
 p_host_create_conn_auth_pair_true:
-06c4 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
-06c5 c000e39d beq 1 ,host_create_conn_auth_pair_true 
-06c6 6800c1bd fetch 1 ,mem_link_key_exists 
-06c7 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
-06c8 680084d1 fetch 1 ,mem_lmp_conn_state 
-06c9 c4018000 rtnbit0 sent_setup_complete 
-06ca c4010000 rtnbit0 received_setup_complete 
-06cb 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06cc 207a0000 rtn blank 
-06cd 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
-06ce 680204e9 fetch 4 ,mem_aurand_send_delay_time 
-06cf d8400014 arg 20 ,temp 
-06d0 98408400 iadd temp ,temp 
-06d1 1c427e00 copy clkn_bt ,pdata 
-06d2 98467c00 isub temp ,null 
-06d3 242106d5 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
-06d4 20206349 branch host_create_conn_auth 
+06c5 6800cb01 fetch 1 ,mem_bt_send_lmp_setup_complete 
+06c6 c000e39d beq 1 ,host_create_conn_auth_pair_true 
+06c7 6800c1bd fetch 1 ,mem_link_key_exists 
+06c8 203a63a9 branch host_create_conn_auth_pair_nokey ,blank 
+06c9 680084d1 fetch 1 ,mem_lmp_conn_state 
+06ca c4018000 rtnbit0 sent_setup_complete 
+06cb c4010000 rtnbit0 received_setup_complete 
+06cc 6800cb00 fetch 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06cd 207a0000 rtn blank 
+06ce 704b0000 jam 0 ,mem_bt_send_max_slot_req_accept_after_switch 
+06cf 680204e9 fetch 4 ,mem_aurand_send_delay_time 
+06d0 d8400014 arg 20 ,temp 
+06d1 98408400 iadd temp ,temp 
+06d2 1c427e00 copy clkn_bt ,pdata 
+06d3 98467c00 isub temp ,null 
+06d4 242106d6 nbranch p_bt_send_max_slot_req_accept_after_switch_wait ,positive 
+06d5 20206349 branch host_create_conn_auth 
 
 p_bt_send_max_slot_req_accept_after_switch_wait:
-06d5 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
-06d6 20600000 rtn 
+06d6 704b0001 jam 1 ,mem_bt_send_max_slot_req_accept_after_switch 
+06d7 20600000 rtn 
 
 p_host_create_conn_send_conn_req:
-06d7 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
-06d8 2020636f branch host_create_conn_send_conn_req 
+06d8 70480914 jam 20 ,mem_mouse_send_switch_req_timer 
+06d9 2020636f branch host_create_conn_send_conn_req 
 
 p_check_51cmd_once_continue:
-06d9 204062bc call lmo_fifo_check 
-06da 243a7ddb nbranch check_51cmd_restore ,blank 
-06db 68008a99 fetch 1 ,mem_fifo_temp 
-06dc c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
-06dd c00f86e1 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
-06de c01006e4 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
-06df c00906ee beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
-06e0 20207dca branch check_51cmd_once_continue + 2 
+06da 204062bc call lmo_fifo_check 
+06db 243a7ddb nbranch check_51cmd_restore ,blank 
+06dc 68008a99 fetch 1 ,mem_fifo_temp 
+06dd c584fdd6 bmark0 mark_context ,check_51cmd_check_idle 
+06de c00f86e2 beq bt_cmd_store_reconn_info_le ,p_flash_store_le_reconn_info 
+06df c01006e5 beq bt_cmd_store_reconn_info_bt ,p_flash_store_bd_reconn_info 
+06e0 c00906ef beq bt_cmd_le_update_conn ,p_check_51cmd_ble_update_connect_param 
+06e1 20207dca branch check_51cmd_once_continue + 2 
 
 p_flash_store_le_reconn_info:
-06e1 70018534 jam rec_4_mode ,mem_record_bt_mode 
-06e2 6803044f fetch 6 ,mem_le_plap 
-06e3 202006e6 branch p_flash_store_reconn_info 
+06e2 70018534 jam rec_4_mode ,mem_record_bt_mode 
+06e3 6803044f fetch 6 ,mem_le_plap 
+06e4 202006e7 branch p_flash_store_reconn_info 
 
 p_flash_store_bd_reconn_info:
-06e4 70018533 jam rec_3_mode ,mem_record_bt_mode 
-06e5 68030040 fetch 6 ,mem_plap 
+06e5 70018533 jam rec_3_mode ,mem_record_bt_mode 
+06e6 68030040 fetch 6 ,mem_plap 
 
 p_flash_store_reconn_info:
-06e6 60030186 store 6 ,mem_temp_lap 
+06e7 60030186 store 6 ,mem_temp_lap 
 
 p_mouse_store_remote_bdaddr:
-06e7 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-06e8 c4038000 rtnbit0 mouse_store_eeprom_flag 
-06e9 d8e00007 arg mouse_store_eeprom_flag ,queue 
-06ea 204043d2 call mouse_disable_function_flag 
-06eb 204042e8 call mouse_check_device_addr 
+06e8 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+06e9 c4038000 rtnbit0 mouse_store_eeprom_flag 
+06ea d8e00007 arg mouse_store_eeprom_flag ,queue 
+06eb 204043d2 call mouse_disable_function_flag 
+06ec 204042e8 call mouse_check_device_addr 
 
 p_mouse_unplug_clean_bdaddr:
-06ec 204042fb call mouse_before_store_reconn_info 
-06ed 2020030e branch p_mouse_store_flash_device_info 
+06ed 204042fb call mouse_before_store_reconn_info 
+06ee 2020030e branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
-06ee 20405890 call le_fifo_check_full 
-06ef 247a0000 nrtn blank 
-06f0 20205abf branch le_l2cap_tx_update_req 
+06ef 20405890 call le_fifo_check_full 
+06f0 247a0000 nrtn blank 
+06f1 20205abf branch le_l2cap_tx_update_req 
 
 power_ctrl_pac_succ_cnt_init:
-06f1 704d6701 jam 1 ,mem_power_ctrl_level 
-06f2 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
-06f3 20600000 rtn 
+06f2 704d6701 jam 1 ,mem_power_ctrl_level 
+06f3 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+06f4 20600000 rtn 
 
 power_ctrl_pac_succ_incrs:
-06f4 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f5 1fe0fe01 increase 1 ,pdata 
-06f6 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06f7 20600000 rtn 
+06f5 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06f6 1fe0fe01 increase 1 ,pdata 
+06f7 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
+06f8 20600000 rtn 
 
 power_ctrl_pac_succ_decrs:
-06f8 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06f9 1fe67c02 sub pdata ,2 ,null 
-06fa 24410700 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
-06fb 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-06fc c1000000 rtneq 0 
-06fd 1fe0ffff increase -1 ,pdata 
-06fe 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
-06ff 20600000 rtn 
+06f9 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06fa 1fe67c02 sub pdata ,2 ,null 
+06fb 24410701 ncall power_ctrl_pac_succ_cnt_reinit ,positive 
+06fc 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+06fd c1000000 rtneq 0 
+06fe 1fe0ffff increase -1 ,pdata 
+06ff 6000cd64 store 1 ,mem_power_ctrl_pac_succ_cnt 
+0700 20600000 rtn 
 
 power_ctrl_pac_succ_cnt_reinit:
-0700 704d6403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
-0701 20600000 rtn 
+0701 704d6403 jam 3 ,mem_power_ctrl_pac_succ_cnt 
+0702 20600000 rtn 
 
 power_ctrl_start:
-0702 68014682 fetch 2 ,mem_ui_state_map 
-0703 c3858000 rtnbit1 ui_state_ble_adv 
-0704 c3838000 rtnbit1 ui_state_bt_reconnect 
-0705 c3830000 rtnbit1 ui_state_bt_discovery 
-0706 da204ced arg mem_rssi_signal_buf ,rega 
-0707 20400298 call p_rssi_average 
-0708 6008cd65 storet 1 ,mem_rssi_avg_received 
-0709 58000082 setarg rssi_dis_max_24g 
-070a c513070c bmark1 mark_24g ,power_ctrl_start_next 
-070b 58000080 setarg rssi_dis_max_ble 
+0703 68014682 fetch 2 ,mem_ui_state_map 
+0704 c3858000 rtnbit1 ui_state_ble_adv 
+0705 c3838000 rtnbit1 ui_state_bt_reconnect 
+0706 c3830000 rtnbit1 ui_state_bt_discovery 
+0707 da204ced arg mem_rssi_signal_buf ,rega 
+0708 20400298 call p_rssi_average 
+0709 6008cd65 storet 1 ,mem_rssi_avg_received 
+070a 58000082 setarg rssi_dis_max_24g 
+070b c513070d bmark1 mark_24g ,power_ctrl_start_next 
+070c 58000080 setarg rssi_dis_max_ble 
 
 power_ctrl_start_next:
-070c 98467c00 isub temp ,null 
-070d 24210724 nbranch power_ctrl_txpower_incrs_force ,positive 
-070e 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-070f 1fe67c02 sub pdata ,2 ,null 
-0710 24210714 nbranch power_ctrl_txpower_decrs_check ,positive 
-0711 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0712 c0000725 beq 0 ,power_ctrl_txpower_incrs 
-0713 20600000 rtn 
+070d 98467c00 isub temp ,null 
+070e 24210725 nbranch power_ctrl_txpower_incrs_force ,positive 
+070f 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0710 1fe67c02 sub pdata ,2 ,null 
+0711 24210715 nbranch power_ctrl_txpower_decrs_check ,positive 
+0712 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0713 c0000726 beq 0 ,power_ctrl_txpower_incrs 
+0714 20600000 rtn 
 
 power_ctrl_txpower_decrs_check:
-0714 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
-0715 c1990000 rtnne 50 
-0716 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0715 6800cd64 fetch 1 ,mem_power_ctrl_pac_succ_cnt 
+0716 c1990000 rtnne 50 
+0717 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_decrs:
-0717 6808cd65 fetcht 1 ,mem_rssi_avg_received 
-0718 58000077 setarg rssi_dis_min_24g 
-0719 c513071b bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
-071a 58000075 setarg rssi_dis_min_ble 
+0718 6808cd65 fetcht 1 ,mem_rssi_avg_received 
+0719 58000077 setarg rssi_dis_min_24g 
+071a c513071c bmark1 mark_24g ,power_ctrl_txpower_decrs_next 
+071b 58000075 setarg rssi_dis_min_ble 
 
 power_ctrl_txpower_decrs_next:
-071b 98467c00 isub temp ,null 
-071c 24610000 nrtn positive 
-071d 6800cd67 fetch 1 ,mem_power_ctrl_level 
-071e c000072c beq 0 ,power_ctrl_decrs_level0 
-071f 1fe0ffff increase -1 ,pdata 
-0720 6000cd67 store 1 ,mem_power_ctrl_level 
-0721 c000072c beq 0 ,power_ctrl_decrs_level0 
+071c 98467c00 isub temp ,null 
+071d 24610000 nrtn positive 
+071e 6800cd67 fetch 1 ,mem_power_ctrl_level 
+071f c000072d beq 0 ,power_ctrl_decrs_level0 
+0720 1fe0ffff increase -1 ,pdata 
+0721 6000cd67 store 1 ,mem_power_ctrl_level 
+0722 c000072d beq 0 ,power_ctrl_decrs_level0 
 
 power_ctrl_decrs_level1:
 
 power_ctrl_incrs_level1:
-0722 7041de00 jam tx_power_0db ,mem_tx_power 
-0723 20600000 rtn 
+0723 7041de00 jam tx_power_0db ,mem_tx_power 
+0724 20600000 rtn 
 
 power_ctrl_txpower_incrs_force:
-0724 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
+0725 704d6400 jam 0 ,mem_power_ctrl_pac_succ_cnt 
 
 power_ctrl_txpower_incrs:
-0725 6800cd67 fetch 1 ,mem_power_ctrl_level 
-0726 c001072a beq 2 ,power_ctrl_incrs_level2 
-0727 1fe0fe01 increase 1 ,pdata 
-0728 6000cd67 store 1 ,mem_power_ctrl_level 
-0729 c0008722 beq 1 ,power_ctrl_incrs_level1 
+0726 6800cd67 fetch 1 ,mem_power_ctrl_level 
+0727 c001072b beq 2 ,power_ctrl_incrs_level2 
+0728 1fe0fe01 increase 1 ,pdata 
+0729 6000cd67 store 1 ,mem_power_ctrl_level 
+072a c0008723 beq 1 ,power_ctrl_incrs_level1 
 
 power_ctrl_incrs_level2:
-072a 7041de02 jam tx_power_5db ,mem_tx_power 
-072b 20600000 rtn 
+072b 7041de02 jam tx_power_5db ,mem_tx_power 
+072c 20600000 rtn 
 
 power_ctrl_decrs_level0:
-072c 7041de04 jam tx_power_f5db ,mem_tx_power 
-072d 20600000 rtn 
+072d 7041de04 jam tx_power_f5db ,mem_tx_power 
+072e 20600000 rtn 
 
 p_set_freq_tx:
-072e 60088017 storet 1 ,mem_last_freq 
-072f 1840a200 add temp ,0 ,rega 
-0730 20402981 call rf_write_freq 
-0731 58000500 setarg param_pll_setup 
-0732 20402a8f call sleep 
+072f 60088017 storet 1 ,mem_last_freq 
+0730 1840a200 add temp ,0 ,rega 
+0731 20402981 call rf_write_freq 
+0732 58000500 setarg param_pll_setup 
+0733 20402a8f call sleep 
 
 p_rf_tx_enable:
-0733 70890601 jam 0x1 ,rfen_adc 
-0734 7089003c jam 0x3c ,rfen_rx 
-0735 708901e0 jam 0xe0 ,rfen_tx 
-0736 2000000a nop 10 
-0737 70890201 jam 0x01 ,rfen_mdm 
-0738 7089023d jam 0x3d ,rfen_mdm 
-0739 2000000a nop 10 
-073a 708903b7 jam 0xb7 ,rfen_sn 
-073b 2000000a nop 10 
-073c 7089027d jam 0x7d ,rfen_mdm 
-073d 6800c1de fetch 1 ,mem_tx_power 
-073e c0010746 beq tx_power_5db ,p_set_tx_power_5db 
-073f c002074b beq tx_power_f5db ,p_set_tx_power_f5db 
-0740 c010075a beq tx_power_pair ,p_set_tx_power_pair 
+0734 70890601 jam 0x1 ,rfen_adc 
+0735 7089003c jam 0x3c ,rfen_rx 
+0736 708901e0 jam 0xe0 ,rfen_tx 
+0737 2000000a nop 10 
+0738 70890201 jam 0x01 ,rfen_mdm 
+0739 7089023d jam 0x3d ,rfen_mdm 
+073a 2000000a nop 10 
+073b 708903b7 jam 0xb7 ,rfen_sn 
+073c 2000000a nop 10 
+073d 7089027d jam 0x7d ,rfen_mdm 
+073e 6800c1de fetch 1 ,mem_tx_power 
+073f c0010747 beq tx_power_5db ,p_set_tx_power_5db 
+0740 c002074c beq tx_power_f5db ,p_set_tx_power_f5db 
+0741 c010075b beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-0741 20400750 call p_rx_low_sens 
-0742 708955d0 jam 0xd0 ,0x8955 
-0743 708956e0 jam 0xe0 ,0x8956 
-0744 7089586c jam 0x6c ,0x8958 
-0745 2020294b branch set_tx_power_0db 
+0742 20400751 call p_rx_low_sens 
+0743 708955d0 jam 0xd0 ,0x8955 
+0744 708956e0 jam 0xe0 ,0x8956 
+0745 7089586c jam 0x6c ,0x8958 
+0746 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0746 20400755 call p_rx_high_sens 
-0747 708955d0 jam 0xd0 ,0x8955 
-0748 708956e0 jam 0xe0 ,0x8956 
-0749 7089583c jam 0x3c ,0x8958 
-074a 20202953 branch set_tx_power_5db 
+0747 20400756 call p_rx_high_sens 
+0748 708955d0 jam 0xd0 ,0x8955 
+0749 708956e0 jam 0xe0 ,0x8956 
+074a 7089583c jam 0x3c ,0x8958 
+074b 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-074b 20400750 call p_rx_low_sens 
-074c 708955d0 jam 0xd0 ,0x8955 
-074d 708956c0 jam 0xc0 ,0x8956 
-074e 7089586c jam 0x6c ,0x8958 
-074f 2020295b branch set_tx_power_f5db 
+074c 20400751 call p_rx_low_sens 
+074d 708955d0 jam 0xd0 ,0x8955 
+074e 708956c0 jam 0xc0 ,0x8956 
+074f 7089586c jam 0x6c ,0x8958 
+0750 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-0750 70894c5b jam 0x5b ,0x894c 
-0751 70894d96 jam 0x96 ,0x894d 
-0752 70894e2c jam 0x2c ,0x894e 
-0753 70894f46 jam 0x46 ,0x894f 
-0754 20600000 rtn 
+0751 70894c5b jam 0x5b ,0x894c 
+0752 70894d96 jam 0x96 ,0x894d 
+0753 70894e2c jam 0x2c ,0x894e 
+0754 70894f46 jam 0x46 ,0x894f 
+0755 20600000 rtn 
 
 p_rx_high_sens:
-0755 70894cfb jam 0xfb ,0x894c 
-0756 70894def jam 0xef ,0x894d 
-0757 70894eec jam 0xec ,0x894e 
-0758 70894f5e jam 0x5e ,0x894f 
-0759 20600000 rtn 
+0756 70894cfb jam 0xfb ,0x894c 
+0757 70894def jam 0xef ,0x894d 
+0758 70894eec jam 0xec ,0x894e 
+0759 70894f5e jam 0x5e ,0x894f 
+075a 20600000 rtn 
 
 p_set_tx_power_pair:
-075a 708956c2 jam 0xc2 ,0x8956 
-075b 708955d0 jam 0xd0 ,0x8955 
-075c 20600000 rtn 
+075b 708956c2 jam 0xc2 ,0x8956 
+075c 708955d0 jam 0xd0 ,0x8955 
+075d 20600000 rtn 
 
 p_shutdown_radio:
-075d 18002a08 force 8 ,radio_ctrl 
-075e 202028fa branch shutdown_radio + 1 
+075e 18002a08 force 8 ,radio_ctrl 
+075f 202028fa branch shutdown_radio + 1 
 
 p_initialize_radio_cont:
-075f 20402978 call initialize_radio_cont + 1 
-0760 70804205 jam clksel_dpll ,core_clksel 
-0761 20600000 rtn 
+0760 20402978 call initialize_radio_cont + 1 
+0761 70804205 jam clksel_dpll ,core_clksel 
+0762 20600000 rtn 
 
 p_zcode_entrance:
-0762 680891c6 fetcht 1 ,mem_zcode_temp_param0 
-0763 18518400 rshift4 temp ,temp 
-0764 6800cb50 fetch 1 ,mem_zcode_current_number 
-0765 98467c00 isub temp ,null 
-0766 20228781 branch p_zcode_run ,zero 
-0767 6008cb50 storet 1 ,mem_zcode_current_number 
-0768 18408401 increase 1 ,temp 
-0769 58000100 setarg zcode_buff_size 
-076a 984f8400 imul32 temp ,temp 
-076b 6801cb51 fetch 3 ,mem_xip_flash_offset 
-076c 98467e00 isub temp ,pdata 
-076d 6809cb54 fetcht 3 ,mem_flash_start_addr 
-076e 9840fe00 iadd temp ,pdata 
-076f 1fe0fffb increase -5 ,pdata 
-0770 6001cb57 store 3 ,mem_flash_address 
-0771 2040034d call p_flash_release_deep_power_down 
+0763 680891c6 fetcht 1 ,mem_zcode_temp_param0 
+0764 18518400 rshift4 temp ,temp 
+0765 6800cb50 fetch 1 ,mem_zcode_current_number 
+0766 98467c00 isub temp ,null 
+0767 20228782 branch p_zcode_run ,zero 
+0768 6008cb50 storet 1 ,mem_zcode_current_number 
+0769 18408401 increase 1 ,temp 
+076a 58000100 setarg zcode_buff_size 
+076b 984f8400 imul32 temp ,temp 
+076c 6801cb51 fetch 3 ,mem_xip_flash_offset 
+076d 98467e00 isub temp ,pdata 
+076e 6809cb54 fetcht 3 ,mem_flash_start_addr 
+076f 9840fe00 iadd temp ,pdata 
+0770 1fe0fffb increase -5 ,pdata 
+0771 6001cb57 store 3 ,mem_flash_address 
+0772 2040034d call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
-0772 6801cb57 fetch 3 ,mem_flash_address 
-0773 d8400100 arg zcode_buff_size ,temp 
-0774 da201f00 arg mem_zcode_buff ,rega 
-0775 20406562 call spid_read_flash 
-0776 68021f00 fetch 4 ,mem_zcode_buff 
-0777 680a4b5a fetcht 4 ,mem_zcode_head 
-0778 98467c00 isub temp ,null 
-0779 24228772 nbranch p_zcode_read_loop ,zero 
-077a 2040031c call p_mouse_spi_init 
-077b 58001f00 setarg mem_zcode_buff 
-077c 60014199 store 2 ,mem_patch_ptr 
-077d 70419b40 jam zcode_code_size ,mem_patch_len 
-077e 204064ca call load_ucode 
-077f 58000000 setarg 0 
-0780 60024199 store 4 ,mem_patch_ptr 
+0773 6801cb57 fetch 3 ,mem_flash_address 
+0774 d8400100 arg zcode_buff_size ,temp 
+0775 da201f00 arg mem_zcode_buff ,rega 
+0776 20406562 call spid_read_flash 
+0777 68021f00 fetch 4 ,mem_zcode_buff 
+0778 680a4b5a fetcht 4 ,mem_zcode_head 
+0779 98467c00 isub temp ,null 
+077a 24228773 nbranch p_zcode_read_loop ,zero 
+077b 2040031c call p_mouse_spi_init 
+077c 58001f00 setarg mem_zcode_buff 
+077d 60014199 store 2 ,mem_patch_ptr 
+077e 70419b40 jam zcode_code_size ,mem_patch_len 
+077f 204064ca call load_ucode 
+0780 58000000 setarg 0 
+0781 60024199 store 4 ,mem_patch_ptr 
 
 p_zcode_run:
-0781 680091c6 fetch 1 ,mem_zcode_temp_param0 
-0782 20200001 branch p_zcode 
+0782 680091c6 fetch 1 ,mem_zcode_temp_param0 
+0783 20200001 branch p_zcode 
 
 p_drawing_optima:
-0783 6802469b fetch 4 ,mem_mouse_x 
-0784 207a0000 rtn blank 
-0785 204007db call p_data_abs_check 
-0786 58000003 setarg 0x03 
-0787 204007d1 call p_pdata_greater_than_check 
-0788 205a07cd call p_disable_asm ,blank 
-0789 245a07cf ncall p_enable_asm ,blank 
-078a 58000002 setarg 0x02 
-078b 204007d6 call p_data_less_than_check 
-078c 205a07cd call p_disable_asm ,blank 
-078d 6800cb0b fetch 1 ,mem_mouse_asm_flag 
-078e c0008792 beq 1 ,p_drawing_optima_modify 
+0784 6802469b fetch 4 ,mem_mouse_x 
+0785 207a0000 rtn blank 
+0786 204007dc call p_data_abs_check 
+0787 58000003 setarg 0x03 
+0788 204007d2 call p_pdata_greater_than_check 
+0789 205a07ce call p_disable_asm ,blank 
+078a 245a07d0 ncall p_enable_asm ,blank 
+078b 58000002 setarg 0x02 
+078c 204007d7 call p_data_less_than_check 
+078d 205a07ce call p_disable_asm ,blank 
+078e 6800cb0b fetch 1 ,mem_mouse_asm_flag 
+078f c0008793 beq 1 ,p_drawing_optima_modify 
 
 p_drawing_optima_init:
-078f df200005 arg 5 ,loopcnt 
-0790 d8a04b0b arg mem_mouse_asm_flag ,contw 
-0791 20207ed4 branch clear_mem 
+0790 df200005 arg 5 ,loopcnt 
+0791 d8a04b0b arg mem_mouse_asm_flag ,contw 
+0792 20207ed4 branch clear_mem 
 
 p_drawing_optima_modify:
-0792 68014b0c fetch 2 ,mem_mouse_x_pre 
-0793 600111be store 2 ,mem_data_pre 
-0794 6801469b fetch 2 ,mem_mouse_x 
-0795 600111c0 store 2 ,mem_data_current 
-0796 204007a5 call p_drawing_optima_data 
-0797 680111be fetch 2 ,mem_data_pre 
-0798 60014b0c store 2 ,mem_mouse_x_pre 
-0799 680111c0 fetch 2 ,mem_data_current 
-079a 6001469b store 2 ,mem_mouse_x 
-079b 68014b0e fetch 2 ,mem_mouse_y_pre 
-079c 600111be store 2 ,mem_data_pre 
-079d 6801469d fetch 2 ,mem_mouse_y 
-079e 600111c0 store 2 ,mem_data_current 
-079f 204007a5 call p_drawing_optima_data 
-07a0 680111be fetch 2 ,mem_data_pre 
-07a1 60014b0e store 2 ,mem_mouse_y_pre 
-07a2 680111c0 fetch 2 ,mem_data_current 
-07a3 6001469d store 2 ,mem_mouse_y 
-07a4 20600000 rtn 
+0793 68014b0c fetch 2 ,mem_mouse_x_pre 
+0794 600111be store 2 ,mem_data_pre 
+0795 6801469b fetch 2 ,mem_mouse_x 
+0796 600111c0 store 2 ,mem_data_current 
+0797 204007a6 call p_drawing_optima_data 
+0798 680111be fetch 2 ,mem_data_pre 
+0799 60014b0c store 2 ,mem_mouse_x_pre 
+079a 680111c0 fetch 2 ,mem_data_current 
+079b 6001469b store 2 ,mem_mouse_x 
+079c 68014b0e fetch 2 ,mem_mouse_y_pre 
+079d 600111be store 2 ,mem_data_pre 
+079e 6801469d fetch 2 ,mem_mouse_y 
+079f 600111c0 store 2 ,mem_data_current 
+07a0 204007a6 call p_drawing_optima_data 
+07a1 680111be fetch 2 ,mem_data_pre 
+07a2 60014b0e store 2 ,mem_mouse_y_pre 
+07a3 680111c0 fetch 2 ,mem_data_current 
+07a4 6001469d store 2 ,mem_mouse_y 
+07a5 20600000 rtn 
 
 p_drawing_optima_data:
-07a5 680111be fetch 2 ,mem_data_pre 
-07a6 680911c0 fetcht 2 ,mem_data_current 
-07a7 9840fe00 iadd temp ,pdata 
-07a8 600191c2 store 3 ,mem_data_sum 
-07a9 2feffe10 isolate1 16 ,pdata 
-07aa 202087b2 branch p_data_sum_overflow ,true 
-07ab 680091c3 fetch 1 ,mem_data_sum + 1 
-07ac c07f87b9 beq 0xff ,p_data_sum_n 
-07ad 680091c2 fetch 1 ,mem_data_sum 
+07a6 680111be fetch 2 ,mem_data_pre 
+07a7 680911c0 fetcht 2 ,mem_data_current 
+07a8 9840fe00 iadd temp ,pdata 
+07a9 600191c2 store 3 ,mem_data_sum 
+07aa 2feffe10 isolate1 16 ,pdata 
+07ab 202087b3 branch p_data_sum_overflow ,true 
+07ac 680091c3 fetch 1 ,mem_data_sum + 1 
+07ad c07f87ba beq 0xff ,p_data_sum_n 
+07ae 680091c2 fetch 1 ,mem_data_sum 
 
 p_data_store_pre:
-07ae 1fe37e00 rshift pdata ,pdata 
-07af 600111be store 2 ,mem_data_pre 
-07b0 600111c0 store 2 ,mem_data_current 
-07b1 20600000 rtn 
+07af 1fe37e00 rshift pdata ,pdata 
+07b0 600111be store 2 ,mem_data_pre 
+07b1 600111c0 store 2 ,mem_data_current 
+07b2 20600000 rtn 
 
 p_data_sum_overflow:
-07b2 680091c3 fetch 1 ,mem_data_sum + 1 
-07b3 c00007b6 beq 0 ,p_data_sum_overflow_p 
-07b4 680191c2 fetch 3 ,mem_data_sum 
-07b5 202007ae branch p_data_store_pre 
+07b3 680091c3 fetch 1 ,mem_data_sum + 1 
+07b4 c00007b7 beq 0 ,p_data_sum_overflow_p 
+07b5 680191c2 fetch 3 ,mem_data_sum 
+07b6 202007af branch p_data_store_pre 
 
 p_data_sum_overflow_p:
-07b6 7011c400 jam 0 ,mem_data_sum + 2 
-07b7 680091c2 fetch 1 ,mem_data_sum 
-07b8 202007ae branch p_data_store_pre 
+07b7 7011c400 jam 0 ,mem_data_sum + 2 
+07b8 680091c2 fetch 1 ,mem_data_sum 
+07b9 202007af branch p_data_store_pre 
 
 p_data_sum_n:
-07b9 680091c2 fetch 1 ,mem_data_sum 
-07ba 204007c4 call p_pdata_get_half 
-07bb 600091be store 1 ,mem_data_pre 
-07bc 600091c0 store 1 ,mem_data_current 
-07bd 203a07c2 branch p_data_zero ,blank 
-07be 580000ff setarg 0xff 
+07ba 680091c2 fetch 1 ,mem_data_sum 
+07bb 204007c5 call p_pdata_get_half 
+07bc 600091be store 1 ,mem_data_pre 
+07bd 600091c0 store 1 ,mem_data_current 
+07be 203a07c3 branch p_data_zero ,blank 
+07bf 580000ff setarg 0xff 
 
 p_data_set_direction:
-07bf 600091bf store 1 ,mem_data_pre + 1 
-07c0 600091c1 store 1 ,mem_data_current + 1 
-07c1 20600000 rtn 
+07c0 600091bf store 1 ,mem_data_pre + 1 
+07c1 600091c1 store 1 ,mem_data_current + 1 
+07c2 20600000 rtn 
 
 p_data_zero:
-07c2 58000000 setarg 0 
-07c3 202007bf branch p_data_set_direction 
+07c3 58000000 setarg 0 
+07c4 202007c0 branch p_data_set_direction 
 
 p_pdata_get_half:
-07c4 204007c9 call p_pdata_invert 
-07c5 1fe37e00 rshift pdata ,pdata 
+07c5 204007ca call p_pdata_invert 
+07c6 1fe37e00 rshift pdata ,pdata 
 
 p_pdata_get_new_value:
-07c6 204007ca call p_rega_in_out 
-07c7 1fe67e00 sub pdata ,0 ,pdata 
-07c8 20600000 rtn 
+07c7 204007cb call p_rega_in_out 
+07c8 1fe67e00 sub pdata ,0 ,pdata 
+07c9 20600000 rtn 
 
 p_pdata_invert:
-07c9 1fe67e00 sub pdata ,0 ,pdata 
+07ca 1fe67e00 sub pdata ,0 ,pdata 
 
 p_rega_in_out:
-07ca 60008aae store 1 ,mem_rega 
-07cb 68008aae fetch 1 ,mem_rega 
-07cc 20600000 rtn 
+07cb 60008aae store 1 ,mem_rega 
+07cc 68008aae fetch 1 ,mem_rega 
+07cd 20600000 rtn 
 
 p_disable_asm:
-07cd 704b0b00 jam 0 ,mem_mouse_asm_flag 
-07ce 20600000 rtn 
+07ce 704b0b00 jam 0 ,mem_mouse_asm_flag 
+07cf 20600000 rtn 
 
 p_enable_asm:
-07cf 704b0b01 jam 1 ,mem_mouse_asm_flag 
-07d0 20600000 rtn 
+07d0 704b0b01 jam 1 ,mem_mouse_asm_flag 
+07d1 20600000 rtn 
 
 p_pdata_greater_than_check:
-07d1 9a267c00 isub rega ,null 
-07d2 24217fef nbranch disable_blank ,positive 
-07d3 9a467c00 isub regb ,null 
-07d4 24217fef nbranch disable_blank ,positive 
-07d5 20207ff1 branch enable_blank 
+07d2 9a267c00 isub rega ,null 
+07d3 24217fef nbranch disable_blank ,positive 
+07d4 9a467c00 isub regb ,null 
+07d5 24217fef nbranch disable_blank ,positive 
+07d6 20207ff1 branch enable_blank 
 
 p_data_less_than_check:
-07d6 9a267c00 isub rega ,null 
-07d7 24610000 nrtn positive 
-07d8 9a467c00 isub regb ,null 
-07d9 24610000 nrtn positive 
-07da 20207ff1 branch enable_blank 
+07d7 9a267c00 isub rega ,null 
+07d8 24610000 nrtn positive 
+07d9 9a467c00 isub regb ,null 
+07da 24610000 nrtn positive 
+07db 20207ff1 branch enable_blank 
 
 p_data_abs_check:
-07db 6801469b fetch 2 ,mem_mouse_x 
-07dc 204007e2 call p_data_abs 
-07dd 1fe22200 copy pdata ,rega 
-07de 6801469d fetch 2 ,mem_mouse_y 
-07df 204007e2 call p_data_abs 
-07e0 1fe22400 copy pdata ,regb 
-07e1 20600000 rtn 
+07dc 6801469b fetch 2 ,mem_mouse_x 
+07dd 204007e3 call p_data_abs 
+07de 1fe22200 copy pdata ,rega 
+07df 6801469d fetch 2 ,mem_mouse_y 
+07e0 204007e3 call p_data_abs 
+07e1 1fe22400 copy pdata ,regb 
+07e2 20600000 rtn 
 
 p_data_abs:
-07e2 600111c0 store 2 ,mem_data_current 
-07e3 680091c1 fetch 1 ,mem_data_current + 1 
-07e4 c07f87e8 beq 0xff ,p_data_reversal 
-07e5 680091c0 fetch 1 ,mem_data_current 
+07e3 600111c0 store 2 ,mem_data_current 
+07e4 680091c1 fetch 1 ,mem_data_current + 1 
+07e5 c07f87e9 beq 0xff ,p_data_reversal 
+07e6 680091c0 fetch 1 ,mem_data_current 
 
 p_data_abs_store:
-07e6 1fe17eff and_into 0xff ,pdata 
-07e7 20600000 rtn 
+07e7 1fe17eff and_into 0xff ,pdata 
+07e8 20600000 rtn 
 
 p_data_reversal:
-07e8 680111c0 fetch 2 ,mem_data_current 
-07e9 1fe67e00 sub pdata ,0 ,pdata 
-07ea 202007e6 branch p_data_abs_store 
+07e9 680111c0 fetch 2 ,mem_data_current 
+07ea 1fe67e00 sub pdata ,0 ,pdata 
+07eb 202007e7 branch p_data_abs_store 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch/program/patch.prog	(revision 1879)
+++ /branch/mouse_project/YJX_Project/YJX_1059/SlideSwitch/program/patch.prog	(working copy)
@@ -2826,7 +2826,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
 
