Index: output/eeprom.dat
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M_High_Report/output/eeprom.dat	(revision 500)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M_High_Report/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-56
+4e
 06
 c2
 84
@@ -39,19 +39,19 @@
 c0
 67
 00
-b1
+af
 c0
 68
 00
-cb
+c9
 c0
 68
 81
-5d
+5b
 c0
 69
 81
-09
+07
 c0
 6b
 00
@@ -59,7 +59,7 @@
 c0
 6c
 80
-dc
+da
 20
 20
 13
@@ -67,7 +67,7 @@
 c0
 75
 01
-22
+20
 20
 20
 13
@@ -579,7 +579,7 @@
 20
 40
 00
-ed
+eb
 20
 20
 3e
@@ -704,14 +704,6 @@
 20
 48
 4e
-68
-48
-c9
-20
-20
-20
-3f
-56
 78
 54
 7c
@@ -730,8 +722,8 @@
 40
 20
 40
-00
-af
+40
+8e
 20
 40
 3f
@@ -759,7 +751,7 @@
 24
 34
 00
-c0
+be
 20
 40
 47
@@ -767,7 +759,7 @@
 20
 40
 00
-c3
+c1
 20
 20
 45
@@ -823,7 +815,7 @@
 20
 40
 00
-ce
+cc
 20
 20
 40
@@ -875,7 +867,7 @@
 20
 3a
 00
-f4
+f2
 67
 e0
 cb
@@ -911,7 +903,7 @@
 20
 40
 00
-f1
+ef
 20
 20
 44
@@ -947,7 +939,7 @@
 da
 40
 00
-ed
+eb
 20
 20
 31
@@ -975,7 +967,7 @@
 da
 40
 00
-f4
+f2
 20
 20
 31
@@ -1031,11 +1023,11 @@
 20
 41
 01
-03
+01
 24
 41
 01
-07
+05
 20
 20
 48
@@ -1083,7 +1075,7 @@
 c0
 18
 01
-13
+11
 c0
 18
 c2
@@ -1103,7 +1095,7 @@
 20
 20
 01
-0c
+0a
 6f
 e0
 c9
@@ -1111,7 +1103,7 @@
 c0
 2d
 01
-1c
+1a
 c0
 6c
 41
@@ -1139,7 +1131,7 @@
 20
 20
 01
-0c
+0a
 70
 49
 27
@@ -1175,7 +1167,7 @@
 20
 40
 01
-45
+43
 20
 40
 26
@@ -1231,7 +1223,7 @@
 20
 5a
 01
-37
+35
 6f
 e0
 c8
@@ -1303,7 +1295,7 @@
 20
 20
 01
-24
+22
 70
 48
 a6
@@ -1331,11 +1323,11 @@
 24
 2c
 01
-54
+52
 24
 37
 81
-54
+52
 20
 40
 26
@@ -1343,7 +1335,7 @@
 20
 40
 01
-50
+4e
 20
 20
 26
@@ -1355,7 +1347,7 @@
 24
 5a
 01
-0b
+09
 70
 4b
 e1
@@ -1399,7 +1391,7 @@
 20
 20
 01
-46
+44
 6f
 e0
 cb
@@ -1415,23 +1407,23 @@
 20
 40
 01
-68
+66
 20
 40
 01
-6d
+6b
 20
 40
 01
-72
+70
 20
 40
 01
-77
+75
 20
 40
 01
-84
+82
 20
 40
 41
@@ -1451,7 +1443,7 @@
 20
 40
 01
-91
+8f
 20
 40
 41
@@ -1471,7 +1463,7 @@
 20
 40
 01
-91
+8f
 20
 40
 41
@@ -1491,7 +1483,7 @@
 20
 40
 01
-91
+8f
 20
 40
 41
@@ -1535,7 +1527,7 @@
 c0
 7f
 81
-80
+7e
 20
 20
 41
@@ -1547,7 +1539,7 @@
 20
 40
 01
-93
+91
 68
 48
 c9
@@ -1587,7 +1579,7 @@
 c0
 7f
 81
-8d
+8b
 20
 20
 41
@@ -1599,7 +1591,7 @@
 20
 40
 01
-93
+91
 68
 48
 c9
@@ -1624,8 +1616,8 @@
 20
 60
 93
-e5
-8a
+ef
+83
 aa
 55
 40
@@ -2811,8 +2803,8 @@
 e8
 41
 01
-a0
-9a
+94
+a7
 ff
 ff
 ff
@@ -8188,5 +8180,13 @@
 ff
 ff
 ff
-6f
-82
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+39
+81
Index: output/program.lis
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M_High_Report/output/program.lis	(revision 500)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M_High_Report/output/program.lis	(working copy)
@@ -8,16 +8,16 @@
 0005 c0618049 beq patch18_3 ,p_mouse_start_work 
 0006 c0648081 beq patch19_1 ,p_mouse_setgpio_hibernate 
 0007 c0650091 beq patch19_2 ,p_mouse_lpm_before_common 
-0008 c06700b1 beq patch19_6 ,p_mouse_motion 
-0009 c06800cb beq patch1a_0 ,p_mouse_seting_dpi 
-000a c068815d beq patch1a_1 ,p_mouse_check_key_gpio 
-000b c0698109 beq patch1a_3 ,p_mouse_init_sunt 
+0008 c06700af beq patch19_6 ,p_mouse_motion 
+0009 c06800c9 beq patch1a_0 ,p_mouse_seting_dpi 
+000a c068815b beq patch1a_1 ,p_mouse_check_key_gpio 
+000b c0698107 beq patch1a_3 ,p_mouse_init_sunt 
 000c c06b00a7 beq patch1a_6 ,p_mouse_priority_bb_event 
-000d c06c80dc beq patch1b_1 ,p_mouse_bb_event_timer 
+000d c06c80da beq patch1b_1 ,p_mouse_bb_event_timer 
 000e 2020137c branch loop 
 
 pf_patch_ext:
-000f c0750122 beq patch3d_2 ,p_g24_transmit_dispatch 
+000f c0750120 beq patch3d_2 ,p_g24_transmit_dispatch 
 0010 2020137c branch loop 
 
 p_soft_reset:
@@ -185,7 +185,7 @@
 008c 6fe0c920 fetch 1 ,mem_mouse_sensor_sdio_gpio 
 008d d840003f arg gpcfg_output_high ,temp 
 008e 20406093 call gpio_config_function_int 
-008f 204000ed call p_mouse_logo_led_on_timeout 
+008f 204000eb call p_mouse_logo_led_on_timeout 
 0090 20203e36 branch mouse_setgpio_hibernate + 3 
 
 p_mouse_lpm_before_common:
@@ -224,311 +224,307 @@
 00ad 204048c6 call mouse_device_poweron_timer_init 
 00ae 2020484e branch mouse_24g_attempt_success 
 
-p_mouse_spi_sdio_gpio_inputup:
-00af 6848c920 fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-00b0 20203f56 branch mouse_gpio_config_input_pu 
-
 p_mouse_motion:
-00b1 78547c00 disable user 
-00b2 58000000 setarg 0 
-00b3 67e348d1 store 6 ,mem_mouse_x 
-00b4 20404240 call mouse_check_sensor_data 
-00b5 204000af call p_mouse_spi_sdio_gpio_inputup 
-00b6 20403f7e call mouse_zwheel 
-00b7 20403f83 call mouse_t_zwheel 
-00b8 204040dc call mouse_key 
-00b9 6fe0c8d0 fetch 1 ,mem_mouse_key 
-00ba 1fe17e1f and_into 0x1f ,pdata 
-00bb 67e0c8d0 store 1 ,mem_mouse_key 
-00bc 243400c0 nbranch p_mouse_motion_nodata ,user 
-00bd 2040471a call mouse_drawing_optima 
-00be 204000c3 call p_mouse_logo_led_on_check 
-00bf 20204544 branch mouse_no_data_timer_init 
+00af 78547c00 disable user 
+00b0 58000000 setarg 0 
+00b1 67e348d1 store 6 ,mem_mouse_x 
+00b2 20404240 call mouse_check_sensor_data 
+00b3 2040408e call mouse_dpi_config 
+00b4 20403f7e call mouse_zwheel 
+00b5 20403f83 call mouse_t_zwheel 
+00b6 204040dc call mouse_key 
+00b7 6fe0c8d0 fetch 1 ,mem_mouse_key 
+00b8 1fe17e1f and_into 0x1f ,pdata 
+00b9 67e0c8d0 store 1 ,mem_mouse_key 
+00ba 243400be nbranch p_mouse_motion_nodata ,user 
+00bb 2040471a call mouse_drawing_optima 
+00bc 204000c1 call p_mouse_logo_led_on_check 
+00bd 20204544 branch mouse_no_data_timer_init 
 
 p_mouse_motion_nodata:
-00c0 20404728 call mouse_drawing_optima_init 
-00c1 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
-00c2 20600000 rtn 
+00be 20404728 call mouse_drawing_optima_init 
+00bf 704be400 jam 0 ,mem_mouse_logo_led_on_check_count 
+00c0 20600000 rtn 
 
 p_mouse_logo_led_on_check:
-00c3 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
-00c4 1fe0fe01 increase 1 ,pdata 
-00c5 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
-00c6 1fe67c08 sub pdata ,low_voltage_led_count ,null 
-00c7 20610000 rtn positive 
+00c1 6fe0cbe4 fetch 1 ,mem_mouse_logo_led_on_check_count 
+00c2 1fe0fe01 increase 1 ,pdata 
+00c3 67e0cbe4 store 1 ,mem_mouse_logo_led_on_check_count 
+00c4 1fe67c08 sub pdata ,low_voltage_led_count ,null 
+00c5 20610000 rtn positive 
 
 p_mouse_logo_led_on:
-00c8 58000258 setarg 0x0258 
-00c9 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00ca 20600000 rtn 
+00c6 58000258 setarg 0x0258 
+00c7 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00c8 20600000 rtn 
 
 p_mouse_seting_dpi:
-00cb 2040408f call mouse_setting_dpi_4_level 
-00cc 204000ce call p_mouse_dpi_led_blink_delay 
-00cd 20204098 branch mouse_seting_sensor_type 
+00c9 2040408f call mouse_setting_dpi_4_level 
+00ca 204000cc call p_mouse_dpi_led_blink_delay 
+00cb 20204098 branch mouse_seting_sensor_type 
 
 p_mouse_dpi_led_blink_delay:
-00ce 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00cf c17f8000 rtneq gpio_disable 
-00d0 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+00cc 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00cd c17f8000 rtneq gpio_disable 
+00ce 6fe14ac2 fetch 2 ,mem_mouse_discovery_timer 
+00cf 247a0000 nrtn blank 
+00d0 6fe14883 fetch 2 ,mem_24g_pair_timeout 
 00d1 247a0000 nrtn blank 
-00d2 6fe14883 fetch 2 ,mem_24g_pair_timeout 
+00d2 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
 00d3 247a0000 nrtn blank 
-00d4 6fe14887 fetch 2 ,mem_24g_reconn_timeout 
+00d4 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
 00d5 247a0000 nrtn blank 
-00d6 6fe0cba7 fetch 1 ,mem_mouse_device_poweron_timer_count 
-00d7 247a0000 nrtn blank 
-00d8 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
-00d9 203a00f4 branch p_mouse_dpi_led_blink_init ,blank 
-00da 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
-00db 20600000 rtn 
+00d6 6fe0cbc1 fetch 1 ,mem_mouse_dpi_led_delay_count_init 
+00d7 203a00f2 branch p_mouse_dpi_led_blink_init ,blank 
+00d8 67e0cba8 store 1 ,mem_mouse_dpi_led_delay_count 
+00d9 20600000 rtn 
 
 p_mouse_bb_event_timer:
-00dc 20403e9b call mouse_adc_read 
-00dd 20404956 call mouse_low_voltage_led_timer 
-00de 2040232b call g24_pair_timeout_timer 
-00df 20402556 call g24_reconn_timeout_timer 
-00e0 204047cd call mouse_24g_long_sleep_param_update_timer 
-00e1 204048be call mouse_device_poweron_timer 
-00e2 204000f1 call p_mouse_dpi_led_blink_delay_timer 
-00e3 202044bd branch mouse_bb_event_timer + 8 
+00da 20403e9b call mouse_adc_read 
+00db 20404956 call mouse_low_voltage_led_timer 
+00dc 2040232b call g24_pair_timeout_timer 
+00dd 20402556 call g24_reconn_timeout_timer 
+00de 204047cd call mouse_24g_long_sleep_param_update_timer 
+00df 204048be call mouse_device_poweron_timer 
+00e0 204000ef call p_mouse_dpi_led_blink_delay_timer 
+00e1 202044bd branch mouse_bb_event_timer + 8 
 
 p_mouse_logo_led_on_timer:
-00e4 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
-00e5 c17f8000 rtneq gpio_disable 
-00e6 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
-00e7 207a0000 rtn blank 
-00e8 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00e9 20406069 call gpio_out_active 
-00ea da604be5 arg mem_mouse_logo_led_on_timer ,regc 
-00eb da4000ed arg p_mouse_logo_led_on_timeout ,regb 
-00ec 20203191 branch timer_single_step_2b 
+00e2 6fe0cbe3 fetch 1 ,mem_mouse_logo_led_gpio 
+00e3 c17f8000 rtneq gpio_disable 
+00e4 6fe14be5 fetch 2 ,mem_mouse_logo_led_on_timer 
+00e5 207a0000 rtn blank 
+00e6 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00e7 20406069 call gpio_out_active 
+00e8 da604be5 arg mem_mouse_logo_led_on_timer ,regc 
+00e9 da4000eb arg p_mouse_logo_led_on_timeout ,regb 
+00ea 20203191 branch timer_single_step_2b 
 
 p_mouse_logo_led_on_timeout:
-00ed 58000000 setarg 0 
-00ee 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
-00ef 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
-00f0 20206065 branch gpio_out_inactive 
+00eb 58000000 setarg 0 
+00ec 67e14be5 store 2 ,mem_mouse_logo_led_on_timer 
+00ed 6848cbe3 fetcht 1 ,mem_mouse_logo_led_gpio 
+00ee 20206065 branch gpio_out_inactive 
 
 p_mouse_dpi_led_blink_delay_timer:
-00f1 da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
-00f2 da4000f4 arg p_mouse_dpi_led_blink_init ,regb 
-00f3 2020318a branch timer_single_step 
+00ef da604ba8 arg mem_mouse_dpi_led_delay_count ,regc 
+00f0 da4000f2 arg p_mouse_dpi_led_blink_init ,regb 
+00f1 2020318a branch timer_single_step 
 
 p_mouse_dpi_led_blink_init:
-00f4 6fe0c927 fetch 1 ,mem_config_sensor_type 
-00f5 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
-00f6 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
-00f7 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
-00f8 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
-00f9 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
-00fa 67e14930 store 2 ,mem_mouse_on_time 
-00fb 67e14932 store 2 ,mem_mouse_off_time 
-00fc da200000 arg 0 ,rega 
-00fd 6848c992 fetcht 1 ,mem_mouse_dpi 
-00fe 18408402 increase 2 ,temp 
-00ff 18467c03 sub temp ,3 ,null 
-0100 20410103 call p_mouse_dpi_led_blink_init_level_4 ,positive 
-0101 24410107 ncall p_mouse_dpi_led_blink_count_clean ,positive 
-0102 202048ff branch mouse_dpi_led_blink_init_end 
+00f2 6fe0c927 fetch 1 ,mem_config_sensor_type 
+00f3 c001c8f2 beq p3212 ,mouse_dpi_led_blink_init 
+00f4 c005c8f2 beq ka8g2 ,mouse_dpi_led_blink_init 
+00f5 6fe0c923 fetch 1 ,mem_dpi_led_gpio 
+00f6 67e0c92f store 1 ,mem_mouse_struct_led_gpio 
+00f7 6fe14bc2 fetch 2 ,mem_mouse_dpi_led_blink_time 
+00f8 67e14930 store 2 ,mem_mouse_on_time 
+00f9 67e14932 store 2 ,mem_mouse_off_time 
+00fa da200000 arg 0 ,rega 
+00fb 6848c992 fetcht 1 ,mem_mouse_dpi 
+00fc 18408402 increase 2 ,temp 
+00fd 18467c03 sub temp ,3 ,null 
+00fe 20410101 call p_mouse_dpi_led_blink_init_level_4 ,positive 
+00ff 24410105 ncall p_mouse_dpi_led_blink_count_clean ,positive 
+0100 202048ff branch mouse_dpi_led_blink_init_end 
 
 p_mouse_dpi_led_blink_init_level_4:
-0103 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
-0104 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
-0105 18408401 increase 1 ,temp 
-0106 20600000 rtn 
+0101 6fe44bab fetch mouse_flag_len ,mem_mouse_flag 
+0102 c40e0000 rtnbit0 mouse_enable_dpi_level_4 
+0103 18408401 increase 1 ,temp 
+0104 20600000 rtn 
 
 p_mouse_dpi_led_blink_count_clean:
-0107 184085fd increase -3 ,temp 
-0108 20600000 rtn 
+0105 184085fd increase -3 ,temp 
+0106 20600000 rtn 
 
 p_mouse_init_sunt:
-0109 20403f65 call mouse_sensor_spi_init 
-010a 20758000 rtn wake 
+0107 20403f65 call mouse_sensor_spi_init 
+0108 20758000 rtn wake 
 
 p_mouse_init_sensor_wakeup:
-010b 20404236 call mouse_sensor_poweron 
+0109 20404236 call mouse_sensor_poweron 
 
 p_mouse_init_sensor:
-010c 204041b5 call mouse_read_sensor_id 
-010d c0180113 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-010e c018c217 beq p3065_id1 ,mouse_init_p3065 
-010f c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
-0110 204041b2 call mouse_twspi_reset 
-0111 20001af4 nop 6900 
-0112 2020010c branch p_mouse_init_sensor 
+010a 204041b5 call mouse_read_sensor_id 
+010b c0180111 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+010c c018c217 beq p3065_id1 ,mouse_init_p3065 
+010d c02c4220 beq pka8g2_id1 ,mouse_ka8g2_id2_judge 
+010e 204041b2 call mouse_twspi_reset 
+010f 20001af4 nop 6900 
+0110 2020010a branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-0113 6fe0c9c2 fetch 1 ,mem_sensor_id2 
-0114 c02d011c beq p_mx8650 ,p_mouse_mx8650_init_param 
-0115 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
-0116 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
-0117 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
-0118 c00141ea beq p3212_id2 ,mouse_3212_init_param 
-0119 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
-011a c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
-011b 2020010c branch p_mouse_init_sensor 
+0111 6fe0c9c2 fetch 1 ,mem_sensor_id2 
+0112 c02d011a beq p_mx8650 ,p_mouse_mx8650_init_param 
+0113 c06c41cb beq p8009_id2 ,mouse_8009_init_param 
+0114 c068c1da beq p3205_tj3t_id2 ,mouse_3205_3t_init_param 
+0115 c06941e3 beq p3204_tj3l_id2 ,mouse_3204_3l_init_param 
+0116 c00141ea beq p3212_id2 ,mouse_3212_init_param 
+0117 c02a41ed beq pka8_id2 ,mouse_ka8_init_param_check 
+0118 c0284214 beq p6520a_id2 ,mouse_p6520_init_param 
+0119 2020010a branch p_mouse_init_sensor 
 
 p_mouse_mx8650_init_param:
-011c 70492705 jam mx8650 ,mem_config_sensor_type 
-011d 20404232 call mouse_sensor_reset 
-011e 20407d12 call delay_10ms 
-011f da604be7 arg mem_sensor_8650_init_new ,regc 
-0120 2040422b call mouse_sensor_wr_seq 
-0121 2020408e branch mouse_dpi_config 
+011a 70492705 jam mx8650 ,mem_config_sensor_type 
+011b 20404232 call mouse_sensor_reset 
+011c 20407d12 call delay_10ms 
+011d da604be7 arg mem_sensor_8650_init_new ,regc 
+011e 2040422b call mouse_sensor_wr_seq 
+011f 2020408e branch mouse_dpi_config 
 
 p_g24_transmit_dispatch:
-0122 20402631 call g24_txdata_prep 
-0123 243426a1 nbranch g24_nodata_transmit ,user 
+0120 20402631 call g24_txdata_prep 
+0121 243426a1 nbranch g24_nodata_transmit ,user 
 
 p_g24_transmit_start:
-0124 20400145 call p_g24_transmit_process 
-0125 204026ee call power_ctrl_start 
-0126 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0127 243a262c nbranch g24_short_sleep ,blank 
-0128 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
-0129 67e4485c store 8 ,mem_24g_enter_hibernate 
-012a 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
-012b 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
+0122 20400143 call p_g24_transmit_process 
+0123 204026ee call power_ctrl_start 
+0124 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+0125 243a262c nbranch g24_short_sleep ,blank 
+0126 6fe448b0 fetch 8 ,mem_24g_long_sleep_set 
+0127 67e4485c store 8 ,mem_24g_enter_hibernate 
+0128 6fe148c2 fetch 2 ,mem_24g_long_sleep_param_update_timer_init 
+0129 67e148c4 store 2 ,mem_24g_long_sleep_param_update_timer 
 
 p_g24_short_sleep:
-012c 204026bb call g24_lpm_wait 
-012d 24740000 nrtn user 
-012e 20407fdc call clear_wake 
-012f 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
-0130 202026b8 branch g24_long_sleep2 
+012a 204026bb call g24_lpm_wait 
+012b 24740000 nrtn user 
+012c 20407fdc call clear_wake 
+012d 6fe1c8ad fetch 3 ,mem_24g_short_sleep_set 
+012e 202026b8 branch g24_long_sleep2 
 
 p_g24_nodata_transmit:
-0131 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0132 205a0137 call p_g24_send_abort_packet ,blank 
-0133 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
-0134 c1008000 rtneq g24_tx_timer_int_enable 
-0135 2040269f call g24_search_receiver 
-0136 202026b5 branch g24_long_sleep 
+012f 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0130 205a0135 call p_g24_send_abort_packet ,blank 
+0131 6fe0c8bd fetch 1 ,mem_24g_transmit_by_interrupt 
+0132 c1008000 rtneq g24_tx_timer_int_enable 
+0133 2040269f call g24_search_receiver 
+0134 202026b5 branch g24_long_sleep 
 
 p_g24_send_abort_packet:
-0137 70483601 jam type_ms ,mem_24g_data_type 
-0138 7048a701 jam 1 ,mem_24g_abort_pac 
-0139 20402642 call g24_transmit_rf_ctrl_clear 
-013a 67e0c7c6 store 1 ,mem_24g_txbuf 
-013b 58000000 setarg 0 
-013c 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
-013d 6fe248a9 fetch 4 ,mem_24g_device_addr 
-013e 67e247ce store 4 ,mem_24g_txbuf + 8 
-013f 7048350c jam 12 ,mem_24g_datalen 
-0140 6fe0c836 fetch 1 ,mem_24g_data_type 
-0141 79207e03 set1 bit_abort ,pdata 
-0142 67e0c836 store 1 ,mem_24g_data_type 
-0143 20402291 call g24_transmit_prep 
-0144 20200124 branch p_g24_transmit_start 
+0135 70483601 jam type_ms ,mem_24g_data_type 
+0136 7048a701 jam 1 ,mem_24g_abort_pac 
+0137 20402642 call g24_transmit_rf_ctrl_clear 
+0138 67e0c7c6 store 1 ,mem_24g_txbuf 
+0139 58000000 setarg 0 
+013a 67e3c7c7 store 7 ,mem_24g_txbuf + 1 
+013b 6fe248a9 fetch 4 ,mem_24g_device_addr 
+013c 67e247ce store 4 ,mem_24g_txbuf + 8 
+013d 7048350c jam 12 ,mem_24g_datalen 
+013e 6fe0c836 fetch 1 ,mem_24g_data_type 
+013f 79207e03 set1 bit_abort ,pdata 
+0140 67e0c836 store 1 ,mem_24g_data_type 
+0141 20402291 call g24_transmit_prep 
+0142 20200122 branch p_g24_transmit_start 
 
 p_g24_transmit_process:
-0145 7048a600 jam 0 ,mem_24g_retry 
+0143 7048a600 jam 0 ,mem_24g_retry 
 
 p_g24_transmit_loop:
-0146 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
-0147 34730200 until clkn_rt ,meet 
-0148 2040265b call g24_transmit_receive_ack 
-0149 6fe0c82c fetch 1 ,mem_24g_no_ack 
-014a c000a651 beq no_ack_24g ,g24_transmit_no_ack 
-014b 242c0154 nbranch p_g24_retransmit ,sync 
-014c 24378154 nbranch p_g24_retransmit ,user3 
-014d 20402672 call g24_ackpayload_parse 
-014e 20400150 call p_mouse_wakeup_24g 
-014f 20202651 branch g24_transmit_no_ack 
+0144 6961015f fetchr timeup ,2 ,mem_param_rx_setup 
+0145 34730200 until clkn_rt ,meet 
+0146 2040265b call g24_transmit_receive_ack 
+0147 6fe0c82c fetch 1 ,mem_24g_no_ack 
+0148 c000a651 beq no_ack_24g ,g24_transmit_no_ack 
+0149 242c0152 nbranch p_g24_retransmit ,sync 
+014a 24378152 nbranch p_g24_retransmit ,user3 
+014b 20402672 call g24_ackpayload_parse 
+014c 2040014e call p_mouse_wakeup_24g 
+014d 20202651 branch g24_transmit_no_ack 
 
 p_mouse_wakeup_24g:
-0150 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-0151 245a010b ncall p_mouse_init_sensor_wakeup ,blank 
-0152 704be100 jam 0 ,mem_sensor_shutdown_flag 
-0153 20600000 rtn 
+014e 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+014f 245a0109 ncall p_mouse_init_sensor_wakeup ,blank 
+0150 704be100 jam 0 ,mem_sensor_shutdown_flag 
+0151 20600000 rtn 
 
 p_g24_retransmit:
-0154 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
-0155 247a0000 nrtn blank 
-0156 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
-0157 1fe0fe01 increase 1 ,pdata 
-0158 67e148a3 store 2 ,mem_24g_txfail_cnt 
-0159 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
-015a c2822679 bbit1 4 ,g24_tx_attempt_fail 
-015b 2040267e call g24_transmit_hop_process 
-015c 20200146 branch p_g24_transmit_loop 
+0152 6fe0c8a7 fetch 1 ,mem_24g_abort_pac 
+0153 247a0000 nrtn blank 
+0154 6fe148a3 fetch 2 ,mem_24g_txfail_cnt 
+0155 1fe0fe01 increase 1 ,pdata 
+0156 67e148a3 store 2 ,mem_24g_txfail_cnt 
+0157 6fe0c8a4 fetch 1 ,mem_24g_txfail_cnt + 1 
+0158 c2822679 bbit1 4 ,g24_tx_attempt_fail 
+0159 2040267e call g24_transmit_hop_process 
+015a 20200144 branch p_g24_transmit_loop 
 
 p_mouse_check_key_gpio:
-015d 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
-015e 245a4121 ncall mouse_check_key_gpio_once ,blank 
-015f da200000 arg 0 ,rega 
-0160 20400168 call p_mouse_check_lkey_gpio 
-0161 2040016d call p_mouse_check_rkey_gpio 
-0162 20400172 call p_mouse_check_mkey_gpio 
-0163 20400177 call p_mouse_check_bkkey_gpio 
-0164 20400184 call p_mouse_check_fwkey_gpio 
-0165 2040416a call mouse_check_customerkey_gpio 
-0166 1a227e00 copy rega ,pdata 
-0167 20600000 rtn 
+015b 6fe0cbe1 fetch 1 ,mem_sensor_shutdown_flag 
+015c 245a4121 ncall mouse_check_key_gpio_once ,blank 
+015d da200000 arg 0 ,rega 
+015e 20400166 call p_mouse_check_lkey_gpio 
+015f 2040016b call p_mouse_check_rkey_gpio 
+0160 20400170 call p_mouse_check_mkey_gpio 
+0161 20400175 call p_mouse_check_bkkey_gpio 
+0162 20400182 call p_mouse_check_fwkey_gpio 
+0163 2040416a call mouse_check_customerkey_gpio 
+0164 1a227e00 copy rega ,pdata 
+0165 20600000 rtn 
 
 p_mouse_check_lkey_gpio:
-0168 6fe0c918 fetch 1 ,mem_lbutton_gpio 
-0169 20400191 call p_mouse_gpio_config_output_high 
-016a 20404124 call mouse_check_lkey_gpio 
-016b 6848c918 fetcht 1 ,mem_lbutton_gpio 
-016c 20203f56 branch mouse_gpio_config_input_pu 
+0166 6fe0c918 fetch 1 ,mem_lbutton_gpio 
+0167 2040018f call p_mouse_gpio_config_output_high 
+0168 20404124 call mouse_check_lkey_gpio 
+0169 6848c918 fetcht 1 ,mem_lbutton_gpio 
+016a 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_rkey_gpio:
-016d 6fe0c919 fetch 1 ,mem_rbutton_gpio 
-016e 20400191 call p_mouse_gpio_config_output_high 
-016f 2040412a call mouse_check_rkey_gpio 
-0170 6848c919 fetcht 1 ,mem_rbutton_gpio 
-0171 20203f56 branch mouse_gpio_config_input_pu 
+016b 6fe0c919 fetch 1 ,mem_rbutton_gpio 
+016c 2040018f call p_mouse_gpio_config_output_high 
+016d 2040412a call mouse_check_rkey_gpio 
+016e 6848c919 fetcht 1 ,mem_rbutton_gpio 
+016f 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_mkey_gpio:
-0172 6fe0c91a fetch 1 ,mem_mbutton_gpio 
-0173 20400191 call p_mouse_gpio_config_output_high 
-0174 20404130 call mouse_check_mkey_gpio 
-0175 6848c91a fetcht 1 ,mem_mbutton_gpio 
-0176 20203f56 branch mouse_gpio_config_input_pu 
+0170 6fe0c91a fetch 1 ,mem_mbutton_gpio 
+0171 2040018f call p_mouse_gpio_config_output_high 
+0172 20404130 call mouse_check_mkey_gpio 
+0173 6848c91a fetcht 1 ,mem_mbutton_gpio 
+0174 20203f56 branch mouse_gpio_config_input_pu 
 
 p_mouse_check_bkkey_gpio:
-0177 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0178 c17f8000 rtneq gpio_disable 
-0179 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
-017a 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
-017b 1fe22600 copy pdata ,regc 
-017c 6848c90d fetcht 1 ,mem_bk_button_gpio 
-017d 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-017e c07f8180 beq gpio_disable ,p_mouse_3io6key_bk_check 
-017f 2020413e branch mouse_check_bkkey_gpio_next 
+0175 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+0176 c17f8000 rtneq gpio_disable 
+0177 704b9603 jam mouse_bk_key ,mem_mouse_key_temp 
+0178 6fe0cb91 fetch 1 ,mem_mouse_bkkey_press_status 
+0179 1fe22600 copy pdata ,regc 
+017a 6848c90d fetcht 1 ,mem_bk_button_gpio 
+017b 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+017c c07f817e beq gpio_disable ,p_mouse_3io6key_bk_check 
+017d 2020413e branch mouse_check_bkkey_gpio_next 
 
 p_mouse_3io6key_bk_check:
-0180 6fe0c90d fetch 1 ,mem_bk_button_gpio 
-0181 20400193 call p_mouse_gpio_config_output_low 
-0182 6848c90d fetcht 1 ,mem_bk_button_gpio 
-0183 2020414b branch mouse_3io6key_bk_check 
+017e 6fe0c90d fetch 1 ,mem_bk_button_gpio 
+017f 20400191 call p_mouse_gpio_config_output_low 
+0180 6848c90d fetcht 1 ,mem_bk_button_gpio 
+0181 2020414b branch mouse_3io6key_bk_check 
 
 p_mouse_check_fwkey_gpio:
-0184 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-0185 c17f8000 rtneq gpio_disable 
-0186 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
-0187 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
-0188 1fe22600 copy pdata ,regc 
-0189 6848c90e fetcht 1 ,mem_fw_button_gpio 
-018a 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
-018b c07f818d beq gpio_disable ,p_mouse_3io6key_fw_check 
-018c 20204157 branch mouse_check_fwkey_gpio_next 
+0182 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+0183 c17f8000 rtneq gpio_disable 
+0184 704b9604 jam mouse_fw_key ,mem_mouse_key_temp 
+0185 6fe0cb92 fetch 1 ,mem_mouse_fwkey_press_status 
+0186 1fe22600 copy pdata ,regc 
+0187 6848c90e fetcht 1 ,mem_fw_button_gpio 
+0188 6fe0c910 fetch 1 ,mem_matrix_public_gpio 
+0189 c07f818b beq gpio_disable ,p_mouse_3io6key_fw_check 
+018a 20204157 branch mouse_check_fwkey_gpio_next 
 
 p_mouse_3io6key_fw_check:
-018d 6fe0c90e fetch 1 ,mem_fw_button_gpio 
-018e 20400193 call p_mouse_gpio_config_output_low 
-018f 6848c90e fetcht 1 ,mem_fw_button_gpio 
-0190 20204164 branch mouse_3io6key_fw_check 
+018b 6fe0c90e fetch 1 ,mem_fw_button_gpio 
+018c 20400191 call p_mouse_gpio_config_output_low 
+018d 6848c90e fetcht 1 ,mem_fw_button_gpio 
+018e 20204164 branch mouse_3io6key_fw_check 
 
 p_mouse_gpio_config_output_high:
-0191 d840003f arg gpcfg_output_high ,temp 
-0192 20206093 branch gpio_config_function_int 
+018f d840003f arg gpcfg_output_high ,temp 
+0190 20206093 branch gpio_config_function_int 
 
 p_mouse_gpio_config_output_low:
-0193 d840003e arg gpcfg_output_low ,temp 
-0194 20206093 branch gpio_config_function_int 
+0191 d840003e arg gpcfg_output_low ,temp 
+0192 20206093 branch gpio_config_function_int 
               org 0x800
 
 start:
Index: program/patch.prog
===================================================================
--- /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M_High_Report/program/patch.prog	(revision 500)
+++ /YC1308AC/branch/mouse_project/YJX_Project/1011-T_Project/Only2.4G/FD-E701_Only2.4G_16M_High_Report/program/patch.prog	(working copy)
@@ -274,16 +274,12 @@
 	call mouse_device_poweron_timer_init
 	branch mouse_24g_attempt_success
 
-p_mouse_spi_sdio_gpio_inputup:
-	fetcht 1,mem_mouse_sensor_sdio_gpio
-	branch mouse_gpio_config_input_pu
-
 p_mouse_motion:
 	disable user
 	setarg 0
 	store 6,mem_mouse_x
 	call mouse_check_sensor_data
-	call p_mouse_spi_sdio_gpio_inputup
+	call mouse_dpi_config
 	call mouse_zwheel
 	call mouse_t_zwheel
 	call mouse_key
