Index: output/eeprom.dat
===================================================================
--- /1306ac/branch/mouse/branch/mouse_public/output/eeprom.dat	(revision 518)
+++ /1306ac/branch/mouse/branch/mouse_public/output/eeprom.dat	(working copy)
@@ -2,56 +2,60 @@
 02
 aa
 55
-92
+9e
 04
 c2
 84
 00
-0d
+0e
 c0
 1b
 80
-3e
+41
+c0
+0c
+00
+11
 c0
 1e
 80
-70
+73
 c0
 23
 00
-82
+85
 c0
 26
 00
-8d
+90
 c0
 27
 00
-ae
+b1
 c0
 29
 00
-c1
+c4
 c0
 2d
 00
-65
+68
 c0
 2f
 00
-36
+39
 c0
 2f
 80
-3a
+3d
 c0
 38
 00
-10
+14
 c0
 71
 80
-6b
+6e
 20
 20
 3a
@@ -59,7 +63,7 @@
 c0
 30
 80
-79
+7c
 c1
 7f
 80
@@ -69,21 +73,29 @@
 3a
 8a
 70
-80
-80
-73
+8a
+75
+03
 70
 8a
 85
 00
 20
+20
+3a
+1e
+70
+80
+80
+73
+20
 40
 6e
 b3
 20
 40
 00
-1b
+1e
 20
 40
 57
@@ -107,7 +119,7 @@
 20
 40
 00
-58
+5b
 20
 20
 52
@@ -127,11 +139,11 @@
 20
 40
 00
-fa
+fd
 20
 40
 01
-12
+15
 d8
 40
 00
@@ -163,7 +175,7 @@
 20
 22
 80
-2d
+30
 20
 40
 5b
@@ -191,7 +203,7 @@
 20
 40
 01
-06
+09
 6f
 e0
 c9
@@ -199,7 +211,7 @@
 20
 5a
 00
-33
+36
 70
 45
 e5
@@ -367,7 +379,7 @@
 58
 00
 00
-5d
+60
 67
 e1
 45
@@ -427,7 +439,7 @@
 24
 5a
 00
-63
+66
 20
 20
 5e
@@ -439,7 +451,7 @@
 c2
 80
 80
-6e
+71
 20
 20
 3c
@@ -463,7 +475,7 @@
 c0
 00
 80
-74
+77
 70
 80
 70
@@ -575,11 +587,11 @@
 c0
 1e
 00
-91
+94
 c0
 1d
 00
-9d
+a0
 20
 20
 59
@@ -651,11 +663,11 @@
 c0
 02
 00
-a4
+a7
 c0
 01
 80
-a9
+ac
 20
 20
 5d
@@ -755,7 +767,7 @@
 20
 40
 00
-bd
+c0
 20
 20
 5a
@@ -787,7 +799,7 @@
 20
 40
 00
-d8
+db
 df
 e0
 07
@@ -799,7 +811,7 @@
 20
 40
 01
-1e
+21
 6f
 e2
 49
@@ -807,7 +819,7 @@
 20
 3a
 00
-d0
+d3
 67
 e2
 49
@@ -835,7 +847,7 @@
 20
 20
 00
-c6
+c9
 6f
 e2
 49
@@ -879,7 +891,7 @@
 20
 40
 01
-06
+09
 6f
 e0
 c9
@@ -887,7 +899,7 @@
 20
 3a
 00
-e4
+e7
 67
 e0
 c9
@@ -915,7 +927,7 @@
 20
 20
 00
-da
+dd
 6f
 e0
 c9
@@ -927,7 +939,7 @@
 20
 3a
 00
-ed
+f0
 6f
 e0
 c6
@@ -995,7 +1007,7 @@
 20
 22
 80
-e9
+ec
 1a
 40
 a5
@@ -1003,7 +1015,7 @@
 20
 20
 00
-e9
+ec
 df
 e0
 07
@@ -1015,7 +1027,7 @@
 20
 40
 01
-06
+09
 6f
 e0
 c9
@@ -1023,7 +1035,7 @@
 20
 3a
 01
-09
+0c
 67
 e0
 c9
@@ -1043,7 +1055,7 @@
 24
 21
 01
-09
+0c
 1a
 42
 7e
@@ -1051,7 +1063,7 @@
 20
 20
 00
-fc
+ff
 d8
 40
 00
@@ -1079,7 +1091,7 @@
 20
 3a
 01
-0f
+12
 1f
 f1
 fe
@@ -1087,7 +1099,7 @@
 20
 20
 01
-10
+13
 1a
 62
 7e
@@ -1111,7 +1123,7 @@
 20
 40
 01
-1e
+21
 6f
 e2
 49
@@ -1119,7 +1131,7 @@
 20
 3a
 01
-21
+24
 67
 e2
 49
@@ -1139,7 +1151,7 @@
 24
 21
 01
-21
+24
 1a
 42
 7e
@@ -1147,7 +1159,7 @@
 20
 20
 01
-14
+17
 d8
 40
 00
@@ -1172,8 +1184,8 @@
 60
 00
 00
-72
-7a
+c9
+cc
 aa
 55
 06
@@ -1195,10 +1207,13 @@
 5a
 aa
 55
-09
+0c
 00
-06
+03
 40
+01
+00
+00
 80
 20
 40
@@ -1725,7 +1740,7 @@
 aa
 aa
 55
-cc
+cd
 a3
-88
-8b
+3a
+c0
Index: output/program.lis
===================================================================
--- /1306ac/branch/mouse/branch/mouse_public/output/program.lis	(revision 518)
+++ /1306ac/branch/mouse/branch/mouse_public/output/program.lis	(working copy)
@@ -1,397 +1,402 @@
               include "bt_format "
               org 0x0000
-0000 c284000d bbit1 8 ,pf_patch_ext 
-0001 c01b803e beq patch06_7 ,p_mouse_sensor_set_angle 
-0002 c01e8070 beq patch07_5 ,p_mouse_setgpio_hibernate 
-0003 c0230082 beq patch08_6 ,p_mouse_3io6key_check 
-0004 c026008d beq patch09_4 ,p_mouse_priority_bb_event 
-0005 c02700ae beq patch09_6 ,p_mouse_bb_event_timer 
-0006 c02900c1 beq patch0a_2 ,p_mouse_store_device_info 
-0007 c02d0065 beq patch0b_2 ,p_mouse_24g_package_data 
-0008 c02f0036 beq patch0b_6 ,p_mouse_ui_led_off_static 
-0009 c02f803a beq patch0b_7 ,p_mouse_ui_led_on_static 
-000a c0380010 beq patch0e_0 ,p_app_init 
-000b c071806b beq patch1c_3 ,p_le_enable_phy_by_pdata 
-000c 20203a8a branch assert 
+0000 c284000e bbit1 8 ,pf_patch_ext 
+0001 c01b8041 beq patch06_7 ,p_mouse_sensor_set_angle 
+0002 c00c0011 beq patch03_0 ,p_initialize_radio_cont 
+0003 c01e8073 beq patch07_5 ,p_mouse_setgpio_hibernate 
+0004 c0230085 beq patch08_6 ,p_mouse_3io6key_check 
+0005 c0260090 beq patch09_4 ,p_mouse_priority_bb_event 
+0006 c02700b1 beq patch09_6 ,p_mouse_bb_event_timer 
+0007 c02900c4 beq patch0a_2 ,p_mouse_store_device_info 
+0008 c02d0068 beq patch0b_2 ,p_mouse_24g_package_data 
+0009 c02f0039 beq patch0b_6 ,p_mouse_ui_led_off_static 
+000a c02f803d beq patch0b_7 ,p_mouse_ui_led_on_static 
+000b c0380014 beq patch0e_0 ,p_app_init 
+000c c071806e beq patch1c_3 ,p_le_enable_phy_by_pdata 
+000d 20203a8a branch assert 
 
 pf_patch_ext:
-000d c0308079 beq patch2c_1 ,p_g24_lpm_wait 
-000e c17f8000 rtneq patch3f_7 
-000f 20203a8a branch assert 
+000e c030807c beq patch2c_1 ,p_g24_lpm_wait 
+000f c17f8000 rtneq patch3f_7 
+0010 20203a8a branch assert 
+
+p_initialize_radio_cont:
+0011 708a7503 jam 0x03 ,core_rx_lna_cfg3 
+0012 708a8500 jam 0 ,core_syn_loopdiv_dsm_cfg 
+0013 20203a1e branch initialize_radio_cont + 1 
 
 p_app_init:
 
 p_mouse_init:
-0010 70808073 jam 0x73 ,core_spid_ctrl 
-0011 708a8500 jam 0 ,core_syn_loopdiv_dsm_cfg 
-0012 20406eb3 call enable_authrom 
-0013 2040001b call p_mouse_setting_config 
-0014 204057a0 call mouse_init_sunt 
-0015 20758000 rtn wake 
-0016 204059bd call mouse_le_name_load 
-0017 2040562e call mouse_dpi_config 
-0018 20405cc5 call mouse_drawing_optima_init 
-0019 20400058 call p_mouse_cb_fuction 
-001a 20205234 branch mouse_init + 8 
+0014 70808073 jam 0x73 ,core_spid_ctrl 
+0015 20406eb3 call enable_authrom 
+0016 2040001e call p_mouse_setting_config 
+0017 204057a0 call mouse_init_sunt 
+0018 20758000 rtn wake 
+0019 204059bd call mouse_le_name_load 
+001a 2040562e call mouse_dpi_config 
+001b 20405cc5 call mouse_drawing_optima_init 
+001c 2040005b call p_mouse_cb_fuction 
+001d 20205234 branch mouse_init + 8 
 
 p_mouse_setting_config:
-001b 20758000 rtn wake 
-001c 2040525e call mouse_setting_config 
-001d c40b8000 rtnbit0 mouse_enable_otp 
+001e 20758000 rtn wake 
+001f 2040525e call mouse_setting_config 
+0020 c40b8000 rtnbit0 mouse_enable_otp 
 
 p_mouse_load_otp_info_check:
-001e 204000fa call p_mouse_read_otp_dpi 
-001f 20400112 call p_mouse_read_otp_24g_addr 
+0021 204000fd call p_mouse_read_otp_dpi 
+0022 20400115 call p_mouse_read_otp_24g_addr 
 
 p_mouse_otp_load_app_initflag:
-0020 d8400002 arg 2 ,temp 
-0021 dfe007ee arg otp_offset_app_initlag ,pdata 
-0022 da20463d arg mem_store_flag ,rega 
-0023 204068c5 call otpd_read_data_with_pwr_operation 
-0024 6fe1463d fetch 2 ,mem_store_flag 
-0025 d840aa55 arg eeprom_init_flag ,temp 
-0026 98467c00 isub temp ,null 
-0027 2022802d branch p_mouse_load_device_info ,zero 
-0028 20405b76 call mouse_app_initflag_check + 4 
+0023 d8400002 arg 2 ,temp 
+0024 dfe007ee arg otp_offset_app_initlag ,pdata 
+0025 da20463d arg mem_store_flag ,rega 
+0026 204068c5 call otpd_read_data_with_pwr_operation 
+0027 6fe1463d fetch 2 ,mem_store_flag 
+0028 d840aa55 arg eeprom_init_flag ,temp 
+0029 98467c00 isub temp ,null 
+002a 20228030 branch p_mouse_load_device_info ,zero 
+002b 20405b76 call mouse_app_initflag_check + 4 
 
 p_mouse_otp_store_app_initflag:
-0029 df200002 arg 2 ,loopcnt 
-002a da20463d arg mem_store_flag ,rega 
-002b dfe007ee arg otp_offset_app_initlag ,pdata 
-002c 20206883 branch otp_write 
+002c df200002 arg 2 ,loopcnt 
+002d da20463d arg mem_store_flag ,rega 
+002e dfe007ee arg otp_offset_app_initlag ,pdata 
+002f 20206883 branch otp_write 
 
 p_mouse_load_device_info:
-002d dfe00760 arg otp_offset_dpi ,pdata 
-002e 20400106 call p_mouse_read_otp_dpi_common 
-002f 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
-0030 205a0033 call p_mouse_load_default_dpi ,blank 
-0031 7045e500 jam mode_24g_device ,mem_device_flag 
-0032 20205b81 branch mouse_load_device_info + 1 
+0030 dfe00760 arg otp_offset_dpi ,pdata 
+0031 20400109 call p_mouse_read_otp_dpi_common 
+0032 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
+0033 205a0036 call p_mouse_load_default_dpi ,blank 
+0034 7045e500 jam mode_24g_device ,mem_device_flag 
+0035 20205b81 branch mouse_load_device_info + 1 
 
 p_mouse_load_default_dpi:
-0033 6fe0c5c0 fetch 1 ,mem_config_sensor_dpi 
-0034 67e0c63f store 1 ,mem_mouse_dpi 
-0035 20600000 rtn 
+0036 6fe0c5c0 fetch 1 ,mem_config_sensor_dpi 
+0037 67e0c63f store 1 ,mem_mouse_dpi 
+0038 20600000 rtn 
 
 p_mouse_ui_led_off_static:
-0036 18427e00 copy temp ,pdata 
-0037 207a0000 rtn blank 
-0038 c17f8000 rtneq gpio_disable 
-0039 20205f23 branch mouse_ui_led_off_static + 1 
+0039 18427e00 copy temp ,pdata 
+003a 207a0000 rtn blank 
+003b c17f8000 rtneq gpio_disable 
+003c 20205f23 branch mouse_ui_led_off_static + 1 
 
 p_mouse_ui_led_on_static:
-003a 18427e00 copy temp ,pdata 
-003b 207a0000 rtn blank 
-003c c17f8000 rtneq gpio_disable 
-003d 20205f30 branch mouse_ui_led_on_static + 1 
+003d 18427e00 copy temp ,pdata 
+003e 207a0000 rtn blank 
+003f c17f8000 rtneq gpio_disable 
+0040 20205f30 branch mouse_ui_led_on_static + 1 
 
 p_mouse_sensor_set_angle:
-003e 6fe0c911 fetch 1 ,mem_mouse_ice_sdio_for_sensor_angle 
-003f 203a52c8 branch mouse_sensor_set_angle + 1 ,blank 
-0040 6fe0c5be fetch 1 ,mem_sensor_angle_default 
-0041 67e0c5d5 store 1 ,mem_config_sensor_angle 
-0042 6fe0c5bd fetch 1 ,mem_select_sensor_angle_gpio 
-0043 c17f8000 rtneq gpio_disable 
-0044 2040692d call lpm_write_ice_disable 
+0041 6fe0c911 fetch 1 ,mem_mouse_ice_sdio_for_sensor_angle 
+0042 203a52c8 branch mouse_sensor_set_angle + 1 ,blank 
+0043 6fe0c5be fetch 1 ,mem_sensor_angle_default 
+0044 67e0c5d5 store 1 ,mem_config_sensor_angle 
 0045 6fe0c5bd fetch 1 ,mem_select_sensor_angle_gpio 
-0046 d840003e arg gpcfg_output_low ,temp 
-0047 20406bbd call gpio_config_function_int 
-0048 6fe0c5c8 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+0046 c17f8000 rtneq gpio_disable 
+0047 2040692d call lpm_write_ice_disable 
+0048 6fe0c5bd fetch 1 ,mem_select_sensor_angle_gpio 
 0049 d840003e arg gpcfg_output_low ,temp 
 004a 20406bbd call gpio_config_function_int 
-004b 6848c5bc fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-004c 2040547f call mouse_gpio_config_input_pu 
-004d 6848c5bc fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-004e 20406b85 call gpio_get_bit 
-004f 2040d2d2 call mouse_sensor_switch_angle ,true 
-0050 2040547b call mouse_gpio_config_input_pd 
-0051 6848c5bc fetcht 1 ,mem_mouse_sensor_sdio_gpio 
-0052 20406b7c call gpio_config_input 
-0053 20406931 call lpm_write_ice_enable 
+004b 6fe0c5c8 fetch 1 ,mem_mouse_reuse_2ice_gpio 
+004c d840003e arg gpcfg_output_low ,temp 
+004d 20406bbd call gpio_config_function_int 
+004e 6848c5bc fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+004f 2040547f call mouse_gpio_config_input_pu 
+0050 6848c5bc fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0051 20406b85 call gpio_get_bit 
+0052 2040d2d2 call mouse_sensor_switch_angle ,true 
+0053 2040547b call mouse_gpio_config_input_pd 
+0054 6848c5bc fetcht 1 ,mem_mouse_sensor_sdio_gpio 
+0055 20406b7c call gpio_config_input 
+0056 20406931 call lpm_write_ice_enable 
 
 p_ice_gpio_set_float:
-0054 6848c5bd fetcht 1 ,mem_select_sensor_angle_gpio 
-0055 20406bae call gpio_set_high_impedance 
-0056 6848c5c8 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
-0057 20206bae branch gpio_set_high_impedance 
+0057 6848c5bd fetcht 1 ,mem_select_sensor_angle_gpio 
+0058 20406bae call gpio_set_high_impedance 
+0059 6848c5c8 fetcht 1 ,mem_mouse_reuse_2ice_gpio 
+005a 20206bae branch gpio_set_high_impedance 
 
 p_mouse_cb_fuction:
-0058 58005fad setarg mouse_24g_short_sleep 
-0059 67e14543 store 2 ,mem_cb_24g_transmit_short_sleep 
-005a 5800005d setarg p_mouse_24g_long_sleep 
-005b 67e14545 store 2 ,mem_cb_24g_transmit_long_sleep 
-005c 2020523d branch mouse_cb_fuction + 4 
+005b 58005fad setarg mouse_24g_short_sleep 
+005c 67e14543 store 2 ,mem_cb_24g_transmit_short_sleep 
+005d 58000060 setarg p_mouse_24g_long_sleep 
+005e 67e14545 store 2 ,mem_cb_24g_transmit_long_sleep 
+005f 2020523d branch mouse_cb_fuction + 4 
 
 p_mouse_24g_long_sleep:
-005d 20404d15 call g24_lpm_wait 
-005e 24740000 nrtn user 
-005f 6fe0c863 fetch 1 ,mem_24g_device_led_status 
-0060 247a0000 nrtn blank 
-0061 70490501 jam 1 ,mem_mouse_24g_long_sleep_flag 
-0062 20205fa6 branch mouse_24g_long_sleep + 4 
+0060 20404d15 call g24_lpm_wait 
+0061 24740000 nrtn user 
+0062 6fe0c863 fetch 1 ,mem_24g_device_led_status 
+0063 247a0000 nrtn blank 
+0064 70490501 jam 1 ,mem_mouse_24g_long_sleep_flag 
+0065 20205fa6 branch mouse_24g_long_sleep + 4 
 
 p_mouse_24g_short_sleep_clear_wake:
-0063 204074e0 call clear_wake 
-0064 20203c18 branch lpm_write_gpio_wakeup 
+0066 204074e0 call clear_wake 
+0067 20203c18 branch lpm_write_gpio_wakeup 
 
 p_mouse_24g_package_data:
-0065 2040549b call mouse_motion 
-0066 24740000 nrtn user 
-0067 6fe0c905 fetch 1 ,mem_mouse_24g_long_sleep_flag 
-0068 70490500 jam 0 ,mem_mouse_24g_long_sleep_flag 
-0069 245a0063 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
-006a 20205e35 branch mouse_24g_package_data + 4 
+0068 2040549b call mouse_motion 
+0069 24740000 nrtn user 
+006a 6fe0c905 fetch 1 ,mem_mouse_24g_long_sleep_flag 
+006b 70490500 jam 0 ,mem_mouse_24g_long_sleep_flag 
+006c 245a0066 ncall p_mouse_24g_short_sleep_clear_wake ,blank 
+006d 20205e35 branch mouse_24g_package_data + 4 
 
 p_le_enable_phy_by_pdata:
-006b 18427e00 copy temp ,pdata 
-006c c280806e bbit1 bit_le_2m_phy ,p_le_enable_2m 
-006d 20203ce3 branch le_enable_phy_by_pdata + 3 
+006e 18427e00 copy temp ,pdata 
+006f c2808071 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+0070 20203ce3 branch le_enable_phy_by_pdata + 3 
 
 p_le_enable_2m:
-006e 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-006f 20203ce9 branch le_enable_2m 
+0071 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+0072 20203ce9 branch le_enable_2m 
 
 p_mouse_setgpio_hibernate:
-0070 20405339 call mouse_setgpio_hibernate + 1 
-0071 6fe0c912 fetch 1 ,mem_mouse_logo_enable_gpio0 
-0072 c0008074 beq 1 ,p_mouse_setgpio_hibernate_next 
-0073 70807080 jam 0x80 ,0x8070 
+0073 20405339 call mouse_setgpio_hibernate + 1 
+0074 6fe0c912 fetch 1 ,mem_mouse_logo_enable_gpio0 
+0075 c0008077 beq 1 ,p_mouse_setgpio_hibernate_next 
+0076 70807080 jam 0x80 ,0x8070 
 
 p_mouse_setgpio_hibernate_next:
-0074 6fe08017 fetch 1 ,mem_gpio_wakeup_low + 1 
-0075 79207e05 set1 5 ,pdata 
-0076 67e08017 store 1 ,mem_gpio_wakeup_low + 1 
-0077 20403c18 call lpm_write_gpio_wakeup 
-0078 20205af0 branch mouse_1io2led_all_off 
+0077 6fe08017 fetch 1 ,mem_gpio_wakeup_low + 1 
+0078 79207e05 set1 5 ,pdata 
+0079 67e08017 store 1 ,mem_gpio_wakeup_low + 1 
+007a 20403c18 call lpm_write_gpio_wakeup 
+007b 20205af0 branch mouse_1io2led_all_off 
 
 p_g24_lpm_wait:
-0079 78347c00 enable user 
-007a 20403b1b call lpo_calibration 
-007b 6fe1c0be fetch 3 ,mem_clks_per_lpo 
-007c 203a74ca branch disable_user ,blank 
-007d 6fe0c094 fetch 1 ,mem_lpm_mode 
-007e 203a74ca branch disable_user ,blank 
-007f 6fe0c899 fetch 1 ,mem_sensor_shutdown_flag 
-0080 247a0000 nrtn blank 
-0081 20204d1c branch g24_lpm_wait_next 
+007c 78347c00 enable user 
+007d 20403b1b call lpo_calibration 
+007e 6fe1c0be fetch 3 ,mem_clks_per_lpo 
+007f 203a74ca branch disable_user ,blank 
+0080 6fe0c094 fetch 1 ,mem_lpm_mode 
+0081 203a74ca branch disable_user ,blank 
+0082 6fe0c899 fetch 1 ,mem_sensor_shutdown_flag 
+0083 247a0000 nrtn blank 
+0084 20204d1c branch g24_lpm_wait_next 
 
 p_mouse_3io6key_check:
-0082 1a627e00 copy regc ,pdata 
-0083 67e0c850 store 1 ,mem_mouse_key_status 
-0084 1fe3fe00 lshift pdata ,pdata 
-0085 1fe22400 copy pdata ,regb 
-0086 18422600 copy temp ,regc 
-0087 2040547b call mouse_gpio_config_input_pd 
-0088 1a620400 copy regc ,temp 
-0089 20406b85 call gpio_get_bit 
-008a 7d20a400 nsetflag true ,0 ,regb 
-008b 20405753 call mouse_check_press 
-008c 2020573f branch mouse_check_key_connect_gnd_1 
+0085 1a627e00 copy regc ,pdata 
+0086 67e0c850 store 1 ,mem_mouse_key_status 
+0087 1fe3fe00 lshift pdata ,pdata 
+0088 1fe22400 copy pdata ,regb 
+0089 18422600 copy temp ,regc 
+008a 2040547b call mouse_gpio_config_input_pd 
+008b 1a620400 copy regc ,temp 
+008c 20406b85 call gpio_get_bit 
+008d 7d20a400 nsetflag true ,0 ,regb 
+008e 20405753 call mouse_check_press 
+008f 2020573f branch mouse_check_key_connect_gnd_1 
 
 p_mouse_priority_bb_event:
-008d 1a627e00 copy regc ,pdata 
-008e c01e0091 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-008f c01d009d beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0090 20205914 branch mouse_priority_bb_event + 2 
+0090 1a627e00 copy regc ,pdata 
+0091 c01e0094 beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0092 c01d00a0 beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0093 20205914 branch mouse_priority_bb_event + 2 
 
 p_mouse_24g_attempt_success:
-0091 6fe244da fetch 4 ,mem_24g_addr 
-0092 67e24533 store 4 ,mem_24g_receiver_addr 
-0093 67e24640 store 4 ,mem_mouse_24g_addr 
-0094 20404bce call g24_ch_syncword_crc8_init 
-0095 20405e1b call mouse_device_poweron_led_config 
-0096 20405aa9 call mouse_no_data_timer_init 
-0097 204058c4 call mouse_init_sensor_reset 
-0098 70476800 jam 0 ,mem_mouse_long_mult_flag 
-0099 70454700 jam 0 ,mem_24g_conn_sm 
-009a 70452d00 jam 0 ,mem_24g_reconn_type 
-009b 684a4533 fetcht 4 ,mem_24g_receiver_addr 
-009c 20205e17 branch mouse_24g_attempt_success + 11 
+0094 6fe244da fetch 4 ,mem_24g_addr 
+0095 67e24533 store 4 ,mem_24g_receiver_addr 
+0096 67e24640 store 4 ,mem_mouse_24g_addr 
+0097 20404bce call g24_ch_syncword_crc8_init 
+0098 20405e1b call mouse_device_poweron_led_config 
+0099 20405aa9 call mouse_no_data_timer_init 
+009a 204058c4 call mouse_init_sensor_reset 
+009b 70476800 jam 0 ,mem_mouse_long_mult_flag 
+009c 70454700 jam 0 ,mem_24g_conn_sm 
+009d 70452d00 jam 0 ,mem_24g_reconn_type 
+009e 684a4533 fetcht 4 ,mem_24g_receiver_addr 
+009f 20205e17 branch mouse_24g_attempt_success + 11 
 
 p_mouse_24g_attempt_fail:
-009d 6fe0c54b fetch 1 ,mem_24g_attempt_fail_flag 
-009e 243a5d80 nbranch mouse_24g_hibernate_set ,blank 
-009f 6fe0c52d fetch 1 ,mem_24g_reconn_type 
-00a0 c0015df4 beq fast_conn_and_3_0_addr ,mouse_24g_fast_conn_attempt_fail 
-00a1 c00200a4 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
-00a2 c00180a9 beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
-00a3 20205ded branch mouse_24g_attempt_fail_enter_hibernate_next 
+00a0 6fe0c54b fetch 1 ,mem_24g_attempt_fail_flag 
+00a1 243a5d80 nbranch mouse_24g_hibernate_set ,blank 
+00a2 6fe0c52d fetch 1 ,mem_24g_reconn_type 
+00a3 c0015df4 beq fast_conn_and_3_0_addr ,mouse_24g_fast_conn_attempt_fail 
+00a4 c00200a7 beq pair_and_3_0_addr ,p_mouse_24g_auto_pair_attempt_fail 
+00a5 c00180ac beq receiver_and_3_0_addr ,p_mouse_reconn_dongle_attempt_fail 
+00a6 20205ded branch mouse_24g_attempt_fail_enter_hibernate_next 
 
 p_mouse_24g_auto_pair_attempt_fail:
-00a4 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
-00a5 c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
-00a6 6fe0c86c fetch 1 ,mem_device_number 
-00a7 c000dded beq 1 ,mouse_24g_attempt_fail_enter_hibernate_next 
-00a8 20205dcb branch mouse_24g_first_bluetooth_reconnect 
+00a7 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
+00a8 c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
+00a9 6fe0c86c fetch 1 ,mem_device_number 
+00aa c000dded beq 1 ,mouse_24g_attempt_fail_enter_hibernate_next 
+00ab 20205dcb branch mouse_24g_first_bluetooth_reconnect 
 
 p_mouse_reconn_dongle_attempt_fail:
-00a9 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
-00aa c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
-00ab c289dded bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate_next 
-00ac c2895ded bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate_next 
-00ad 20205dc4 branch mouse_24g_start_auto_pair + 1 
+00ac 6fe44864 fetch mouse_flag_len ,mem_mouse_flag 
+00ad c317dded bbit0 mouse_enable_24g_first_auto_pairing ,mouse_24g_attempt_fail_enter_hibernate_next 
+00ae c289dded bbit1 mouse_enable_eeprom ,mouse_24g_attempt_fail_enter_hibernate_next 
+00af c2895ded bbit1 mouse_enable_flash ,mouse_24g_attempt_fail_enter_hibernate_next 
+00b0 20205dc4 branch mouse_24g_start_auto_pair + 1 
 
 p_mouse_bb_event_timer:
-00ae 204053c6 call mouse_adc_read 
-00af 20405f47 call mouse_low_voltage_led_timer 
-00b0 20404907 call g24_pair_timeout_timer 
-00b1 20404ba5 call g24_reconn_timeout_timer 
-00b2 20405d6b call mouse_24g_long_sleep_param_update_timer 
-00b3 20405e9a call mouse_device_poweron_timer 
-00b4 20405ecb call mouse_dpi_led_blink_delay_timer 
-00b5 20405ac1 call mouse_led_multi_timer 
-00b6 20405af3 call mouse_logo_led_on_timer 
-00b7 2040561c call mouse_dpi_key_check_long_press 
-00b8 20405a36 call mouse_bt_discovery_check 
-00b9 20405a46 call mouse_commbination_key_process 
-00ba 20405a69 call mouse_check_discovery_timeout_timer 
-00bb 204000bd call p_mouse_check_direct_timeout_timer 
-00bc 20205a2d branch mouse_bb_event_timer + 15 
+00b1 204053c6 call mouse_adc_read 
+00b2 20405f47 call mouse_low_voltage_led_timer 
+00b3 20404907 call g24_pair_timeout_timer 
+00b4 20404ba5 call g24_reconn_timeout_timer 
+00b5 20405d6b call mouse_24g_long_sleep_param_update_timer 
+00b6 20405e9a call mouse_device_poweron_timer 
+00b7 20405ecb call mouse_dpi_led_blink_delay_timer 
+00b8 20405ac1 call mouse_led_multi_timer 
+00b9 20405af3 call mouse_logo_led_on_timer 
+00ba 2040561c call mouse_dpi_key_check_long_press 
+00bb 20405a36 call mouse_bt_discovery_check 
+00bc 20405a46 call mouse_commbination_key_process 
+00bd 20405a69 call mouse_check_discovery_timeout_timer 
+00be 204000c0 call p_mouse_check_direct_timeout_timer 
+00bf 20205a2d branch mouse_bb_event_timer + 15 
 
 p_mouse_check_direct_timeout_timer:
-00bd da604831 arg mem_mouse_direct_timer ,regc 
-00be da405a74 arg mouse_check_direct_timeout ,regb 
-00bf 20404dcc call timer_single_step 
-00c0 20205a71 branch mouse_check_direct_timeout_timer + 3 
+00c0 da604831 arg mem_mouse_direct_timer ,regc 
+00c1 da405a74 arg mouse_check_direct_timeout ,regb 
+00c2 20404dcc call timer_single_step 
+00c3 20205a71 branch mouse_check_direct_timeout_timer + 3 
 
 p_mouse_store_device_info:
-00c1 20405b90 call mouse_store_device_info + 1 
-00c2 c40b8000 rtnbit0 mouse_enable_otp 
+00c4 20405b90 call mouse_store_device_info + 1 
+00c5 c40b8000 rtnbit0 mouse_enable_otp 
 
 p_mouse_store_otp_device_info:
-00c3 204000d8 call p_mouse_otp_store_dpi 
+00c6 204000db call p_mouse_otp_store_dpi 
 
 p_mouse_otp_store_24g_addr:
-00c4 dfe00790 arg otp_offset_24g_addr ,pdata 
-00c5 1fe22400 copy pdata ,regb 
+00c7 dfe00790 arg otp_offset_24g_addr ,pdata 
+00c8 1fe22400 copy pdata ,regb 
 
 p_mouse_otp_store_24g_addr_loop:
-00c6 2040011e call p_mouse_read_otp_24g_addr_common 
-00c7 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
-00c8 203a00d0 branch p_mouse_24g_addr_store ,blank 
-00c9 67e24909 store 4 ,mem_mouse_24g_addr_last 
-00ca 1a40a404 increase 4 ,regb 
-00cb dfe007cf arg otp_offset_24g_addr_end ,pdata 
-00cc 9a467c00 isub regb ,null 
-00cd 24610000 nrtn positive 
-00ce 1a427e00 copy regb ,pdata 
-00cf 202000c6 branch p_mouse_otp_store_24g_addr_loop 
+00c9 20400121 call p_mouse_read_otp_24g_addr_common 
+00ca 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
+00cb 203a00d3 branch p_mouse_24g_addr_store ,blank 
+00cc 67e24909 store 4 ,mem_mouse_24g_addr_last 
+00cd 1a40a404 increase 4 ,regb 
+00ce dfe007cf arg otp_offset_24g_addr_end ,pdata 
+00cf 9a467c00 isub regb ,null 
+00d0 24610000 nrtn positive 
+00d1 1a427e00 copy regb ,pdata 
+00d2 202000c9 branch p_mouse_otp_store_24g_addr_loop 
 
 p_mouse_24g_addr_store:
-00d0 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
-00d1 684a4640 fetcht 4 ,mem_mouse_24g_addr 
-00d2 98467c00 isub temp ,null 
-00d3 20628000 rtn zero 
-00d4 df200004 arg 4 ,loopcnt 
-00d5 da204640 arg mem_mouse_24g_addr ,rega 
-00d6 1a427e00 copy regb ,pdata 
-00d7 20206883 branch otp_write 
+00d3 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
+00d4 684a4640 fetcht 4 ,mem_mouse_24g_addr 
+00d5 98467c00 isub temp ,null 
+00d6 20628000 rtn zero 
+00d7 df200004 arg 4 ,loopcnt 
+00d8 da204640 arg mem_mouse_24g_addr ,rega 
+00d9 1a427e00 copy regb ,pdata 
+00da 20206883 branch otp_write 
 
 p_mouse_otp_store_dpi:
-00d8 dfe00760 arg otp_offset_dpi ,pdata 
-00d9 1fe22400 copy pdata ,regb 
+00db dfe00760 arg otp_offset_dpi ,pdata 
+00dc 1fe22400 copy pdata ,regb 
 
 p_mouse_otp_store_dpi_loop:
-00da 20400106 call p_mouse_read_otp_dpi_common 
-00db 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
-00dc 203a00e4 branch p_mouse_dpi_store ,blank 
-00dd 67e0c906 store 1 ,mem_mouse_dpi_last 
-00de 1a40a401 increase 1 ,regb 
-00df dfe0078f arg otp_offset_dpi_end ,pdata 
-00e0 9a467c00 isub regb ,null 
-00e1 24610000 nrtn positive 
-00e2 1a427e00 copy regb ,pdata 
-00e3 202000da branch p_mouse_otp_store_dpi_loop 
+00dd 20400109 call p_mouse_read_otp_dpi_common 
+00de 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
+00df 203a00e7 branch p_mouse_dpi_store ,blank 
+00e0 67e0c906 store 1 ,mem_mouse_dpi_last 
+00e1 1a40a401 increase 1 ,regb 
+00e2 dfe0078f arg otp_offset_dpi_end ,pdata 
+00e3 9a467c00 isub regb ,null 
+00e4 24610000 nrtn positive 
+00e5 1a427e00 copy regb ,pdata 
+00e6 202000dd branch p_mouse_otp_store_dpi_loop 
 
 p_mouse_dpi_store:
-00e4 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
-00e5 1fe17ef0 and pdata ,0xf0 ,pdata 
-00e6 203a00ed branch p_mouse_dpi_store_next ,blank 
-00e7 6fe0c63f fetch 1 ,mem_mouse_dpi 
-00e8 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
+00e7 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
+00e8 1fe17ef0 and pdata ,0xf0 ,pdata 
+00e9 203a00f0 branch p_mouse_dpi_store_next ,blank 
+00ea 6fe0c63f fetch 1 ,mem_mouse_dpi 
+00eb 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
 
 p_mouse_dpi_store_end:
-00e9 df200001 arg 1 ,loopcnt 
-00ea 1a427e00 copy regb ,pdata 
-00eb da204908 arg mem_mouse_otp_dpi_value ,rega 
-00ec 20206883 branch otp_write 
+00ec df200001 arg 1 ,loopcnt 
+00ed 1a427e00 copy regb ,pdata 
+00ee da204908 arg mem_mouse_otp_dpi_value ,rega 
+00ef 20206883 branch otp_write 
 
 p_mouse_dpi_store_next:
-00ed 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
-00ee 6848c63f fetcht 1 ,mem_mouse_dpi 
-00ef 98467c00 isub temp ,null 
-00f0 20628000 rtn zero 
-00f1 18520400 lshift4 temp ,temp 
-00f2 9840fe00 iadd temp ,pdata 
-00f3 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
-00f4 1a427e00 copy regb ,pdata 
-00f5 d8400760 arg otp_offset_dpi ,temp 
-00f6 98467c00 isub temp ,null 
-00f7 202280e9 branch p_mouse_dpi_store_end ,zero 
-00f8 1a40a5ff increase -1 ,regb 
-00f9 202000e9 branch p_mouse_dpi_store_end 
+00f0 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
+00f1 6848c63f fetcht 1 ,mem_mouse_dpi 
+00f2 98467c00 isub temp ,null 
+00f3 20628000 rtn zero 
+00f4 18520400 lshift4 temp ,temp 
+00f5 9840fe00 iadd temp ,pdata 
+00f6 67e0c908 store 1 ,mem_mouse_otp_dpi_value 
+00f7 1a427e00 copy regb ,pdata 
+00f8 d8400760 arg otp_offset_dpi ,temp 
+00f9 98467c00 isub temp ,null 
+00fa 202280ec branch p_mouse_dpi_store_end ,zero 
+00fb 1a40a5ff increase -1 ,regb 
+00fc 202000ec branch p_mouse_dpi_store_end 
 
 p_mouse_read_otp_dpi:
-00fa dfe00760 arg otp_offset_dpi ,pdata 
-00fb 1fe22400 copy pdata ,regb 
+00fd dfe00760 arg otp_offset_dpi ,pdata 
+00fe 1fe22400 copy pdata ,regb 
 
 p_mouse_read_otp_dpi_loop:
-00fc 20400106 call p_mouse_read_otp_dpi_common 
-00fd 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
-00fe 203a0109 branch p_mouse_dpi_load ,blank 
-00ff 67e0c906 store 1 ,mem_mouse_dpi_last 
-0100 1a40a401 increase 1 ,regb 
-0101 dfe0078f arg otp_offset_dpi_end ,pdata 
-0102 9a467c00 isub regb ,null 
-0103 24210109 nbranch p_mouse_dpi_load ,positive 
-0104 1a427e00 copy regb ,pdata 
-0105 202000fc branch p_mouse_read_otp_dpi_loop 
+00ff 20400109 call p_mouse_read_otp_dpi_common 
+0100 6fe0c907 fetch 1 ,mem_mouse_dpi_temp 
+0101 203a010c branch p_mouse_dpi_load ,blank 
+0102 67e0c906 store 1 ,mem_mouse_dpi_last 
+0103 1a40a401 increase 1 ,regb 
+0104 dfe0078f arg otp_offset_dpi_end ,pdata 
+0105 9a467c00 isub regb ,null 
+0106 2421010c nbranch p_mouse_dpi_load ,positive 
+0107 1a427e00 copy regb ,pdata 
+0108 202000ff branch p_mouse_read_otp_dpi_loop 
 
 p_mouse_read_otp_dpi_common:
-0106 d8400001 arg 1 ,temp 
-0107 da204907 arg mem_mouse_dpi_temp ,rega 
-0108 202068c5 branch otpd_read_data_with_pwr_operation 
+0109 d8400001 arg 1 ,temp 
+010a da204907 arg mem_mouse_dpi_temp ,rega 
+010b 202068c5 branch otpd_read_data_with_pwr_operation 
 
 p_mouse_dpi_load:
-0109 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
-010a 1fe22600 copy pdata ,regc 
-010b 1fe17ef0 and pdata ,0xf0 ,pdata 
-010c 203a010f branch p_mouse_dpi_load_next ,blank 
-010d 1ff1fe00 rshift4 pdata ,pdata 
-010e 20200110 branch p_mouse_dpi_load_end 
+010c 6fe0c906 fetch 1 ,mem_mouse_dpi_last 
+010d 1fe22600 copy pdata ,regc 
+010e 1fe17ef0 and pdata ,0xf0 ,pdata 
+010f 203a0112 branch p_mouse_dpi_load_next ,blank 
+0110 1ff1fe00 rshift4 pdata ,pdata 
+0111 20200113 branch p_mouse_dpi_load_end 
 
 p_mouse_dpi_load_next:
-010f 1a627e00 copy regc ,pdata 
+0112 1a627e00 copy regc ,pdata 
 
 p_mouse_dpi_load_end:
-0110 67e0c63f store 1 ,mem_mouse_dpi 
-0111 20600000 rtn 
+0113 67e0c63f store 1 ,mem_mouse_dpi 
+0114 20600000 rtn 
 
 p_mouse_read_otp_24g_addr:
-0112 dfe00790 arg otp_offset_24g_addr ,pdata 
-0113 1fe22400 copy pdata ,regb 
+0115 dfe00790 arg otp_offset_24g_addr ,pdata 
+0116 1fe22400 copy pdata ,regb 
 
 p_mouse_read_otp_24g_addr_loop:
-0114 2040011e call p_mouse_read_otp_24g_addr_common 
-0115 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
-0116 203a0121 branch p_mouse_24g_addr_load ,blank 
-0117 67e24909 store 4 ,mem_mouse_24g_addr_last 
-0118 1a40a404 increase 4 ,regb 
-0119 dfe007cf arg otp_offset_24g_addr_end ,pdata 
-011a 9a467c00 isub regb ,null 
-011b 24210121 nbranch p_mouse_24g_addr_load ,positive 
-011c 1a427e00 copy regb ,pdata 
-011d 20200114 branch p_mouse_read_otp_24g_addr_loop 
+0117 20400121 call p_mouse_read_otp_24g_addr_common 
+0118 6fe2490d fetch 4 ,mem_mouse_24g_addr_temp 
+0119 203a0124 branch p_mouse_24g_addr_load ,blank 
+011a 67e24909 store 4 ,mem_mouse_24g_addr_last 
+011b 1a40a404 increase 4 ,regb 
+011c dfe007cf arg otp_offset_24g_addr_end ,pdata 
+011d 9a467c00 isub regb ,null 
+011e 24210124 nbranch p_mouse_24g_addr_load ,positive 
+011f 1a427e00 copy regb ,pdata 
+0120 20200117 branch p_mouse_read_otp_24g_addr_loop 
 
 p_mouse_read_otp_24g_addr_common:
-011e d8400004 arg 4 ,temp 
-011f da20490d arg mem_mouse_24g_addr_temp ,rega 
-0120 202068c5 branch otpd_read_data_with_pwr_operation 
+0121 d8400004 arg 4 ,temp 
+0122 da20490d arg mem_mouse_24g_addr_temp ,rega 
+0123 202068c5 branch otpd_read_data_with_pwr_operation 
 
 p_mouse_24g_addr_load:
-0121 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
-0122 67e24640 store 4 ,mem_mouse_24g_addr 
-0123 20600000 rtn 
+0124 6fe24909 fetch 4 ,mem_mouse_24g_addr_last 
+0125 67e24640 store 4 ,mem_mouse_24g_addr 
+0126 20600000 rtn 
               org 0x3800
 
 start:
Index: program/patch.prog
===================================================================
--- /1306ac/branch/mouse/branch/mouse_public/program/patch.prog	(revision 518)
+++ /1306ac/branch/mouse/branch/mouse_public/program/patch.prog	(working copy)
@@ -12,6 +12,7 @@
 	beq patch14_0,p_enable_adc
 	beq patch07_7,p_mouse_adc_gpio_check_output
 endif
+	beq patch03_0,p_initialize_radio_cont
 	beq patch07_5,p_mouse_setgpio_hibernate
 	beq patch08_6,p_mouse_3io6key_check
 	beq patch09_4,p_mouse_priority_bb_event
@@ -29,12 +30,15 @@
 	rtneq patch3f_7
 	branch assert
 
-
+p_initialize_radio_cont:
+	jam 0x03,core_rx_lna_cfg3
+	jam 0,core_syn_loopdiv_dsm_cfg
+	branch initialize_radio_cont+1
 
 p_app_init:
 p_mouse_init:
 	jam 0x73,core_spid_ctrl
-	jam 0,core_syn_loopdiv_dsm_cfg
+	
 	call enable_authrom
 	call p_mouse_setting_config
 	call mouse_init_sunt
Index: sched/mouse_basic.dat
===================================================================
--- /1306ac/branch/mouse/branch/mouse_public/sched/mouse_basic.dat	(revision 518)
+++ /1306ac/branch/mouse/branch/mouse_public/sched/mouse_basic.dat	(working copy)
@@ -1,4 +1,5 @@
 #mem_patch00:01	#adc
+mem_patch03:01
 mem_patch06:80
 mem_patch07:20	#a0 adc
 mem_patch08:40
