Index: format/g24.format
===================================================================
--- /branch/mouse_project/YJX_Project/24G&BLE_BD/format/g24.format	(revision 1485)
+++ /branch/mouse_project/YJX_Project/24G&BLE_BD/format/g24.format	(working copy)
@@ -126,6 +126,7 @@
 1 mem_24g_transmit_by_interrupt
 2 mem_24g_transmit_by_interrupt_exit_count
 2 mem_24g_transmit_by_interrupt_exit_count_init
+4 mem_24g_allpowerful_addr
 )
 
 (
Index: output/eeprom.dat
===================================================================
--- /branch/mouse_project/YJX_Project/24G&BLE_BD/output/eeprom.dat	(revision 1485)
+++ /branch/mouse_project/YJX_Project/24G&BLE_BD/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-c6
+ce
 1c
 c2
 84
@@ -11,11 +11,11 @@
 c0
 42
 86
-59
+5a
 c0
 44
 86
-2a
+2b
 c0
 00
 00
@@ -307,7 +307,7 @@
 c0
 00
 85
-df
+e3
 20
 40
 00
@@ -355,7 +355,7 @@
 20
 40
 06
-5b
+5c
 24
 74
 00
@@ -627,7 +627,7 @@
 20
 40
 06
-89
+8b
 20
 40
 04
@@ -803,7 +803,7 @@
 20
 40
 07
-17
+19
 68
 00
 c1
@@ -1711,7 +1711,7 @@
 20
 20
 05
-df
+e3
 20
 40
 58
@@ -1779,7 +1779,7 @@
 20
 20
 07
-1c
+1e
 68
 00
 c6
@@ -1999,7 +1999,7 @@
 20
 40
 07
-17
+19
 20
 20
 41
@@ -2051,7 +2051,7 @@
 20
 40
 07
-17
+19
 20
 40
 58
@@ -2167,7 +2167,7 @@
 20
 40
 06
-14
+15
 20
 20
 34
@@ -3395,7 +3395,7 @@
 20
 40
 86
-14
+15
 70
 46
 b4
@@ -3899,7 +3899,7 @@
 20
 5a
 07
-24
+26
 20
 20
 56
@@ -4687,7 +4687,7 @@
 20
 20
 06
-9b
+9d
 68
 00
 ca
@@ -4715,7 +4715,7 @@
 20
 40
 06
-9b
+9d
 70
 49
 91
@@ -4863,7 +4863,7 @@
 20
 40
 06
-9b
+9d
 70
 49
 91
@@ -4887,7 +4887,7 @@
 20
 40
 06
-9b
+9d
 70
 49
 91
@@ -4911,7 +4911,7 @@
 20
 40
 06
-89
+8b
 70
 49
 51
@@ -5207,7 +5207,7 @@
 20
 40
 06
-f6
+f8
 18
 00
 2a
@@ -5235,11 +5235,11 @@
 20
 40
 06
-b5
+b7
 20
 57
 86
-ef
+f1
 20
 60
 00
@@ -5247,7 +5247,7 @@
 20
 40
 06
-ef
+f1
 20
 20
 04
@@ -5327,7 +5327,7 @@
 20
 20
 06
-9b
+9d
 68
 00
 c9
@@ -5371,7 +5371,7 @@
 20
 40
 06
-1d
+1e
 68
 00
 c9
@@ -5487,7 +5487,7 @@
 20
 40
 06
-6a
+6b
 60
 08
 ca
@@ -5659,7 +5659,7 @@
 20
 20
 06
-7b
+7d
 68
 00
 c9
@@ -5755,11 +5755,11 @@
 20
 40
 06
-18
+19
 20
 40
 06
-89
+8b
 20
 40
 04
@@ -5822,8 +5822,8 @@
 86
 20
 40
-05
-e3
+06
+7c
 20
 20
 05
@@ -5859,11 +5859,11 @@
 20
 40
 06
-18
+19
 20
 20
 06
-89
+8b
 58
 00
 00
@@ -5879,7 +5879,7 @@
 20
 40
 05
-fb
+fd
 20
 40
 05
@@ -5915,7 +5915,7 @@
 20
 40
 05
-ef
+f1
 68
 01
 49
@@ -5939,16 +5939,32 @@
 24
 2c
 05
-e5
+e7
 24
 37
 85
-e5
+e7
 20
 40
 05
 3d
 68
+02
+49
+74
+68
+0a
+4a
+91
+98
+46
+7c
+00
+20
+22
+85
+d4
+68
 00
 c9
 4a
@@ -5990,8 +6006,8 @@
 00
 20
 42
-85
-e3
+86
+7c
 79
 20
 00
@@ -6033,14 +6049,6 @@
 00
 00
 68
-02
-49
-2c
-20
-20
-06
-7b
-68
 01
 49
 79
@@ -6071,15 +6079,15 @@
 c0
 00
 06
-0e
+0f
 c0
 01
 06
-12
+13
 20
 20
 06
-10
+11
 68
 00
 c8
@@ -6115,7 +6123,7 @@
 20
 22
 85
-f9
+fb
 20
 60
 00
@@ -6151,7 +6159,7 @@
 20
 40
 06
-03
+05
 60
 08
 91
@@ -6163,27 +6171,23 @@
 20
 40
 06
-7c
+7e
 20
 20
 06
-9b
+9d
 70
 41
 de
 20
-58
-00
-0f
-0f
+68
+02
+4a
+91
 60
-01
+02
 49
 74
-e0
-a1
-00
-00
 68
 00
 91
@@ -6195,7 +6199,7 @@
 20
 40
 06
-03
+05
 60
 08
 91
@@ -6207,7 +6211,7 @@
 20
 40
 05
-fb
+fd
 20
 20
 05
@@ -6223,7 +6227,7 @@
 20
 40
 06
-05
+07
 20
 20
 05
@@ -6383,19 +6387,19 @@
 c0
 01
 06
-42
+43
 c0
 02
 06
-47
+48
 c0
 10
 06
-56
+57
 20
 40
 06
-4c
+4d
 70
 89
 55
@@ -6415,7 +6419,7 @@
 20
 40
 06
-51
+52
 70
 89
 55
@@ -6435,7 +6439,7 @@
 20
 40
 06
-4c
+4d
 70
 89
 55
@@ -6595,7 +6599,7 @@
 c2
 00
 06
-6d
+6e
 18
 49
 7e
@@ -6640,6 +6644,10 @@
 60
 00
 00
+68
+02
+49
+2c
 60
 02
 49
@@ -6667,7 +6675,7 @@
 c2
 00
 06
-7f
+81
 1a
 22
 7e
@@ -6775,7 +6783,7 @@
 20
 40
 06
-9f
+a1
 60
 08
 c9
@@ -6787,7 +6795,7 @@
 20
 40
 06
-a3
+a5
 18
 40
 84
@@ -6875,7 +6883,7 @@
 20
 40
 06
-ac
+ae
 78
 57
 fc
@@ -6911,7 +6919,7 @@
 24
 2c
 06
-ef
+f1
 78
 46
 fc
@@ -6931,7 +6939,7 @@
 20
 40
 06
-ec
+ee
 60
 00
 ca
@@ -6947,11 +6955,11 @@
 24
 22
 86
-ef
+f1
 20
 40
 06
-ec
+ee
 60
 00
 c8
@@ -6971,11 +6979,11 @@
 24
 20
 86
-ef
+f1
 20
 40
 06
-ec
+ee
 e0
 a0
 80
@@ -6991,11 +6999,11 @@
 20
 22
 86
-d6
+d8
 20
 40
 06
-ec
+ee
 e0
 a0
 80
@@ -7003,7 +7011,7 @@
 c2
 00
 06
-d3
+d5
 18
 a2
 22
@@ -7011,7 +7019,7 @@
 20
 40
 06
-ec
+ee
 60
 00
 ca
@@ -7051,7 +7059,7 @@
 20
 23
 06
-ef
+f1
 78
 37
 fc
@@ -7147,11 +7155,11 @@
 20
 40
 06
-ac
+ae
 20
 40
 06
-f3
+f5
 79
 20
 2a
@@ -7231,7 +7239,7 @@
 c2
 00
 07
-0c
+0e
 78
 24
 7c
@@ -7295,7 +7303,7 @@
 20
 54
 07
-20
+22
 20
 60
 00
@@ -7327,7 +7335,7 @@
 20
 34
 07
-28
+2a
 20
 60
 00
@@ -7368,8 +7376,8 @@
 20
 3f
 90
-8d
-aa
+d2
+29
 aa
 55
 08
@@ -8054,26 +8062,18 @@
 49
 04
 01
-87
-f6
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
-ff
+aa
+55
+04
+00
+91
+4a
+0f
+0f
+0f
+0f
+dd
+6c
 ff
 ff
 ff
@@ -8188,5 +8188,5 @@
 ff
 ff
 ff
-07
-ae
+df
+94
Index: output/memmap.format
===================================================================
--- /branch/mouse_project/YJX_Project/24G&BLE_BD/output/memmap.format	(revision 1485)
+++ /branch/mouse_project/YJX_Project/24G&BLE_BD/output/memmap.format	(working copy)
@@ -1917,3 +1917,4 @@
 0x4a8c mem_24g_transmit_by_interrupt
 0x4a8d mem_24g_transmit_by_interrupt_exit_count
 0x4a8f mem_24g_transmit_by_interrupt_exit_count_init
+0x4a91 mem_24g_allpowerful_addr
Index: output/program.lis
===================================================================
--- /branch/mouse_project/YJX_Project/24G&BLE_BD/output/program.lis	(revision 1485)
+++ /branch/mouse_project/YJX_Project/24G&BLE_BD/output/program.lis	(working copy)
@@ -1,8 +1,8 @@
 include "bt_format "
 org 0x0000
 0000 c2840012 bbit1 8 ,pf_patch_ext 
-0001 c0428659 beq patch10_5 ,p_shutdown_radio 
-0002 c044862a beq patch11_1 ,p_set_freq_tx 
+0001 c042865a beq patch10_5 ,p_shutdown_radio 
+0002 c044862b beq patch11_1 ,p_set_freq_tx 
 0003 c0000028 beq patch00_0 ,p_soft_reset 
 0004 c000802b beq patch00_1 ,p_soft_reset_1 
 0005 c0010031 beq patch00_2 ,p_soft_reset_2 
@@ -95,7 +95,7 @@
 0048 20400555 call power_ctrl_start 
 0049 20400051 call g24_long_sleep_shorter_param_update 
 004a 6800c8b6 fetch 1 ,mem_mouse_multi_led_state 
-004b c00085df beq on ,p_g24_transmit_by_interrupt_enable 
+004b c00085e3 beq on ,p_g24_transmit_by_interrupt_enable 
 
 p_g24_short_sleep:
 004c 2040007e call p_g24_lpm_wait 
@@ -113,7 +113,7 @@
 0056 20600000 rtn 
 
 p_g24_transmit_by_interrupt:
-0057 2040065b call p_g24_timer_check 
+0057 2040065c call p_g24_timer_check 
 0058 24740000 nrtn user 
 0059 2040006c call p_g24_interval_calibrate 
 005a 68014a8d fetch 2 ,mem_24g_transmit_by_interrupt_exit_count 
@@ -203,7 +203,7 @@
 0098 6800c94d fetch 1 ,mem_24g_data_type 
 0099 79207e03 set1 bit_abort ,pdata 
 009a 6000c94d store 1 ,mem_24g_data_type 
-009b 20400689 call p_g24_transmit_prep 
+009b 2040068b call p_g24_transmit_prep 
 009c 204004cb call p_g24_txdata_enable_tx 
 009d 20200045 branch p_g24_transmit_start 
 
@@ -261,7 +261,7 @@
 p_device_init:
 00c5 20403416 call app_lpm_mult_enable 
 00c6 203580d0 branch p_device_init_common ,wake 
-00c7 20400717 call p_mouse_data_init 
+00c7 20400719 call p_mouse_data_init 
 00c8 6800c1de fetch 1 ,mem_tx_power 
 00c9 6000ca03 store 1 ,mem_tx_power_temp 
 00ca 20400544 call power_ctrl_pac_succ_cnt_init 
@@ -574,7 +574,7 @@
 01a7 20404401 call mouse_g24_package_data 
 01a8 6801469f fetch 2 ,mem_mouse_z 
 01a9 207a0000 rtn blank 
-01aa 202005df branch p_g24_transmit_by_interrupt_enable 
+01aa 202005e3 branch p_g24_transmit_by_interrupt_enable 
 
 p_mouse_le:
 01ab 20405892 call le_fifo_check_nearly_full 
@@ -595,7 +595,7 @@
 01b8 204001bc call p_mouse_le_current_mult_update 
 01b9 204004ea call p_mouse_data_xy_release 
 01ba 204001c1 call p_mouse_wheel_trigger 
-01bb 2020071c branch p_mouse_data_push 
+01bb 2020071e branch p_mouse_data_push 
 
 p_mouse_le_current_mult_update:
 01bc 6800c6f5 fetch 1 ,mem_config_function_enable 
@@ -670,7 +670,7 @@
 01ef 7048bf00 jam 0 ,mem_mouse_start_discovery_enable 
 01f0 70480c00 jam 0 ,mem_mouse_long_mult_flag 
 01f1 20400289 call p_mouse_discovey_led_blink_off 
-01f2 20400717 call p_mouse_data_init 
+01f2 20400719 call p_mouse_data_init 
 01f3 202041c3 branch mouse_le_bb_event_connected 
 
 p_mouse_fast_conn_quit:
@@ -689,7 +689,7 @@
 01fc 60014498 store 2 ,mem_le_interval_min + 2 
 01fd 7047c800 jam le_lpm_enable ,mem_mouse_le_conn_param_reject 
 01fe 7047a000 jam 0 ,mem_mouse_clear_sensor_data_flag 
-01ff 20400717 call p_mouse_data_init 
+01ff 20400719 call p_mouse_data_init 
 0200 20405816 call le_clr_config_more_data 
 0201 204041d9 call mouse_bb_disconnected 
 0202 6800c8bf fetch 1 ,mem_mouse_start_discovery_enable 
@@ -736,7 +736,7 @@
 p_mouse_24g_attempt_fail:
 021a 704a8c00 jam g24_tx_timer_int_disable ,mem_24g_transmit_by_interrupt 
 021b 204000ed call p_mouse_tx_power_init 
-021c 20400614 call p_g24_check_51cmd_stop_24g 
+021c 20400615 call p_g24_check_51cmd_stop_24g 
 021d 2020340a branch app_enter_hibernate 
 
 p_mouse_null_enter_hibernate_count:
@@ -1201,7 +1201,7 @@
 034c 7047a100 jam 0 ,mem_mouse_null_enter_hibernate_flag 
 034d 7047a200 jam 0 ,mem_mouse_null_enter_hibernate_timer 
 034e 280ffe26 isolate1 mark_24g ,mark 
-034f 20408614 call p_g24_check_51cmd_stop_24g ,true 
+034f 20408615 call p_g24_check_51cmd_stop_24g ,true 
 0350 7046b400 jam 0 ,mem_mouse_send_blank_timer 
 0351 6800c8c5 fetch 1 ,mem_mouse_le_not_tx_disconn 
 0352 205a4386 call mouse_disconnect ,blank 
@@ -1371,7 +1371,7 @@
 
 p_in_le_tx_4:
 03cc 20405892 call le_fifo_check_nearly_full 
-03cd 205a0724 call p_mouse_data_pull ,blank 
+03cd 205a0726 call p_mouse_data_pull ,blank 
 03ce 20205622 branch le_prepare_tx + 4 
 
 p_le_prepare_tx_wak:
@@ -1632,7 +1632,7 @@
 048f 6000c94d store 1 ,mem_24g_data_type 
 0490 6000c908 store 1 ,mem_24g_txpayload 
 0491 2040054b call power_ctrl_pac_succ_decrs 
-0492 2020069b branch p_g24_ch 
+0492 2020069d branch p_g24_ch 
 
 p_g24_rf_hop_attemp_again:
 0493 6800ca81 fetch 1 ,mem_24g_rf_hop_ch 
@@ -1643,7 +1643,7 @@
 0496 1fe0fe01 increase 1 ,pdata 
 0497 6000ca7f store 1 ,mem_24g_hop_fastly_cnt 
 0498 c002049c beq 4 ,p_g24_rf_hop_fastly_exit 
-0499 2040069b call p_g24_ch 
+0499 2040069d call p_g24_ch 
 049a 70499102 jam 2 ,mem_24g_max_retry 
 049b 202004f5 branch p_g24_transmit_packet 
 
@@ -1694,7 +1694,7 @@
 04bb 1fe0ffff increase -1 ,pdata 
 04bc 6000ca84 store 1 ,mem_24g_sync_cnt 
 04bd 704a8302 jam 2 ,mem_24g_rf_work_stage 
-04be 2040069b call p_g24_ch 
+04be 2040069d call p_g24_ch 
 04bf 70499104 jam g24_max_retry ,mem_24g_max_retry 
 04c0 20600000 rtn 
 
@@ -1702,7 +1702,7 @@
 04c1 704a8303 jam 3 ,mem_24g_rf_work_stage 
 04c2 6800ca81 fetch 1 ,mem_24g_rf_hop_ch 
 04c3 243a0493 nbranch p_g24_rf_hop_attemp_again ,blank 
-04c4 2040069b call p_g24_ch 
+04c4 2040069d call p_g24_ch 
 04c5 70499102 jam 2 ,mem_24g_max_retry 
 04c6 20600000 rtn 
 
@@ -1712,7 +1712,7 @@
 
 p_g24_txdata_prep_packeage_data:
 04c9 204004cd call p_g24_package_data 
-04ca 20400689 call p_g24_transmit_prep 
+04ca 2040068b call p_g24_transmit_prep 
 
 p_g24_txdata_enable_tx:
 04cb 70495101 jam ensure_on_24g ,mem_24g_ensure 
@@ -1814,19 +1814,19 @@
 
 p_g24_transmit_receive_ack:
 0513 7857fc00 disable user3 
-0514 204006f6 call p_g24_transmit 
+0514 204006f8 call p_g24_transmit 
 0515 18002a00 force 0 ,radio_ctrl 
 0516 68024974 fetch 4 ,mem_24g_addr 
 0517 98001200 iforce access 
 0518 68088017 fetcht 1 ,mem_last_freq 
 0519 2040291f call set_freq_rx 
 051a 20402924 call rf_rx_enable 
-051b 204006b5 call p_g24_receive_rxon 
-051c 205786ef call p_g24_end_of_packet ,user3 
+051b 204006b7 call p_g24_receive_rxon 
+051c 205786f1 call p_g24_end_of_packet ,user3 
 051d 20600000 rtn 
 
 p_g24_transmit_no_ack:
-051e 204006ef call p_g24_end_of_packet 
+051e 204006f1 call p_g24_end_of_packet 
 051f 202004fe branch p_g24_transmit_next_packet 
 
 p_g24_retransmit:
@@ -1854,7 +1854,7 @@
 p_g24_tx_fast_hop:
 0530 20400578 call power_ctrl_txpower_incrs 
 0531 2040054b call power_ctrl_pac_succ_decrs 
-0532 2020069b branch p_g24_ch 
+0532 2020069d branch p_g24_ch 
 
 p_g24_tx_hop_ch_process:
 0533 6800c955 fetch 1 ,mem_24g_retry 
@@ -1869,7 +1869,7 @@
 053c 20600000 rtn 
 
 p_g24_ackpayload_parse:
-053d 2040061d call p_g24_read_len_pid_crc 
+053d 2040061e call p_g24_read_len_pid_crc 
 053e 6800c94a fetch 1 ,mem_24g_rxdata_length 
 053f 207a0000 rtn blank 
 0540 98007200 iforce loopcnt 
@@ -1908,7 +1908,7 @@
 0557 c3838000 rtnbit1 ui_state_bt_reconnect 
 0558 c3830000 rtnbit1 ui_state_bt_discovery 
 0559 da204a0e arg mem_rssi_signal_buf ,rega 
-055a 2040066a call p_rssi_average 
+055a 2040066b call p_rssi_average 
 055b 6008ca86 storet 1 ,mem_rssi_avg_received 
 055c 58000082 setarg rssi_dis_max_24g 
 055d c513055f bmark1 mark_24g ,power_ctrl_start_next 
@@ -1973,7 +1973,7 @@
 0582 70494b00 jam 0 ,mem_24g_pid 
 0583 7049564e jam g24_pair_ch ,mem_24g_ch 
 0584 68024958 fetch 4 ,mem_24g_paring_addr 
-0585 2020067b branch p_g24_update_addr_and_synccrc8 
+0585 2020067d branch p_g24_update_addr_and_synccrc8 
 
 p_g24_pairing_sm:
 0586 6800c951 fetch 1 ,mem_24g_ensure 
@@ -2009,8 +2009,8 @@
 059a 7011a400 jam 0 ,mem_24g_common_temp + 6 
 059b da20119e arg mem_24g_common_temp ,rega 
 059c d8400007 arg 7 ,temp 
-059d 20400618 call p_g24_put_data_in_buff 
-059e 20400689 call p_g24_transmit_prep 
+059d 20400619 call p_g24_put_data_in_buff 
+059e 2040068b call p_g24_transmit_prep 
 059f 204004cb call p_g24_txdata_enable_tx 
 05a0 20207fe7 branch enable_user 
 
@@ -2034,7 +2034,7 @@
 05ab 70495cff jam state_24g_pairing_success ,mem_24g_pairing_sm 
 05ac 700a9939 jam bt_evt_24g_pairing_complete ,mem_fifo_temp 
 05ad 20407d86 call ui_ipc_send_event 
-05ae 204005e3 call p_g24_store_dongle_addr 
+05ae 2040067c call p_g24_store_dongle_addr 
 05af 20200505 branch p_g24_transmit_abandon 
 
 p_g24_tx_attemp_data_prep:
@@ -2045,14 +2045,14 @@
 05b4 600211a0 store 4 ,mem_24g_common_temp + 2 
 05b5 d8400006 arg 6 ,temp 
 05b6 da20119e arg mem_24g_common_temp ,rega 
-05b7 20400618 call p_g24_put_data_in_buff 
-05b8 20200689 branch p_g24_transmit_prep 
+05b7 20400619 call p_g24_put_data_in_buff 
+05b8 2020068b branch p_g24_transmit_prep 
 
 p_g24_auto_pair_start:
 05b9 58000000 setarg 0 
 05ba 600111be store 2 ,mem_24g_pair_current_ch_num 
 05bb 793f8026 set0 mark_24g ,mark 
-05bc 204005fb call p_g24_auto_pair_first_attemp 
+05bc 204005fd call p_g24_auto_pair_first_attemp 
 05bd 204005b0 call p_g24_tx_attemp_data_prep 
 
 p_g24_auto_pair_restart:
@@ -2065,472 +2065,476 @@
 p_g24_auto_pair_start_loop:
 05c3 20402afa call lpo_calibration 
 05c4 200007d0 nop 2000 
-05c5 204005ef call p_g24_led_on_timer_check 
+05c5 204005f1 call p_g24_led_on_timer_check 
 05c6 68014979 fetch 2 ,mem_24g_check_dongle_times 
 05c7 d8407788 arg 0x7788 ,temp 
 05c8 98467c00 isub temp ,null 
 05c9 2022add4 branch g24_stop_24g_mode ,zero 
 05ca 20400513 call p_g24_transmit_receive_ack 
-05cb 242c05e5 nbranch p_g24_auto_pair_retry ,sync 
-05cc 243785e5 nbranch p_g24_auto_pair_retry ,user3 
+05cb 242c05e7 nbranch p_g24_auto_pair_retry ,sync 
+05cc 243785e7 nbranch p_g24_auto_pair_retry ,user3 
 05cd 2040053d call p_g24_ackpayload_parse 
-05ce 6800c94a fetch 1 ,mem_24g_rxdata_length 
-05cf 203a05c3 branch p_g24_auto_pair_start_loop ,blank 
-05d0 204000ed call p_mouse_tx_power_init 
-05d1 68024974 fetch 4 ,mem_24g_addr 
-05d2 680a4958 fetcht 4 ,mem_24g_paring_addr 
-05d3 98467c00 isub temp ,null 
-05d4 20228117 branch p_g24_start_pairing_sm1 ,zero 
+05ce 68024974 fetch 4 ,mem_24g_addr 
+05cf 680a4a91 fetcht 4 ,mem_24g_allpowerful_addr 
+05d0 98467c00 isub temp ,null 
+05d1 202285d4 branch p_g24_auto_pair_skip_rx_length ,zero 
+05d2 6800c94a fetch 1 ,mem_24g_rxdata_length 
+05d3 203a05c3 branch p_g24_auto_pair_start_loop ,blank 
+
+p_g24_auto_pair_skip_rx_length:
+05d4 204000ed call p_mouse_tx_power_init 
 05d5 68024974 fetch 4 ,mem_24g_addr 
-05d6 680a4983 fetcht 4 ,mem_24g_device_addr 
+05d6 680a4958 fetcht 4 ,mem_24g_paring_addr 
 05d7 98467c00 isub temp ,null 
-05d8 204285e3 call p_g24_store_dongle_addr ,zero 
+05d8 20228117 branch p_g24_start_pairing_sm1 ,zero 
+05d9 68024974 fetch 4 ,mem_24g_addr 
+05da 680a4983 fetcht 4 ,mem_24g_device_addr 
+05db 98467c00 isub temp ,null 
+05dc 2042867c call p_g24_store_dongle_addr ,zero 
 
 p_g24_tx_attemp_dongle_succ:
-05d9 79200026 set1 mark_24g ,mark 
-05da 58000000 setarg 0 
-05db 60014979 store 2 ,mem_24g_check_dongle_times 
-05dc 70480c00 jam 0 ,mem_mouse_long_mult_flag 
-05dd 20402f20 call g24_evt_attemp_success 
-05de 2040050b call p_g24_txbuf_clear 
+05dd 79200026 set1 mark_24g ,mark 
+05de 58000000 setarg 0 
+05df 60014979 store 2 ,mem_24g_check_dongle_times 
+05e0 70480c00 jam 0 ,mem_mouse_long_mult_flag 
+05e1 20402f20 call g24_evt_attemp_success 
+05e2 2040050b call p_g24_txbuf_clear 
 
 p_g24_transmit_by_interrupt_enable:
-05df 704a8c01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
-05e0 58000000 setarg 0 
-05e1 60014a8d store 2 ,mem_24g_transmit_by_interrupt_exit_count 
-05e2 20600000 rtn 
-
-p_g24_store_dongle_addr:
-05e3 6802492c fetch 4 ,mem_24g_rxpayload + 2 
-05e4 2020067b branch p_g24_update_addr_and_synccrc8 
+05e3 704a8c01 jam g24_tx_timer_int_enable ,mem_24g_transmit_by_interrupt 
+05e4 58000000 setarg 0 
+05e5 60014a8d store 2 ,mem_24g_transmit_by_interrupt_exit_count 
+05e6 20600000 rtn 
 
 p_g24_auto_pair_retry:
-05e5 68014979 fetch 2 ,mem_24g_check_dongle_times 
-05e6 1fe0fe01 increase 1 ,pdata 
-05e7 60014979 store 2 ,mem_24g_check_dongle_times 
-05e8 6800ca8a fetch 1 ,mem_24g_auto_paring_switch 
-05e9 1fe0fe01 increase 1 ,pdata 
-05ea 1fe17e03 and_into 3 ,pdata 
-05eb 6000ca8a store 1 ,mem_24g_auto_paring_switch 
-05ec c000060e beq 0 ,p_g24_auto_pair_device_attemp 
-05ed c0010612 beq 2 ,p_g24_auto_pair_all_powerful_attemp 
-05ee 20200610 branch p_g24_auto_pair_pair_attemp 
+05e7 68014979 fetch 2 ,mem_24g_check_dongle_times 
+05e8 1fe0fe01 increase 1 ,pdata 
+05e9 60014979 store 2 ,mem_24g_check_dongle_times 
+05ea 6800ca8a fetch 1 ,mem_24g_auto_paring_switch 
+05eb 1fe0fe01 increase 1 ,pdata 
+05ec 1fe17e03 and_into 3 ,pdata 
+05ed 6000ca8a store 1 ,mem_24g_auto_paring_switch 
+05ee c000060f beq 0 ,p_g24_auto_pair_device_attemp 
+05ef c0010613 beq 2 ,p_g24_auto_pair_all_powerful_attemp 
+05f0 20200611 branch p_g24_auto_pair_pair_attemp 
 
 p_g24_led_on_timer_check:
-05ef 6800c8a9 fetch 1 ,mem_g24_led_on_timer_count_end 
-05f0 247a0000 nrtn blank 
-05f1 20400283 call p_mouse_multi_up_led_on1 
-05f2 680148a7 fetch 2 ,mem_g24_led_on_timer_count 
-05f3 1fe0fe01 increase 1 ,pdata 
-05f4 600148a7 store 2 ,mem_g24_led_on_timer_count 
-05f5 d84007f8 arg 0x7f8 ,temp 
-05f6 98467c00 isub temp ,null 
-05f7 202285f9 branch p_g24_pair_led_off ,zero 
-05f8 20600000 rtn 
+05f1 6800c8a9 fetch 1 ,mem_g24_led_on_timer_count_end 
+05f2 247a0000 nrtn blank 
+05f3 20400283 call p_mouse_multi_up_led_on1 
+05f4 680148a7 fetch 2 ,mem_g24_led_on_timer_count 
+05f5 1fe0fe01 increase 1 ,pdata 
+05f6 600148a7 store 2 ,mem_g24_led_on_timer_count 
+05f7 d84007f8 arg 0x7f8 ,temp 
+05f8 98467c00 isub temp ,null 
+05f9 202285fb branch p_g24_pair_led_off ,zero 
+05fa 20600000 rtn 
 
 p_g24_pair_led_off:
-05f9 7048a901 jam 1 ,mem_g24_led_on_timer_count_end 
-05fa 20200289 branch p_mouse_multi_led_blink_off 
+05fb 7048a901 jam 1 ,mem_g24_led_on_timer_count_end 
+05fc 20200289 branch p_mouse_multi_led_blink_off 
 
 p_g24_auto_pair_first_attemp:
-05fb 204000ed call p_mouse_tx_power_init 
-05fc 68024983 fetch 4 ,mem_24g_device_addr 
-05fd 60024974 store 4 ,mem_24g_addr 
-05fe 680091be fetch 1 ,mem_24g_pair_current_ch_num 
-05ff 6000c957 store 1 ,mem_24g_current_ch_number 
-0600 20400603 call p_g24_ch_syncword_crc8_init 
-0601 600891be storet 1 ,mem_24g_pair_current_ch_num 
-0602 20600000 rtn 
+05fd 204000ed call p_mouse_tx_power_init 
+05fe 68024983 fetch 4 ,mem_24g_device_addr 
+05ff 60024974 store 4 ,mem_24g_addr 
+0600 680091be fetch 1 ,mem_24g_pair_current_ch_num 
+0601 6000c957 store 1 ,mem_24g_current_ch_number 
+0602 20400605 call p_g24_ch_syncword_crc8_init 
+0603 600891be storet 1 ,mem_24g_pair_current_ch_num 
+0604 20600000 rtn 
 
 p_g24_ch_syncword_crc8_init:
-0603 2040067c call p_g24_syncword_crc8 
-0604 2020069b branch p_g24_ch 
+0605 2040067e call p_g24_syncword_crc8 
+0606 2020069d branch p_g24_ch 
 
 p_g24_auto_pair_all_powerful:
-0605 7041de20 jam tx_power_pair ,mem_tx_power 
-0606 58000f0f setarg 0x0f0f 
-0607 60014974 store 2 ,mem_24g_addr 
-0608 e0a10000 istore 2 ,contw 
-0609 680091bf fetch 1 ,mem_24g_powerful_current_ch_num 
-060a 6000c957 store 1 ,mem_24g_current_ch_number 
-060b 20400603 call p_g24_ch_syncword_crc8_init 
-060c 600891bf storet 1 ,mem_24g_powerful_current_ch_num 
-060d 20600000 rtn 
+0607 7041de20 jam tx_power_pair ,mem_tx_power 
+0608 68024a91 fetch 4 ,mem_24g_allpowerful_addr 
+0609 60024974 store 4 ,mem_24g_addr 
+060a 680091bf fetch 1 ,mem_24g_powerful_current_ch_num 
+060b 6000c957 store 1 ,mem_24g_current_ch_number 
+060c 20400605 call p_g24_ch_syncword_crc8_init 
+060d 600891bf storet 1 ,mem_24g_powerful_current_ch_num 
+060e 20600000 rtn 
 
 p_g24_auto_pair_device_attemp:
-060e 204005fb call p_g24_auto_pair_first_attemp 
-060f 202005c3 branch p_g24_auto_pair_start_loop 
+060f 204005fd call p_g24_auto_pair_first_attemp 
+0610 202005c3 branch p_g24_auto_pair_start_loop 
 
 p_g24_auto_pair_pair_attemp:
-0610 20400581 call p_g24_pair_init 
-0611 202005c3 branch p_g24_auto_pair_start_loop 
+0611 20400581 call p_g24_pair_init 
+0612 202005c3 branch p_g24_auto_pair_start_loop 
 
 p_g24_auto_pair_all_powerful_attemp:
-0612 20400605 call p_g24_auto_pair_all_powerful 
-0613 202005c3 branch p_g24_auto_pair_start_loop 
+0613 20400607 call p_g24_auto_pair_all_powerful 
+0614 202005c3 branch p_g24_auto_pair_start_loop 
 
 p_g24_check_51cmd_stop_24g:
-0614 793f8026 set0 mark_24g ,mark 
-0615 204053ce call le_disable 
+0615 793f8026 set0 mark_24g ,mark 
+0616 204053ce call le_disable 
 
 p_mouse_disable_g24_pairing_flag:
-0616 d8e00003 arg mosue_24g_pairing_flag ,queue 
-0617 202043d2 branch mouse_disable_function_flag 
+0617 d8e00003 arg mosue_24g_pairing_flag ,queue 
+0618 202043d2 branch mouse_disable_function_flag 
 
 p_g24_put_data_in_buff:
-0618 6008c94c storet 1 ,mem_24g_datalen 
-0619 18427200 copy temp ,loopcnt 
-061a d8a048e8 arg mem_24g_txbuf ,contw 
-061b 1a220c00 copy rega ,contr 
-061c 20207f01 branch memcpy 
+0619 6008c94c storet 1 ,mem_24g_datalen 
+061a 18427200 copy temp ,loopcnt 
+061b d8a048e8 arg mem_24g_txbuf ,contw 
+061c 1a220c00 copy rega ,contr 
+061d 20207f01 branch memcpy 
 
 p_g24_read_len_pid_crc:
-061d 6800c8c7 fetch 1 ,mem_24g_rxbuf + 1 
-061e 1fe97e00 rshift3 pdata ,pdata 
-061f 6000c94a store 1 ,mem_24g_rxdata_length 
-0620 1fe0fe01 increase 1 ,pdata 
-0621 d8c048c7 arg mem_24g_rxbuf + 1 ,contr 
-0622 98c08c00 iadd contr ,contr 
-0623 e8c18000 ifetch 3 ,contr 
-0624 6001c989 store 3 ,mem_24g_sta_crc 
-0625 6800c8c7 fetch 1 ,mem_24g_rxbuf + 1 
-0626 1fe37e00 rshift pdata ,pdata 
-0627 1fe17e03 and pdata ,0x03 ,pdata 
-0628 6000c98f store 1 ,mem_24g_sta_pid 
-0629 20600000 rtn 
+061e 6800c8c7 fetch 1 ,mem_24g_rxbuf + 1 
+061f 1fe97e00 rshift3 pdata ,pdata 
+0620 6000c94a store 1 ,mem_24g_rxdata_length 
+0621 1fe0fe01 increase 1 ,pdata 
+0622 d8c048c7 arg mem_24g_rxbuf + 1 ,contr 
+0623 98c08c00 iadd contr ,contr 
+0624 e8c18000 ifetch 3 ,contr 
+0625 6001c989 store 3 ,mem_24g_sta_crc 
+0626 6800c8c7 fetch 1 ,mem_24g_rxbuf + 1 
+0627 1fe37e00 rshift pdata ,pdata 
+0628 1fe17e03 and pdata ,0x03 ,pdata 
+0629 6000c98f store 1 ,mem_24g_sta_pid 
+062a 20600000 rtn 
 
 p_set_freq_tx:
-062a 60088017 storet 1 ,mem_last_freq 
-062b 1840a200 add temp ,0 ,rega 
-062c 20402981 call rf_write_freq 
-062d 58000500 setarg param_pll_setup 
-062e 20402a8f call sleep 
+062b 60088017 storet 1 ,mem_last_freq 
+062c 1840a200 add temp ,0 ,rega 
+062d 20402981 call rf_write_freq 
+062e 58000500 setarg param_pll_setup 
+062f 20402a8f call sleep 
 
 p_rf_tx_enable:
-062f 70890601 jam 0x1 ,rfen_adc 
-0630 7089003c jam 0x3c ,rfen_rx 
-0631 708901e0 jam 0xe0 ,rfen_tx 
-0632 2000000a nop 10 
-0633 70890201 jam 0x01 ,rfen_mdm 
-0634 7089023d jam 0x3d ,rfen_mdm 
-0635 2000000a nop 10 
-0636 708903b7 jam 0xb7 ,rfen_sn 
-0637 2000000a nop 10 
-0638 7089027d jam 0x7d ,rfen_mdm 
-0639 6800c1de fetch 1 ,mem_tx_power 
-063a c0010642 beq tx_power_5db ,p_set_tx_power_5db 
-063b c0020647 beq tx_power_f5db ,p_set_tx_power_f5db 
-063c c0100656 beq tx_power_pair ,p_set_tx_power_pair 
+0630 70890601 jam 0x1 ,rfen_adc 
+0631 7089003c jam 0x3c ,rfen_rx 
+0632 708901e0 jam 0xe0 ,rfen_tx 
+0633 2000000a nop 10 
+0634 70890201 jam 0x01 ,rfen_mdm 
+0635 7089023d jam 0x3d ,rfen_mdm 
+0636 2000000a nop 10 
+0637 708903b7 jam 0xb7 ,rfen_sn 
+0638 2000000a nop 10 
+0639 7089027d jam 0x7d ,rfen_mdm 
+063a 6800c1de fetch 1 ,mem_tx_power 
+063b c0010643 beq tx_power_5db ,p_set_tx_power_5db 
+063c c0020648 beq tx_power_f5db ,p_set_tx_power_f5db 
+063d c0100657 beq tx_power_pair ,p_set_tx_power_pair 
 
 p_set_tx_power_0db:
-063d 2040064c call p_rx_low_sens 
-063e 708955d0 jam 0xd0 ,0x8955 
-063f 708956e0 jam 0xe0 ,0x8956 
-0640 7089586c jam 0x6c ,0x8958 
-0641 2020294b branch set_tx_power_0db 
+063e 2040064d call p_rx_low_sens 
+063f 708955d0 jam 0xd0 ,0x8955 
+0640 708956e0 jam 0xe0 ,0x8956 
+0641 7089586c jam 0x6c ,0x8958 
+0642 2020294b branch set_tx_power_0db 
 
 p_set_tx_power_5db:
-0642 20400651 call p_rx_high_sens 
-0643 708955d0 jam 0xd0 ,0x8955 
-0644 708956e0 jam 0xe0 ,0x8956 
-0645 7089583c jam 0x3c ,0x8958 
-0646 20202953 branch set_tx_power_5db 
+0643 20400652 call p_rx_high_sens 
+0644 708955d0 jam 0xd0 ,0x8955 
+0645 708956e0 jam 0xe0 ,0x8956 
+0646 7089583c jam 0x3c ,0x8958 
+0647 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-0647 2040064c call p_rx_low_sens 
-0648 708955d0 jam 0xd0 ,0x8955 
-0649 708956c0 jam 0xc0 ,0x8956 
-064a 7089586c jam 0x6c ,0x8958 
-064b 2020295b branch set_tx_power_f5db 
+0648 2040064d call p_rx_low_sens 
+0649 708955d0 jam 0xd0 ,0x8955 
+064a 708956c0 jam 0xc0 ,0x8956 
+064b 7089586c jam 0x6c ,0x8958 
+064c 2020295b branch set_tx_power_f5db 
 
 p_rx_low_sens:
-064c 70894c5b jam 0x5b ,0x894c 
-064d 70894d96 jam 0x96 ,0x894d 
-064e 70894e2c jam 0x2c ,0x894e 
-064f 70894f46 jam 0x46 ,0x894f 
-0650 20600000 rtn 
+064d 70894c5b jam 0x5b ,0x894c 
+064e 70894d96 jam 0x96 ,0x894d 
+064f 70894e2c jam 0x2c ,0x894e 
+0650 70894f46 jam 0x46 ,0x894f 
+0651 20600000 rtn 
 
 p_rx_high_sens:
-0651 70894cfb jam 0xfb ,0x894c 
-0652 70894def jam 0xef ,0x894d 
-0653 70894eec jam 0xec ,0x894e 
-0654 70894f5e jam 0x5e ,0x894f 
-0655 20600000 rtn 
+0652 70894cfb jam 0xfb ,0x894c 
+0653 70894def jam 0xef ,0x894d 
+0654 70894eec jam 0xec ,0x894e 
+0655 70894f5e jam 0x5e ,0x894f 
+0656 20600000 rtn 
 
 p_set_tx_power_pair:
-0656 708956c2 jam 0xc2 ,0x8956 
-0657 708955d0 jam 0xd0 ,0x8955 
-0658 20600000 rtn 
+0657 708956c2 jam 0xc2 ,0x8956 
+0658 708955d0 jam 0xd0 ,0x8955 
+0659 20600000 rtn 
 
 p_shutdown_radio:
-0659 18002a08 force 8 ,radio_ctrl 
-065a 202028fa branch shutdown_radio + 1 
+065a 18002a08 force 8 ,radio_ctrl 
+065b 202028fa branch shutdown_radio + 1 
 
 p_g24_timer_check:
-065b 20407fe9 call disable_user 
-065c 680a496d fetcht 4 ,mem_24g_tx_btclk 
-065d 1c427e00 copy clkn_bt ,pdata 
-065e 98467c00 isub temp ,null 
-065f 24412d18 ncall g24_timer_timeout ,positive 
-0660 1fe22400 copy pdata ,regb 
-0661 6802496d fetch 4 ,mem_24g_tx_btclk 
-0662 6808c971 fetcht 1 ,mem_24g_interval 
-0663 98408400 iadd temp ,temp 
-0664 1a427e00 copy regb ,pdata 
-0665 98467c00 isub temp ,null 
-0666 24610000 nrtn positive 
-0667 793ffe1c set0 28 ,pdata 
-0668 6002496d store 4 ,mem_24g_tx_btclk 
-0669 20207fe7 branch enable_user 
+065c 20407fe9 call disable_user 
+065d 680a496d fetcht 4 ,mem_24g_tx_btclk 
+065e 1c427e00 copy clkn_bt ,pdata 
+065f 98467c00 isub temp ,null 
+0660 24412d18 ncall g24_timer_timeout ,positive 
+0661 1fe22400 copy pdata ,regb 
+0662 6802496d fetch 4 ,mem_24g_tx_btclk 
+0663 6808c971 fetcht 1 ,mem_24g_interval 
+0664 98408400 iadd temp ,temp 
+0665 1a427e00 copy regb ,pdata 
+0666 98467c00 isub temp ,null 
+0667 24610000 nrtn positive 
+0668 793ffe1c set0 28 ,pdata 
+0669 6002496d store 4 ,mem_24g_tx_btclk 
+066a 20207fe7 branch enable_user 
 
 p_rssi_average:
-066a d8400000 arg 0 ,temp 
-066b df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
-066c 1a220c00 copy rega ,contr 
+066b d8400000 arg 0 ,temp 
+066c df200008 arg rssi_buf_len_signal + 1 ,loopcnt 
+066d 1a220c00 copy rega ,contr 
 
 p_rssi_average_loop:
-066d e8c08000 ifetch 1 ,contr 
-066e 98408400 iadd temp ,temp 
-066f c200066d loop p_rssi_average_loop 
-0670 18497e00 rshift3 temp ,pdata 
-0671 1fe20400 copy pdata ,temp 
-0672 c6930000 rtnmark0 mark_24g 
-0673 1fe6fc0a div pdata ,10 
-0674 20407f86 call wait_div_end 
-0675 1807fe00 quotient pdata 
-0676 1ff27e00 lshift4 pdata ,pdata 
-0677 18070400 remainder temp 
-0678 98418400 ior temp ,temp 
-0679 20600000 rtn 
+066e e8c08000 ifetch 1 ,contr 
+066f 98408400 iadd temp ,temp 
+0670 c200066e loop p_rssi_average_loop 
+0671 18497e00 rshift3 temp ,pdata 
+0672 1fe20400 copy pdata ,temp 
+0673 c6930000 rtnmark0 mark_24g 
+0674 1fe6fc0a div pdata ,10 
+0675 20407f86 call wait_div_end 
+0676 1807fe00 quotient pdata 
+0677 1ff27e00 lshift4 pdata ,pdata 
+0678 18070400 remainder temp 
+0679 98418400 ior temp ,temp 
 067a 20600000 rtn 
+067b 20600000 rtn 
+
+p_g24_store_dongle_addr:
+067c 6802492c fetch 4 ,mem_24g_rxpayload + 2 
 
 p_g24_update_addr_and_synccrc8:
-067b 60024974 store 4 ,mem_24g_addr 
+067d 60024974 store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-067c da200000 arg 0 ,rega 
-067d df200004 arg 4 ,loopcnt 
-067e d8c04974 arg mem_24g_addr ,contr 
+067e da200000 arg 0 ,rega 
+067f df200004 arg 4 ,loopcnt 
+0680 d8c04974 arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-067f e8c08000 ifetch 1 ,contr 
-0680 9a20a200 iadd rega ,rega 
-0681 c200067f loop p_g24_syncword_crc8_loop 
-0682 1a227e00 copy rega ,pdata 
-0683 600149fd store 2 ,mem_24g_syncword 
-0684 6800c9fd fetch 1 ,mem_24g_syncword 
-0685 6808c9fe fetcht 1 ,mem_24g_syncword + 1 
-0686 9840fe00 iadd temp ,pdata 
-0687 6000c9ff store 1 ,mem_24g_syncword_crc8 
-0688 20600000 rtn 
+0681 e8c08000 ifetch 1 ,contr 
+0682 9a20a200 iadd rega ,rega 
+0683 c2000681 loop p_g24_syncword_crc8_loop 
+0684 1a227e00 copy rega ,pdata 
+0685 600149fd store 2 ,mem_24g_syncword 
+0686 6800c9fd fetch 1 ,mem_24g_syncword 
+0687 6808c9fe fetcht 1 ,mem_24g_syncword + 1 
+0688 9840fe00 iadd temp ,pdata 
+0689 6000c9ff store 1 ,mem_24g_syncword_crc8 
+068a 20600000 rtn 
 
 p_g24_transmit_prep:
-0689 6800c94c fetch 1 ,mem_24g_datalen 
-068a 1fe0fe02 increase 2 ,pdata 
-068b 6000c94e store 1 ,mem_24g_txlen 
-068c 6800c94d fetch 1 ,mem_24g_data_type 
-068d 6000c908 store 1 ,mem_24g_txpayload 
-068e 6800c94c fetch 1 ,mem_24g_datalen 
-068f 1fe9fe00 lshift3 pdata ,pdata 
-0690 6808c94b fetcht 1 ,mem_24g_pid 
-0691 18410403 and temp ,0x03 ,temp 
-0692 18438400 lshift temp ,temp 
-0693 9841fe00 ior temp ,pdata 
-0694 6808c988 fetcht 1 ,mem_24g_no_ack 
-0695 9840fe00 iadd temp ,pdata 
-0696 e0a08000 istore 1 ,contw 
-0697 6800c94c fetch 1 ,mem_24g_datalen 
-0698 98007200 iforce loopcnt 
-0699 d8c048e8 arg mem_24g_txbuf ,contr 
-069a 20207f01 branch memcpy 
+068b 6800c94c fetch 1 ,mem_24g_datalen 
+068c 1fe0fe02 increase 2 ,pdata 
+068d 6000c94e store 1 ,mem_24g_txlen 
+068e 6800c94d fetch 1 ,mem_24g_data_type 
+068f 6000c908 store 1 ,mem_24g_txpayload 
+0690 6800c94c fetch 1 ,mem_24g_datalen 
+0691 1fe9fe00 lshift3 pdata ,pdata 
+0692 6808c94b fetcht 1 ,mem_24g_pid 
+0693 18410403 and temp ,0x03 ,temp 
+0694 18438400 lshift temp ,temp 
+0695 9841fe00 ior temp ,pdata 
+0696 6808c988 fetcht 1 ,mem_24g_no_ack 
+0697 9840fe00 iadd temp ,pdata 
+0698 e0a08000 istore 1 ,contw 
+0699 6800c94c fetch 1 ,mem_24g_datalen 
+069a 98007200 iforce loopcnt 
+069b d8c048e8 arg mem_24g_txbuf ,contr 
+069c 20207f01 branch memcpy 
 
 p_g24_ch:
-069b 6808c957 fetcht 1 ,mem_24g_current_ch_number 
-069c 2040069f call p_g24_ch_map_size 
-069d 6008c957 storet 1 ,mem_24g_current_ch_number 
-069e 20600000 rtn 
+069d 6808c957 fetcht 1 ,mem_24g_current_ch_number 
+069e 204006a1 call p_g24_ch_map_size 
+069f 6008c957 storet 1 ,mem_24g_current_ch_number 
+06a0 20600000 rtn 
 
 p_g24_ch_map_size:
-069f 204006a3 call p_g24_ch_calc 
-06a0 18408401 increase 1 ,temp 
-06a1 18410403 and_into 3 ,temp 
-06a2 20600000 rtn 
+06a1 204006a5 call p_g24_ch_calc 
+06a2 18408401 increase 1 ,temp 
+06a3 18410403 and_into 3 ,temp 
+06a4 20600000 rtn 
 
 p_g24_ch_calc:
-06a3 6800c974 fetch 1 ,mem_24g_addr 
-06a4 1fe17e03 and_into 0x03 ,pdata 
-06a5 1fefa204 mul32 pdata ,4 ,rega 
-06a6 5800495d setarg mem_24g_ch_map1 
-06a7 9a20fe00 iadd rega ,pdata 
-06a8 98408c00 iadd temp ,contr 
-06a9 e8c08000 ifetch 1 ,contr 
-06aa 6000c956 store 1 ,mem_24g_ch 
-06ab 20600000 rtn 
+06a5 6800c974 fetch 1 ,mem_24g_addr 
+06a6 1fe17e03 and_into 0x03 ,pdata 
+06a7 1fefa204 mul32 pdata ,4 ,rega 
+06a8 5800495d setarg mem_24g_ch_map1 
+06a9 9a20fe00 iadd rega ,pdata 
+06aa 98408c00 iadd temp ,contr 
+06ab e8c08000 ifetch 1 ,contr 
+06ac 6000c956 store 1 ,mem_24g_ch 
+06ad 20600000 rtn 
 
 p_g24_prep:
-06ac 7844fc00 disable enable_crc 
-06ad 7843fc00 disable enable_white 
-06ae 58555555 setarg 0x555555 
-06af 98001e00 iforce crc24_init 
-06b0 6800c956 fetch 1 ,mem_24g_ch 
-06b1 1fed8400 reverse pdata ,temp 
-06b2 79200401 set1 1 ,temp 
-06b3 18431c00 rshift temp ,white_init 
-06b4 20600000 rtn 
+06ae 7844fc00 disable enable_crc 
+06af 7843fc00 disable enable_white 
+06b0 58555555 setarg 0x555555 
+06b1 98001e00 iforce crc24_init 
+06b2 6800c956 fetch 1 ,mem_24g_ch 
+06b3 1fed8400 reverse pdata ,temp 
+06b4 79200401 set1 1 ,temp 
+06b5 18431c00 rshift temp ,white_init 
+06b6 20600000 rtn 
 
 p_g24_receive_rxon:
-06b5 204006ac call p_g24_prep 
-06b6 7857fc00 disable user3 
-06b7 7826fc00 enable decode_fec0 
-06b8 7830fc00 enable is_rx 
-06b9 78507c00 disable is_tx 
-06ba 78287c00 enable swfine 
-06bb 6801494f fetch 2 ,mem_24g_rx_window 
-06bc 98003600 iforce stop_watch 
-06bd 37c18400 correlate null ,timeout 
-06be 242c06ef nbranch p_g24_sync_timeout ,sync 
-06bf 7846fc00 disable decode_fec0 
-06c0 7825fc00 enable decode_fec1 
-06c1 7823fc00 enable enable_white 
-06c2 7824fc00 enable enable_crc 
-06c3 204006ec call p_g24_receive_byte 
-06c4 6000ca00 store 1 ,mem_24g_get_syncword_crc8 
-06c5 6808c9ff fetcht 1 ,mem_24g_syncword_crc8 
-06c6 98467c00 isub temp ,null 
-06c7 242286ef nbranch p_g24_end_of_packet ,zero 
-06c8 204006ec call p_g24_receive_byte 
-06c9 6000c8c6 store 1 ,mem_24g_rxbuf 
-06ca 6800c8c6 fetch 1 ,mem_24g_rxbuf 
-06cb 6808c94d fetcht 1 ,mem_24g_data_type 
-06cc a8400e00 icompare bits_data ,temp 
-06cd 242086ef nbranch p_g24_end_of_packet ,true 
+06b7 204006ae call p_g24_prep 
+06b8 7857fc00 disable user3 
+06b9 7826fc00 enable decode_fec0 
+06ba 7830fc00 enable is_rx 
+06bb 78507c00 disable is_tx 
+06bc 78287c00 enable swfine 
+06bd 6801494f fetch 2 ,mem_24g_rx_window 
+06be 98003600 iforce stop_watch 
+06bf 37c18400 correlate null ,timeout 
+06c0 242c06f1 nbranch p_g24_sync_timeout ,sync 
+06c1 7846fc00 disable decode_fec0 
+06c2 7825fc00 enable decode_fec1 
+06c3 7823fc00 enable enable_white 
+06c4 7824fc00 enable enable_crc 
+06c5 204006ee call p_g24_receive_byte 
+06c6 6000ca00 store 1 ,mem_24g_get_syncword_crc8 
+06c7 6808c9ff fetcht 1 ,mem_24g_syncword_crc8 
+06c8 98467c00 isub temp ,null 
+06c9 242286f1 nbranch p_g24_end_of_packet ,zero 
+06ca 204006ee call p_g24_receive_byte 
+06cb 6000c8c6 store 1 ,mem_24g_rxbuf 
+06cc 6800c8c6 fetch 1 ,mem_24g_rxbuf 
+06cd 6808c94d fetcht 1 ,mem_24g_data_type 
+06ce a8400e00 icompare bits_data ,temp 
+06cf 242086f1 nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-06ce 204006ec call p_g24_receive_byte 
-06cf e0a08000 istore 1 ,contw 
-06d0 1fe97e00 rshift3 pdata ,pdata 
-06d1 1fe1721f and pdata ,0x1f ,loopcnt 
-06d2 202286d6 branch p_g24rx_nopayload ,zero 
+06d0 204006ee call p_g24_receive_byte 
+06d1 e0a08000 istore 1 ,contw 
+06d2 1fe97e00 rshift3 pdata ,pdata 
+06d3 1fe1721f and pdata ,0x1f ,loopcnt 
+06d4 202286d8 branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-06d3 204006ec call p_g24_receive_byte 
-06d4 e0a08000 istore 1 ,contw 
-06d5 c20006d3 loop p_g24rx_loop 
+06d5 204006ee call p_g24_receive_byte 
+06d6 e0a08000 istore 1 ,contw 
+06d7 c20006d5 loop p_g24rx_loop 
 
 p_g24rx_nopayload:
-06d6 18a22200 copy contw ,rega 
-06d7 204006ec call p_g24_receive_byte 
-06d8 6000ca87 store 1 ,mem_rssi_hex_received 
-06d9 1a220a00 copy rega ,contw 
-06da 09800018 parse demod ,bucket ,24 
-06db 78287c00 enable swfine 
-06dc db600664 arg param_sifs ,stop_watch 
-06dd 1fef7e00 rshift32 pdata ,pdata 
-06de 1ff17e00 rshift16 pdata ,pdata 
-06df e0a18000 istore 3 ,contw 
-06e0 7845fc00 disable decode_fec1 
-06e1 202306ef branch p_g24_end_of_packet ,crc_failed 
-06e2 7837fc00 enable user3 
-06e3 68008017 fetch 1 ,mem_last_freq 
-06e4 1fe0a200 add pdata ,0 ,rega 
-06e5 20402981 call rf_write_freq 
-06e6 7846fc00 disable decode_fec0 
-06e7 20402918 call set_sync_on 
-06e8 6800ca87 fetch 1 ,mem_rssi_hex_received 
-06e9 1fe22200 copy pdata ,rega 
-06ea 2040001f call p_rssi_signal 
-06eb 20600000 rtn 
+06d8 18a22200 copy contw ,rega 
+06d9 204006ee call p_g24_receive_byte 
+06da 6000ca87 store 1 ,mem_rssi_hex_received 
+06db 1a220a00 copy rega ,contw 
+06dc 09800018 parse demod ,bucket ,24 
+06dd 78287c00 enable swfine 
+06de db600664 arg param_sifs ,stop_watch 
+06df 1fef7e00 rshift32 pdata ,pdata 
+06e0 1ff17e00 rshift16 pdata ,pdata 
+06e1 e0a18000 istore 3 ,contw 
+06e2 7845fc00 disable decode_fec1 
+06e3 202306f1 branch p_g24_end_of_packet ,crc_failed 
+06e4 7837fc00 enable user3 
+06e5 68008017 fetch 1 ,mem_last_freq 
+06e6 1fe0a200 add pdata ,0 ,rega 
+06e7 20402981 call rf_write_freq 
+06e8 7846fc00 disable decode_fec0 
+06e9 20402918 call set_sync_on 
+06ea 6800ca87 fetch 1 ,mem_rssi_hex_received 
+06eb 1fe22200 copy pdata ,rega 
+06ec 2040001f call p_rssi_signal 
+06ed 20600000 rtn 
 
 p_g24_receive_byte:
-06ec 09800008 parse demod ,bucket ,8 
-06ed 19897e00 rshift3 pwindow ,pdata 
-06ee 20600000 rtn 
+06ee 09800008 parse demod ,bucket ,8 
+06ef 19897e00 rshift3 pwindow ,pdata 
+06f0 20600000 rtn 
 
 p_g24_sync_timeout:
 
 p_g24_end_of_packet:
-06ef 784dfc00 disable encode_fec1 
-06f0 7845fc00 disable decode_fec1 
-06f1 2040264d call end_of_packet 
-06f2 20600000 rtn 
+06f1 784dfc00 disable encode_fec1 
+06f2 7845fc00 disable decode_fec1 
+06f3 2040264d call end_of_packet 
+06f4 20600000 rtn 
 
 p_g24_set_freq_tx:
-06f3 20402918 call set_sync_on 
-06f4 6808c956 fetcht 1 ,mem_24g_ch 
-06f5 20202933 branch set_freq_tx 
+06f5 20402918 call set_sync_on 
+06f6 6808c956 fetcht 1 ,mem_24g_ch 
+06f7 20202933 branch set_freq_tx 
 
 p_g24_transmit:
-06f6 204053c4 call le_enable 
-06f7 68024974 fetch 4 ,mem_24g_addr 
-06f8 98001200 iforce access 
-06f9 204006ac call p_g24_prep 
-06fa 204006f3 call p_g24_set_freq_tx 
-06fb 79202a00 set1 txgfsk ,radio_ctrl 
-06fc 782efc00 enable encode_fec0 
-06fd 78307c00 enable is_tx 
-06fe 7850fc00 disable is_rx 
-06ff 19317e00 rshift16 access ,pdata 
-0700 1fecfe00 rshift8 pdata ,pdata 
-0701 1ff1fe00 rshift4 pdata ,pdata 
-0702 08008628 inject mod ,40 
-0703 784efc00 disable encode_fec0 
-0704 782dfc00 enable encode_fec1 
-0705 7823fc00 enable enable_white 
-0706 7824fc00 enable enable_crc 
-0707 6800c9ff fetch 1 ,mem_24g_syncword_crc8 
-0708 08008608 inject mod ,8 
-0709 6800c94e fetch 1 ,mem_24g_txlen 
-070a 98007200 iforce loopcnt 
-070b d8c04908 arg mem_24g_txpayload ,contr 
+06f8 204053c4 call le_enable 
+06f9 68024974 fetch 4 ,mem_24g_addr 
+06fa 98001200 iforce access 
+06fb 204006ae call p_g24_prep 
+06fc 204006f5 call p_g24_set_freq_tx 
+06fd 79202a00 set1 txgfsk ,radio_ctrl 
+06fe 782efc00 enable encode_fec0 
+06ff 78307c00 enable is_tx 
+0700 7850fc00 disable is_rx 
+0701 19317e00 rshift16 access ,pdata 
+0702 1fecfe00 rshift8 pdata ,pdata 
+0703 1ff1fe00 rshift4 pdata ,pdata 
+0704 08008628 inject mod ,40 
+0705 784efc00 disable encode_fec0 
+0706 782dfc00 enable encode_fec1 
+0707 7823fc00 enable enable_white 
+0708 7824fc00 enable enable_crc 
+0709 6800c9ff fetch 1 ,mem_24g_syncword_crc8 
+070a 08008608 inject mod ,8 
+070b 6800c94e fetch 1 ,mem_24g_txlen 
+070c 98007200 iforce loopcnt 
+070d d8c04908 arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-070c e8c08000 ifetch 1 ,contr 
-070d 08008608 inject mod ,8 
-070e c200070c loop p_g24tr_loop 
-070f 78247c00 enable enable_parity 
-0710 08008618 inject mod ,24 
-0711 78447c00 disable enable_parity 
-0712 37d38200 until null ,tx_clear 
-0713 20000064 nop 100 
-0714 784efc00 disable encode_fec0 
-0715 784dfc00 disable encode_fec1 
-0716 20600000 rtn 
+070e e8c08000 ifetch 1 ,contr 
+070f 08008608 inject mod ,8 
+0710 c200070e loop p_g24tr_loop 
+0711 78247c00 enable enable_parity 
+0712 08008618 inject mod ,24 
+0713 78447c00 disable enable_parity 
+0714 37d38200 until null ,tx_clear 
+0715 20000064 nop 100 
+0716 784efc00 disable encode_fec0 
+0717 784dfc00 disable encode_fec1 
+0718 20600000 rtn 
 
 p_mouse_data_init:
-0717 7047a407 jam 7 ,mem_mouse_data_queue 
-0718 7047a504 jam 4 ,mem_mouse_data_queue + 1 
-0719 580047a4 setarg mem_mouse_data_queue 
-071a 60014218 store 2 ,mem_queue_ptr 
-071b 20207e38 branch queue_init 
+0719 7047a407 jam 7 ,mem_mouse_data_queue 
+071a 7047a504 jam 4 ,mem_mouse_data_queue + 1 
+071b 580047a4 setarg mem_mouse_data_queue 
+071c 60014218 store 2 ,mem_queue_ptr 
+071d 20207e38 branch queue_init 
 
 p_mouse_data_push:
-071c da20469a arg mem_mouse_key ,rega 
-071d 20407e3d call queue_push 
-071e 20540720 call p_mouse_queue_increase ,user 
-071f 20600000 rtn 
+071e da20469a arg mem_mouse_key ,rega 
+071f 20407e3d call queue_push 
+0720 20540722 call p_mouse_queue_increase ,user 
+0721 20600000 rtn 
 
 p_mouse_queue_increase:
-0720 6800c7c5 fetch 1 ,mem_mouse_data_queue_num 
-0721 1fe0fe01 increase 1 ,pdata 
-0722 6000c7c5 store 1 ,mem_mouse_data_queue_num 
-0723 20600000 rtn 
+0722 6800c7c5 fetch 1 ,mem_mouse_data_queue_num 
+0723 1fe0fe01 increase 1 ,pdata 
+0724 6000c7c5 store 1 ,mem_mouse_data_queue_num 
+0725 20600000 rtn 
 
 p_mouse_data_pull:
-0724 da20469a arg mem_mouse_key ,rega 
-0725 20407e54 call queue_pop 
-0726 20340728 branch p_mouse_fill_data_le ,user 
-0727 20600000 rtn 
+0726 da20469a arg mem_mouse_key ,rega 
+0727 20407e54 call queue_pop 
+0728 2034072a branch p_mouse_fill_data_le ,user 
+0729 20600000 rtn 
 
 p_mouse_fill_data_le:
-0728 20405652 call le_clear_md 
-0729 6800c7c5 fetch 1 ,mem_mouse_data_queue_num 
-072a 1fe67c01 sub pdata ,1 ,null 
-072b 24415650 ncall le_set_md ,positive 
-072c 6800c7c5 fetch 1 ,mem_mouse_data_queue_num 
-072d 207a0000 rtn blank 
-072e 1fe0ffff increase -1 ,pdata 
-072f 6000c7c5 store 1 ,mem_mouse_data_queue_num 
-0730 20203f90 branch mouse_fill_data_le 
+072a 20405652 call le_clear_md 
+072b 6800c7c5 fetch 1 ,mem_mouse_data_queue_num 
+072c 1fe67c01 sub pdata ,1 ,null 
+072d 24415650 ncall le_set_md ,positive 
+072e 6800c7c5 fetch 1 ,mem_mouse_data_queue_num 
+072f 207a0000 rtn blank 
+0730 1fe0ffff increase -1 ,pdata 
+0731 6000c7c5 store 1 ,mem_mouse_data_queue_num 
+0732 20203f90 branch mouse_fill_data_le 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/mouse_project/YJX_Project/24G&BLE_BD/program/patch.prog	(revision 1485)
+++ /branch/mouse_project/YJX_Project/24G&BLE_BD/program/patch.prog	(working copy)
@@ -2466,8 +2466,13 @@
 	nbranch p_g24_auto_pair_retry,sync
 	nbranch p_g24_auto_pair_retry,user3
 	call p_g24_ackpayload_parse
+	fetch 4,mem_24g_addr
+	fetcht 4,mem_24g_allpowerful_addr
+	isub temp,null
+	branch p_g24_auto_pair_skip_rx_length,zero
 	fetch 1,mem_24g_rxdata_length	//ack payload length
 	branch p_g24_auto_pair_start_loop,blank
+p_g24_auto_pair_skip_rx_length:	
 	call p_mouse_tx_power_init
 	fetch 4,mem_24g_addr
 	fetcht 4,mem_24g_paring_addr
@@ -2490,10 +2495,6 @@
 	store 2,mem_24g_transmit_by_interrupt_exit_count
 	rtn
 
-p_g24_store_dongle_addr:
-	fetch 4,mem_24g_rxpayload+2
-	branch p_g24_update_addr_and_synccrc8	
-
 p_g24_auto_pair_retry:
 	fetch 2,mem_24g_check_dongle_times
 	increase 1,pdata
@@ -2538,9 +2539,8 @@
 	
 p_g24_auto_pair_all_powerful:
 	jam TX_POWER_PAIR,mem_tx_power
-	setarg 0x0f0f
-	store 2,mem_24g_addr
-	istore 2,contw
+	fetch 4,mem_24g_allpowerful_addr
+	store 4,mem_24g_addr
 	fetch 1,mem_24g_powerful_current_ch_num
 	store 1,mem_24g_current_ch_number
 	call p_g24_ch_syncword_crc8_init
@@ -2753,6 +2753,9 @@
 endif
 	rtn
 
+
+p_g24_store_dongle_addr:
+	fetch 4,mem_24g_rxpayload+2
 p_g24_update_addr_and_synccrc8:	
 	store 4,mem_24g_addr
 
Index: sched/mouse.dat
===================================================================
--- /branch/mouse_project/YJX_Project/24G&BLE_BD/sched/mouse.dat	(revision 1485)
+++ /branch/mouse_project/YJX_Project/24G&BLE_BD/sched/mouse.dat	(working copy)
@@ -239,6 +239,7 @@
 mem_24g_ch_map3:0f 1a 3a 4c
 mem_24g_ch_map4:11 23 31 4d
 mem_24g_paring_addr:20 15 10 05
+mem_24g_allpowerful_addr:0f 0f 0f 0f
 mem_24g_pairing_sm:ff
 mem_24g_common_temp:00 00 00 00 00 00 00 00 00 00
 mem_24g_enter_hibernate:80 ee 36#10 min
