Index: output/flash.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/Standard/output/flash.dat	(revision 2533)
+++ /branch/mouse_project/YJX_Project/YJX_1059/Standard/output/flash.dat	(working copy)
@@ -11,7 +11,7 @@
 20
 40
 03
-af
+b1
 68
 00
 c1
@@ -39,7 +39,7 @@
 20
 40
 03
-28
+29
 20
 40
 07
@@ -95,11 +95,11 @@
 20
 20
 02
-fb
+fc
 58
 00
 03
-70
+71
 60
 01
 4d
@@ -107,7 +107,7 @@
 58
 00
 03
-9b
+9d
 60
 01
 41
@@ -123,7 +123,7 @@
 58
 00
 03
-ca
+cc
 60
 01
 41
@@ -139,7 +139,7 @@
 58
 00
 04
-02
+04
 60
 01
 41
@@ -147,7 +147,7 @@
 58
 00
 03
-ef
+f1
 60
 01
 41
@@ -187,7 +187,7 @@
 20
 40
 02
-d9
+db
 20
 40
 04
@@ -223,7 +223,7 @@
 20
 20
 03
-98
+9a
 58
 00
 01
@@ -491,7 +491,7 @@
 20
 40
 03
-81
+82
 20
 40
 6a
@@ -687,7 +687,7 @@
 c0
 00
 83
-73
+74
 68
 00
 c6
@@ -695,7 +695,7 @@
 c2
 81
 03
-73
+74
 20
 40
 00
@@ -963,7 +963,7 @@
 20
 40
 02
-fd
+fe
 68
 12
 00
@@ -1535,7 +1535,7 @@
 20
 40
 03
-8d
+8e
 70
 4c
 61
@@ -2731,7 +2731,7 @@
 20
 40
 03
-77
+78
 20
 40
 00
@@ -2815,11 +2815,11 @@
 20
 20
 03
-6c
+6d
 20
 40
 03
-4a
+4b
 68
 00
 cb
@@ -2875,7 +2875,7 @@
 20
 20
 03
-28
+29
 68
 00
 cc
@@ -2922,8 +2922,16 @@
 01
 20
 40
+02
+db
+20
+20
+2b
+fa
+20
+40
 03
-28
+29
 20
 40
 40
@@ -2935,11 +2943,11 @@
 c0
 18
 02
-e1
+e3
 c0
 18
 82
-f6
+f7
 20
 40
 40
@@ -2951,11 +2959,11 @@
 20
 20
 02
-db
+dd
 20
 40
 03
-93
+94
 68
 00
 c6
@@ -2963,11 +2971,11 @@
 c0
 2d
 02
-e6
+e8
 c0
 2a
 02
-f3
+f4
 20
 20
 40
@@ -3012,10 +3020,6 @@
 40
 64
 13
-20
-00
-2e
-e0
 1a
 60
 a6
@@ -3023,7 +3027,7 @@
 20
 20
 02
-eb
+ed
 70
 46
 e0
@@ -3035,11 +3039,11 @@
 20
 20
 02
-eb
+ed
 20
 40
 03
-93
+94
 68
 00
 c6
@@ -3131,7 +3135,7 @@
 20
 40
 03
-59
+5a
 20
 40
 44
@@ -3151,7 +3155,7 @@
 20
 22
 83
-4a
+4b
 60
 09
 47
@@ -3183,27 +3187,27 @@
 20
 40
 03
-59
+5a
 20
 40
 03
-2a
+2b
 20
 40
 03
-41
+42
 20
 40
 03
-36
+37
 20
 40
 03
-2d
+2e
 20
 40
-02
-ff
+03
+00
 d8
 40
 00
@@ -3227,15 +3231,15 @@
 20
 40
 03
-36
+37
 20
 40
 03
-2d
+2e
 20
 40
 03
-51
+52
 70
 42
 12
@@ -3287,7 +3291,7 @@
 c2
 80
 03
-2d
+2e
 20
 60
 00
@@ -3363,11 +3367,11 @@
 20
 40
 03
-59
+5a
 20
 40
 03
-41
+42
 20
 20
 65
@@ -3375,11 +3379,11 @@
 20
 40
 03
-47
+48
 20
 40
 03
-63
+64
 20
 40
 43
@@ -3406,8 +3410,8 @@
 b9
 20
 40
-02
-ff
+03
+00
 20
 40
 69
@@ -3439,7 +3443,7 @@
 20
 20
 03
-52
+53
 70
 4b
 75
@@ -3475,7 +3479,7 @@
 20
 40
 03
-59
+5a
 d8
 40
 00
@@ -3519,7 +3523,7 @@
 20
 40
 03
-1a
+1b
 20
 20
 02
@@ -3563,7 +3567,7 @@
 20
 40
 03
-7f
+80
 d8
 c0
 19
@@ -3571,7 +3575,7 @@
 20
 40
 03
-7f
+80
 d8
 c0
 1a
@@ -3579,7 +3583,7 @@
 20
 40
 03
-7f
+80
 d8
 c0
 1b
@@ -3603,7 +3607,7 @@
 20
 40
 03
-7f
+80
 d8
 a0
 19
@@ -3611,7 +3615,7 @@
 20
 40
 03
-7f
+80
 d8
 a0
 1a
@@ -3619,7 +3623,7 @@
 20
 40
 03
-7f
+80
 d8
 a0
 1b
@@ -3627,7 +3631,7 @@
 20
 20
 03
-7f
+80
 70
 41
 72
@@ -3667,7 +3671,7 @@
 20
 40
 03
-28
+29
 da
 60
 4b
@@ -3675,7 +3679,11 @@
 20
 40
 02
-eb
+ed
+20
+40
+2b
+fa
 68
 00
 c7
@@ -3711,7 +3719,7 @@
 c0
 7f
 83
-a2
+a4
 68
 00
 c6
@@ -3751,15 +3759,15 @@
 20
 40
 03
-8a
+8b
 20
 40
 03
-8d
+8e
 20
 40
 03
-c5
+c7
 da
 20
 46
@@ -3771,7 +3779,7 @@
 20
 54
 03
-b4
+b6
 20
 60
 00
@@ -3823,7 +3831,7 @@
 20
 34
 03
-bc
+be
 20
 60
 00
@@ -3935,15 +3943,15 @@
 20
 40
 03
-8a
+8b
 20
 40
 03
-8d
+8e
 20
 40
 03
-c5
+c7
 68
 00
 cb
@@ -3951,7 +3959,7 @@
 c0
 00
 83
-de
+e0
 68
 00
 cb
@@ -4039,7 +4047,7 @@
 20
 40
 03
-f2
+f4
 20
 20
 3e
@@ -4063,7 +4071,7 @@
 20
 20
 84
-00
+02
 20
 40
 05
@@ -4115,31 +4123,31 @@
 c0
 0a
 04
-13
+15
 c0
 0a
 84
-27
+28
 c0
 14
 84
-2a
+2b
 c0
 19
 04
-2c
+2d
 c0
 20
 04
-2e
+2f
 c0
 02
 04
-30
+31
 c0
 09
 84
-30
+31
 c0
 0c
 b3
@@ -4147,11 +4155,11 @@
 c0
 10
 84
-34
+35
 c0
 00
 84
-36
+37
 c0
 01
 04
@@ -4178,10 +4186,6 @@
 7d
 20
 40
-02
-d8
-20
-40
 41
 c3
 58
@@ -4207,7 +4211,7 @@
 24
 42
 83
-5b
+5c
 20
 40
 34
@@ -4223,7 +4227,7 @@
 24
 3a
 04
-20
+21
 70
 4b
 6d
@@ -4255,7 +4259,7 @@
 20
 20
 03
-af
+b1
 20
 40
 04
@@ -4320,10 +4324,6 @@
 40
 04
 88
-20
-40
-02
-d8
 58
 00
 00
@@ -4447,7 +4447,7 @@
 20
 40
 02
-d9
+db
 58
 00
 00
@@ -4671,7 +4671,7 @@
 20
 20
 03
-5f
+60
 da
 60
 4b
@@ -5835,7 +5835,7 @@
 20
 5a
 03
-b8
+ba
 20
 20
 56
@@ -7131,7 +7131,7 @@
 20
 20
 03
-1a
+1b
 20
 40
 58
@@ -7659,7 +7659,7 @@
 20
 40
 03
-59
+5a
 68
 01
 cb
@@ -7695,7 +7695,7 @@
 20
 40
 03
-28
+29
 58
 00
 1f
@@ -8196,8 +8196,8 @@
 20
 07
 fb
-83
-57
+47
+31
 aa
 55
 08
@@ -9128,7 +9128,7 @@
 00
 ab
 4b
-04
+05
 00
 aa
 55
@@ -9346,7 +9346,7 @@
 20
 40
 04
-2a
+2b
 70
 46
 c6
@@ -9374,7 +9374,7 @@
 20
 40
 03
-1a
+1b
 20
 20
 41
@@ -9578,7 +9578,7 @@
 20
 40
 04
-2a
+2b
 70
 47
 c4
@@ -9650,7 +9650,7 @@
 20
 40
 03
-af
+b1
 20
 40
 58
@@ -9662,7 +9662,7 @@
 20
 40
 03
-1a
+1b
 68
 00
 cb
@@ -9718,7 +9718,7 @@
 20
 40
 03
-1a
+1b
 20
 40
 3e
@@ -9730,7 +9730,7 @@
 20
 40
 03
-51
+52
 68
 10
 80
@@ -10070,7 +10070,7 @@
 20
 40
 03
-0d
+0e
 68
 00
 c7
@@ -10094,11 +10094,11 @@
 24
 22
 83
-5b
+5c
 20
 20
 03
-5d
+5e
 20
 60
 00
@@ -10326,7 +10326,7 @@
 20
 20
 03
-1a
+1b
 68
 00
 cb
@@ -10682,7 +10682,7 @@
 20
 20
 03
-73
+74
 68
 02
 4c
@@ -10850,7 +10850,7 @@
 20
 40
 03
-4a
+4b
 68
 00
 cb
@@ -10918,7 +10918,7 @@
 20
 20
 03
-1a
+1b
 58
 00
 00
@@ -10982,7 +10982,7 @@
 20
 20
 03
-73
+74
 68
 02
 4c
@@ -11350,7 +11350,7 @@
 20
 40
 03
-5b
+5c
 20
 40
 34
@@ -11390,7 +11390,7 @@
 20
 40
 03
-4a
+4b
 68
 00
 c2
@@ -12314,7 +12314,7 @@
 c0
 02
 84
-32
+33
 20
 20
 4d
@@ -12335,5 +12335,5 @@
 55
 00
 00
-53
-f3
+02
+77
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/Standard/output/program.lis	(revision 2533)
+++ /branch/mouse_project/YJX_Project/YJX_1059/Standard/output/program.lis	(working copy)
@@ -7,14 +7,14 @@
 p_zcode:
 
 p_wake_from_power:
-0001 204003af call p_mouse_data_init 
+0001 204003b1 call p_mouse_data_init 
 0002 6800c1de fetch 1 ,mem_tx_power 
 0003 6000ccec store 1 ,mem_tx_power_temp 
 0004 204006f9 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 204004cf call p_mouse_bt_discovery_button_up_init 
-0008 20400328 call p_mouse_spi_init 
+0008 20400329 call p_mouse_spi_init 
 0009 20400797 call p_drawing_optima_init 
 000a 20400017 call p_mouse_cb_fuction 
 000b 2040002a call p_mouse_wakeup_from_power 
@@ -28,22 +28,22 @@
 0013 58001802 setarg 0x1802 
 0014 600140bd store 2 ,mem_fcomp_mul 
 0015 204068a2 call load_adc_init 
-0016 202002fb branch p_mouse_setting_config 
+0016 202002fc branch p_mouse_setting_config 
 
 p_mouse_cb_fuction:
-0017 58000370 setarg p_mouse_g24_package_data 
+0017 58000371 setarg p_mouse_g24_package_data 
 0018 60014d66 store 2 ,mem_cb_24g_data 
-0019 5800039b setarg p_mouse_le 
+0019 5800039d setarg p_mouse_le 
 001a 600141ef store 2 ,mem_cb_le_process 
 001b 58000634 setarg p_le_mouse_bb_event_connect_complete 
 001c 600141f9 store 2 ,mem_cb_att_write 
-001d 580003ca setarg p_mouse_bt 
+001d 580003cc setarg p_mouse_bt 
 001e 600141f1 store 2 ,mem_cb_bt_process 
 001f 580002a8 setarg p_mouse_before_lpm 
 0020 600141ed store 2 ,mem_cb_before_lpm 
-0021 58000402 setarg p_mouse_priority_bb_event 
+0021 58000404 setarg p_mouse_priority_bb_event 
 0022 600141f5 store 2 ,mem_cb_bb_event_process 
-0023 580003ef setarg p_mouse_idle 
+0023 580003f1 setarg p_mouse_idle 
 0024 600141f3 store 2 ,mem_cb_idle_process 
 0025 58000450 setarg p_mouse_before_hibernate 
 0026 600141eb store 2 ,mem_cb_before_hibernate 
@@ -55,7 +55,7 @@
 002a 58000019 setarg 25 
 002b 60014d78 store 2 ,mem_24g_transmit_by_interrupt_exit_count_init 
 002c 24558037 ncall p_mouse_24g_transmit_by_interrupt_exit_count_max ,wake 
-002d 204002d9 call p_mouse_init_sunt 
+002d 204002db call p_mouse_init_sunt 
 002e 20400456 call p_mouse_sensor_powerdown 
 
 p_mouse_wakeup_no_from_power:
@@ -66,7 +66,7 @@
 0033 6800c241 fetch 1 ,mem_power_on_flag 
 0034 c3810000 rtnbit1 2 
 0035 704b770a jam ble_poweron_reconn_timer ,mem_mouse_poweron_bt_start_reconn_timer 
-0036 20200398 branch p_mouse_dpi_config_default 
+0036 2020039a branch p_mouse_dpi_config_default 
 
 p_mouse_24g_transmit_by_interrupt_exit_count_max:
 0037 58000177 setarg 375 
@@ -143,7 +143,7 @@
 0076 d8a009ae arg mem_sp_state ,contw 
 0077 df20000c arg 12 ,loopcnt 
 0078 20407ed4 call clear_mem 
-0079 20400381 call p_mouse_le_txbuff_load 
+0079 20400382 call p_mouse_le_txbuff_load 
 007a 20406a03 call rfcomm_init 
 007b 20405cf6 call init_lmp 
 007c 2455ac65 ncall lpm_disable_exen_output ,wake 
@@ -206,9 +206,9 @@
 00a7 2040070a call power_ctrl_start 
 00a8 204000b6 call g24_long_sleep_shorter_param_update 
 00a9 6800cb26 fetch 1 ,mem_mouse_multi_led_state 
-00aa c0008373 beq on ,p_g24_transmit_by_interrupt_enable 
+00aa c0008374 beq on ,p_g24_transmit_by_interrupt_enable 
 00ab 6800c69a fetch 1 ,mem_mouse_key 
-00ac c2810373 bbit1 2 ,p_g24_transmit_by_interrupt_enable 
+00ac c2810374 bbit1 2 ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 00ad 204000e4 call p_g24_lpm_wait 
@@ -305,7 +305,7 @@
 
 p_mouse_setgpio_hibernate:
 00ee 20403ebf call mouse_lpm_before_common 
-00ef 204002fd call p_flash_ncs_disable 
+00ef 204002fe call p_flash_ncs_disable 
 00f0 68120070 hfetch 4 ,core_gpio_oe0 
 00f1 681a0078 hfetcht 4 ,core_gpio_pu0 
 00f2 98418400 ior temp ,temp 
@@ -502,7 +502,7 @@
 017d 20207fe7 branch enable_user 
 
 p_g24_accumulate_mouse_data:
-017e 2040038d call p_mouse_data_xy_release 
+017e 2040038e call p_mouse_data_xy_release 
 017f 704c6100 jam 0 ,mem_24g_abort_pac 
 0180 1a20fe01 add rega ,1 ,pdata 
 0181 6000cc35 store 1 ,mem_24g_datalen 
@@ -887,7 +887,7 @@
 
 p_mouse_before_lpm:
 02a8 c6130000 rtnmark1 mark_24g 
-02a9 20400377 call p_mouse_le_txbuff_save 
+02a9 20400378 call p_mouse_le_txbuff_save 
 02aa 204000ec call p_mouse_setgpio_lpm 
 02ab 6800c040 fetch 1 ,mem_context 
 02ac c30002af bbit0 state_inconn ,p_clear_wake 
@@ -918,10 +918,10 @@
 02bb 6800c241 fetch 1 ,mem_power_on_flag 
 02bc c28102bf bbit1 2 ,p_mouse_wakeup_from_hibernate 
 02bd 704b76ff jam latest_mode_null ,mem_mouse_latest_mode 
-02be 2020036c branch p_mouse_start_24g_pair 
+02be 2020036d branch p_mouse_start_24g_pair 
 
 p_mouse_wakeup_from_hibernate:
-02bf 2040034a call p_mouse_load_flash_device_info 
+02bf 2040034b call p_mouse_load_flash_device_info 
 02c0 6800cb76 fetch 1 ,mem_mouse_latest_mode 
 02c1 c00082c5 beq latest_mode_bt ,p_mouse_check_reconn_target 
 02c2 c00101fe beq latest_mode_24g ,p_g24_start_24g_mode 
@@ -939,7 +939,7 @@
 02cc 20207ddd branch check_51cmd_start_discovery 
 
 p_device_wake_from_lpm:
-02cd 20200328 branch p_mouse_spi_init 
+02cd 20200329 branch p_mouse_spi_init 
 
 p_mouse_tx_power_init:
 02ce 6800ccec fetch 1 ,mem_tx_power_temp 
@@ -961,489 +961,489 @@
 
 p_mouse_init_sensor_reset:
 02d8 704afe01 jam 1 ,mem_mouse_init_sensor_reset_flag 
+02d9 204002db call p_mouse_init_sunt 
+02da 20202bfa branch delays_5ms 
 
 p_mouse_init_sunt:
-02d9 20400328 call p_mouse_spi_init 
-02da 204040c0 call mouse_spi_sdio_gpio_pollup 
+02db 20400329 call p_mouse_spi_init 
+02dc 204040c0 call mouse_spi_sdio_gpio_pollup 
 
 p_mouse_init_sensor:
-02db 204040d9 call mouse_read_sensor_id 
-02dc c01802e1 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
-02dd c01882f6 beq p3065_id1 ,p_mouse_p3065_init_param 
-02de 204040d1 call mouse_twspi_reset 
-02df 200003e8 nop 1000 
-02e0 202002db branch p_mouse_init_sensor 
+02dd 204040d9 call mouse_read_sensor_id 
+02de c01802e3 beq p32xx_id1 ,p_mouse_init_p32xx_id2_judge 
+02df c01882f7 beq p3065_id1 ,p_mouse_p3065_init_param 
+02e0 204040d1 call mouse_twspi_reset 
+02e1 200003e8 nop 1000 
+02e2 202002dd branch p_mouse_init_sensor 
 
 p_mouse_init_p32xx_id2_judge:
-02e1 20400393 call p_mouse_sensor_poweron 
-02e2 6800c6de fetch 1 ,mem_sensor_id2 
-02e3 c02d02e6 beq p_mx8650 ,p_mouse_mx8650_init_param 
-02e4 c02a02f3 beq pka8_id2 ,p_mouse_ka8_init_param 
-02e5 202040e0 branch mouse_init_p32xx_id2_judge 
+02e3 20400394 call p_mouse_sensor_poweron 
+02e4 6800c6de fetch 1 ,mem_sensor_id2 
+02e5 c02d02e8 beq p_mx8650 ,p_mouse_mx8650_init_param 
+02e6 c02a02f4 beq pka8_id2 ,p_mouse_ka8_init_param 
+02e7 202040e0 branch mouse_init_p32xx_id2_judge 
 
 p_mouse_mx8650_init_param:
-02e6 7046e007 jam mx8650 ,mem_config_sensor_type 
-02e7 58008006 setarg 0x8006 
-02e8 20406413 call twspi_write 
-02e9 20407ec1 call delay_10ms 
-02ea da604b79 arg mem_sensor_8650_init ,regc 
+02e8 7046e007 jam mx8650 ,mem_config_sensor_type 
+02e9 58008006 setarg 0x8006 
+02ea 20406413 call twspi_write 
+02eb 20407ec1 call delay_10ms 
+02ec da604b79 arg mem_sensor_8650_init ,regc 
 
 p_sensor_wr_seq:
-02eb ea610000 ifetch 2 ,regc 
-02ec d840ffff arg 0xffff ,temp 
-02ed 98467c00 isub temp ,null 
-02ee 20628000 rtn zero 
-02ef 20406413 call twspi_write 
-02f0 20002ee0 nop 12000 
-02f1 1a60a602 increase 2 ,regc 
-02f2 202002eb branch p_sensor_wr_seq 
+02ed ea610000 ifetch 2 ,regc 
+02ee d840ffff arg 0xffff ,temp 
+02ef 98467c00 isub temp ,null 
+02f0 20628000 rtn zero 
+02f1 20406413 call twspi_write 
+02f2 1a60a602 increase 2 ,regc 
+02f3 202002ed branch p_sensor_wr_seq 
 
 p_mouse_ka8_init_param:
-02f3 7046e002 jam ka8 ,mem_config_sensor_type 
-02f4 da604b93 arg mem_sensor_ka8_init ,regc 
-02f5 202002eb branch p_sensor_wr_seq 
+02f4 7046e002 jam ka8 ,mem_config_sensor_type 
+02f5 da604b93 arg mem_sensor_ka8_init ,regc 
+02f6 202002ed branch p_sensor_wr_seq 
 
 p_mouse_p3065_init_param:
-02f6 20400393 call p_mouse_sensor_poweron 
-02f7 6800c6de fetch 1 ,mem_sensor_id2 
-02f8 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
-02f9 7046e001 jam p3065 ,mem_config_sensor_type 
-02fa 20600000 rtn 
+02f7 20400394 call p_mouse_sensor_poweron 
+02f8 6800c6de fetch 1 ,mem_sensor_id2 
+02f9 c03840e8 beq p3065_xy_id2 ,mouse_p3065xy_init_param 
+02fa 7046e001 jam p3065 ,mem_config_sensor_type 
+02fb 20600000 rtn 
 
 p_mouse_setting_config:
-02fb 7011c680 jam zcode_80 ,mem_zcode_temp_param0 
-02fc 2020076a branch p_zcode_entrance 
+02fc 7011c680 jam zcode_80 ,mem_zcode_temp_param0 
+02fd 2020076a branch p_zcode_entrance 
 
 p_flash_ncs_disable:
-02fd 6808cb45 fetcht 1 ,mem_flash_ncs_gpio 
-02fe 20206825 branch gpio_out_inactive 
+02fe 6808cb45 fetcht 1 ,mem_flash_ncs_gpio 
+02ff 20206825 branch gpio_out_inactive 
 
 p_spid_init_flash:
-02ff 70808640 jam 0x40 ,core_spid_ctrl 
-0300 70808700 jam 0x0 ,core_spid_delay 
-0301 68108081 hfetch 1 ,core_gpio_sel1 
-0302 793ffe00 set0 0 ,pdata 
-0303 793ffe01 set0 1 ,pdata 
-0304 79207e03 set1 3 ,pdata 
-0305 793ffe04 set0 4 ,pdata 
-0306 60108081 hstore 1 ,core_gpio_sel1 
-0307 58000000 setarg 0 
-0308 600201f5 store 4 ,mem_spid_tbuf 
-0309 6810807f hfetch 1 ,core_gpio_pd3 
-030a 793ffe00 set0 0 ,pdata 
-030b 6010807f hstore 1 ,core_gpio_pd3 
-030c 20600000 rtn 
+0300 70808640 jam 0x40 ,core_spid_ctrl 
+0301 70808700 jam 0x0 ,core_spid_delay 
+0302 68108081 hfetch 1 ,core_gpio_sel1 
+0303 793ffe00 set0 0 ,pdata 
+0304 793ffe01 set0 1 ,pdata 
+0305 79207e03 set1 3 ,pdata 
+0306 793ffe04 set0 4 ,pdata 
+0307 60108081 hstore 1 ,core_gpio_sel1 
+0308 58000000 setarg 0 
+0309 600201f5 store 4 ,mem_spid_tbuf 
+030a 6810807f hfetch 1 ,core_gpio_pd3 
+030b 793ffe00 set0 0 ,pdata 
+030c 6010807f hstore 1 ,core_gpio_pd3 
+030d 20600000 rtn 
 
 p_mouse_load_flash_info_check:
-030d 20400359 call p_flash_release_deep_power_down 
-030e 20404423 call mouse_load_flash_flag 
-030f 68014778 fetch 2 ,mem_store_flag 
-0310 d840aa55 arg eeprom_init_flag ,temp 
-0311 98467c00 isub temp ,null 
-0312 2022834a branch p_mouse_load_flash_device_info ,zero 
-0313 60094778 storet 2 ,mem_store_flag 
-0314 2040441c call mouse_ble_init_address 
-0315 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0316 6000c77a store 1 ,mem_mouse_dpi 
-0317 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
-0318 6002477b store 4 ,mem_mouse_24g_addr 
-0319 60024c5d store 4 ,mem_24g_addr 
+030e 2040035a call p_flash_release_deep_power_down 
+030f 20404423 call mouse_load_flash_flag 
+0310 68014778 fetch 2 ,mem_store_flag 
+0311 d840aa55 arg eeprom_init_flag ,temp 
+0312 98467c00 isub temp ,null 
+0313 2022834b branch p_mouse_load_flash_device_info ,zero 
+0314 60094778 storet 2 ,mem_store_flag 
+0315 2040441c call mouse_ble_init_address 
+0316 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+0317 6000c77a store 1 ,mem_mouse_dpi 
+0318 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
+0319 6002477b store 4 ,mem_mouse_24g_addr 
+031a 60024c5d store 4 ,mem_24g_addr 
 
 p_mouse_store_flash_device_info:
-031a 20400359 call p_flash_release_deep_power_down 
-031b 2040032a call p_flash_erase_sector 
-031c 20400341 call p_mouse_information_flash_parameters 
-031d 20400336 call p_spid_write_flash 
-031e 2040032d call p_wait_flash_done 
+031b 2040035a call p_flash_release_deep_power_down 
+031c 2040032b call p_flash_erase_sector 
+031d 20400342 call p_mouse_information_flash_parameters 
+031e 20400337 call p_spid_write_flash 
+031f 2040032e call p_wait_flash_done 
 
 p_mouse_store_flash_user_data:
-031f 204002ff call p_spid_init_flash 
-0320 d8400007 arg 7 ,temp 
-0321 da204b70 arg mem_mouse_flash_start_temp ,rega 
-0322 da40005f arg mouse_user_data_offect ,regb 
-0323 6801c700 fetch 3 ,mem_flash_base 
-0324 9a40fe00 iadd regb ,pdata 
-0325 20400336 call p_spid_write_flash 
-0326 2040032d call p_wait_flash_done 
-0327 20400351 call p_flash_deep_power_down 
+0320 20400300 call p_spid_init_flash 
+0321 d8400007 arg 7 ,temp 
+0322 da204b70 arg mem_mouse_flash_start_temp ,rega 
+0323 da40005f arg mouse_user_data_offect ,regb 
+0324 6801c700 fetch 3 ,mem_flash_base 
+0325 9a40fe00 iadd regb ,pdata 
+0326 20400337 call p_spid_write_flash 
+0327 2040032e call p_wait_flash_done 
+0328 20400352 call p_flash_deep_power_down 
 
 p_mouse_spi_init:
-0328 70421276 jam 0x76 ,mem_spi_init_clk 
-0329 20203d36 branch mouse_spi_init 
+0329 70421276 jam 0x76 ,mem_spi_init_clk 
+032a 20203d36 branch mouse_spi_init 
 
 p_flash_erase_sector:
-032a 6801c700 fetch 3 ,mem_flash_base 
-032b 6001c232 store 3 ,mem_spi_write_addr 
-032c 2040652a call flash_erase_sector + 2 
+032b 6801c700 fetch 3 ,mem_flash_base 
+032c 6001c232 store 3 ,mem_spi_write_addr 
+032d 2040652a call flash_erase_sector + 2 
 
 p_wait_flash_done:
-032d 580186a0 setarg 100000 
-032e 20402a8f call sleep 
-032f 2040650b call spid_unlock_flash 
-0330 580001fa setarg mem_spid_rbuf 
-0331 6011008c hstore 2 ,core_spid_rxaddr 
-0332 58000005 setarg flash_read_satus 
-0333 204064f3 call spid_read_reg 
-0334 c280032d bbit1 flash_status_wip ,p_wait_flash_done 
-0335 20600000 rtn 
+032e 580186a0 setarg 100000 
+032f 20402a8f call sleep 
+0330 2040650b call spid_unlock_flash 
+0331 580001fa setarg mem_spid_rbuf 
+0332 6011008c hstore 2 ,core_spid_rxaddr 
+0333 58000005 setarg flash_read_satus 
+0334 204064f3 call spid_read_reg 
+0335 c280032e bbit1 flash_status_wip ,p_wait_flash_done 
+0336 20600000 rtn 
 
 p_spid_write_flash:
-0336 1fe22600 copy pdata ,regc 
-0337 1a227e00 copy rega ,pdata 
-0338 1fe0fffc increase -4 ,pdata 
-0339 1fe22400 copy pdata ,regb 
-033a ea420000 ifetch 4 ,regb 
-033b 60024b47 store 4 ,mem_write_flash_head_temp 
-033c 1a627e00 copy regc ,pdata 
-033d 20406552 call spid_write_flash 
-033e 68024b47 fetch 4 ,mem_write_flash_head_temp 
-033f e2420000 istore 4 ,regb 
-0340 20600000 rtn 
+0337 1fe22600 copy pdata ,regc 
+0338 1a227e00 copy rega ,pdata 
+0339 1fe0fffc increase -4 ,pdata 
+033a 1fe22400 copy pdata ,regb 
+033b ea420000 ifetch 4 ,regb 
+033c 60024b47 store 4 ,mem_write_flash_head_temp 
+033d 1a627e00 copy regc ,pdata 
+033e 20406552 call spid_write_flash 
+033f 68024b47 fetch 4 ,mem_write_flash_head_temp 
+0340 e2420000 istore 4 ,regb 
+0341 20600000 rtn 
 
 p_mouse_information_flash_parameters:
-0341 5800477f setarg mem_mouse_information_end 
-0342 d8404720 arg mem_mouse_information_start ,temp 
-0343 98460400 isub temp ,temp 
-0344 6801c700 fetch 3 ,mem_flash_base 
-0345 da204720 arg mem_mouse_information_start ,rega 
-0346 20600000 rtn 
+0342 5800477f setarg mem_mouse_information_end 
+0343 d8404720 arg mem_mouse_information_start ,temp 
+0344 98460400 isub temp ,temp 
+0345 6801c700 fetch 3 ,mem_flash_base 
+0346 da204720 arg mem_mouse_information_start ,rega 
+0347 20600000 rtn 
 
 p_mouse_read_flash:
-0347 20400359 call p_flash_release_deep_power_down 
-0348 20400341 call p_mouse_information_flash_parameters 
-0349 20206562 branch spid_read_flash 
+0348 2040035a call p_flash_release_deep_power_down 
+0349 20400342 call p_mouse_information_flash_parameters 
+034a 20206562 branch spid_read_flash 
 
 p_mouse_load_flash_device_info:
-034a 20400347 call p_mouse_read_flash 
-034b 20400363 call p_mouse_load_flash_user_data 
-034c 20404364 call mouse_select_btdevice 
-034d 2040431a call mouse_select_reconn_device 
-034e 6802477b fetch 4 ,mem_mouse_24g_addr 
-034f 60024c5d store 4 ,mem_24g_addr 
-0350 20600000 rtn 
+034b 20400348 call p_mouse_read_flash 
+034c 20400364 call p_mouse_load_flash_user_data 
+034d 20404364 call mouse_select_btdevice 
+034e 2040431a call mouse_select_reconn_device 
+034f 6802477b fetch 4 ,mem_mouse_24g_addr 
+0350 60024c5d store 4 ,mem_24g_addr 
+0351 20600000 rtn 
 
 p_flash_deep_power_down:
-0351 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
+0352 700aa2b9 jam flash_command_deep_power_down ,mem_temp 
 
 p_spid_write_flash_cmd:
-0352 204002ff call p_spid_init_flash 
-0353 204069ac call delay_nop100 
-0354 2040650b call spid_unlock_flash 
-0355 da204b47 arg mem_write_flash_head_temp ,rega 
-0356 68088aa2 fetcht 1 ,mem_temp 
-0357 20406556 call spid_write_flash_common 
-0358 202069ac branch delay_nop100 
+0353 20400300 call p_spid_init_flash 
+0354 204069ac call delay_nop100 
+0355 2040650b call spid_unlock_flash 
+0356 da204b47 arg mem_write_flash_head_temp ,rega 
+0357 68088aa2 fetcht 1 ,mem_temp 
+0358 20406556 call spid_write_flash_common 
+0359 202069ac branch delay_nop100 
 
 p_flash_release_deep_power_down:
-0359 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
-035a 20200352 branch p_spid_write_flash_cmd 
+035a 700aa2ab jam flash_command_release_deep_power_down ,mem_temp 
+035b 20200353 branch p_spid_write_flash_cmd 
 
 p_mouse_fast_conn_disable:
-035b 704b755a jam 0x5a ,mem_mouse_fast_conn_flag 
-035c 20600000 rtn 
+035c 704b755a jam 0x5a ,mem_mouse_fast_conn_flag 
+035d 20600000 rtn 
 
 p_mouse_fast_conn_le_switch_adv:
-035d 704b6901 jam 1 ,mem_le_switch_adv_timer 
-035e 704b6801 jam 1 ,mem_le_switch_adv_flag 
+035e 704b6901 jam 1 ,mem_le_switch_adv_timer 
+035f 704b6801 jam 1 ,mem_le_switch_adv_flag 
 
 p_mouse_fast_conn_init:
-035f 704b75ff jam 0xff ,mem_mouse_fast_conn_flag 
-0360 68034d7a fetch 6 ,mem_24g_allpowerful_addr 
-0361 600344a0 store 6 ,mem_le_lap 
-0362 20600000 rtn 
+0360 704b75ff jam 0xff ,mem_mouse_fast_conn_flag 
+0361 68034d7a fetch 6 ,mem_24g_allpowerful_addr 
+0362 600344a0 store 6 ,mem_le_lap 
+0363 20600000 rtn 
 
 p_mouse_load_flash_user_data:
-0363 20400359 call p_flash_release_deep_power_down 
-0364 d8400007 arg 7 ,temp 
-0365 da204b70 arg mem_mouse_flash_start_temp ,rega 
-0366 da40005f arg mouse_user_data_offect ,regb 
-0367 6801c700 fetch 3 ,mem_flash_base 
-0368 9a40fe00 iadd regb ,pdata 
-0369 20206562 branch spid_read_flash 
+0364 2040035a call p_flash_release_deep_power_down 
+0365 d8400007 arg 7 ,temp 
+0366 da204b70 arg mem_mouse_flash_start_temp ,rega 
+0367 da40005f arg mouse_user_data_offect ,regb 
+0368 6801c700 fetch 3 ,mem_flash_base 
+0369 9a40fe00 iadd regb ,pdata 
+036a 20206562 branch spid_read_flash 
 
 p_mouse_start_24g_mode:
-036a 6800c241 fetch 1 ,mem_power_on_flag 
-036b c28101fe bbit1 2 ,p_g24_start_24g_mode 
+036b 6800c241 fetch 1 ,mem_power_on_flag 
+036c c28101fe bbit1 2 ,p_g24_start_24g_mode 
 
 p_mouse_start_24g_pair:
-036c 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
-036d 60024c5d store 4 ,mem_24g_addr 
-036e 2040031a call p_mouse_store_flash_device_info 
-036f 20200200 branch p_g24_auto_pair_start 
+036d 68024b4c fetch 4 ,mem_mouse_24g_addr_init 
+036e 60024c5d store 4 ,mem_24g_addr 
+036f 2040031b call p_mouse_store_flash_device_info 
+0370 20200200 branch p_g24_auto_pair_start 
 
 p_mouse_g24_package_data:
-0370 20404401 call mouse_g24_package_data 
-0371 6801469f fetch 2 ,mem_mouse_z 
-0372 207a0000 rtn blank 
+0371 20404401 call mouse_g24_package_data 
+0372 6801469f fetch 2 ,mem_mouse_z 
+0373 207a0000 rtn blank 
 
 p_g24_transmit_by_interrupt_enable:
-0373 704d7501 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-0374 58000000 setarg 0 
-0375 60014d76 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-0376 20600000 rtn 
+0374 704d7501 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+0375 58000000 setarg 0 
+0376 60014d76 store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+0377 20600000 rtn 
 
 p_mouse_le_txbuff_save:
-0377 d8c01800 arg mem_le_tx_buffer0 ,contr 
-0378 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
-0379 2040037f call p_mouse_le_txbuff_copy 
-037a d8c01900 arg mem_le_tx_buffer1 ,contr 
-037b 2040037f call p_mouse_le_txbuff_copy 
-037c d8c01a00 arg mem_le_tx_buffer2 ,contr 
-037d 2040037f call p_mouse_le_txbuff_copy 
-037e d8c01b00 arg mem_le_tx_buffer3 ,contr 
+0378 d8c01800 arg mem_le_tx_buffer0 ,contr 
+0379 d8a0480a arg mem_le_tx_buffer0_omemalloc ,contw 
+037a 20400380 call p_mouse_le_txbuff_copy 
+037b d8c01900 arg mem_le_tx_buffer1 ,contr 
+037c 20400380 call p_mouse_le_txbuff_copy 
+037d d8c01a00 arg mem_le_tx_buffer2 ,contr 
+037e 20400380 call p_mouse_le_txbuff_copy 
+037f d8c01b00 arg mem_le_tx_buffer3 ,contr 
 
 p_mouse_le_txbuff_copy:
-037f df20001b arg 27 ,loopcnt 
-0380 20207f01 branch memcpy 
+0380 df20001b arg 27 ,loopcnt 
+0381 20207f01 branch memcpy 
 
 p_mouse_le_txbuff_load:
-0381 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
-0382 d8a01800 arg mem_le_tx_buffer0 ,contw 
-0383 2040037f call p_mouse_le_txbuff_copy 
-0384 d8a01900 arg mem_le_tx_buffer1 ,contw 
-0385 2040037f call p_mouse_le_txbuff_copy 
-0386 d8a01a00 arg mem_le_tx_buffer2 ,contw 
-0387 2040037f call p_mouse_le_txbuff_copy 
-0388 d8a01b00 arg mem_le_tx_buffer3 ,contw 
-0389 2020037f branch p_mouse_le_txbuff_copy 
+0382 d8c0480a arg mem_le_tx_buffer0_omemalloc ,contr 
+0383 d8a01800 arg mem_le_tx_buffer0 ,contw 
+0384 20400380 call p_mouse_le_txbuff_copy 
+0385 d8a01900 arg mem_le_tx_buffer1 ,contw 
+0386 20400380 call p_mouse_le_txbuff_copy 
+0387 d8a01a00 arg mem_le_tx_buffer2 ,contw 
+0388 20400380 call p_mouse_le_txbuff_copy 
+0389 d8a01b00 arg mem_le_tx_buffer3 ,contw 
+038a 20200380 branch p_mouse_le_txbuff_copy 
 
 p_mouse_le_current_mult_update:
-038a 70417200 jam 0 ,mem_lpm_mult 
-038b 704b431e jam 30 ,mem_mouse_le_current_mult_timer 
-038c 20600000 rtn 
+038b 70417200 jam 0 ,mem_lpm_mult 
+038c 704b431e jam 30 ,mem_mouse_le_current_mult_timer 
+038d 20600000 rtn 
 
 p_mouse_data_xy_release:
-038d 6800cb42 fetch 1 ,mem_mouse_long_mult_flag 
-038e c1808000 rtnne 1 
-038f 58000000 setarg 0 
-0390 6000cb42 store 1 ,mem_mouse_long_mult_flag 
-0391 6002469b store 4 ,mem_mouse_x 
-0392 202002d8 branch p_mouse_init_sensor_reset 
+038e 6800cb42 fetch 1 ,mem_mouse_long_mult_flag 
+038f c1808000 rtnne 1 
+0390 58000000 setarg 0 
+0391 6000cb42 store 1 ,mem_mouse_long_mult_flag 
+0392 6002469b store 4 ,mem_mouse_x 
+0393 202002d8 branch p_mouse_init_sensor_reset 
 
 p_mouse_sensor_poweron:
-0393 20400328 call p_mouse_spi_init 
-0394 da604ba1 arg mem_sensor_poweron_init ,regc 
-0395 204002eb call p_sensor_wr_seq 
+0394 20400329 call p_mouse_spi_init 
+0395 da604ba1 arg mem_sensor_poweron_init ,regc 
+0396 204002ed call p_sensor_wr_seq 
+0397 20402bfa call delays_5ms 
 
 p_mouse_dpi_config:
-0396 6800c77a fetch 1 ,mem_mouse_dpi 
-0397 c0ff8527 bne 0xff ,p_mouse_seting_dpi 
+0398 6800c77a fetch 1 ,mem_mouse_dpi 
+0399 c0ff8527 bne 0xff ,p_mouse_seting_dpi 
 
 p_mouse_dpi_config_default:
-0398 6800c6e1 fetch 1 ,mem_config_sensor_motion 
-0399 6000c77a store 1 ,mem_mouse_dpi 
-039a 20200527 branch p_mouse_seting_dpi 
+039a 6800c6e1 fetch 1 ,mem_config_sensor_motion 
+039b 6000c77a store 1 ,mem_mouse_dpi 
+039c 20200527 branch p_mouse_seting_dpi 
 
 p_mouse_le:
-039b 20405892 call le_fifo_check_nearly_full 
-039c 247a0000 nrtn blank 
-039d 6800cb75 fetch 1 ,mem_mouse_fast_conn_flag 
-039e c07f83a2 beq 0xff ,p_mouse_le_next 
-039f 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
-03a0 1fe17e03 and pdata ,0x03 ,pdata 
-03a1 c1818000 rtnne 0x03 
+039d 20405892 call le_fifo_check_nearly_full 
+039e 247a0000 nrtn blank 
+039f 6800cb75 fetch 1 ,mem_mouse_fast_conn_flag 
+03a0 c07f83a4 beq 0xff ,p_mouse_le_next 
+03a1 6800c6c5 fetch 1 ,mem_le_connect_status_flag 
+03a2 1fe17e03 and pdata ,0x03 ,pdata 
+03a3 c1818000 rtnne 0x03 
 
 p_mouse_le_next:
-03a2 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03a3 205a02d6 call p_mouse_clear_sensor_data ,blank 
-03a4 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03a5 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
-03a6 20403f97 call mouse_motion 
-03a7 24740000 nrtn user 
-03a8 2040038a call p_mouse_le_current_mult_update 
-03a9 2040038d call p_mouse_data_xy_release 
-03aa 204003c5 call p_mouse_wheel_trigger 
+03a4 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03a5 205a02d6 call p_mouse_clear_sensor_data ,blank 
+03a6 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03a7 c282c179 bbit1 mouse_bt_discovery_button_down_flag ,mouse_le_send_empty_packet 
+03a8 20403f97 call mouse_motion 
+03a9 24740000 nrtn user 
+03aa 2040038b call p_mouse_le_current_mult_update 
+03ab 2040038e call p_mouse_data_xy_release 
+03ac 204003c7 call p_mouse_wheel_trigger 
 
 p_mouse_data_push:
-03ab da20469a arg mem_mouse_key ,rega 
-03ac 20407e3d call queue_push 
-03ad 205403b4 call p_mouse_queue_increase ,user 
-03ae 20600000 rtn 
+03ad da20469a arg mem_mouse_key ,rega 
+03ae 20407e3d call queue_push 
+03af 205403b6 call p_mouse_queue_increase ,user 
+03b0 20600000 rtn 
 
 p_mouse_data_init:
-03af 7047a207 jam 7 ,mem_mouse_data_queue 
-03b0 7047a304 jam 4 ,mem_mouse_data_queue + 1 
-03b1 580047a2 setarg mem_mouse_data_queue 
-03b2 60014218 store 2 ,mem_queue_ptr 
-03b3 20207e38 branch queue_init 
+03b1 7047a207 jam 7 ,mem_mouse_data_queue 
+03b2 7047a304 jam 4 ,mem_mouse_data_queue + 1 
+03b3 580047a2 setarg mem_mouse_data_queue 
+03b4 60014218 store 2 ,mem_queue_ptr 
+03b5 20207e38 branch queue_init 
 
 p_mouse_queue_increase:
-03b4 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03b5 1fe0fe01 increase 1 ,pdata 
-03b6 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03b7 20600000 rtn 
+03b6 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03b7 1fe0fe01 increase 1 ,pdata 
+03b8 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03b9 20600000 rtn 
 
 p_mouse_data_pull:
-03b8 da20469a arg mem_mouse_key ,rega 
-03b9 20407e54 call queue_pop 
-03ba 203403bc branch p_mouse_fill_data_le ,user 
-03bb 20600000 rtn 
+03ba da20469a arg mem_mouse_key ,rega 
+03bb 20407e54 call queue_pop 
+03bc 203403be branch p_mouse_fill_data_le ,user 
+03bd 20600000 rtn 
 
 p_mouse_fill_data_le:
-03bc 20405652 call le_clear_md 
-03bd 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03be 1fe67c01 sub pdata ,1 ,null 
-03bf 24415650 ncall le_set_md ,positive 
-03c0 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
-03c1 207a0000 rtn blank 
-03c2 1fe0ffff increase -1 ,pdata 
-03c3 6000c7c3 store 1 ,mem_mouse_data_queue_num 
-03c4 20203f90 branch mouse_fill_data_le 
+03be 20405652 call le_clear_md 
+03bf 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03c0 1fe67c01 sub pdata ,1 ,null 
+03c1 24415650 ncall le_set_md ,positive 
+03c2 6800c7c3 fetch 1 ,mem_mouse_data_queue_num 
+03c3 207a0000 rtn blank 
+03c4 1fe0ffff increase -1 ,pdata 
+03c5 6000c7c3 store 1 ,mem_mouse_data_queue_num 
+03c6 20203f90 branch mouse_fill_data_le 
 
 p_mouse_wheel_trigger:
-03c5 6801469f fetch 2 ,mem_mouse_z 
-03c6 207a0000 rtn blank 
-03c7 70480601 jam 1 ,mem_mouse_wheel_trigger 
-03c8 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
-03c9 20600000 rtn 
+03c7 6801469f fetch 2 ,mem_mouse_z 
+03c8 207a0000 rtn blank 
+03c9 70480601 jam 1 ,mem_mouse_wheel_trigger 
+03ca 7048070a jam 10 ,mem_mouse_wheel_trigger_timer 
+03cb 20600000 rtn 
 
 p_mouse_bt:
-03ca 20770000 rtn attempt 
-03cb 6800c1e2 fetch 1 ,mem_app_handshake_flag 
-03cc 207a0000 rtn blank 
-03cd 20405271 call l2cap_malloc_is_fifo_nearly_full 
-03ce 247a0000 nrtn blank 
-03cf 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
-03d0 205a02d6 call p_mouse_clear_sensor_data ,blank 
-03d1 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
-03d2 c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
-03d3 c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
-03d4 20403f97 call mouse_motion 
-03d5 24740000 nrtn user 
-03d6 2040038a call p_mouse_le_current_mult_update 
-03d7 2040038d call p_mouse_data_xy_release 
-03d8 204003c5 call p_mouse_wheel_trigger 
-03d9 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
-03da c00083de beq 1 ,p_mouse_send_data_boot_mode 
-03db 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
-03dc 207a0000 rtn blank 
-03dd 20203f81 branch mouse_send_data 
+03cc 20770000 rtn attempt 
+03cd 6800c1e2 fetch 1 ,mem_app_handshake_flag 
+03ce 207a0000 rtn blank 
+03cf 20405271 call l2cap_malloc_is_fifo_nearly_full 
+03d0 247a0000 nrtn blank 
+03d1 6800c79e fetch 1 ,mem_mouse_clear_sensor_data_flag 
+03d2 205a02d6 call p_mouse_clear_sensor_data ,blank 
+03d3 680246d3 fetch mouse_flag_len ,mem_mouse_flag 
+03d4 c282bf8a bbit1 mouse_bt_discovery_button_down_flag ,mouse_send_empty_data 
+03d5 c284bf8a bbit1 mouse_bt_discovery_button_long_down_flag ,mouse_send_empty_data 
+03d6 20403f97 call mouse_motion 
+03d7 24740000 nrtn user 
+03d8 2040038b call p_mouse_le_current_mult_update 
+03d9 2040038e call p_mouse_data_xy_release 
+03da 204003c7 call p_mouse_wheel_trigger 
+03db 6800cb03 fetch 1 ,mem_mouse_bt_boot_mode 
+03dc c00083e0 beq 1 ,p_mouse_send_data_boot_mode 
+03dd 6800cb0a fetch 1 ,mem_mouse_bt_send_first_package_flag 
+03de 207a0000 rtn blank 
+03df 20203f81 branch mouse_send_data 
 
 p_mouse_send_data_boot_mode:
-03de 6800c69a fetch 1 ,mem_mouse_key 
-03df 6000cb04 store 1 ,mem_mouse_bt_boot_data 
-03e0 6800c69b fetch 1 ,mem_mouse_x 
-03e1 e0a08000 istore 1 ,contw 
-03e2 6800c69d fetch 1 ,mem_mouse_y 
+03e0 6800c69a fetch 1 ,mem_mouse_key 
+03e1 6000cb04 store 1 ,mem_mouse_bt_boot_data 
+03e2 6800c69b fetch 1 ,mem_mouse_x 
 03e3 e0a08000 istore 1 ,contw 
-03e4 6801469f fetch 2 ,mem_mouse_z 
-03e5 e0a10000 istore 2 ,contw 
-03e6 da200007 arg 7 ,rega 
-03e7 20404d63 call hid_malloc_tx_buff 
-03e8 6801424e fetch 2 ,mem_hid_int_remote_cid 
-03e9 e0a10000 istore 2 ,contw 
-03ea 580002a1 setarg 0x02a1 
+03e4 6800c69d fetch 1 ,mem_mouse_y 
+03e5 e0a08000 istore 1 ,contw 
+03e6 6801469f fetch 2 ,mem_mouse_z 
+03e7 e0a10000 istore 2 ,contw 
+03e8 da200007 arg 7 ,rega 
+03e9 20404d63 call hid_malloc_tx_buff 
+03ea 6801424e fetch 2 ,mem_hid_int_remote_cid 
 03eb e0a10000 istore 2 ,contw 
-03ec 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
-03ed e0a28000 istore 5 ,contw 
-03ee 20600000 rtn 
+03ec 580002a1 setarg 0x02a1 
+03ed e0a10000 istore 2 ,contw 
+03ee 6802cb04 fetch 5 ,mem_mouse_bt_boot_data 
+03ef e0a28000 istore 5 ,contw 
+03f0 20600000 rtn 
 
 p_mouse_idle:
-03ef 20407e34 call ui_check_paring_button 
-03f0 204003f2 call p_mouse_dpi_check 
-03f1 20203ee0 branch mouse_wheel_check 
+03f1 20407e34 call ui_check_paring_button 
+03f2 204003f4 call p_mouse_dpi_check 
+03f3 20203ee0 branch mouse_wheel_check 
 
 p_mouse_dpi_check:
-03f2 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03f3 20400573 call p_gpio_set_input_pd 
 03f4 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
-03f5 2040681d call gpio_get_bit 
-03f6 20208400 branch p_mouse_dpi_up ,true 
-03f7 2040056e call p_gpio_set_input_pu 
+03f5 20400573 call p_gpio_set_input_pd 
+03f6 6808c6e7 fetcht 1 ,mem_dpi_button_gpio 
+03f7 2040681d call gpio_get_bit 
+03f8 20208402 branch p_mouse_dpi_up ,true 
+03f9 2040056e call p_gpio_set_input_pu 
 
 p_mouse_dpi_down:
-03f8 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
-03f9 c1000000 rtneq dpi_button_state_down 
-03fa 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
-03fb 6800c77a fetch 1 ,mem_mouse_dpi 
-03fc 1fe0fe01 increase 1 ,pdata 
-03fd 1fe17e03 and pdata ,0x03 ,pdata 
-03fe 6000c77a store 1 ,mem_mouse_dpi 
-03ff 20203d7e branch mouse_seting_dpi 
+03fa 6800c6b6 fetch 1 ,mem_mouse_dpi_button_state 
+03fb c1000000 rtneq dpi_button_state_down 
+03fc 7046b600 jam dpi_button_state_down ,mem_mouse_dpi_button_state 
+03fd 6800c77a fetch 1 ,mem_mouse_dpi 
+03fe 1fe0fe01 increase 1 ,pdata 
+03ff 1fe17e03 and pdata ,0x03 ,pdata 
+0400 6000c77a store 1 ,mem_mouse_dpi 
+0401 20203d7e branch mouse_seting_dpi 
 
 p_mouse_dpi_up:
-0400 2040056e call p_gpio_set_input_pu 
-0401 20203d62 branch mouse_dpi_up 
+0402 2040056e call p_gpio_set_input_pu 
+0403 20203d62 branch mouse_dpi_up 
 
 p_mouse_priority_bb_event:
-0402 1a627e00 copy regc ,pdata 
-0403 c00a0413 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
-0404 c00a8427 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
-0405 c014842a beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
-0406 c019042c beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
-0407 c020042e beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
-0408 c0020430 beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
-0409 c0098430 beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
-040a c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
-040b c0108434 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
-040c c0008436 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
-040d c0010442 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
-040e c0158445 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
-040f c01c8447 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
-0410 c01d044a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
-0411 c01e044d beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
-0412 2020417d branch mouse_priority_bb_event + 1 
+0404 1a627e00 copy regc ,pdata 
+0405 c00a0415 beq bt_evt_le_connected ,p_mouse_le_bb_event_connected 
+0406 c00a8428 beq bt_evt_le_disconnected ,p_mouse_le_bb_disconnected 
+0407 c014842b beq bt_evt_le_enc_info ,p_mouse_le_enc_info 
+0408 c019042d beq bt_evt_le_start_enc ,p_mouse_le_ll_start_encryt 
+0409 c020042f beq bt_evt_le_parse_conn_papa_update_rsp ,p_mouse_le_conn_param_update_rsp_recieved 
+040a c0020431 beq bt_evt_reconn_failed ,p_mouse_bb_event_reconn_failed 
+040b c0098431 beq bt_evt_reconn_page_timeout ,p_mouse_bb_event_reconn_timeout 
+040c c00cb3df beq bt_evt_switch_not_accept ,app_bt_role_switch 
+040d c0108435 beq bt_evt_sniff_not_accept ,p_mouse_sniff_not_accept 
+040e c0008437 beq bt_evt_bb_connected ,p_mouse_bb_event_connected 
+040f c0010442 beq bt_evt_bb_disconnected ,p_mouse_bb_event_disconnected 
+0410 c0158445 beq bt_evt_switch_success_master ,p_mouse_enter_sniff_check 
+0411 c01c8447 beq bt_evt_24g_pairing_complete ,p_mouse_24g_pairing_complete 
+0412 c01d044a beq bt_evt_24g_attempt_fail ,p_mouse_24g_attempt_fail 
+0413 c01e044d beq bt_evt_24g_attempt_success ,p_mouse_24g_attempt_success 
+0414 2020417d branch mouse_priority_bb_event + 1 
 
 p_mouse_le_bb_event_connected:
-0413 204002d8 call p_mouse_init_sensor_reset 
-0414 204041c3 call mouse_le_bb_event_connected 
-0415 58000000 setarg 0 
-0416 6001cb68 store 3 ,mem_le_switch_adv_flag 
-0417 68034b4c fetch 6 ,mem_mouse_24g_addr_init 
-0418 680b4722 fetcht 6 ,mem_device1_addr 
-0419 98467c00 isub temp ,null 
-041a 2442835b ncall p_mouse_fast_conn_disable ,zero 
-041b 20403410 call app_ble_store_reconn_info 
-041c 704b7601 jam latest_mode_bt ,mem_mouse_latest_mode 
-041d 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
-041e 243a0420 nbranch p_mouse_le_bb_event_connected_next ,blank 
-041f 704b6d14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
+0415 204041c3 call mouse_le_bb_event_connected 
+0416 58000000 setarg 0 
+0417 6001cb68 store 3 ,mem_le_switch_adv_flag 
+0418 68034b4c fetch 6 ,mem_mouse_24g_addr_init 
+0419 680b4722 fetcht 6 ,mem_device1_addr 
+041a 98467c00 isub temp ,null 
+041b 2442835c ncall p_mouse_fast_conn_disable ,zero 
+041c 20403410 call app_ble_store_reconn_info 
+041d 704b7601 jam latest_mode_bt ,mem_mouse_latest_mode 
+041e 6800c7a1 fetch 1 ,mem_mouse_le_reconnect_flag 
+041f 243a0421 nbranch p_mouse_le_bb_event_connected_next ,blank 
+0420 704b6d14 jam 0x14 ,mem_mouse_send_secutiry_request_timer 
 
 p_mouse_le_bb_event_connected_next:
-0420 704b7700 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
-0421 704b6c00 jam 0 ,mem_mouse_le_adv_start 
-0422 704b6f01 jam 1 ,mem_mouse_le_bb_connected_flag 
-0423 704b7800 jam 0 ,mem_mouse_le_not_tx_disconn 
-0424 704b6b00 jam 0 ,mem_mouse_start_discovery_enable 
-0425 20400202 call p_g24_check_51cmd_stop_24g 
-0426 202003af branch p_mouse_data_init 
+0421 704b7700 jam 0 ,mem_mouse_poweron_bt_start_reconn_timer 
+0422 704b6c00 jam 0 ,mem_mouse_le_adv_start 
+0423 704b6f01 jam 1 ,mem_mouse_le_bb_connected_flag 
+0424 704b7800 jam 0 ,mem_mouse_le_not_tx_disconn 
+0425 704b6b00 jam 0 ,mem_mouse_start_discovery_enable 
+0426 20400202 call p_g24_check_51cmd_stop_24g 
+0427 202003b1 branch p_mouse_data_init 
 
 p_mouse_le_bb_disconnected:
-0427 20400453 call p_mouse_sensor_powerdown_check 
-0428 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
-0429 2020076a branch p_zcode_entrance 
+0428 20400453 call p_mouse_sensor_powerdown_check 
+0429 7011c6a2 jam zcode_a2 ,mem_zcode_temp_param0 
+042a 2020076a branch p_zcode_entrance 
 
 p_mouse_le_enc_info:
 
 p_app_updata_le_param:
-042a 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
-042b 20207d8f branch ui_ipc_send_cmd 
+042b 700a9912 jam bt_cmd_le_update_conn ,mem_fifo_temp 
+042c 20207d8f branch ui_ipc_send_cmd 
 
 p_mouse_le_ll_start_encryt:
-042c 7011c6b3 jam zcode_b3 ,mem_zcode_temp_param0 
-042d 2020076a branch p_zcode_entrance 
+042d 7011c6b3 jam zcode_b3 ,mem_zcode_temp_param0 
+042e 2020076a branch p_zcode_entrance 
 
 p_mouse_le_conn_param_update_rsp_recieved:
-042e 7011c6a1 jam zcode_a1 ,mem_zcode_temp_param0 
-042f 2020076a branch p_zcode_entrance 
+042f 7011c6a1 jam zcode_a1 ,mem_zcode_temp_param0 
+0430 2020076a branch p_zcode_entrance 
 
 p_mouse_bb_event_reconn_timeout:
 
 p_mouse_bb_event_reconn_failed:
-0430 7011c6a3 jam zcode_a3 ,mem_zcode_temp_param0 
-0431 2020076a branch p_zcode_entrance 
+0431 7011c6a3 jam zcode_a3 ,mem_zcode_temp_param0 
+0432 2020076a branch p_zcode_entrance 
 
 p_mouse_irtual_cable_unplug:
-0432 7011c670 jam zcode_70 ,mem_zcode_temp_param0 
-0433 2020076a branch p_zcode_entrance 
+0433 7011c670 jam zcode_70 ,mem_zcode_temp_param0 
+0434 2020076a branch p_zcode_entrance 
 
 p_mouse_sniff_not_accept:
-0434 7011c6b1 jam zcode_b1 ,mem_zcode_temp_param0 
-0435 2020076a branch p_zcode_entrance 
+0435 7011c6b1 jam zcode_b1 ,mem_zcode_temp_param0 
+0436 2020076a branch p_zcode_entrance 
 
 p_mouse_bb_event_connected:
-0436 20400488 call p_mouse_store_eeprom_enable 
-0437 204002d8 call p_mouse_init_sensor_reset 
+0437 20400488 call p_mouse_store_eeprom_enable 
 0438 58000000 setarg 0 
 0439 6001cb68 store 3 ,mem_le_switch_adv_flag 
 043a 704b7601 jam latest_mode_bt ,mem_mouse_latest_mode 
@@ -1490,7 +1490,7 @@
 0455 704afe00 jam 0 ,mem_mouse_init_sensor_reset_flag 
 
 p_mouse_sensor_powerdown:
-0456 204002d9 call p_mouse_init_sunt 
+0456 204002db call p_mouse_init_sunt 
 0457 58000006 setarg 0x06 
 0458 20406414 call twspi_read 
 0459 1fe1fe08 or pdata ,0x08 ,pdata 
@@ -1566,7 +1566,7 @@
 048b 70438f00 jam 0 ,mem_le_scan_data_len 
 048c d8e00007 arg mouse_store_eeprom_flag ,queue 
 048d 204043d2 call mouse_disable_function_flag 
-048e 2020035f branch p_mouse_fast_conn_init 
+048e 20200360 branch p_mouse_fast_conn_init 
 
 p_mouse_g24_long_sleep_param_update_timer:
 048f da604b44 arg mem_24g_long_sleep_param_update_timer ,regc 
@@ -2021,7 +2021,7 @@
 
 p_in_le_tx_4:
 05b0 20405892 call le_fifo_check_nearly_full 
-05b1 205a03b8 call p_mouse_data_pull ,blank 
+05b1 205a03ba call p_mouse_data_pull ,blank 
 05b2 20205622 branch le_prepare_tx + 4 
 
 p_le_check_tx_retransmit_setmd:
@@ -2475,7 +2475,7 @@
 
 p_mouse_unplug_clean_bdaddr:
 06f4 204042fb call mouse_before_store_reconn_info 
-06f5 2020031a branch p_mouse_store_flash_device_info 
+06f5 2020031b branch p_mouse_store_flash_device_info 
 
 p_check_51cmd_ble_update_connect_param:
 06f6 20405890 call le_fifo_check_full 
@@ -2661,7 +2661,7 @@
 0776 9840fe00 iadd temp ,pdata 
 0777 1fe0fffb increase -5 ,pdata 
 0778 6001cb59 store 3 ,mem_flash_address 
-0779 20400359 call p_flash_release_deep_power_down 
+0779 2040035a call p_flash_release_deep_power_down 
 
 p_zcode_read_loop:
 077a 6801cb59 fetch 3 ,mem_flash_address 
@@ -2672,7 +2672,7 @@
 077f 680a4b5c fetcht 4 ,mem_zcode_head 
 0780 98467c00 isub temp ,null 
 0781 2422877a nbranch p_zcode_read_loop ,zero 
-0782 20400328 call p_mouse_spi_init 
+0782 20400329 call p_mouse_spi_init 
 0783 58001f00 setarg mem_zcode_buff 
 0784 60014199 store 2 ,mem_patch_ptr 
 0785 70419b40 jam zcode_code_size ,mem_patch_len 
@@ -6781,6 +6781,8 @@
 2bf7 20407f91 call ceiling 
 2bf8 6000c178 store 1 ,mem_lpm_xtalcnt 
 2bf9 20007530 nop 30000 
+
+delays_5ms:
 2bfa 20007530 nop 30000 
 2bfb 20007530 nop 30000 
 2bfc 20600000 rtn 
@@ -35544,7 +35546,7 @@
 
 z_hid_rx_process_hid_control:
 1003a 18427e00  copy temp ,pdata
-1003b c0028432  beq hid_control_p_virtualcableunplug ,p_mouse_irtual_cable_unplug
+1003b c0028433  beq hid_control_p_virtualcableunplug ,p_mouse_irtual_cable_unplug
 1003c 20204d41  branch hid_rx_process_hid_control + 2
 org 0x20001
 
@@ -35694,7 +35696,7 @@
 z_mouse_start_discovery_norandom:
 40008 68034b62  fetch 6 ,mem_le_normal_lap
 40009 600344a0  store 6 ,mem_le_lap
-4000a 2040035b  call p_mouse_fast_conn_disable
+4000a 2040035c  call p_mouse_fast_conn_disable
 4000b 20403418  call app_lpm_mult_disable
 4000c 68014687  fetch 2 ,mem_discovery_timeout
 4000d 600146ac  store 2 ,mem_mouse_discovery_timer
@@ -35704,7 +35706,7 @@
 40011 600146ae  store 2 ,mem_mouse_direct_timer
 40012 20400488  call p_mouse_store_eeprom_enable
 40013 204043ca  call mouse_bt_discovery_button_down_disable
-40014 2040034a  call p_mouse_load_flash_device_info
+40014 2040034b  call p_mouse_load_flash_device_info
 40015 6800c210  fetch 1 ,mem_xrecord_mode
 40016 1fe67c33  sub pdata ,rec_3_mode ,null
 40017 2042801e  call z3_check_51cmd_adv ,zero
@@ -35797,7 +35799,7 @@
 6000a 704d7500  jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt
 6000b 204002ce  call p_mouse_tx_power_init
 6000c 20400202  call p_g24_check_51cmd_stop_24g
-6000d 2040034a  call p_mouse_load_flash_device_info
+6000d 2040034b  call p_mouse_load_flash_device_info
 6000e 6800cb76  fetch 1 ,mem_mouse_latest_mode
 6000f c1810000  rtnne latest_mode_24g
 60010 2020340a  branch app_enter_hibernate
@@ -35816,7 +35818,7 @@
 6001b 6002477b  store 4 ,mem_mouse_24g_addr
 6001c 20404366  call mouse_cheak_select_24gdevice
 6001d 704b7602  jam latest_mode_24g ,mem_mouse_latest_mode
-6001e 2020031a  branch p_mouse_store_flash_device_info
+6001e 2020031b  branch p_mouse_store_flash_device_info
 
 z_g24_auto_pair_timeout_clear:
 6001f 58000000  setarg 0
@@ -35838,7 +35840,7 @@
 6002b 704b4200  jam 0 ,mem_mouse_long_mult_flag
 6002c 20402f20  call g24_app_tx_attempt_success
 6002d 204001a9  call p_g24_txbuf_clear
-6002e 20200373  branch p_g24_transmit_by_interrupt_enable
+6002e 20200374  branch p_g24_transmit_by_interrupt_enable
 
 z_g24_store_dongle_addr:
 6002f 68024c15  fetch 4 ,mem_24g_rxpayload + 2
@@ -35895,7 +35897,7 @@
 70020 704b4200  jam 0 ,mem_mouse_long_mult_flag
 70021 20402f20  call g24_app_tx_attempt_success
 70022 204001a9  call p_g24_txbuf_clear
-70023 20200373  branch p_g24_transmit_by_interrupt_enable
+70023 20200374  branch p_g24_transmit_by_interrupt_enable
 
 z7_g24_store_dongle_addr:
 70024 68024c15  fetch 4 ,mem_24g_rxpayload + 2
@@ -35949,7 +35951,7 @@
 80007 704b75ff  jam 0xff ,mem_mouse_fast_conn_flag
 80008 204042fb  call mouse_before_store_reconn_info
 80009 704721ff  jam 0xff ,mem_device1_type
-8000a 2020031a  branch p_mouse_store_flash_device_info
+8000a 2020031b  branch p_mouse_store_flash_device_info
 
 z_g24_search_dongle:
 8000b 6800cb42  fetch 1 ,mem_mouse_long_mult_flag
@@ -36011,14 +36013,14 @@
 90007 60014154  store 2 ,mem_lpm_interval
 90008 2040002e  call z_mouse_set_gpio_control_sensor
 90009 20403e54  call mouse_adc_init
-9000a 2040030d  call p_mouse_load_flash_info_check
+9000a 2040030e  call p_mouse_load_flash_info_check
 9000b 6800c720  fetch 1 ,mem_device_flag
 9000c c1010000  rtneq mode_24g_device
 9000d 68034b4c  fetch 6 ,mem_mouse_24g_addr_init
 9000e 680b4722  fetcht 6 ,mem_device1_addr
 9000f 98467c00  isub temp ,null
-90010 2422835b  nbranch p_mouse_fast_conn_disable ,zero
-90011 2020035d  branch p_mouse_fast_conn_le_switch_adv
+90010 2422835c  nbranch p_mouse_fast_conn_disable ,zero
+90011 2020035e  branch p_mouse_fast_conn_le_switch_adv
 90012 20600000  rtn
 
 z_mouse_bt_sdp_update:
@@ -36142,7 +36144,7 @@
 b000c 58000009  setarg le_interval_11_25ms
 b000d 60014496  store 2 ,mem_le_interval_min
 b000e 60014498  store 2 ,mem_le_interval_min + 2
-b000f 2040042a  call p_app_updata_le_param
+b000f 2040042b  call p_app_updata_le_param
 b0010 7047c401  jam le_lpm_disable ,mem_mouse_le_conn_param_reject
 b0011 20600000  rtn
 
@@ -36168,10 +36170,10 @@
 b001e 60014498  store 2 ,mem_le_interval_min + 2
 b001f 7047c400  jam le_lpm_enable ,mem_mouse_le_conn_param_reject
 b0020 70479e00  jam 0 ,mem_mouse_clear_sensor_data_flag
-b0021 204003af  call p_mouse_data_init
+b0021 204003b1  call p_mouse_data_init
 b0022 20405816  call le_clr_config_more_data
 b0023 204041d9  call mouse_bb_disconnected
-b0024 2040031a  call p_mouse_store_flash_device_info
+b0024 2040031b  call p_mouse_store_flash_device_info
 b0025 6800cb6b  fetch 1 ,mem_mouse_start_discovery_enable
 b0026 207a0000  rtn blank
 
@@ -36189,10 +36191,10 @@
 b002f 204074bd  call disable_authrom
 b0030 20404482  call mouse_devce_led_off
 b0031 2040051f  call p_mouse_multi_led_gpio_set_high
-b0032 2040031a  call p_mouse_store_flash_device_info
+b0032 2040031b  call p_mouse_store_flash_device_info
 b0033 20403e9f  call mouse_before_hibernate_wheel_gpio_set
 b0034 204000ee  call p_mouse_setgpio_hibernate
-b0035 20400351  call p_flash_deep_power_down
+b0035 20400352  call p_flash_deep_power_down
 b0036 68108081  hfetch 1 ,core_gpio_sel1
 b0037 1fe17ef7  and pdata ,0xf7 ,pdata
 b0038 60108081  hstore 1 ,core_gpio_sel1
@@ -36231,7 +36233,7 @@
 c0014 20200017  branch z_mouse_le_ll_enable_start_enc_flag
 
 z_mouse_le_ll_reconn_start_encryt:
-c0015 2040042a  call p_app_updata_le_param
+c0015 2040042b  call p_app_updata_le_param
 c0016 7046c60a  jam 10 ,mem_le_start_encrypt_timer
 
 z_mouse_le_ll_enable_start_enc_flag:
@@ -36242,6 +36244,6 @@
 c0019 704aff00  jam 0 ,mem_bt_rcvd_switch_req_accept
 c001a 704b0100  jam 0 ,mem_bt_send_lmp_setup_complete
 c001b 704b0a00  jam 0 ,mem_mouse_bt_send_first_package_flag
-c001c 2040031a  call p_mouse_store_flash_device_info
+c001c 2040031b  call p_mouse_store_flash_device_info
 c001d 202041d9  branch mouse_bb_disconnected
  branch mouse_bb_disconnected
Index: output/romcode.rom
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/Standard/output/romcode.rom	(revision 2533)
+++ /branch/mouse_project/YJX_Project/YJX_1059/Standard/output/romcode.rom	(working copy)
@@ -24630,7 +24630,7 @@
 704b0301
 20600000
 18427e00
-c0028432
+c0028433
 20204d41
 c008000e
 c008801b
@@ -24735,7 +24735,7 @@
 70479e00
 68034b62
 600344a0
-2040035b
+2040035c
 20403418
 68014687
 600146ac
@@ -24745,7 +24745,7 @@
 600146ae
 20400488
 204043ca
-2040034a
+2040034b
 6800c210
 1fe67c33
 2042801e
@@ -24814,7 +24814,7 @@
 704d7500
 204002ce
 20400202
-2040034a
+2040034b
 6800cb76
 c1810000
 2020340a
@@ -24831,7 +24831,7 @@
 6002477b
 20404366
 704b7602
-2020031a
+2020031b
 58000000
 6001cd80
 20600000
@@ -24847,7 +24847,7 @@
 704b4200
 20402f20
 204001a9
-20200373
+20200374
 68024c15
 202001e8
 70119eff
@@ -24893,7 +24893,7 @@
 704b4200
 20402f20
 204001a9
-20200373
+20200374
 68024c15
 202001e8
 6800cd73
@@ -24930,7 +24930,7 @@
 704b75ff
 204042fb
 704721ff
-2020031a
+2020031b
 6800cb42
 207a0000
 6800cc61
@@ -24977,14 +24977,14 @@
 60014154
 2040002e
 20403e54
-2040030d
+2040030e
 6800c720
 c1010000
 68034b4c
 680b4722
 98467c00
-2422835b
-2020035d
+2422835c
+2020035e
 20600000
 204074b9
 d8c08c00
@@ -25074,7 +25074,7 @@
 58000009
 60014496
 60014498
-2040042a
+2040042b
 7047c401
 20600000
 704b6101
@@ -25092,10 +25092,10 @@
 60014498
 7047c400
 70479e00
-204003af
+204003b1
 20405816
 204041d9
-2040031a
+2040031b
 6800cb6b
 207a0000
 68034b62
@@ -25109,10 +25109,10 @@
 204074bd
 20404482
 2040051f
-2040031a
+2040031b
 20403e9f
 204000ee
-20400351
+20400352
 68108081
 1fe17ef7
 60108081
@@ -25140,13 +25140,13 @@
 c0008015
 7046c614
 20200017
-2040042a
+2040042b
 7046c60a
 d8e00001
 202041b9
 704aff00
 704b0100
 704b0a00
-2040031a
+2040031b
 202041d9
-0000b754
+00008ec7
Index: program/bt.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/Standard/program/bt.prog	(revision 2533)
+++ /branch/mouse_project/YJX_Project/YJX_1059/Standard/program/bt.prog	(working copy)
@@ -3961,6 +3961,7 @@
 	call ceiling
 	store 1,mem_lpm_xtalcnt
 	nop 30000
+delays_5ms:
 	nop 30000
 	nop 30000	
 	rtn
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/Standard/program/patch.prog	(revision 2533)
+++ /branch/mouse_project/YJX_Project/YJX_1059/Standard/program/patch.prog	(working copy)
@@ -1257,7 +1257,8 @@
 	call le_set_config_more_data
 p_mouse_init_sensor_reset:
 	jam 1,mem_mouse_init_sensor_reset_flag
-//	branch p_mouse_init_sunt
+	call p_mouse_init_sunt
+	branch delays_5ms
 
 p_mouse_init_sunt:
 	call p_mouse_spi_init
@@ -1289,7 +1290,6 @@
 	isub temp,null
 	rtn zero
 	call twspi_write
-	nop 12000
 	increase 2,regc
 	branch p_sensor_wr_seq
 
@@ -1550,6 +1550,7 @@
 	call p_mouse_spi_init
 	arg mem_sensor_poweron_init,regc
 	call p_sensor_wr_seq
+	call delays_5ms
 //	branch p_mouse_dpi_config
 
 p_mouse_dpi_config:
@@ -1763,7 +1764,7 @@
 
 ifdef BLE
 p_mouse_le_bb_event_connected:
-	call p_mouse_init_sensor_reset
+//	call p_mouse_init_sensor_reset
 	call mouse_le_bb_event_connected
 ifdef BLE_FAST_CONN_ENABLE
 	setarg 0
@@ -1824,7 +1825,7 @@
 
 p_mouse_bb_event_connected:
 	call p_mouse_store_eeprom_enable
-	call p_mouse_init_sensor_reset
+//	call p_mouse_init_sensor_reset
 ifdef BLE_FAST_CONN_ENABLE
 	setarg 0
 	store 3,mem_le_switch_adv_flag
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/YJX_1059/Standard/sched/mouse.dat	(revision 2533)
+++ /branch/mouse_project/YJX_Project/YJX_1059/Standard/sched/mouse.dat	(working copy)
@@ -292,7 +292,7 @@
 mem_24g_allpowerful_addr:0f 0f 0f 0f 0f 0f
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 4f 12
-mem_firmware_version:04 00
+mem_firmware_version:05 00
 
 mem_device_flag:
 01
