Index: output/eeprom.dat
===================================================================
--- /branch/USB/dongle/output/eeprom.dat	(revision 2233)
+++ /branch/USB/dongle/output/eeprom.dat	(working copy)
@@ -2,7 +2,7 @@
 02
 aa
 55
-5e
+56
 11
 c2
 84
@@ -11,15 +11,15 @@
 c0
 42
 83
-9b
+99
 c0
 44
 83
-76
+74
 c0
 00
 03
-96
+94
 c0
 47
 00
@@ -695,11 +695,11 @@
 20
 40
 03
-b0
+ae
 20
 40
 03
-d0
+ce
 20
 20
 01
@@ -779,7 +779,7 @@
 20
 20
 03
-d0
+ce
 70
 48
 b9
@@ -787,7 +787,7 @@
 20
 20
 03
-d0
+ce
 1c
 42
 7e
@@ -811,7 +811,7 @@
 20
 40
 03
-ab
+a9
 60
 08
 c8
@@ -827,7 +827,7 @@
 20
 20
 03
-d0
+ce
 20
 40
 00
@@ -987,7 +987,7 @@
 20
 20
 03
-b0
+ae
 20
 40
 01
@@ -1995,7 +1995,7 @@
 20
 40
 03
-ea
+e8
 24
 77
 80
@@ -2283,7 +2283,7 @@
 20
 40
 03
-b0
+ae
 68
 00
 c8
@@ -2311,7 +2311,7 @@
 20
 40
 03
-a4
+a2
 60
 08
 c8
@@ -2319,7 +2319,7 @@
 20
 40
 03
-ab
+a9
 60
 08
 c8
@@ -2339,7 +2339,7 @@
 20
 40
 03
-d4
+d2
 60
 08
 c8
@@ -2363,7 +2363,7 @@
 20
 40
 03
-d8
+d6
 60
 00
 c8
@@ -2387,7 +2387,7 @@
 20
 40
 03
-b0
+ae
 68
 00
 c8
@@ -2415,7 +2415,7 @@
 20
 40
 03
-a4
+a2
 60
 08
 c8
@@ -2423,7 +2423,7 @@
 20
 40
 03
-ab
+a9
 60
 08
 c8
@@ -2443,7 +2443,7 @@
 20
 40
 03
-d4
+d2
 60
 08
 c8
@@ -2467,7 +2467,7 @@
 20
 40
 03
-d8
+d6
 60
 00
 c8
@@ -2487,7 +2487,7 @@
 20
 40
 03
-b0
+ae
 68
 00
 c8
@@ -2515,7 +2515,7 @@
 20
 40
 03
-a4
+a2
 60
 08
 c8
@@ -2523,7 +2523,7 @@
 20
 40
 03
-ab
+a9
 60
 08
 c8
@@ -2543,7 +2543,7 @@
 20
 40
 03
-d4
+d2
 60
 08
 c8
@@ -2655,15 +2655,15 @@
 20
 40
 03
-be
+bc
 20
 40
 04
-34
+32
 20
 20
 04
-2c
+2a
 70
 48
 36
@@ -2851,7 +2851,7 @@
 c0
 7f
 83
-4c
+4a
 20
 20
 01
@@ -2939,7 +2939,7 @@
 c0
 00
 83
-54
+52
 68
 00
 c8
@@ -2967,7 +2967,7 @@
 c0
 67
 83
-58
+56
 58
 00
 00
@@ -3047,7 +3047,7 @@
 20
 20
 83
-56
+54
 68
 00
 c8
@@ -3059,11 +3059,11 @@
 c0
 01
 03
-35
+33
 c0
 01
 83
-1c
+1a
 20
 20
 01
@@ -3072,10 +3072,10 @@
 00
 c8
 82
-20
-5a
-03
-0f
+60
+00
+c8
+b8
 70
 48
 82
@@ -3087,7 +3087,7 @@
 20
 40
 03
-11
+0f
 68
 04
 0d
@@ -3095,7 +3095,7 @@
 24
 5a
 03
-14
+12
 68
 04
 0d
@@ -3103,7 +3103,7 @@
 20
 5a
 03
-18
+16
 68
 04
 0d
@@ -3136,14 +3136,6 @@
 20
 01
 02
-70
-48
-b8
-00
-20
-60
-00
-00
 d8
 c0
 48
@@ -3195,7 +3187,7 @@
 20
 40
 03
-2a
+28
 68
 01
 0d
@@ -3203,7 +3195,7 @@
 24
 5a
 03
-2d
+2b
 68
 01
 0d
@@ -3211,7 +3203,7 @@
 20
 5a
 03
-31
+2f
 68
 01
 8d
@@ -3295,7 +3287,7 @@
 20
 40
 03
-3f
+3d
 68
 01
 13
@@ -3315,7 +3307,7 @@
 24
 42
 83
-4a
+48
 68
 01
 13
@@ -3387,11 +3379,11 @@
 c0
 00
 83
-50
+4e
 c0
 01
 03
-52
+50
 20
 60
 00
@@ -3443,7 +3435,7 @@
 20
 22
 83
-5d
+5b
 20
 60
 00
@@ -3455,7 +3447,7 @@
 c0
 61
 03
-6a
+68
 68
 00
 c9
@@ -3495,7 +3487,7 @@
 c0
 61
 03
-6a
+68
 20
 60
 00
@@ -3523,11 +3515,11 @@
 c0
 2a
 83
-72
+70
 c0
 55
 03
-74
+72
 20
 60
 00
@@ -3615,11 +3607,11 @@
 c0
 02
 03
-8f
+8d
 20
 20
 03
-88
+86
 70
 89
 4b
@@ -3723,7 +3715,7 @@
 20
 40
 03
-a4
+a2
 60
 08
 c8
@@ -3807,7 +3799,7 @@
 c2
 00
 03
-b4
+b2
 1a
 22
 7e
@@ -3915,7 +3907,7 @@
 20
 40
 03
-d4
+d2
 60
 08
 c8
@@ -3927,7 +3919,7 @@
 20
 40
 03
-d8
+d6
 18
 40
 84
@@ -4051,7 +4043,7 @@
 20
 40
 03
-e1
+df
 78
 57
 fc
@@ -4087,7 +4079,7 @@
 24
 2c
 04
-2f
+2d
 78
 46
 fc
@@ -4127,7 +4119,7 @@
 24
 22
 84
-2c
+2a
 09
 80
 00
@@ -4151,7 +4143,7 @@
 20
 22
 84
-11
+0f
 68
 00
 c7
@@ -4167,7 +4159,7 @@
 24
 20
 84
-2c
+2a
 09
 80
 00
@@ -4191,7 +4183,7 @@
 20
 22
 84
-1b
+19
 09
 80
 00
@@ -4207,7 +4199,7 @@
 c2
 00
 04
-17
+15
 09
 80
 00
@@ -4243,7 +4235,7 @@
 20
 23
 04
-2c
+2a
 78
 37
 fc
@@ -4291,11 +4283,11 @@
 20
 40
 03
-9d
+9b
 20
 20
 04
-2c
+2a
 20
 40
 29
@@ -4323,11 +4315,11 @@
 20
 40
 03
-e1
+df
 20
 40
 04
-31
+2f
 79
 20
 2a
@@ -4407,7 +4399,7 @@
 c2
 00
 04
-4a
+48
 68
 00
 c8
@@ -4448,8 +4440,8 @@
 60
 00
 00
-67
-36
+fb
+0c
 aa
 55
 01
@@ -5018,8 +5010,8 @@
 42
 00
 84
-6b
-25
+4b
+1c
 ff
 ff
 ff
@@ -8188,5 +8180,13 @@
 ff
 ff
 ff
-e2
-cf
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+ff
+a5
+82
Index: output/program.lis
===================================================================
--- /branch/USB/dongle/output/program.lis	(revision 2233)
+++ /branch/USB/dongle/output/program.lis	(working copy)
@@ -1,9 +1,9 @@
 include "bt_format "
 org 0x0000
 0000 c284000a bbit1 8 ,pf_patch_ext 
-0001 c042839b beq patch10_5 ,p_shutdown_radio 
-0002 c0448376 beq patch11_1 ,p_set_freq_tx 
-0003 c0000396 beq patch00_0 ,p_soft_reset 
+0001 c0428399 beq patch10_5 ,p_shutdown_radio 
+0002 c0448374 beq patch11_1 ,p_set_freq_tx 
+0003 c0000394 beq patch00_0 ,p_soft_reset 
 0004 c047000b beq patch11_6 ,p_save_rssi 
 0005 c0620073 beq patch18_4 ,p_app_init 
 0006 c07b8012 beq patch1e_7 ,p_usb_init 
@@ -232,8 +232,8 @@
 00a9 7048b001 jam 1 ,mem_24g_abort_packet 
 00aa 70483500 jam 0 ,mem_24g_pid 
 00ab 6802489f fetch 4 ,mem_24g_rx_addr 
-00ac 204003b0 call p_g24_update_addr_and_synccrc8 
-00ad 204003d0 call p_g24_ch 
+00ac 204003ae call p_g24_update_addr_and_synccrc8 
+00ad 204003ce call p_g24_ch 
 00ae 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_ch_process:
@@ -255,11 +255,11 @@
 00be 793ffe1c set0 28 ,pdata 
 00bf 600248b2 store 4 ,mem_24g_hop_btclk 
 00c0 7048b001 jam 1 ,mem_24g_abort_packet 
-00c1 202003d0 branch p_g24_ch 
+00c1 202003ce branch p_g24_ch 
 
 p_g24_ch_receive_hop_pac:
 00c2 7048b900 jam 0 ,mem_24g_hop_packet 
-00c3 202003d0 branch p_g24_ch 
+00c3 202003ce branch p_g24_ch 
 
 p_g24_ch_timer_reinit:
 00c4 1c427e00 copy clkn_bt ,pdata 
@@ -269,11 +269,11 @@
 
 p_g24_noise_rssi:
 00c8 da200d9e arg mem_rssi_noise_buffer ,rega 
-00c9 204003ab call p_rssi_average 
+00c9 204003a9 call p_rssi_average 
 00ca 6008c8ef storet 1 ,mem_rssi_noise_avg 
 00cb 18467c50 sub temp ,rssi_thresh_noise ,null 
 00cc 24610000 nrtn positive 
-00cd 202003d0 branch p_g24_ch 
+00cd 202003ce branch p_g24_ch 
 
 p_g24_blank_data_process:
 00ce 204000d1 call p_g24_ms_blank_data 
@@ -325,7 +325,7 @@
 00f2 70483500 jam 0 ,mem_24g_pid 
 00f3 7048404e jam g24_pair_ch ,mem_24g_ch 
 00f4 68024842 fetch 4 ,mem_24g_paring_addr 
-00f5 202003b0 branch p_g24_update_addr_and_synccrc8 
+00f5 202003ae branch p_g24_update_addr_and_synccrc8 
 
 p_g24_dongle_bind_data_process:
 00f6 204001f0 call p_g24_receive_transmit_ack 
@@ -695,7 +695,7 @@
 
 p_g24_receive_transmit_ack:
 01f0 20400102 call p_g24_rx_interrupt_clear 
-01f1 204003ea call p_g24_receive_packet 
+01f1 204003e8 call p_g24_receive_packet 
 01f2 24778000 nrtn user3 
 01f3 2020028f branch p_g24_transmit_ack 
 
@@ -787,21 +787,21 @@
 0236 2040010a call p_g24_dongle_bind_ms_payload_cfg 
 0237 680248da fetch 4 ,mem_24g_ms_addr 
 0238 203a022d branch p_g24_rx_auto_addr_ch_search ,blank 
-0239 204003b0 call p_g24_update_addr_and_synccrc8 
+0239 204003ae call p_g24_update_addr_and_synccrc8 
 023a 6800c8e6 fetch 1 ,mem_24g_ms_config_ch_once 
 023b 205a024b call p_g24_ms_config_ch_once ,blank 
 023c 6800c8e4 fetch 1 ,mem_24g_ms_last_ch 
 023d 6000c840 store 1 ,mem_24g_ch 
 023e 6808c8f7 fetcht 1 ,mem_rssi_noise_ms_index 
 023f da200f9e arg mem_rssi_noise_ms_buffer ,rega 
-0240 204003a4 call p_rssi_store 
+0240 204003a2 call p_rssi_store 
 0241 6008c8f7 storet 1 ,mem_rssi_noise_ms_index 
-0242 204003ab call p_rssi_average 
+0242 204003a9 call p_rssi_average 
 0243 6008c8f4 storet 1 ,mem_rssi_noise_ms_avg 
 0244 18467c50 sub temp ,rssi_thresh_noise ,null 
 0245 24610000 nrtn positive 
 0246 6808c8e5 fetcht 1 ,mem_24g_ms_ch_number 
-0247 204003d4 call p_g24_ch_map_size 
+0247 204003d2 call p_g24_ch_map_size 
 0248 6008c8e5 storet 1 ,mem_24g_ms_ch_number 
 0249 6000c8e4 store 1 ,mem_24g_ms_last_ch 
 024a 20600000 rtn 
@@ -809,7 +809,7 @@
 p_g24_ms_config_ch_once:
 024b 7048e601 jam 1 ,mem_24g_ms_config_ch_once 
 024c d8400000 arg 0 ,temp 
-024d 204003d8 call p_g24_ch_calc 
+024d 204003d6 call p_g24_ch_calc 
 024e 6000c8e4 store 1 ,mem_24g_ms_last_ch 
 024f 20600000 rtn 
 
@@ -817,21 +817,21 @@
 0250 20400110 call p_g24_dongle_bind_kb_payload_cfg 
 0251 680248d6 fetch 4 ,mem_24g_kb_addr 
 0252 203a022d branch p_g24_rx_auto_addr_ch_search ,blank 
-0253 204003b0 call p_g24_update_addr_and_synccrc8 
+0253 204003ae call p_g24_update_addr_and_synccrc8 
 0254 6800c8e3 fetch 1 ,mem_24g_kb_config_ch_once 
 0255 205a0265 call p_g24_kb_config_ch_once ,blank 
 0256 6800c8e1 fetch 1 ,mem_24g_kb_last_ch 
 0257 6000c840 store 1 ,mem_24g_ch 
 0258 6808c8f6 fetcht 1 ,mem_rssi_noise_kb_index 
 0259 da20109e arg mem_rssi_noise_kb_buffer ,rega 
-025a 204003a4 call p_rssi_store 
+025a 204003a2 call p_rssi_store 
 025b 6008c8f6 storet 1 ,mem_rssi_noise_kb_index 
-025c 204003ab call p_rssi_average 
+025c 204003a9 call p_rssi_average 
 025d 6008c8f3 storet 1 ,mem_rssi_noise_kb_avg 
 025e 18467c50 sub temp ,rssi_thresh_noise ,null 
 025f 24610000 nrtn positive 
 0260 6808c8e2 fetcht 1 ,mem_24g_kb_ch_number 
-0261 204003d4 call p_g24_ch_map_size 
+0261 204003d2 call p_g24_ch_map_size 
 0262 6008c8e2 storet 1 ,mem_24g_kb_ch_number 
 0263 6000c8e1 store 1 ,mem_24g_kb_last_ch 
 0264 20600000 rtn 
@@ -839,28 +839,28 @@
 p_g24_kb_config_ch_once:
 0265 7048e301 jam 1 ,mem_24g_kb_config_ch_once 
 0266 d8400000 arg 0 ,temp 
-0267 204003d8 call p_g24_ch_calc 
+0267 204003d6 call p_g24_ch_calc 
 0268 6000c8e1 store 1 ,mem_24g_kb_last_ch 
 0269 20600000 rtn 
 
 p_g24_rx_auto_bind_config_dongle:
 026a 2040010a call p_g24_dongle_bind_ms_payload_cfg 
 026b 6802489f fetch 4 ,mem_24g_rx_addr 
-026c 204003b0 call p_g24_update_addr_and_synccrc8 
+026c 204003ae call p_g24_update_addr_and_synccrc8 
 026d 6800c8e0 fetch 1 ,mem_24g_dg_config_ch_once 
 026e 205a027e call p_g24_dg_config_ch_once ,blank 
 026f 6800c8de fetch 1 ,mem_24g_dg_last_ch 
 0270 6000c840 store 1 ,mem_24g_ch 
 0271 6808c8f5 fetcht 1 ,mem_rssi_noise_dg_index 
 0272 da200e9e arg mem_rssi_noise_dg_buffer ,rega 
-0273 204003a4 call p_rssi_store 
+0273 204003a2 call p_rssi_store 
 0274 6008c8f5 storet 1 ,mem_rssi_noise_dg_index 
-0275 204003ab call p_rssi_average 
+0275 204003a9 call p_rssi_average 
 0276 6008c8f2 storet 1 ,mem_rssi_noise_dg_avg 
 0277 18467c50 sub temp ,rssi_thresh_noise ,null 
 0278 24610000 nrtn positive 
 0279 6808c8df fetcht 1 ,mem_24g_dg_ch_number 
-027a 204003d4 call p_g24_ch_map_size 
+027a 204003d2 call p_g24_ch_map_size 
 027b 6008c8df storet 1 ,mem_24g_dg_ch_number 
 027c 6000c8de store 1 ,mem_24g_dg_last_ch 
 027d 20600000 rtn 
@@ -896,11 +896,11 @@
 
 p_g24tx_with_ack:
 0295 20400299 call p_g24_ackpayload_prep 
-0296 204003be call p_g24_transmit_prep 
-0297 20400434 call p_g24_transmit 
+0296 204003bc call p_g24_transmit_prep 
+0297 20400432 call p_g24_transmit 
 
 p_g24tx_no_ack:
-0298 2020042c branch p_g24_end_of_packet 
+0298 2020042a branch p_g24_end_of_packet 
 
 p_g24_ackpayload_prep:
 0299 70483600 jam 0 ,mem_24g_datalen 
@@ -959,7 +959,7 @@
 02c4 6800c87f fetch 1 ,mem_24g_rxdata_temp + 2 
 02c5 c00082d7 beq 0x01 ,p_g24_data_type1 
 02c6 c00102f6 beq 0x02 ,p_g24_data_type2 
-02c7 c07f834c beq 0xff ,p_g24_data_attemp 
+02c7 c07f834a beq 0xff ,p_g24_data_attemp 
 02c8 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_receive_packet_parse_pid_crc:
@@ -985,14 +985,14 @@
 02da 284ffe03 isolate1 bit_abort ,temp 
 02db 7920fe00 setflag true ,0 ,pdata 
 02dc 6000c8b0 store 1 ,mem_24g_abort_packet 
-02dd c0008354 beq 1 ,p_g24_data_attemp_mouse_abort 
+02dd c0008352 beq 1 ,p_g24_data_attemp_mouse_abort 
 02de 6800c8b9 fetch 1 ,mem_24g_hop_packet 
 02df 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
 02e0 284ffe04 isolate1 bit_hop ,temp 
 02e1 7920fe00 setflag true ,0 ,pdata 
 02e2 6000c8b9 store 1 ,mem_24g_hop_packet 
 02e3 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-02e4 c0678358 beq cmd_ota ,p_g24_ota_process 
+02e4 c0678356 beq cmd_ota ,p_g24_ota_process 
 02e5 58000001 setarg ms_report_id 
 02e6 60008d54 store 1 ,mem_usb_mouse_data 
 02e7 6803c880 fetch 7 ,mem_24g_rxdata_temp + 3 
@@ -1018,23 +1018,23 @@
 p_g24_data_type2:
 02f6 6808c87d fetcht 1 ,mem_24g_rxdata_temp 
 02f7 284ffe03 isolate1 bit_abort ,temp 
-02f8 20208356 branch p_g24_data_attemp_kbd_abort ,true 
+02f8 20208354 branch p_g24_data_attemp_kbd_abort ,true 
 02f9 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
 02fa c00002fe beq 0 ,p_g24_data_type2_data1 
-02fb c0010335 beq 2 ,p_g24_data_type2_data3 
-02fc c001831c beq 3 ,p_g24_data_type2_data2 
+02fb c0010333 beq 2 ,p_g24_data_type2_data3 
+02fc c001831a beq 3 ,p_g24_data_type2_data2 
 02fd 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_data1:
 02fe 6800c882 fetch 1 ,mem_24g_rxdata_temp + 5 
-02ff 205a030f call p_g24_kb_led_clear_flag ,blank 
+02ff 6000c8b8 store 1 ,mem_24g_ackpayload_enable 
 0300 70488200 jam 0 ,mem_24g_rxdata_temp + 5 
 0301 d8a00d64 arg mem_usb_kb_data ,contw 
-0302 20400311 call p_g24_data_type2_copy_data1 
+0302 2040030f call p_g24_data_type2_copy_data1 
 0303 68040d64 fetch 8 ,mem_usb_kb_data 
-0304 245a0314 ncall p_g24_kb_enable_blank_data_forcibly ,blank 
+0304 245a0312 ncall p_g24_kb_enable_blank_data_forcibly ,blank 
 0305 68040d64 fetch 8 ,mem_usb_kb_data 
-0306 205a0318 call p_g24_kb_disable_blank_data_forcibly ,blank 
+0306 205a0316 call p_g24_kb_disable_blank_data_forcibly ,blank 
 0307 68040d64 fetch 8 ,mem_usb_kb_data 
 0308 600448bd store 8 ,mem_24g_kb_data_sta_data 
 0309 680c48c5 fetcht 8 ,mem_24g_kb_data_last_data 
@@ -1044,433 +1044,429 @@
 030d 600448c5 store 8 ,mem_24g_kb_data_last_data 
 030e 20200102 branch p_g24_rx_interrupt_clear 
 
-p_g24_kb_led_clear_flag:
-030f 7048b800 jam 0 ,mem_24g_ackpayload_enable 
-0310 20600000 rtn 
-
 p_g24_data_type2_copy_data1:
-0311 d8c04881 arg mem_24g_rxdata_temp + 4 ,contr 
-0312 df200008 arg 8 ,loopcnt 
-0313 20207f01 branch memcpy 
+030f d8c04881 arg mem_24g_rxdata_temp + 4 ,contr 
+0310 df200008 arg 8 ,loopcnt 
+0311 20207f01 branch memcpy 
 
 p_g24_kb_enable_blank_data_forcibly:
-0314 7048d301 jam 1 ,mem_24g_kb_blank_data_enable 
-0315 58000180 setarg timer_new_kb_blank_delay 
-0316 d8e0000e arg timer_new_kb_blank ,queue 
-0317 20207f08 branch timer_init 
+0312 7048d301 jam 1 ,mem_24g_kb_blank_data_enable 
+0313 58000180 setarg timer_new_kb_blank_delay 
+0314 d8e0000e arg timer_new_kb_blank ,queue 
+0315 20207f08 branch timer_init 
 
 p_g24_kb_disable_blank_data_forcibly:
-0318 7048d300 jam 0 ,mem_24g_kb_blank_data_enable 
-0319 58000000 setarg 0 
-031a d8e0000e arg timer_new_kb_blank ,queue 
-031b 20207f08 branch timer_init 
+0316 7048d300 jam 0 ,mem_24g_kb_blank_data_enable 
+0317 58000000 setarg 0 
+0318 d8e0000e arg timer_new_kb_blank ,queue 
+0319 20207f08 branch timer_init 
 
 p_g24_data_type2_data2:
-031c d8a00d74 arg mem_usb_kb_multikey ,contw 
-031d 2040032a call p_g24_data_type2_copy_data2 
+031a d8a00d74 arg mem_usb_kb_multikey ,contw 
+031b 20400328 call p_g24_data_type2_copy_data2 
+031c 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
+031d 245a032b ncall p_g24_kb_mul_enable_blank_data_forcibly ,blank 
 031e 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
-031f 245a032d ncall p_g24_kb_mul_enable_blank_data_forcibly ,blank 
-0320 68010d75 fetch 2 ,mem_usb_kb_multikey + 1 
-0321 205a0331 call p_g24_kb_mul_disable_blank_data_forcibly ,blank 
-0322 68018d74 fetch 3 ,mem_usb_kb_multikey 
-0323 6001c8cd store 3 ,mem_24g_kb_multikey_sta_data 
-0324 6809c8d0 fetcht 3 ,mem_24g_kb_multikey_last_data 
-0325 98467c00 isub temp ,null 
-0326 2442b207 ncall g24_kb_mul_data_into_ep2_fifo ,zero 
-0327 6801c8cd fetch 3 ,mem_24g_kb_multikey_sta_data 
-0328 6001c8d0 store 3 ,mem_24g_kb_multikey_last_data 
-0329 20200102 branch p_g24_rx_interrupt_clear 
+031f 205a032f call p_g24_kb_mul_disable_blank_data_forcibly ,blank 
+0320 68018d74 fetch 3 ,mem_usb_kb_multikey 
+0321 6001c8cd store 3 ,mem_24g_kb_multikey_sta_data 
+0322 6809c8d0 fetcht 3 ,mem_24g_kb_multikey_last_data 
+0323 98467c00 isub temp ,null 
+0324 2442b207 ncall g24_kb_mul_data_into_ep2_fifo ,zero 
+0325 6801c8cd fetch 3 ,mem_24g_kb_multikey_sta_data 
+0326 6001c8d0 store 3 ,mem_24g_kb_multikey_last_data 
+0327 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_copy_data2:
-032a d8c04880 arg mem_24g_rxdata_temp + 3 ,contr 
-032b df200003 arg 3 ,loopcnt 
-032c 20207f01 branch memcpy 
+0328 d8c04880 arg mem_24g_rxdata_temp + 3 ,contr 
+0329 df200003 arg 3 ,loopcnt 
+032a 20207f01 branch memcpy 
 
 p_g24_kb_mul_enable_blank_data_forcibly:
-032d 7048d401 jam 1 ,mem_24g_kb_mul_blank_data_enable 
-032e 58000180 setarg timer_new_kb_mul_blank_delay 
-032f d8e0000c arg timer_new_kb_mul_blank ,queue 
-0330 20207f08 branch timer_init 
+032b 7048d401 jam 1 ,mem_24g_kb_mul_blank_data_enable 
+032c 58000180 setarg timer_new_kb_mul_blank_delay 
+032d d8e0000c arg timer_new_kb_mul_blank ,queue 
+032e 20207f08 branch timer_init 
 
 p_g24_kb_mul_disable_blank_data_forcibly:
-0331 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
-0332 58000000 setarg 0 
-0333 d8e0000c arg timer_new_kb_mul_blank ,queue 
-0334 20207f08 branch timer_init 
+032f 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
+0330 58000000 setarg 0 
+0331 d8e0000c arg timer_new_kb_mul_blank ,queue 
+0332 20207f08 branch timer_init 
 
 p_g24_data_type2_data3:
-0335 d8a013bc arg mem_usb_kb_system ,contw 
-0336 2040033f call p_g24_data_type2_copy_data3 
-0337 680113bc fetch 2 ,mem_usb_kb_system 
-0338 600113cc store 2 ,mem_usb_kb_system_sta_data 
-0339 680913cf fetcht 2 ,mem_usb_kb_system_last_data 
-033a 98467c00 isub temp ,null 
-033b 2442834a ncall p_g24_kb_sys_data_into_ep2_fifo ,zero 
-033c 680113cc fetch 2 ,mem_usb_kb_system_sta_data 
-033d 600113cf store 2 ,mem_usb_kb_system_last_data 
-033e 20200102 branch p_g24_rx_interrupt_clear 
+0333 d8a013bc arg mem_usb_kb_system ,contw 
+0334 2040033d call p_g24_data_type2_copy_data3 
+0335 680113bc fetch 2 ,mem_usb_kb_system 
+0336 600113cc store 2 ,mem_usb_kb_system_sta_data 
+0337 680913cf fetcht 2 ,mem_usb_kb_system_last_data 
+0338 98467c00 isub temp ,null 
+0339 24428348 ncall p_g24_kb_sys_data_into_ep2_fifo ,zero 
+033a 680113cc fetch 2 ,mem_usb_kb_system_sta_data 
+033b 600113cf store 2 ,mem_usb_kb_system_last_data 
+033c 20200102 branch p_g24_rx_interrupt_clear 
 
 p_g24_data_type2_copy_data3:
-033f d8c04880 arg mem_24g_rxdata_temp + 3 ,contr 
-0340 df200002 arg 2 ,loopcnt 
-0341 20207f01 branch memcpy 
+033d d8c04880 arg mem_24g_rxdata_temp + 3 ,contr 
+033e df200002 arg 2 ,loopcnt 
+033f 20207f01 branch memcpy 
 
 p_g24_kb_sys_enable_blank_data_forcibly:
-0342 7048d401 jam 1 ,mem_24g_kb_mul_blank_data_enable 
-0343 58000180 setarg timer_new_kb_mul_blank_delay 
-0344 d8e0000c arg timer_new_kb_mul_blank ,queue 
-0345 20207f08 branch timer_init 
+0340 7048d401 jam 1 ,mem_24g_kb_mul_blank_data_enable 
+0341 58000180 setarg timer_new_kb_mul_blank_delay 
+0342 d8e0000c arg timer_new_kb_mul_blank ,queue 
+0343 20207f08 branch timer_init 
 
 p_g24_kb_sys_disable_blank_data_forcibly:
-0346 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
-0347 58000000 setarg 0 
-0348 d8e0000c arg timer_new_kb_mul_blank ,queue 
-0349 20207f08 branch timer_init 
+0344 7048d400 jam 0 ,mem_24g_kb_mul_blank_data_enable 
+0345 58000000 setarg 0 
+0346 d8e0000c arg timer_new_kb_mul_blank ,queue 
+0347 20207f08 branch timer_init 
 
 p_g24_kb_sys_data_into_ep2_fifo:
-034a 700d5222 jam usb_ep2_systemkey ,mem_usb_ep2_data 
-034b 202031b9 branch g24_data_type1_usbtx_enable_ep2 
+0348 700d5222 jam usb_ep2_systemkey ,mem_usb_ep2_data 
+0349 202031b9 branch g24_data_type1_usbtx_enable_ep2 
 
 p_g24_data_attemp:
-034c 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
-034d c0008350 beq datatype_mouse ,p_g24_data_attemp_mouse 
-034e c0010352 beq datatype_keyboard ,p_g24_data_attemp_kbd 
-034f 20600000 rtn 
+034a 6800c880 fetch 1 ,mem_24g_rxdata_temp + 3 
+034b c000834e beq datatype_mouse ,p_g24_data_attemp_mouse 
+034c c0010350 beq datatype_keyboard ,p_g24_data_attemp_kbd 
+034d 20600000 rtn 
 
 p_g24_data_attemp_mouse:
-0350 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
-0351 2020013f branch p_g24_store_mouse_addr 
+034e 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
+034f 2020013f branch p_g24_store_mouse_addr 
 
 p_g24_data_attemp_kbd:
-0352 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
-0353 20200142 branch p_g24_store_kbd_addr 
+0350 68024881 fetch 4 ,mem_24g_rxdata_temp + 4 
+0351 20200142 branch p_g24_store_kbd_addr 
 
 p_g24_data_attemp_mouse_abort:
-0354 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
-0355 2020013f branch p_g24_store_mouse_addr 
+0352 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
+0353 2020013f branch p_g24_store_mouse_addr 
 
 p_g24_data_attemp_kbd_abort:
-0356 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
-0357 20200142 branch p_g24_store_kbd_addr 
+0354 68024887 fetch 4 ,mem_24g_rxdata_temp + 10 
+0355 20200142 branch p_g24_store_kbd_addr 
 
 p_g24_ota_process:
-0358 68014882 fetch 2 ,mem_24g_rxdata_temp + 5 
-0359 680948eb fetcht 2 ,mem_24g_ota_sta_pid 
-035a 98467c00 isub temp ,null 
-035b 2022835d branch p_g24_ota_next_pac ,zero 
-035c 20600000 rtn 
+0356 68014882 fetch 2 ,mem_24g_rxdata_temp + 5 
+0357 680948eb fetcht 2 ,mem_24g_ota_sta_pid 
+0358 98467c00 isub temp ,null 
+0359 2022835b branch p_g24_ota_next_pac ,zero 
+035a 20600000 rtn 
 
 p_g24_ota_next_pac:
-035d 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
-035e c061036a beq cmd_ota_exit ,p_g24_ota_exit_process 
-035f 6800c900 fetch 1 ,mem_queue_ele_num 
-0360 207a0000 rtn blank 
-0361 58004901 setarg mem_queue_read 
-0362 20400153 call p_g24_queue_increase 
-0363 6800c900 fetch 1 ,mem_queue_ele_num 
-0364 1fe0ffff increase -1 ,pdata 
-0365 6000c900 store 1 ,mem_queue_ele_num 
-0366 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
-0367 c0608194 beq cmd_ota_data ,p_user_defined_queue_buff_free 
-0368 c061036a beq cmd_ota_exit ,p_g24_ota_exit_process 
-0369 20600000 rtn 
+035b 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
+035c c0610368 beq cmd_ota_exit ,p_g24_ota_exit_process 
+035d 6800c900 fetch 1 ,mem_queue_ele_num 
+035e 207a0000 rtn blank 
+035f 58004901 setarg mem_queue_read 
+0360 20400153 call p_g24_queue_increase 
+0361 6800c900 fetch 1 ,mem_queue_ele_num 
+0362 1fe0ffff increase -1 ,pdata 
+0363 6000c900 store 1 ,mem_queue_ele_num 
+0364 6800c881 fetch 1 ,mem_24g_rxdata_temp + 4 
+0365 c0608194 beq cmd_ota_data ,p_user_defined_queue_buff_free 
+0366 c0610368 beq cmd_ota_exit ,p_g24_ota_exit_process 
+0367 20600000 rtn 
 
 p_g24_ota_exit_process:
-036a 58000000 setarg 0 
-036b 600148eb store 2 ,mem_24g_ota_sta_pid 
-036c 6000c8b8 store 1 ,mem_24g_ackpayload_enable 
-036d 20400144 call p_g24_queue_init 
-036e 6800c884 fetch 1 ,mem_24g_rxdata_temp + 7 
-036f c02a8372 beq ota_sta_success ,p_g24_ota_exit_success 
-0370 c0550374 beq ota_sta_fail ,p_g24_ota_exit_fail 
-0371 20600000 rtn 
+0368 58000000 setarg 0 
+0369 600148eb store 2 ,mem_24g_ota_sta_pid 
+036a 6000c8b8 store 1 ,mem_24g_ackpayload_enable 
+036b 20400144 call p_g24_queue_init 
+036c 6800c884 fetch 1 ,mem_24g_rxdata_temp + 7 
+036d c02a8370 beq ota_sta_success ,p_g24_ota_exit_success 
+036e c0550372 beq ota_sta_fail ,p_g24_ota_exit_fail 
+036f 20600000 rtn 
 
 p_g24_ota_exit_success:
-0372 700cf702 jam 2 ,mem_usb0_get_report_data + 1 
-0373 2020303f branch usb0_data_ready_report_set1 
+0370 700cf702 jam 2 ,mem_usb0_get_report_data + 1 
+0371 2020303f branch usb0_data_ready_report_set1 
 
 p_g24_ota_exit_fail:
-0374 700cf703 jam 3 ,mem_usb0_get_report_data + 1 
-0375 2020303f branch usb0_data_ready_report_set1 
+0372 700cf703 jam 3 ,mem_usb0_get_report_data + 1 
+0373 2020303f branch usb0_data_ready_report_set1 
 
 p_set_freq_tx:
-0376 60088017 storet 1 ,mem_last_freq 
-0377 1840a200 add temp ,0 ,rega 
-0378 20402981 call rf_write_freq 
-0379 58000500 setarg param_pll_setup 
-037a 20402a8f call sleep 
+0374 60088017 storet 1 ,mem_last_freq 
+0375 1840a200 add temp ,0 ,rega 
+0376 20402981 call rf_write_freq 
+0377 58000500 setarg param_pll_setup 
+0378 20402a8f call sleep 
 
 p_rf_tx_enable:
-037b 70890601 jam 0x1 ,rfen_adc 
-037c 7089003c jam 0x3c ,rfen_rx 
-037d 708901e0 jam 0xe0 ,rfen_tx 
-037e 2000000a nop 10 
-037f 70890201 jam 0x01 ,rfen_mdm 
-0380 7089023d jam 0x3d ,rfen_mdm 
+0379 70890601 jam 0x1 ,rfen_adc 
+037a 7089003c jam 0x3c ,rfen_rx 
+037b 708901e0 jam 0xe0 ,rfen_tx 
+037c 2000000a nop 10 
+037d 70890201 jam 0x01 ,rfen_mdm 
+037e 7089023d jam 0x3d ,rfen_mdm 
+037f 2000000a nop 10 
+0380 708903b7 jam 0xb7 ,rfen_sn 
 0381 2000000a nop 10 
-0382 708903b7 jam 0xb7 ,rfen_sn 
-0383 2000000a nop 10 
-0384 7089027d jam 0x7d ,rfen_mdm 
-0385 6800c1de fetch 1 ,mem_tx_power 
-0386 c002038f beq tx_power_f5db ,p_set_tx_power_f5db 
-0387 20200388 branch p_set_tx_power_5db 
+0382 7089027d jam 0x7d ,rfen_mdm 
+0383 6800c1de fetch 1 ,mem_tx_power 
+0384 c002038d beq tx_power_f5db ,p_set_tx_power_f5db 
+0385 20200386 branch p_set_tx_power_5db 
 
 p_set_tx_power_5db:
-0388 70894bba jam 0xba ,0x894b 
-0389 708955d0 jam 0xd0 ,0x8955 
-038a 708956e0 jam 0xe0 ,0x8956 
-038b 70895788 jam 0x88 ,0x8957 
-038c 7089583c jam 0x3c ,0x8958 
-038d 70895910 jam 0x10 ,0x8959 
-038e 20202953 branch set_tx_power_5db 
+0386 70894bba jam 0xba ,0x894b 
+0387 708955d0 jam 0xd0 ,0x8955 
+0388 708956e0 jam 0xe0 ,0x8956 
+0389 70895788 jam 0x88 ,0x8957 
+038a 7089583c jam 0x3c ,0x8958 
+038b 70895910 jam 0x10 ,0x8959 
+038c 20202953 branch set_tx_power_5db 
 
 p_set_tx_power_f5db:
-038f 70894bba jam 0xba ,0x894b 
-0390 708955d0 jam 0xd0 ,0x8955 
-0391 708956c0 jam 0xc0 ,0x8956 
-0392 70895788 jam 0x88 ,0x8957 
-0393 7089586c jam 0x6c ,0x8958 
-0394 70895910 jam 0x10 ,0x8959 
-0395 2020295b branch set_tx_power_f5db 
+038d 70894bba jam 0xba ,0x894b 
+038e 708955d0 jam 0xd0 ,0x8955 
+038f 708956c0 jam 0xc0 ,0x8956 
+0390 70895788 jam 0x88 ,0x8957 
+0391 7089586c jam 0x6c ,0x8958 
+0392 70895910 jam 0x10 ,0x8959 
+0393 2020295b branch set_tx_power_f5db 
 
 p_soft_reset:
-0396 20800000 clear_stack 
-0397 68108043 hfetch 1 ,core_config 
-0398 79207e03 set1 watchdog_bit ,pdata 
-0399 60108043 hstore 1 ,core_config 
-039a 20202003 branch soft_reset + 2 
+0394 20800000 clear_stack 
+0395 68108043 hfetch 1 ,core_config 
+0396 79207e03 set1 watchdog_bit ,pdata 
+0397 60108043 hstore 1 ,core_config 
+0398 20202003 branch soft_reset + 2 
 
 p_shutdown_radio:
-039b 18002a08 force 8 ,radio_ctrl 
-039c 202028fa branch shutdown_radio + 1 
+0399 18002a08 force 8 ,radio_ctrl 
+039a 202028fa branch shutdown_radio + 1 
 
 p_rssi_noise:
-039d 204029bb call save_rssi 
-039e 207a0000 rtn blank 
-039f 6808c8f0 fetcht 1 ,mem_rssi_noise_index 
-03a0 da200d9e arg mem_rssi_noise_buffer ,rega 
-03a1 204003a4 call p_rssi_store 
-03a2 6008c8f0 storet 1 ,mem_rssi_noise_index 
-03a3 20600000 rtn 
+039b 204029bb call save_rssi 
+039c 207a0000 rtn blank 
+039d 6808c8f0 fetcht 1 ,mem_rssi_noise_index 
+039e da200d9e arg mem_rssi_noise_buffer ,rega 
+039f 204003a2 call p_rssi_store 
+03a0 6008c8f0 storet 1 ,mem_rssi_noise_index 
+03a1 20600000 rtn 
 
 p_rssi_store:
-03a4 1a227e00 copy rega ,pdata 
-03a5 98408a00 iadd temp ,contw 
-03a6 68008018 fetch 1 ,mem_rssi 
-03a7 e0a08000 istore 1 ,contw 
-03a8 18408401 increase 1 ,temp 
-03a9 184104ff and_into rssi_buf_len_noise ,temp 
-03aa 20600000 rtn 
+03a2 1a227e00 copy rega ,pdata 
+03a3 98408a00 iadd temp ,contw 
+03a4 68008018 fetch 1 ,mem_rssi 
+03a5 e0a08000 istore 1 ,contw 
+03a6 18408401 increase 1 ,temp 
+03a7 184104ff and_into rssi_buf_len_noise ,temp 
+03a8 20600000 rtn 
 
 p_rssi_average:
-03ab d8400000 arg 0 ,temp 
-03ac df200100 arg rssi_buf_len_noise + 1 ,loopcnt 
-03ad 1a220c00 copy rega ,contr 
-03ae 20202e64 branch rssi_average_loop 
-03af 20600000 rtn 
+03a9 d8400000 arg 0 ,temp 
+03aa df200100 arg rssi_buf_len_noise + 1 ,loopcnt 
+03ab 1a220c00 copy rega ,contr 
+03ac 20202e64 branch rssi_average_loop 
+03ad 20600000 rtn 
 
 p_g24_update_addr_and_synccrc8:
-03b0 6002485e store 4 ,mem_24g_addr 
+03ae 6002485e store 4 ,mem_24g_addr 
 
 p_g24_syncword_crc8:
-03b1 da200000 arg 0 ,rega 
-03b2 df200004 arg 4 ,loopcnt 
-03b3 d8c0485e arg mem_24g_addr ,contr 
+03af da200000 arg 0 ,rega 
+03b0 df200004 arg 4 ,loopcnt 
+03b1 d8c0485e arg mem_24g_addr ,contr 
 
 p_g24_syncword_crc8_loop:
-03b4 e8c08000 ifetch 1 ,contr 
-03b5 9a20a200 iadd rega ,rega 
-03b6 c20003b4 loop p_g24_syncword_crc8_loop 
-03b7 1a227e00 copy rega ,pdata 
-03b8 600148e7 store 2 ,mem_24g_syncword 
-03b9 6800c8e7 fetch 1 ,mem_24g_syncword 
-03ba 6808c8e8 fetcht 1 ,mem_24g_syncword + 1 
-03bb 9840fe00 iadd temp ,pdata 
-03bc 6000c8e9 store 1 ,mem_24g_syncword_crc8 
-03bd 20600000 rtn 
+03b2 e8c08000 ifetch 1 ,contr 
+03b3 9a20a200 iadd rega ,rega 
+03b4 c20003b2 loop p_g24_syncword_crc8_loop 
+03b5 1a227e00 copy rega ,pdata 
+03b6 600148e7 store 2 ,mem_24g_syncword 
+03b7 6800c8e7 fetch 1 ,mem_24g_syncword 
+03b8 6808c8e8 fetcht 1 ,mem_24g_syncword + 1 
+03b9 9840fe00 iadd temp ,pdata 
+03ba 6000c8e9 store 1 ,mem_24g_syncword_crc8 
+03bb 20600000 rtn 
 
 p_g24_transmit_prep:
-03be 6800c836 fetch 1 ,mem_24g_datalen 
-03bf 1fe0fe02 increase 2 ,pdata 
-03c0 6000c838 store 1 ,mem_24g_txlen 
-03c1 6800c837 fetch 1 ,mem_24g_data_type 
-03c2 6000c7f2 store 1 ,mem_24g_txpayload 
-03c3 6800c836 fetch 1 ,mem_24g_datalen 
-03c4 1fe9fe00 lshift3 pdata ,pdata 
-03c5 6808c835 fetcht 1 ,mem_24g_pid 
-03c6 18410403 and temp ,0x03 ,temp 
-03c7 18438400 lshift temp ,temp 
-03c8 9841fe00 ior temp ,pdata 
-03c9 6808c872 fetcht 1 ,mem_24g_no_ack 
-03ca 9840fe00 iadd temp ,pdata 
-03cb e0a08000 istore 1 ,contw 
-03cc 6800c836 fetch 1 ,mem_24g_datalen 
-03cd 98007200 iforce loopcnt 
-03ce d8c047d2 arg mem_24g_txbuf ,contr 
-03cf 20207f01 branch memcpy 
+03bc 6800c836 fetch 1 ,mem_24g_datalen 
+03bd 1fe0fe02 increase 2 ,pdata 
+03be 6000c838 store 1 ,mem_24g_txlen 
+03bf 6800c837 fetch 1 ,mem_24g_data_type 
+03c0 6000c7f2 store 1 ,mem_24g_txpayload 
+03c1 6800c836 fetch 1 ,mem_24g_datalen 
+03c2 1fe9fe00 lshift3 pdata ,pdata 
+03c3 6808c835 fetcht 1 ,mem_24g_pid 
+03c4 18410403 and temp ,0x03 ,temp 
+03c5 18438400 lshift temp ,temp 
+03c6 9841fe00 ior temp ,pdata 
+03c7 6808c872 fetcht 1 ,mem_24g_no_ack 
+03c8 9840fe00 iadd temp ,pdata 
+03c9 e0a08000 istore 1 ,contw 
+03ca 6800c836 fetch 1 ,mem_24g_datalen 
+03cb 98007200 iforce loopcnt 
+03cc d8c047d2 arg mem_24g_txbuf ,contr 
+03cd 20207f01 branch memcpy 
 
 p_g24_ch:
-03d0 6808c841 fetcht 1 ,mem_24g_current_ch_number 
-03d1 204003d4 call p_g24_ch_map_size 
-03d2 6008c841 storet 1 ,mem_24g_current_ch_number 
-03d3 20600000 rtn 
+03ce 6808c841 fetcht 1 ,mem_24g_current_ch_number 
+03cf 204003d2 call p_g24_ch_map_size 
+03d0 6008c841 storet 1 ,mem_24g_current_ch_number 
+03d1 20600000 rtn 
 
 p_g24_ch_map_size:
-03d4 204003d8 call p_g24_ch_calc 
-03d5 18408401 increase 1 ,temp 
-03d6 18410403 and_into 3 ,temp 
-03d7 20600000 rtn 
+03d2 204003d6 call p_g24_ch_calc 
+03d3 18408401 increase 1 ,temp 
+03d4 18410403 and_into 3 ,temp 
+03d5 20600000 rtn 
 
 p_g24_ch_calc:
-03d8 6800c85e fetch 1 ,mem_24g_addr 
-03d9 1fe17e03 and_into 0x03 ,pdata 
-03da 1fefa204 mul32 pdata ,4 ,rega 
-03db 58004847 setarg mem_24g_ch_map1 
-03dc 9a20fe00 iadd rega ,pdata 
-03dd 98408c00 iadd temp ,contr 
-03de e8c08000 ifetch 1 ,contr 
-03df 6000c840 store 1 ,mem_24g_ch 
-03e0 20600000 rtn 
+03d6 6800c85e fetch 1 ,mem_24g_addr 
+03d7 1fe17e03 and_into 0x03 ,pdata 
+03d8 1fefa204 mul32 pdata ,4 ,rega 
+03d9 58004847 setarg mem_24g_ch_map1 
+03da 9a20fe00 iadd rega ,pdata 
+03db 98408c00 iadd temp ,contr 
+03dc e8c08000 ifetch 1 ,contr 
+03dd 6000c840 store 1 ,mem_24g_ch 
+03de 20600000 rtn 
 
 p_g24_prep:
-03e1 7844fc00 disable enable_crc 
-03e2 7843fc00 disable enable_white 
-03e3 58555555 setarg 0x555555 
-03e4 98001e00 iforce crc24_init 
-03e5 6800c840 fetch 1 ,mem_24g_ch 
-03e6 1fed8400 reverse pdata ,temp 
-03e7 79200401 set1 1 ,temp 
-03e8 18431c00 rshift temp ,white_init 
-03e9 20600000 rtn 
+03df 7844fc00 disable enable_crc 
+03e0 7843fc00 disable enable_white 
+03e1 58555555 setarg 0x555555 
+03e2 98001e00 iforce crc24_init 
+03e3 6800c840 fetch 1 ,mem_24g_ch 
+03e4 1fed8400 reverse pdata ,temp 
+03e5 79200401 set1 1 ,temp 
+03e6 18431c00 rshift temp ,white_init 
+03e7 20600000 rtn 
 
 p_g24_receive_packet:
-03ea 204053c4 call le_enable 
-03eb 6802485e fetch 4 ,mem_24g_addr 
-03ec 98001200 iforce access 
-03ed 20402918 call set_sync_on 
-03ee 6808c840 fetcht 1 ,mem_24g_ch 
-03ef 2040291f call set_freq_rx 
-03f0 58000500 setarg param_pll_setup 
-03f1 20402a8f call sleep 
-03f2 20402924 call rf_rx_enable 
+03e8 204053c4 call le_enable 
+03e9 6802485e fetch 4 ,mem_24g_addr 
+03ea 98001200 iforce access 
+03eb 20402918 call set_sync_on 
+03ec 6808c840 fetcht 1 ,mem_24g_ch 
+03ed 2040291f call set_freq_rx 
+03ee 58000500 setarg param_pll_setup 
+03ef 20402a8f call sleep 
+03f0 20402924 call rf_rx_enable 
 
 p_g24_receive_rxon:
-03f3 204003e1 call p_g24_prep 
-03f4 7857fc00 disable user3 
-03f5 7826fc00 enable decode_fec0 
-03f6 7830fc00 enable is_rx 
-03f7 78507c00 disable is_tx 
-03f8 78287c00 enable swfine 
-03f9 68014839 fetch 2 ,mem_24g_rx_window 
-03fa 98003600 iforce stop_watch 
-03fb 37c18400 correlate null ,timeout 
-03fc 242c042f nbranch p_g24_sync_timeout ,sync 
-03fd 7846fc00 disable decode_fec0 
-03fe 7825fc00 enable decode_fec1 
-03ff 7823fc00 enable enable_white 
-0400 7824fc00 enable enable_crc 
-0401 09800008 parse demod ,bucket ,8 
-0402 19897e00 rshift3 pwindow ,pdata 
-0403 6000c8ea store 1 ,mem_24g_get_syncword_crc8 
-0404 6808c8e9 fetcht 1 ,mem_24g_syncword_crc8 
-0405 98467c00 isub temp ,null 
-0406 2422842c nbranch p_g24_end_of_packet ,zero 
-0407 09800008 parse demod ,bucket ,8 
-0408 19897e00 rshift3 pwindow ,pdata 
-0409 6000c7b0 store 1 ,mem_24g_rxbuf 
-040a 6800c87c fetch 1 ,mem_24g_mode 
-040b 1fe67c02 sub pdata ,rx_24g ,null 
-040c 20228411 branch p_g24_receive_skip ,zero 
-040d 6800c7b0 fetch 1 ,mem_24g_rxbuf 
-040e 6808c837 fetcht 1 ,mem_24g_data_type 
-040f a8400e00 icompare bits_data ,temp 
-0410 2420842c nbranch p_g24_end_of_packet ,true 
+03f1 204003df call p_g24_prep 
+03f2 7857fc00 disable user3 
+03f3 7826fc00 enable decode_fec0 
+03f4 7830fc00 enable is_rx 
+03f5 78507c00 disable is_tx 
+03f6 78287c00 enable swfine 
+03f7 68014839 fetch 2 ,mem_24g_rx_window 
+03f8 98003600 iforce stop_watch 
+03f9 37c18400 correlate null ,timeout 
+03fa 242c042d nbranch p_g24_sync_timeout ,sync 
+03fb 7846fc00 disable decode_fec0 
+03fc 7825fc00 enable decode_fec1 
+03fd 7823fc00 enable enable_white 
+03fe 7824fc00 enable enable_crc 
+03ff 09800008 parse demod ,bucket ,8 
+0400 19897e00 rshift3 pwindow ,pdata 
+0401 6000c8ea store 1 ,mem_24g_get_syncword_crc8 
+0402 6808c8e9 fetcht 1 ,mem_24g_syncword_crc8 
+0403 98467c00 isub temp ,null 
+0404 2422842a nbranch p_g24_end_of_packet ,zero 
+0405 09800008 parse demod ,bucket ,8 
+0406 19897e00 rshift3 pwindow ,pdata 
+0407 6000c7b0 store 1 ,mem_24g_rxbuf 
+0408 6800c87c fetch 1 ,mem_24g_mode 
+0409 1fe67c02 sub pdata ,rx_24g ,null 
+040a 2022840f branch p_g24_receive_skip ,zero 
+040b 6800c7b0 fetch 1 ,mem_24g_rxbuf 
+040c 6808c837 fetcht 1 ,mem_24g_data_type 
+040d a8400e00 icompare bits_data ,temp 
+040e 2420842a nbranch p_g24_end_of_packet ,true 
 
 p_g24_receive_skip:
-0411 09800008 parse demod ,bucket ,8 
-0412 19897e00 rshift3 pwindow ,pdata 
-0413 e0a08000 istore 1 ,contw 
-0414 1fe97e00 rshift3 pdata ,pdata 
-0415 1fe1721f and pdata ,0x1f ,loopcnt 
-0416 2022841b branch p_g24rx_nopayload ,zero 
+040f 09800008 parse demod ,bucket ,8 
+0410 19897e00 rshift3 pwindow ,pdata 
+0411 e0a08000 istore 1 ,contw 
+0412 1fe97e00 rshift3 pdata ,pdata 
+0413 1fe1721f and pdata ,0x1f ,loopcnt 
+0414 20228419 branch p_g24rx_nopayload ,zero 
 
 p_g24rx_loop:
-0417 09800008 parse demod ,bucket ,8 
-0418 19897e00 rshift3 pwindow ,pdata 
-0419 e0a08000 istore 1 ,contw 
-041a c2000417 loop p_g24rx_loop 
+0415 09800008 parse demod ,bucket ,8 
+0416 19897e00 rshift3 pwindow ,pdata 
+0417 e0a08000 istore 1 ,contw 
+0418 c2000415 loop p_g24rx_loop 
 
 p_g24rx_nopayload:
-041b 09800018 parse demod ,bucket ,24 
-041c 78287c00 enable swfine 
-041d db600664 arg param_sifs ,stop_watch 
-041e 1fef7e00 rshift32 pdata ,pdata 
-041f 1ff17e00 rshift16 pdata ,pdata 
-0420 e0a18000 istore 3 ,contw 
-0421 7845fc00 disable decode_fec1 
-0422 204029bb call save_rssi 
-0423 2023042c branch p_g24_end_of_packet ,crc_failed 
-0424 7837fc00 enable user3 
-0425 68008017 fetch 1 ,mem_last_freq 
-0426 1fe0a200 add pdata ,0 ,rega 
-0427 20402981 call rf_write_freq 
-0428 7846fc00 disable decode_fec0 
-0429 20402918 call set_sync_on 
-042a 20600000 rtn 
-042b 20600000 rtn 
+0419 09800018 parse demod ,bucket ,24 
+041a 78287c00 enable swfine 
+041b db600664 arg param_sifs ,stop_watch 
+041c 1fef7e00 rshift32 pdata ,pdata 
+041d 1ff17e00 rshift16 pdata ,pdata 
+041e e0a18000 istore 3 ,contw 
+041f 7845fc00 disable decode_fec1 
+0420 204029bb call save_rssi 
+0421 2023042a branch p_g24_end_of_packet ,crc_failed 
+0422 7837fc00 enable user3 
+0423 68008017 fetch 1 ,mem_last_freq 
+0424 1fe0a200 add pdata ,0 ,rega 
+0425 20402981 call rf_write_freq 
+0426 7846fc00 disable decode_fec0 
+0427 20402918 call set_sync_on 
+0428 20600000 rtn 
+0429 20600000 rtn 
 
 p_g24_end_of_packet:
-042c 784dfc00 disable encode_fec1 
-042d 7845fc00 disable decode_fec1 
-042e 2020264d branch end_of_packet 
+042a 784dfc00 disable encode_fec1 
+042b 7845fc00 disable decode_fec1 
+042c 2020264d branch end_of_packet 
 
 p_g24_sync_timeout:
-042f 2040039d call p_rssi_noise 
-0430 2020042c branch p_g24_end_of_packet 
+042d 2040039b call p_rssi_noise 
+042e 2020042a branch p_g24_end_of_packet 
 
 p_g24_set_freq_tx:
-0431 20402918 call set_sync_on 
-0432 6808c840 fetcht 1 ,mem_24g_ch 
-0433 20202933 branch set_freq_tx 
+042f 20402918 call set_sync_on 
+0430 6808c840 fetcht 1 ,mem_24g_ch 
+0431 20202933 branch set_freq_tx 
 
 p_g24_transmit:
-0434 204053c4 call le_enable 
-0435 6802485e fetch 4 ,mem_24g_addr 
-0436 98001200 iforce access 
-0437 204003e1 call p_g24_prep 
-0438 20400431 call p_g24_set_freq_tx 
-0439 79202a00 set1 txgfsk ,radio_ctrl 
-043a 782efc00 enable encode_fec0 
-043b 78307c00 enable is_tx 
-043c 7850fc00 disable is_rx 
-043d 19317e00 rshift16 access ,pdata 
-043e 1fecfe00 rshift8 pdata ,pdata 
-043f 1ff1fe00 rshift4 pdata ,pdata 
-0440 08008628 inject mod ,40 
-0441 784efc00 disable encode_fec0 
-0442 782dfc00 enable encode_fec1 
-0443 7823fc00 enable enable_white 
-0444 7824fc00 enable enable_crc 
-0445 6800c8e9 fetch 1 ,mem_24g_syncword_crc8 
-0446 08008608 inject mod ,8 
-0447 6800c838 fetch 1 ,mem_24g_txlen 
-0448 98007200 iforce loopcnt 
-0449 d8c047f2 arg mem_24g_txpayload ,contr 
+0432 204053c4 call le_enable 
+0433 6802485e fetch 4 ,mem_24g_addr 
+0434 98001200 iforce access 
+0435 204003df call p_g24_prep 
+0436 2040042f call p_g24_set_freq_tx 
+0437 79202a00 set1 txgfsk ,radio_ctrl 
+0438 782efc00 enable encode_fec0 
+0439 78307c00 enable is_tx 
+043a 7850fc00 disable is_rx 
+043b 19317e00 rshift16 access ,pdata 
+043c 1fecfe00 rshift8 pdata ,pdata 
+043d 1ff1fe00 rshift4 pdata ,pdata 
+043e 08008628 inject mod ,40 
+043f 784efc00 disable encode_fec0 
+0440 782dfc00 enable encode_fec1 
+0441 7823fc00 enable enable_white 
+0442 7824fc00 enable enable_crc 
+0443 6800c8e9 fetch 1 ,mem_24g_syncword_crc8 
+0444 08008608 inject mod ,8 
+0445 6800c838 fetch 1 ,mem_24g_txlen 
+0446 98007200 iforce loopcnt 
+0447 d8c047f2 arg mem_24g_txpayload ,contr 
 
 p_g24tr_loop:
-044a e8c08000 ifetch 1 ,contr 
-044b 08008608 inject mod ,8 
-044c c200044a loop p_g24tr_loop 
-044d 6800c8ee fetch 1 ,mem_rssi_hex 
-044e 08008608 inject mod ,8 
-044f 78247c00 enable enable_parity 
-0450 08008618 inject mod ,24 
-0451 78447c00 disable enable_parity 
-0452 37d38200 until null ,tx_clear 
-0453 20000064 nop 100 
-0454 784efc00 disable encode_fec0 
-0455 784dfc00 disable encode_fec1 
-0456 20600000 rtn 
+0448 e8c08000 ifetch 1 ,contr 
+0449 08008608 inject mod ,8 
+044a c2000448 loop p_g24tr_loop 
+044b 6800c8ee fetch 1 ,mem_rssi_hex 
+044c 08008608 inject mod ,8 
+044d 78247c00 enable enable_parity 
+044e 08008618 inject mod ,24 
+044f 78447c00 disable enable_parity 
+0450 37d38200 until null ,tx_clear 
+0451 20000064 nop 100 
+0452 784efc00 disable encode_fec0 
+0453 784dfc00 disable encode_fec1 
+0454 20600000 rtn 
 org 0x2000
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/USB/dongle/program/patch.prog	(revision 2233)
+++ /branch/USB/dongle/program/patch.prog	(working copy)
@@ -1018,7 +1018,7 @@
 
 p_g24_data_type2_data1:
 	fetch 1,mem_24g_rxdata_temp+5
-	call p_g24_kb_led_clear_flag,blank
+	store 1,mem_24g_ackpayload_enable
 	jam 0,mem_24g_rxdata_temp+5
 	arg mem_usb_kb_data,contw
 	call p_g24_data_type2_copy_data1
@@ -1035,9 +1035,6 @@
 	store 8,mem_24g_kb_data_last_data
 	branch p_g24_rx_interrupt_clear
 
-p_g24_kb_led_clear_flag:
-	jam 0,mem_24g_ackpayload_enable
-	rtn
 
 p_g24_data_type2_copy_data1:
 	arg mem_24g_rxdata_temp+4,contr
