Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/eeprom.dat	(revision 785)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-92
+96
 0f
 c2
 84
@@ -59,11 +59,11 @@
 c0
 66
 03
-5f
+60
 c0
 67
 03
-3f
+40
 c0
 68
 02
@@ -71,7 +71,7 @@
 c0
 68
 83
-96
+97
 c0
 69
 82
@@ -95,11 +95,11 @@
 c0
 6f
 03
-cc
+cd
 c0
 74
 03
-00
+01
 20
 20
 13
@@ -115,11 +115,11 @@
 c0
 43
 82
-fc
+fd
 c0
 50
 83
-14
+15
 c0
 54
 80
@@ -143,7 +143,7 @@
 c0
 76
 03
-35
+36
 20
 20
 13
@@ -2471,7 +2471,7 @@
 20
 40
 03
-80
+81
 20
 40
 23
@@ -3057,6 +3057,10 @@
 c3
 22
 20
+40
+02
+8c
+20
 20
 45
 54
@@ -3103,7 +3107,7 @@
 c0
 04
 83
-08
+09
 20
 20
 4d
@@ -3203,7 +3207,7 @@
 c0
 02
 03
-21
+22
 20
 20
 19
@@ -3219,7 +3223,7 @@
 c0
 09
 03
-25
+26
 20
 20
 1c
@@ -3379,7 +3383,7 @@
 20
 40
 03
-4d
+4e
 20
 20
 45
@@ -3491,7 +3495,7 @@
 24
 21
 03
-78
+79
 6f
 e0
 c4
@@ -3499,7 +3503,7 @@
 c0
 81
 03
-70
+71
 68
 49
 48
@@ -3547,7 +3551,7 @@
 c3
 00
 03
-7a
+7b
 70
 48
 fa
@@ -3655,7 +3659,7 @@
 24
 41
 03
-94
+95
 c0
 0f
 02
@@ -3691,23 +3695,23 @@
 20
 40
 03
-9f
+a0
 20
 40
 03
-a4
+a5
 20
 40
 03
-a9
+aa
 20
 40
 03
-ae
+af
 20
 40
 03
-bb
+bc
 20
 20
 41
@@ -3719,7 +3723,7 @@
 20
 40
 03
-c8
+c9
 20
 40
 41
@@ -3739,7 +3743,7 @@
 20
 40
 03
-c8
+c9
 20
 40
 41
@@ -3759,7 +3763,7 @@
 20
 40
 03
-c8
+c9
 20
 40
 41
@@ -3803,7 +3807,7 @@
 c0
 7f
 83
-b7
+b8
 20
 20
 41
@@ -3815,7 +3819,7 @@
 20
 40
 03
-ca
+cb
 68
 48
 c9
@@ -3855,7 +3859,7 @@
 c0
 7f
 83
-c4
+c5
 20
 20
 41
@@ -3867,7 +3871,7 @@
 20
 40
 03
-ca
+cb
 68
 48
 c9
@@ -3903,7 +3907,7 @@
 20
 40
 03
-d0
+d1
 20
 20
 46
@@ -3939,7 +3943,7 @@
 20
 40
 03
-d9
+da
 20
 20
 40
@@ -3967,7 +3971,7 @@
 c0
 7f
 83
-e0
+e1
 20
 20
 40
@@ -3979,7 +3983,7 @@
 20
 40
 03
-ca
+cb
 68
 48
 c9
@@ -3988,8 +3992,8 @@
 20
 41
 95
-8d
-6c
+f0
+b2
 aa
 55
 40
@@ -5270,12 +5274,8 @@
 55
 de
 86
-07
-94
-ff
-ff
-ff
-ff
+b8
+fe
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-fb
-e9
+49
+ad
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/program.lis	(revision 785)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/output/program.lis	(working copy)
@@ -13,30 +13,30 @@
 000a c0638199 beq patch18_7 ,p_mouse_app_enter_hibernate 
 000b c064819f beq patch19_1 ,p_mouse_setgpio_hibernate 
 000c c06501b1 beq patch19_2 ,p_mouse_lpm_before_common 
-000d c066035f beq patch19_4 ,p_mouse_adc_read_start 
-000e c067033f beq patch19_6 ,p_mouse_motion 
+000d c0660360 beq patch19_4 ,p_mouse_adc_read_start 
+000e c0670340 beq patch19_6 ,p_mouse_motion 
 000f c068021a beq patch1a_0 ,p_mouse_seting_dpi 
-0010 c0688396 beq patch1a_1 ,p_mouse_check_key_gpio 
+0010 c0688397 beq patch1a_1 ,p_mouse_check_key_gpio 
 0011 c0698234 beq patch1a_3 ,p_mouse_init_sunt 
 0012 c06a024d beq patch1a_4 ,p_mouse_sensor_poweron 
 0013 c06b01c3 beq patch1a_6 ,p_mouse_priority_bb_event 
 0014 c06c8267 beq patch1b_1 ,p_mouse_bb_event_timer 
 0015 c06d02f5 beq patch1b_2 ,p_mouse_start_discovery 
-0016 c06f03cc beq patch1b_6 ,p_mouse_idle 
-0017 c0740300 beq patch1d_0 ,p_hid_rx_process 
+0016 c06f03cd beq patch1b_6 ,p_mouse_idle 
+0017 c0740301 beq patch1d_0 ,p_hid_rx_process 
 0018 2020137c branch loop 
 
 pf_patch_ext:
 0019 c0198055 beq patch26_3 ,p_adc_init_data 
 001a c01a005a beq patch26_4 ,p_enable_adc 
-001b c04382fc beq patch30_7 ,p_ui_timer_check 
-001c c0508314 beq patch34_1 ,p_le_slave_match 
+001b c04382fd beq patch30_7 ,p_ui_timer_check 
+001c c0508315 beq patch34_1 ,p_le_slave_match 
 001d c0548090 beq patch35_1 ,p_le_enable 
 001e c06e8113 beq patch3b_5 ,p_g24_dispatch 
 001f c0710123 beq patch3c_2 ,p_g24_pair_dispatch 
 0020 c074812a beq patch3d_1 ,p_g24_reconn_dispatch 
 0021 c0750144 beq patch3d_2 ,p_g24_transmit_no_interrupt 
-0022 c0760335 beq patch3d_4 ,p_g24_lpm_wait 
+0022 c0760336 beq patch3d_4 ,p_g24_lpm_wait 
 0023 2020137c branch loop 
 
 p_soft_reset:
@@ -788,7 +788,7 @@
 
 p_mouse_bb_event_timer:
 0267 20403e9b call mouse_adc_read 
-0268 20400380 call p_mouse_low_voltage_led_timer 
+0268 20400381 call p_mouse_low_voltage_led_timer 
 0269 2040232b call g24_pair_timeout_timer 
 026a 20402556 call g24_reconn_timeout_timer 
 026b 204047cd call mouse_24g_long_sleep_param_update_timer 
@@ -1011,301 +1011,302 @@
 02f8 6fe1478c fetch 2 ,mem_ui_state_map 
 02f9 2feffe07 isolate1 ui_state_bt_reconnect ,pdata 
 02fa 2040c322 call mouse_cancel_reconnect ,true 
-02fb 20204554 branch mouse_start_discovery + 1 
+02fb 2040028c call p_mouse_discovery_multi_led_blink 
+02fc 20204554 branch mouse_start_discovery + 1 
 
 p_ui_timer_check:
-02fc 6fe0cbe2 fetch 1 ,mem_power_on_flag 
-02fd 245a7861 ncall ui_timer_init ,blank 
-02fe 704be200 jam 0 ,mem_power_on_flag 
-02ff 20207851 branch ui_timer_check + 1 
+02fd 6fe0cbe2 fetch 1 ,mem_power_on_flag 
+02fe 245a7861 ncall ui_timer_init ,blank 
+02ff 704be200 jam 0 ,mem_power_on_flag 
+0300 20207851 branch ui_timer_check + 1 
 
 p_hid_rx_process:
-0300 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
-0301 1fe20c00 copy pdata ,contr 
-0302 efe08006 ifetch 1 ,contr 
-0303 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
-0304 1fe1040f and pdata ,0x0f ,temp 
-0305 1ff1fe00 rshift4 pdata ,pdata 
-0306 c0048308 beq hid_type_set_idle ,p_hid_rx_process_handshake 
-0307 20204d93 branch hid_rx_process + 7 
+0301 6fe10315 fetch 2 ,mem_l2cap_payload_ptr 
+0302 1fe20c00 copy pdata ,contr 
+0303 efe08006 ifetch 1 ,contr 
+0304 67e0c5f5 store 1 ,mem_l2cap_rcv_hidtype 
+0305 1fe1040f and pdata ,0x0f ,temp 
+0306 1ff1fe00 rshift4 pdata ,pdata 
+0307 c0048309 beq hid_type_set_idle ,p_hid_rx_process_handshake 
+0308 20204d93 branch hid_rx_process + 7 
 
 p_hid_rx_process_handshake:
-0308 da200001 arg 1 ,rega 
-0309 20404dc0 call hid_malloc_tx_buff 
-030a 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
-030b e7e10005 istore 2 ,contw 
-030c 58000000 setarg 0 
-030d e7e08005 istore 1 ,contw 
-030e 70095001 jam 1 ,mem_ui_data_txbuff_length 
-030f 6fe0c4e2 fetch 1 ,mem_hid_control_state 
-0310 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
-0311 67e0c4e2 store 1 ,mem_hid_control_state 
-0312 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
-0313 20207871 branch ui_ipc_send_event 
+0309 da200001 arg 1 ,rega 
+030a 20404dc0 call hid_malloc_tx_buff 
+030b 6fe144dc fetch 2 ,mem_hid_ctrl_remote_cid 
+030c e7e10005 istore 2 ,contw 
+030d 58000000 setarg 0 
+030e e7e08005 istore 1 ,contw 
+030f 70095001 jam 1 ,mem_ui_data_txbuff_length 
+0310 6fe0c4e2 fetch 1 ,mem_hid_control_state 
+0311 79207e06 set1 l2cap_channel_hid_handshake_done ,pdata 
+0312 67e0c4e2 store 1 ,mem_hid_control_state 
+0313 70095b12 jam bt_evt_hid_handshake ,mem_fifo_temp 
+0314 20207871 branch ui_ipc_send_event 
 
 p_le_slave_match:
-0314 6fe0c3dd fetch 1 ,mem_le_md_count 
-0315 1fe0fe01 pincrease 1 
-0316 67e0c3dd store 1 ,mem_le_md_count 
-0317 c006165a beq le_md_max_count ,le_slave_cont 
-0318 2040191b call le_acknowledge 
-0319 2040196a call le_prepare_tx 
-031a 6fe082bd fetch 1 ,mem_le_tx_phy 
-031b 2040168b call le_enable_phy_by_pdata 
-031c 20401838 call le_transmit 
-031d 20201655 branch le_slave_match + 10 
+0315 6fe0c3dd fetch 1 ,mem_le_md_count 
+0316 1fe0fe01 pincrease 1 
+0317 67e0c3dd store 1 ,mem_le_md_count 
+0318 c006165a beq le_md_max_count ,le_slave_cont 
+0319 2040191b call le_acknowledge 
+031a 2040196a call le_prepare_tx 
+031b 6fe082bd fetch 1 ,mem_le_tx_phy 
+031c 2040168b call le_enable_phy_by_pdata 
+031d 20401838 call le_transmit 
+031e 20201655 branch le_slave_match + 10 
 
 p_le_parse_l2cap:
-031e efe10006 ifetch 2 ,contr 
-031f c0020321 beq le_l2cap_cid_att ,p_le_parse_att 
-0320 202019e4 branch le_parse_l2cap + 10 
+031f efe10006 ifetch 2 ,contr 
+0320 c0020322 beq le_l2cap_cid_att ,p_le_parse_att 
+0321 202019e4 branch le_parse_l2cap + 10 
 
 p_le_parse_att:
-0321 efe18006 ifetch 3 ,contr 
-0322 67e1c436 store 3 ,mem_le_att_opcode 
-0323 c0090325 beq attop_write_request ,p_le_parse_att_write_request 
-0324 20201cd3 branch le_parse_att + 2 
+0322 efe18006 ifetch 3 ,contr 
+0323 67e1c436 store 3 ,mem_le_att_opcode 
+0324 c0090326 beq attop_write_request ,p_le_parse_att_write_request 
+0325 20201cd3 branch le_parse_att + 2 
 
 p_le_parse_att_write_request:
-0325 18c22200 copy contr ,rega 
-0326 6fe143d4 fetch 2 ,mem_le_l2cap_size 
-0327 1fe0a5fd add pdata ,-3 ,regb 
-0328 20401a25 call le_writeatt_cb 
-0329 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
-032a c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
-032b 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
-032c 203a1e73 branch le_send_att_write_response_check_auth ,blank 
-032d 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
-032e c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
-032f 5800001a setarg 0x001a 
-0330 68494437 fetcht 2 ,mem_le_att_handle 
-0331 98467c00 isub temp ,null 
-0332 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
-0333 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
-0334 20201ec9 branch le_send_att_error_response 
+0326 18c22200 copy contr ,rega 
+0327 6fe143d4 fetch 2 ,mem_le_l2cap_size 
+0328 1fe0a5fd add pdata ,-3 ,regb 
+0329 20401a25 call le_writeatt_cb 
+032a 6fe0cac1 fetch 1 ,mem_mouse_bluetooth_fast_conn_flag 
+032b c07f9e73 beq 0xff ,le_send_att_write_response_check_auth 
+032c 6fe0cac7 fetch 1 ,mem_mouse_le_reconnect_flag 
+032d 203a1e73 branch le_send_att_write_response_check_auth ,blank 
+032e 6fe0cb75 fetch 1 ,mem_le_connect_status_flag 
+032f c2809e73 bbit1 ll_start_enc_flag ,le_send_att_write_response_check_auth 
+0330 5800001a setarg 0x001a 
+0331 68494437 fetcht 2 ,mem_le_att_handle 
+0332 98467c00 isub temp ,null 
+0333 24229e73 nbranch le_send_att_write_response_check_auth ,zero 
+0334 7002d805 jam att_err_insufficient_authentication ,mem_le_err_code 
+0335 20201ec9 branch le_send_att_error_response 
 
 p_g24_lpm_wait:
-0335 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0336 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
-0337 78347c00 enable user 
-0338 20401465 call lpo_calibration 
-0339 6fe1c174 fetch 3 ,mem_clks_per_lpo 
-033a 203a7e56 branch disable_user ,blank 
-033b 6fe0c099 fetch 1 ,mem_lpm_mode 
-033c 203a7e56 branch disable_user ,blank 
+0336 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0337 245a26e1 ncall g24_transmit_by_interrupt_enable ,blank 
+0338 78347c00 enable user 
+0339 20401465 call lpo_calibration 
+033a 6fe1c174 fetch 3 ,mem_clks_per_lpo 
+033b 203a7e56 branch disable_user ,blank 
+033c 6fe0c099 fetch 1 ,mem_lpm_mode 
+033d 203a7e56 branch disable_user ,blank 
 
 p_g24_setgpio_lpm_before:
-033d 6fe1489f fetch 2 ,mem_cb_24g_lpm_before 
-033e 20207e05 branch callback_func 
+033e 6fe1489f fetch 2 ,mem_cb_24g_lpm_before 
+033f 20207e05 branch callback_func 
 
 p_mouse_motion:
-033f 78547c00 disable user 
-0340 58000000 setarg 0 
-0341 67e348d1 store 6 ,mem_mouse_x 
-0342 20404240 call mouse_check_sensor_data 
-0343 2040021c call p_mouse_dpi_config 
-0344 20403f7e call mouse_zwheel 
-0345 20403f83 call mouse_t_zwheel 
-0346 204040dc call mouse_key 
-0347 6fe0c8d0 fetch 1 ,mem_mouse_key 
-0348 1fe17e1f and_into 0x1f ,pdata 
-0349 67e0c8d0 store 1 ,mem_mouse_key 
-034a 24344728 nbranch mouse_drawing_optima_init ,user 
-034b 2040034d call p_mouse_drawing_optima 
-034c 20204544 branch mouse_no_data_timer_init 
+0340 78547c00 disable user 
+0341 58000000 setarg 0 
+0342 67e348d1 store 6 ,mem_mouse_x 
+0343 20404240 call mouse_check_sensor_data 
+0344 2040021c call p_mouse_dpi_config 
+0345 20403f7e call mouse_zwheel 
+0346 20403f83 call mouse_t_zwheel 
+0347 204040dc call mouse_key 
+0348 6fe0c8d0 fetch 1 ,mem_mouse_key 
+0349 1fe17e1f and_into 0x1f ,pdata 
+034a 67e0c8d0 store 1 ,mem_mouse_key 
+034b 24344728 nbranch mouse_drawing_optima_init ,user 
+034c 2040034e call p_mouse_drawing_optima 
+034d 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_drawing_optima:
-034d 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-034e c41c0000 rtnbit0 mouse_enable_smoother 
-034f 6fe0c927 fetch 1 ,mem_config_sensor_type 
-0350 c1018000 rtneq p3212 
-0351 c1000000 rtneq p3205 
-0352 6fe248d1 fetch 4 ,mem_mouse_x 
-0353 207a0000 rtn blank 
-0354 204047bd call mouse_data_abs_check 
-0355 58000006 setarg 0x06 
-0356 204047b3 call mouse_pdata_greater_than_check 
-0357 205a47af call mouse_disable_asm ,blank 
-0358 245a47b1 ncall mouse_enable_asm ,blank 
-0359 58000004 setarg 0x04 
-035a 204047b8 call mouse_data_less_than_check 
-035b 205a47af call mouse_disable_asm ,blank 
-035c 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
-035d c000c72d beq 1 ,mouse_drawing_optima_modify 
-035e 20204728 branch mouse_drawing_optima_init 
+034e 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+034f c41c0000 rtnbit0 mouse_enable_smoother 
+0350 6fe0c927 fetch 1 ,mem_config_sensor_type 
+0351 c1018000 rtneq p3212 
+0352 c1000000 rtneq p3205 
+0353 6fe248d1 fetch 4 ,mem_mouse_x 
+0354 207a0000 rtn blank 
+0355 204047bd call mouse_data_abs_check 
+0356 58000006 setarg 0x06 
+0357 204047b3 call mouse_pdata_greater_than_check 
+0358 205a47af call mouse_disable_asm ,blank 
+0359 245a47b1 ncall mouse_enable_asm ,blank 
+035a 58000004 setarg 0x04 
+035b 204047b8 call mouse_data_less_than_check 
+035c 205a47af call mouse_disable_asm ,blank 
+035d 6fe0c9c9 fetch 1 ,mem_mouse_asm_flag 
+035e c000c72d beq 1 ,mouse_drawing_optima_modify 
+035f 20204728 branch mouse_drawing_optima_init 
 
 p_mouse_adc_read_start:
-035f 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
-0360 247a0000 nrtn blank 
-0361 2040005a call p_enable_adc 
-0362 7048f600 jam 0 ,mem_adc_read_timer 
-0363 20406125 call vdd_calculate_by_mode 
-0364 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
-0365 d8400012 arg 0x0012 ,temp 
-0366 98467c00 isub temp ,null 
-0367 24210378 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
-0368 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
-0369 c0810370 bne adc_config_gpio ,p_mouse_adc_data_process 
-036a 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
-036b 184ffe08 mul32 temp ,8 ,pdata 
-036c 1fe6fc0a div pdata ,10 
-036d 20407dec call get_div_result 
-036e 9840fe00 iadd temp ,pdata 
-036f 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0360 6fe0cbaa fetch 1 ,mem_24g_device_led_status 
+0361 247a0000 nrtn blank 
+0362 2040005a call p_enable_adc 
+0363 7048f600 jam 0 ,mem_adc_read_timer 
+0364 20406125 call vdd_calculate_by_mode 
+0365 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
+0366 d8400012 arg 0x0012 ,temp 
+0367 98467c00 isub temp ,null 
+0368 24210379 nbranch p_mouse_adc_gpio_connect_gnd ,positive 
+0369 6fe0c4a0 fetch 1 ,mem_adc_config_flag 
+036a c0810371 bne adc_config_gpio ,p_mouse_adc_data_process 
+036b 684948e9 fetcht 2 ,mem_mouse_vdd_now_vol 
+036c 184ffe08 mul32 temp ,8 ,pdata 
+036d 1fe6fc0a div pdata ,10 
+036e 20407dec call get_div_result 
+036f 9840fe00 iadd temp ,pdata 
+0370 67e148e9 store 2 ,mem_mouse_vdd_now_vol 
 
 p_mouse_adc_data_process:
-0370 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
-0371 20403ed8 call mouse_adc_bat_percent_lowpower_out 
-0372 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
-0373 c2813f1a bbit1 2 ,mouse_adc_button_press 
-0374 c280bf1c bbit1 1 ,mouse_power_down 
-0375 c300037a bbit0 0 ,p_mouse_adc_no_low_voltage 
-0376 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
-0377 20203ece branch mouse_adc_low_voltage 
+0371 da2048e3 arg mem_mouse_vdd_calculate_set ,rega 
+0372 20403ed8 call mouse_adc_bat_percent_lowpower_out 
+0373 6fe0c4a4 fetch 1 ,mem_adc_power_flag 
+0374 c2813f1a bbit1 2 ,mouse_adc_button_press 
+0375 c280bf1c bbit1 1 ,mouse_power_down 
+0376 c300037b bbit0 0 ,p_mouse_adc_no_low_voltage 
+0377 7048fa01 jam 1 ,mem_mouse_adc_last_low_voltage_flag 
+0378 20203ece branch mouse_adc_low_voltage 
 
 p_mouse_adc_gpio_connect_gnd:
-0378 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
-0379 20403f54 call mouse_gpio_config_input_pd 
+0379 6848c8fc fetcht 1 ,mem_adc_channel_gpio 
+037a 20403f54 call mouse_gpio_config_input_pd 
 
 p_mouse_adc_no_low_voltage:
-037a d8e00004 arg mouse_low_voltage_flag ,queue 
-037b 204046f4 call mouse_disable_function_flag 
-037c 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
-037d 207a0000 rtn blank 
-037e 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
-037f 202002a5 branch p_mouse_multi_led_off 
+037b d8e00004 arg mouse_low_voltage_flag ,queue 
+037c 204046f4 call mouse_disable_function_flag 
+037d 6fe0c8fa fetch 1 ,mem_mouse_adc_last_low_voltage_flag 
+037e 207a0000 rtn blank 
+037f 7048fa00 jam 0 ,mem_mouse_adc_last_low_voltage_flag 
+0380 202002a5 branch p_mouse_multi_led_off 
 
 p_mouse_low_voltage_led_timer:
-0380 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
-0381 247a0000 nrtn blank 
-0382 6fe14883 fetch 2 ,mem_24g_pair_timeout 
-0383 247a0000 nrtn blank 
-0384 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
-0385 247a0000 nrtn blank 
-0386 20404904 call mouse_check_dpi_blink 
-0387 20740000 rtn user 
-0388 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0389 c4108000 rtnbit0 mouse_enable_low_voltage_led 
-038a c4020000 rtnbit0 mouse_low_voltage_flag 
-038b c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
-038c 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
-038d 1fe0fe01 increase 1 ,pdata 
-038e 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
-038f 1fe67c32 sub pdata ,50 ,null 
-0390 24410394 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
-0391 c00f02a0 beq 30 ,p_mouse_multi_led_on 
-0392 c01382a5 beq 39 ,p_mouse_multi_led_off 
-0393 20600000 rtn 
+0381 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+0382 247a0000 nrtn blank 
+0383 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+0384 247a0000 nrtn blank 
+0385 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+0386 247a0000 nrtn blank 
+0387 20404904 call mouse_check_dpi_blink 
+0388 20740000 rtn user 
+0389 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+038a c4108000 rtnbit0 mouse_enable_low_voltage_led 
+038b c4020000 rtnbit0 mouse_low_voltage_flag 
+038c c291c97c bbit1 mouse_enable_low_voltage_led_blink_n_second ,mouse_low_voltage_led_blink_new_data 
+038d 6fe0c8f8 fetch 1 ,mem_adc_low_volatage_led_timer_count 
+038e 1fe0fe01 increase 1 ,pdata 
+038f 67e0c8f8 store 1 ,mem_adc_low_volatage_led_timer_count 
+0390 1fe67c32 sub pdata ,50 ,null 
+0391 24410395 ncall p_mouse_adc_low_volatage_led_timer_count_clean ,positive 
+0392 c00f02a0 beq 30 ,p_mouse_multi_led_on 
+0393 c01382a5 beq 39 ,p_mouse_multi_led_off 
+0394 20600000 rtn 
 
 p_mouse_adc_low_volatage_led_timer_count_clean:
-0394 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
-0395 202002a5 branch p_mouse_multi_led_off 
+0395 7048f801 jam 1 ,mem_adc_low_volatage_led_timer_count 
+0396 202002a5 branch p_mouse_multi_led_off 
 
 p_mouse_check_key_gpio:
-0396 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0397 245a4121 ncall mouse_check_key_gpio_once ,blank 
-0398 da200000 arg 0 ,rega 
-0399 2040039f call p_mouse_check_lkey_gpio 
-039a 204003a4 call p_mouse_check_rkey_gpio 
-039b 204003a9 call p_mouse_check_mkey_gpio 
-039c 204003ae call p_mouse_check_bkkey_gpio 
-039d 204003bb call p_mouse_check_fwkey_gpio 
-039e 2020411e branch mouse_check_key_gpio_next 
+0397 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0398 245a4121 ncall mouse_check_key_gpio_once ,blank 
+0399 da200000 arg 0 ,rega 
+039a 204003a0 call p_mouse_check_lkey_gpio 
+039b 204003a5 call p_mouse_check_rkey_gpio 
+039c 204003aa call p_mouse_check_mkey_gpio 
+039d 204003af call p_mouse_check_bkkey_gpio 
+039e 204003bc call p_mouse_check_fwkey_gpio 
+039f 2020411e branch mouse_check_key_gpio_next 
 
 p_mouse_check_lkey_gpio:
-039f 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-03a0 204003c8 call p_mouse_gpio_config_output_high 
-03a1 20404124 call mouse_check_lkey_gpio 
-03a2 6848c918 fetcht 1 ,mem_lbutton_gpio 
-03a3 20203f56 branch mouse_gpio_config_input_pu 
+03a0 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+03a1 204003c9 call p_mouse_gpio_config_output_high 
+03a2 20404124 call mouse_check_lkey_gpio 
+03a3 6848c918 fetcht 1 ,mem_lbutton_gpio 
+03a4 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-03a4 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-03a5 204003c8 call p_mouse_gpio_config_output_high 
-03a6 2040412a call mouse_check_rkey_gpio 
-03a7 6848c919 fetcht 1 ,mem_rbutton_gpio 
-03a8 20203f56 branch mouse_gpio_config_input_pu 
+03a5 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+03a6 204003c9 call p_mouse_gpio_config_output_high 
+03a7 2040412a call mouse_check_rkey_gpio 
+03a8 6848c919 fetcht 1 ,mem_rbutton_gpio 
+03a9 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-03a9 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-03aa 204003c8 call p_mouse_gpio_config_output_high 
-03ab 20404130 call mouse_check_mkey_gpio 
-03ac 6848c91a fetcht 1 ,mem_mbutton_gpio 
-03ad 20203f56 branch mouse_gpio_config_input_pu 
+03aa 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+03ab 204003c9 call p_mouse_gpio_config_output_high 
+03ac 20404130 call mouse_check_mkey_gpio 
+03ad 6848c91a fetcht 1 ,mem_mbutton_gpio 
+03ae 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-03ae 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03af c17f8000 rtneq gpio_disable 
-03b0 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-03b1 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-03b2 1fe22600 copy pdata ,regc 
-03b3 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03b4 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03b5 c07f83b7 beq gpio_disable ,p_mouse_3io6key_bk_check 
-03b6 2020413e branch mouse_check_bkkey_gpio_next 
+03af 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03b0 c17f8000 rtneq gpio_disable 
+03b1 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+03b2 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+03b3 1fe22600 copy pdata ,regc 
+03b4 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03b5 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03b6 c07f83b8 beq gpio_disable ,p_mouse_3io6key_bk_check 
+03b7 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-03b7 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-03b8 204003ca call p_mouse_gpio_config_output_low 
-03b9 6848c90d fetcht 1 ,mem_bk_button_gpio 
-03ba 2020414b branch mouse_3io6key_bk_check 
+03b8 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+03b9 204003cb call p_mouse_gpio_config_output_low 
+03ba 6848c90d fetcht 1 ,mem_bk_button_gpio 
+03bb 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-03bb 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03bc c17f8000 rtneq gpio_disable 
-03bd 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-03be 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-03bf 1fe22600 copy pdata ,regc 
-03c0 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03c1 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03c2 c07f83c4 beq gpio_disable ,p_mouse_3io6key_fw_check 
-03c3 20204157 branch mouse_check_fwkey_gpio_next 
+03bc 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03bd c17f8000 rtneq gpio_disable 
+03be 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+03bf 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+03c0 1fe22600 copy pdata ,regc 
+03c1 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03c2 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03c3 c07f83c5 beq gpio_disable ,p_mouse_3io6key_fw_check 
+03c4 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-03c4 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-03c5 204003ca call p_mouse_gpio_config_output_low 
-03c6 6848c90e fetcht 1 ,mem_fw_button_gpio 
-03c7 20204164 branch mouse_3io6key_fw_check 
+03c5 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+03c6 204003cb call p_mouse_gpio_config_output_low 
+03c7 6848c90e fetcht 1 ,mem_fw_button_gpio 
+03c8 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-03c8 d840003f arg gpcfg_output_high ,temp 
-03c9 20206093 branch gpio_config_function_int 
+03c9 d840003f arg gpcfg_output_high ,temp 
+03ca 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-03ca d840003e arg gpcfg_output_low ,temp 
-03cb 20206093 branch gpio_config_function_int 
+03cb d840003e arg gpcfg_output_low ,temp 
+03cc 20206093 branch gpio_config_function_int 
 
 p_mouse_idle:
-03cc 20404990 call mouse_low_voltage_led_no_enter_lpm 
-03cd 20407936 call ui_check_paring_button 
-03ce 204003d0 call p_mouse_dpi_check 
-03cf 2020464f branch mouse_idle + 4 
+03cd 20404990 call mouse_low_voltage_led_no_enter_lpm 
+03ce 20407936 call ui_check_paring_button 
+03cf 204003d1 call p_mouse_dpi_check 
+03d0 2020464f branch mouse_idle + 4 
 
 p_mouse_dpi_check:
-03d0 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03d1 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
-03d2 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03d3 c17f8000 rtneq gpio_disable 
-03d4 da200000 arg 0 ,rega 
-03d5 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
-03d6 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03d7 204003d9 call p_mouse_dpi_key_check 
-03d8 2020402f branch mouse_dpi_check_next 
+03d1 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03d2 c2974036 bbit1 mouse_enable_dpi_key_connect_adc ,mouse_dpi_check_connect_adc 
+03d3 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03d4 c17f8000 rtneq gpio_disable 
+03d5 da200000 arg 0 ,rega 
+03d6 704b9605 jam mouse_dpi_key ,mem_mouse_key_temp 
+03d7 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03d8 204003da call p_mouse_dpi_key_check 
+03d9 2020402f branch mouse_dpi_check_next 
 
 p_mouse_dpi_key_check:
-03d9 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-03da c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
-03db 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
-03dc 1fe22600 copy pdata ,regc 
-03dd 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-03de c07f83e0 beq gpio_disable ,p_mouse_3io6key_dpi_check 
-03df 2020403f branch mouse_dpi_key_check_next 
+03da 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+03db c2964048 bbit1 mouse_enable_dpi_key_connect_gnd ,mouse_dpi_key_connect_gnd 
+03dc 6fe0cb93 fetch 1 ,mem_mouse_dpikey_press_status 
+03dd 1fe22600 copy pdata ,regc 
+03de 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+03df c07f83e1 beq gpio_disable ,p_mouse_3io6key_dpi_check 
+03e0 2020403f branch mouse_dpi_key_check_next 
 
 p_mouse_3io6key_dpi_check:
-03e0 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
-03e1 204003ca call p_mouse_gpio_config_output_low 
-03e2 6848c90f fetcht 1 ,mem_dpi_button_gpio 
-03e3 20204195 branch mouse_3io6key_check 
+03e1 6fe0c90f fetch 1 ,mem_dpi_button_gpio 
+03e2 204003cb call p_mouse_gpio_config_output_low 
+03e3 6848c90f fetcht 1 ,mem_dpi_button_gpio 
+03e4 20204195 branch mouse_3io6key_check 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/program/patch.prog	(revision 785)
+++ /YC1308AC/branch/mouse_project/SA_Project/SA9538_2.4G_connect_first/program/patch.prog	(working copy)
@@ -1063,6 +1063,7 @@
 	fetch 2,mem_ui_state_map
 	isolate1 UI_STATE_BT_RECONNECT,pdata
 	call mouse_cancel_reconnect,true
+	call p_mouse_discovery_multi_led_blink
 	branch mouse_start_discovery+1
 
 
