Index: output/eeprom.dat
===================================================================
--- /branch/usb/usb_public_125K/output/eeprom.dat	(revision 316)
+++ /branch/usb/usb_public_125K/output/eeprom.dat	(working copy)
@@ -2,32 +2,36 @@
 02
 aa
 55
-92
+a2
 03
 c2
 84
 00
-07
+08
 c0
 00
 00
-10
+11
 c0
 0a
 80
-42
+43
+c0
+0b
+80
+49
 c0
 1b
 00
-28
+29
 c0
 5c
 80
-2c
+2d
 c0
 6a
 80
-3d
+3e
 20
 20
 3a
@@ -39,31 +43,31 @@
 c0
 14
 00
-48
+4c
 c0
 1d
 00
-6b
+6f
 c0
 1d
 80
-7f
+83
 c0
 1e
 80
-cc
+d0
 c0
 20
 80
-51
+55
 c0
 22
 00
-c1
+c5
 c0
 40
 00
-1d
+1e
 20
 20
 3a
@@ -99,7 +103,7 @@
 20
 40
 00
-19
+1a
 20
 20
 38
@@ -135,7 +139,7 @@
 20
 40
 00
-25
+26
 6f
 e0
 c5
@@ -167,7 +171,7 @@
 20
 40
 00
-2a
+2b
 20
 20
 52
@@ -255,7 +259,7 @@
 c2
 80
 80
-40
+41
 20
 20
 3d
@@ -292,6 +296,18 @@
 20
 39
 cf
+70
+8a
+39
+ab
+70
+8a
+3a
+0f
+20
+20
+39
+f3
 6f
 e0
 c5
@@ -451,7 +467,7 @@
 20
 40
 00
-77
+7b
 20
 40
 4a
@@ -519,19 +535,19 @@
 c0
 55
 00
-85
+89
 c0
 2a
 80
-8f
+93
 c0
 11
 00
-9f
+a3
 c0
 7f
 80
-b7
+bb
 20
 60
 00
@@ -543,11 +559,11 @@
 c0
 00
 80
-89
+8d
 c0
 01
 00
-8c
+90
 20
 60
 00
@@ -583,7 +599,7 @@
 20
 3a
 00
-95
+99
 6f
 e2
 45
@@ -607,11 +623,11 @@
 c0
 00
 80
-99
+9d
 c0
 01
 00
-9c
+a0
 20
 60
 00
@@ -647,7 +663,7 @@
 20
 3a
 00
-a5
+a9
 6f
 e2
 45
@@ -671,11 +687,11 @@
 c0
 00
 80
-a9
+ad
 c0
 01
 00
-b0
+b4
 20
 60
 00
@@ -695,7 +711,7 @@
 c0
 01
 00
-ae
+b2
 20
 60
 00
@@ -723,7 +739,7 @@
 c0
 80
 00
-b5
+b9
 20
 60
 00
@@ -743,11 +759,11 @@
 c0
 00
 80
-bb
+bf
 c0
 01
 00
-be
+c2
 20
 60
 00
@@ -787,7 +803,7 @@
 20
 40
 00
-c5
+c9
 20
 20
 4b
@@ -827,7 +843,7 @@
 c0
 00
 80
-d1
+d5
 c0
 01
 4a
@@ -835,7 +851,7 @@
 c0
 7f
 80
-e2
+e6
 20
 20
 4a
@@ -871,7 +887,7 @@
 c0
 00
 80
-da
+de
 20
 20
 4a
@@ -915,9 +931,9 @@
 20
 20
 00
-b7
-fd
-fc
+bb
+9f
+2b
 aa
 55
 40
@@ -926,7 +942,7 @@
 40
 01
 00
-20
+a0
 00
 00
 00
@@ -1176,7 +1192,7 @@
 aa
 aa
 55
-b5
-37
-8b
-a0
+35
+38
+93
+eb
Index: output/program.lis
===================================================================
--- /branch/usb/usb_public_125K/output/program.lis	(revision 316)
+++ /branch/usb/usb_public_125K/output/program.lis	(working copy)
@@ -1,309 +1,315 @@
               include "bt_format "
               org 0x0000
-0000 c2840007 bbit1 8 ,pf_patch_ext 
-0001 c0000010 beq patch00_0 ,p_soft_reset 
-0002 c00a8042 beq patch02_5 ,p_set_freq_tx 
-0003 c01b0028 beq patch06_6 ,p_dongle_usb_dispatch 
-0004 c05c802c beq patch17_1 ,p_usb_init 
-0005 c06a803d beq patch1a_5 ,p_le_enable_phy_by_pdata 
-0006 20203aba branch assert 
+0000 c2840008 bbit1 8 ,pf_patch_ext 
+0001 c0000011 beq patch00_0 ,p_soft_reset 
+0002 c00a8043 beq patch02_5 ,p_set_freq_tx 
+0003 c00b8049 beq patch02_7 ,p_set_tx_power_8db 
+0004 c01b0029 beq patch06_6 ,p_dongle_usb_dispatch 
+0005 c05c802d beq patch17_1 ,p_usb_init 
+0006 c06a803e beq patch1a_5 ,p_le_enable_phy_by_pdata 
+0007 20203aba branch assert 
 
 pf_patch_ext:
-0007 c17f8000 rtneq patch3f_7 
-0008 c0140048 beq patch25_0 ,p_g24_receive_skip_end 
-0009 c01d006b beq patch27_2 ,p_g24_bind_data_process 
-000a c01d807f beq patch27_3 ,p_g24_bind_data_parse_next 
-000b c01e80cc beq patch27_5 ,p_g24_receive_packet_start_next 
-000c c0208051 beq patch28_1 ,p_g24_mode_switch_bind_search 
-000d c02200c1 beq patch28_4 ,p_g24_search_mode_auto 
-000e c040001d beq patch30_0 ,p_dongle_default_init 
-000f 20203aba branch assert 
+0008 c17f8000 rtneq patch3f_7 
+0009 c014004c beq patch25_0 ,p_g24_receive_skip_end 
+000a c01d006f beq patch27_2 ,p_g24_bind_data_process 
+000b c01d8083 beq patch27_3 ,p_g24_bind_data_parse_next 
+000c c01e80d0 beq patch27_5 ,p_g24_receive_packet_start_next 
+000d c0208055 beq patch28_1 ,p_g24_mode_switch_bind_search 
+000e c02200c5 beq patch28_4 ,p_g24_search_mode_auto 
+000f c040001e beq patch30_0 ,p_dongle_default_init 
+0010 20203aba branch assert 
 
 p_soft_reset:
-0010 20800000 clear_stack 
-0011 6fe240cc fetch 4 ,mem_lpm_ctrl3 
-0012 67f2004c store 4 ,core_lpm_reg 
-0013 20403c49 call lpm_write_ctrl3 
-0014 20404da6 call app_param_init 
-0015 20403a0e call initialize_radio 
-0016 20406a00 call iic_init_360khz 
-0017 20400019 call p_init_param 
-0018 20203807 branch soft_reset + 6 
+0011 20800000 clear_stack 
+0012 6fe240cc fetch 4 ,mem_lpm_ctrl3 
+0013 67f2004c store 4 ,core_lpm_reg 
+0014 20403c49 call lpm_write_ctrl3 
+0015 20404da6 call app_param_init 
+0016 20403a0e call initialize_radio 
+0017 20406a00 call iic_init_360khz 
+0018 2040001a call p_init_param 
+0019 20203807 branch soft_reset + 6 
 
 p_init_param:
-0019 58000000 setarg 0 
-001a 67e40000 store 8 ,mem_le_adv_transmit 
-001b e7e30005 istore 6 ,contw 
-001c 20203ac5 branch init_param + 2 
+001a 58000000 setarg 0 
+001b 67e40000 store 8 ,mem_le_adv_transmit 
+001c e7e30005 istore 6 ,contw 
+001d 20203ac5 branch init_param + 2 
 
 p_dongle_default_init:
-001d 20405255 call dongle_default_init + 1 
-001e 70451694 jam tx_power_f20db ,mem_24g_pair_tx_power 
-001f 70451000 jam off ,mem_24g_disable_fec1 
-0020 20400025 call p_g24_enable_coded_s8 
-0021 6fe0c5ab fetch 1 ,mem_dg_sys_config 
-0022 c4000000 rtnbit0 dg_enable_new_revision 
-0023 70451001 jam on ,mem_24g_disable_fec1 
-0024 2020492e branch g24_enable_2m 
+001e 20405255 call dongle_default_init + 1 
+001f 70451694 jam tx_power_f20db ,mem_24g_pair_tx_power 
+0020 70451000 jam off ,mem_24g_disable_fec1 
+0021 20400026 call p_g24_enable_coded_s8 
+0022 6fe0c5ab fetch 1 ,mem_dg_sys_config 
+0023 c4000000 rtnbit0 dg_enable_new_revision 
+0024 70451001 jam on ,mem_24g_disable_fec1 
+0025 2020492e branch g24_enable_2m 
 
 p_g24_enable_coded_s8:
-0025 7044fd84 jam 0x84 ,mem_24g_rx_phy 
-0026 7044fe84 jam 0x84 ,mem_24g_tx_phy 
-0027 20600000 rtn 
+0026 7044fd84 jam 0x84 ,mem_24g_rx_phy 
+0027 7044fe84 jam 0x84 ,mem_24g_tx_phy 
+0028 20600000 rtn 
 
 p_dongle_usb_dispatch:
-0028 2040002a call p_wdt_kick 
-0029 202052ee branch dongle_usb_dispatch + 1 
+0029 2040002b call p_wdt_kick 
+002a 202052ee branch dongle_usb_dispatch + 1 
 
 p_wdt_kick:
-002a 58000010 setarg 16 
-002b 20206de1 branch wdt_init_config 
+002b 58000010 setarg 16 
+002c 20206de1 branch wdt_init_config 
 
 p_usb_init:
-002c 20406fd3 call enable_authrom 
-002d 204071a1 call usb_init_param 
-002e 70061003 jam 0x03 ,mem_devicedesc + 17 
-002f 708c0000 jam 0x00 ,core_usb_config 
-0030 20002710 nop 10000 
-0031 708c1800 jam 0x00 ,core_usb_trig 
-0032 6ff10050 fetch 2 ,core_clkoff 
-0033 793ffe0a set0 clock_off_usb ,pdata 
-0034 67f10050 store 2 ,core_clkoff 
-0035 708c1100 jam 0x0 ,core_usb_hmode 
-0036 708c003c jam 0x3c ,core_usb_config 
-0037 58000bb3 setarg mem_usb_rxbuf_new 
-0038 67f10c03 store 2 ,core_usb_rx_saddr 
-0039 67f10c07 store 2 ,core_usb_rxptr 
-003a 58000bf7 setarg mem_usb_rxbuf_new_end 
-003b 67f10c05 store 2 ,core_usb_rx_eaddr 
-003c 20207192 branch usb_init + 16 
+002d 20406fd3 call enable_authrom 
+002e 204071a1 call usb_init_param 
+002f 70061003 jam 0x03 ,mem_devicedesc + 17 
+0030 708c0000 jam 0x00 ,core_usb_config 
+0031 20002710 nop 10000 
+0032 708c1800 jam 0x00 ,core_usb_trig 
+0033 6ff10050 fetch 2 ,core_clkoff 
+0034 793ffe0a set0 clock_off_usb ,pdata 
+0035 67f10050 store 2 ,core_clkoff 
+0036 708c1100 jam 0x0 ,core_usb_hmode 
+0037 708c003c jam 0x3c ,core_usb_config 
+0038 58000bb3 setarg mem_usb_rxbuf_new 
+0039 67f10c03 store 2 ,core_usb_rx_saddr 
+003a 67f10c07 store 2 ,core_usb_rxptr 
+003b 58000bf7 setarg mem_usb_rxbuf_new_end 
+003c 67f10c05 store 2 ,core_usb_rx_eaddr 
+003d 20207192 branch usb_init + 16 
 
 p_le_enable_phy_by_pdata:
-003d 18427e00 copy temp ,pdata 
-003e c2808040 bbit1 bit_le_2m_phy ,p_le_enable_2m 
-003f 20203d19 branch le_enable_phy_by_pdata + 3 
+003e 18427e00 copy temp ,pdata 
+003f c2808041 bbit1 bit_le_2m_phy ,p_le_enable_2m 
+0040 20203d19 branch le_enable_phy_by_pdata + 3 
 
 p_le_enable_2m:
-0040 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
-0041 20203d1f branch le_enable_2m 
+0041 708a6d89 jam 0x89 ,core_rx_bq_cfg0 
+0042 20203d1f branch le_enable_2m 
 
 p_set_freq_tx:
-0042 708a3d12 jam 0x12 ,core_syn_top_ctrl 
-0043 60488008 storet 1 ,mem_last_freq 
-0044 1840a202 add temp ,2 ,rega 
-0045 2040398e call rf_tx_write_freq 
-0046 200003c0 nop 0x3c0 
-0047 202039cf branch txon 
+0043 708a3d12 jam 0x12 ,core_syn_top_ctrl 
+0044 60488008 storet 1 ,mem_last_freq 
+0045 1840a202 add temp ,2 ,rega 
+0046 2040398e call rf_tx_write_freq 
+0047 200003c0 nop 0x3c0 
+0048 202039cf branch txon 
+
+p_set_tx_power_8db:
+0049 708a39ab jam 0xab ,core_tx_pwr_ctrl0 
+004a 708a3a0f jam 0x0f ,core_tx_pwr_ctrl1 
+004b 202039f3 branch set_rf_ldo_cfg89_2 
 
 p_g24_receive_skip_end:
-0048 6fe0c5ab fetch 1 ,mem_dg_sys_config 
-0049 c300481c bbit0 dg_enable_new_revision ,g24_receive_skip_end 
-004a 2000012c nop 300 
-004b 6fe0c43e fetch 1 ,mem_24g_rxbuf + 1 
-004c 79207e00 set1 bit_ack_24g ,pdata 
-004d 67e0c43e store 1 ,mem_24g_rxbuf + 1 
-004e 20404a3b call g24_ackpayload_prep 
-004f 2040488f call g24_transmit_prep 
-0050 2020483f branch g24_transmit 
+004c 6fe0c5ab fetch 1 ,mem_dg_sys_config 
+004d c300481c bbit0 dg_enable_new_revision ,g24_receive_skip_end 
+004e 2000012c nop 300 
+004f 6fe0c43e fetch 1 ,mem_24g_rxbuf + 1 
+0050 79207e00 set1 bit_ack_24g ,pdata 
+0051 67e0c43e store 1 ,mem_24g_rxbuf + 1 
+0052 20404a3b call g24_ackpayload_prep 
+0053 2040488f call g24_transmit_prep 
+0054 2020483f branch g24_transmit 
 
 p_g24_mode_switch_bind_search:
-0051 6fe0c559 fetch 1 ,mem_24g_work_mode 
-0052 c1000000 rtneq dongle_work 
-0053 6fe0c56d fetch 1 ,mem_24g_b_s_mode_switch_disable 
-0054 247a0000 nrtn blank 
-0055 6fe0c56b fetch 1 ,mem_24g_mode_b_s_switch_exit 
-0056 247a0000 nrtn blank 
-0057 6fe0c567 fetch 1 ,mem_24g_mode_b_s_switch 
-0058 207a0000 rtn blank 
-0059 6fe0c56e fetch 1 ,mem_24g_bind_device_living 
-005a 2fe00603 compare 3 ,pdata ,3 
-005b 2020cadc branch g24_mode_b_s_switch_exit ,true 
-005c 204048ef call g24_timer_check 
-005d 24740000 nrtn user 
-005e 6fe14569 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
-005f 1fe0fe01 increase 1 ,pdata 
-0060 67e14569 store 2 ,mem_24g_mode_b_s_switch_cnt 
-0061 d84007d0 arg 0x7d0 ,temp 
-0062 98467c00 isub temp ,null 
-0063 20214adc branch g24_mode_b_s_switch_exit ,positive 
-0064 6fe0c56c fetch 1 ,mem_24g_b_s_time_slice 
-0065 1fe0fe01 increase 1 ,pdata 
-0066 1fe17e01 and_into 1 ,pdata 
-0067 67e0c56c store 1 ,mem_24g_b_s_time_slice 
-0068 c0004ba3 beq 0 ,g24_search_mode_enable 
-0069 c000c99f beq 1 ,g24_bind_mode_enable 
-006a 20600000 rtn 
+0055 6fe0c559 fetch 1 ,mem_24g_work_mode 
+0056 c1000000 rtneq dongle_work 
+0057 6fe0c56d fetch 1 ,mem_24g_b_s_mode_switch_disable 
+0058 247a0000 nrtn blank 
+0059 6fe0c56b fetch 1 ,mem_24g_mode_b_s_switch_exit 
+005a 247a0000 nrtn blank 
+005b 6fe0c567 fetch 1 ,mem_24g_mode_b_s_switch 
+005c 207a0000 rtn blank 
+005d 6fe0c56e fetch 1 ,mem_24g_bind_device_living 
+005e 2fe00603 compare 3 ,pdata ,3 
+005f 2020cadc branch g24_mode_b_s_switch_exit ,true 
+0060 204048ef call g24_timer_check 
+0061 24740000 nrtn user 
+0062 6fe14569 fetch 2 ,mem_24g_mode_b_s_switch_cnt 
+0063 1fe0fe01 increase 1 ,pdata 
+0064 67e14569 store 2 ,mem_24g_mode_b_s_switch_cnt 
+0065 d84007d0 arg 0x7d0 ,temp 
+0066 98467c00 isub temp ,null 
+0067 20214adc branch g24_mode_b_s_switch_exit ,positive 
+0068 6fe0c56c fetch 1 ,mem_24g_b_s_time_slice 
+0069 1fe0fe01 increase 1 ,pdata 
+006a 1fe17e01 and_into 1 ,pdata 
+006b 67e0c56c store 1 ,mem_24g_b_s_time_slice 
+006c c0004ba3 beq 0 ,g24_search_mode_enable 
+006d c000c99f beq 1 ,g24_bind_mode_enable 
+006e 20600000 rtn 
 
 p_g24_bind_data_process:
-006b 20404a54 call g24_rx_interrupt_clear 
-006c 204047ce call g24_receive_packet 
-006d 2437ca54 nbranch g24_rx_interrupt_clear ,user3 
-006e 204049bf call g24_bind_data_parse 
-006f 20400077 call p_g24_bind_transmit_ack 
-0070 20404a2e call g24_bind_device_status_check 
-0071 204053c3 call dongle_kb_bind_soft_reset 
-0072 6fe0c4f4 fetch 1 ,mem_24g_pair_switch 
-0073 207a0000 rtn blank 
-0074 6fe2456f fetch 4 ,mem_24g_transmitter_addr 
-0075 207a0000 rtn blank 
-0076 202048e0 branch g24_update_addr_and_synccrc8 
+006f 20404a54 call g24_rx_interrupt_clear 
+0070 204047ce call g24_receive_packet 
+0071 2437ca54 nbranch g24_rx_interrupt_clear ,user3 
+0072 204049bf call g24_bind_data_parse 
+0073 2040007b call p_g24_bind_transmit_ack 
+0074 20404a2e call g24_bind_device_status_check 
+0075 204053c3 call dongle_kb_bind_soft_reset 
+0076 6fe0c4f4 fetch 1 ,mem_24g_pair_switch 
+0077 207a0000 rtn blank 
+0078 6fe2456f fetch 4 ,mem_24g_transmitter_addr 
+0079 207a0000 rtn blank 
+007a 202048e0 branch g24_update_addr_and_synccrc8 
 
 p_g24_bind_transmit_ack:
-0077 6fe0c43d fetch 1 ,mem_24g_rxbuf 
-0078 67e0c4cf store 1 ,mem_24g_data_type 
-0079 204048be call g24_read_len_pid_crc 
-007a 20404a3b call g24_ackpayload_prep 
-007b 2437c837 nbranch g24_end_of_packet ,user3 
-007c 2040488f call g24_transmit_prep 
-007d 2040483f call g24_transmit 
-007e 20204837 branch g24_end_of_packet 
+007b 6fe0c43d fetch 1 ,mem_24g_rxbuf 
+007c 67e0c4cf store 1 ,mem_24g_data_type 
+007d 204048be call g24_read_len_pid_crc 
+007e 20404a3b call g24_ackpayload_prep 
+007f 2437c837 nbranch g24_end_of_packet ,user3 
+0080 2040488f call g24_transmit_prep 
+0081 2040483f call g24_transmit 
+0082 20204837 branch g24_end_of_packet 
 
 p_g24_bind_data_parse_next:
-007f 6fe0c52d fetch 1 ,mem_24g_rxdata_temp + 2 
-0080 c0550085 beq datatype_bind ,p_g24_bind_first_step 
-0081 c02a808f beq datatype_config ,p_g24_bind_second_step 
-0082 c011009f beq datatype_ok ,p_g24_bind_third_step 
-0083 c07f80b7 beq datatype_attemp ,p_g24_data_attemp 
-0084 20600000 rtn 
+0083 6fe0c52d fetch 1 ,mem_24g_rxdata_temp + 2 
+0084 c0550089 beq datatype_bind ,p_g24_bind_first_step 
+0085 c02a8093 beq datatype_config ,p_g24_bind_second_step 
+0086 c01100a3 beq datatype_ok ,p_g24_bind_third_step 
+0087 c07f80bb beq datatype_attemp ,p_g24_data_attemp 
+0088 20600000 rtn 
 
 p_g24_bind_first_step:
-0085 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
-0086 c0008089 beq datatype_device1 ,p_g24_bind_first_step_device1 
-0087 c001008c beq datatype_device2 ,p_g24_bind_first_step_device2 
-0088 20600000 rtn 
+0089 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
+008a c000808d beq datatype_device1 ,p_g24_bind_first_step_device1 
+008b c0010090 beq datatype_device2 ,p_g24_bind_first_step_device2 
+008c 20600000 rtn 
 
 p_g24_bind_first_step_device1:
-0089 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
-008a 247a0000 nrtn blank 
-008b 202049ce branch g24_bind_first_step_device1 
+008d 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
+008e 247a0000 nrtn blank 
+008f 202049ce branch g24_bind_first_step_device1 
 
 p_g24_bind_first_step_device2:
-008c 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
-008d 247a0000 nrtn blank 
-008e 202049d4 branch g24_bind_first_step_device2 
+0090 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
+0091 247a0000 nrtn blank 
+0092 202049d4 branch g24_bind_first_step_device2 
 
 p_g24_bind_second_step:
-008f 6fe0c4f4 fetch 1 ,mem_24g_pair_switch 
-0090 203a0095 branch p_g24_bind_second_step_skip ,blank 
-0091 6fe2452f fetch 4 ,mem_24g_rxdata_temp + 4 
-0092 684a4437 fetcht 4 ,mem_24g_lap 
-0093 98467c00 isub temp ,null 
-0094 24628000 nrtn zero 
+0093 6fe0c4f4 fetch 1 ,mem_24g_pair_switch 
+0094 203a0099 branch p_g24_bind_second_step_skip ,blank 
+0095 6fe2452f fetch 4 ,mem_24g_rxdata_temp + 4 
+0096 684a4437 fetcht 4 ,mem_24g_lap 
+0097 98467c00 isub temp ,null 
+0098 24628000 nrtn zero 
 
 p_g24_bind_second_step_skip:
-0095 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
-0096 c0008099 beq datatype_device1 ,p_g24_bind_second_step_device1 
-0097 c001009c beq datatype_device2 ,p_g24_bind_second_step_device2 
-0098 20600000 rtn 
+0099 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
+009a c000809d beq datatype_device1 ,p_g24_bind_second_step_device1 
+009b c00100a0 beq datatype_device2 ,p_g24_bind_second_step_device2 
+009c 20600000 rtn 
 
 p_g24_bind_second_step_device1:
-0099 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
-009a 247a0000 nrtn blank 
-009b 202049e1 branch g24_bind_second_step_device1 
+009d 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
+009e 247a0000 nrtn blank 
+009f 202049e1 branch g24_bind_second_step_device1 
 
 p_g24_bind_second_step_device2:
-009c 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
-009d 247a0000 nrtn blank 
-009e 202049ec branch g24_bind_second_step_device2 
+00a0 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
+00a1 247a0000 nrtn blank 
+00a2 202049ec branch g24_bind_second_step_device2 
 
 p_g24_bind_third_step:
-009f 6fe0c4f4 fetch 1 ,mem_24g_pair_switch 
-00a0 203a00a5 branch p_g24_bind_third_step_skip ,blank 
-00a1 6fe2452f fetch 4 ,mem_24g_rxdata_temp + 4 
-00a2 684a456f fetcht 4 ,mem_24g_transmitter_addr 
-00a3 98467c00 isub temp ,null 
-00a4 24628000 nrtn zero 
+00a3 6fe0c4f4 fetch 1 ,mem_24g_pair_switch 
+00a4 203a00a9 branch p_g24_bind_third_step_skip ,blank 
+00a5 6fe2452f fetch 4 ,mem_24g_rxdata_temp + 4 
+00a6 684a456f fetcht 4 ,mem_24g_transmitter_addr 
+00a7 98467c00 isub temp ,null 
+00a8 24628000 nrtn zero 
 
 p_g24_bind_third_step_skip:
-00a5 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
-00a6 c00080a9 beq datatype_device1 ,p_g24_bind_third_step_device1 
-00a7 c00100b0 beq datatype_device2 ,p_g24_bind_third_step_device2 
-00a8 20600000 rtn 
+00a9 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
+00aa c00080ad beq datatype_device1 ,p_g24_bind_third_step_device1 
+00ab c00100b4 beq datatype_device2 ,p_g24_bind_third_step_device2 
+00ac 20600000 rtn 
 
 p_g24_bind_third_step_device1:
-00a9 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
-00aa 247a0000 nrtn blank 
-00ab 6fe0c518 fetch 1 ,mem_24g_device1_bind_step 
-00ac c00100ae beq 2 ,p_g24_bind_dvc1_step_success 
-00ad 20600000 rtn 
+00ad 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
+00ae 247a0000 nrtn blank 
+00af 6fe0c518 fetch 1 ,mem_24g_device1_bind_step 
+00b0 c00100b2 beq 2 ,p_g24_bind_dvc1_step_success 
+00b1 20600000 rtn 
 
 p_g24_bind_dvc1_step_success:
-00ae 7045d701 jam 1 ,mem_24g_device1_bind_disable 
-00af 20204a02 branch g24_bind_dvc1_step_success + 1 
+00b2 7045d701 jam 1 ,mem_24g_device1_bind_disable 
+00b3 20204a02 branch g24_bind_dvc1_step_success + 1 
 
 p_g24_bind_third_step_device2:
-00b0 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
-00b1 247a0000 nrtn blank 
-00b2 6fe0c519 fetch 1 ,mem_24g_device2_bind_step 
-00b3 c08000b5 bne 0 ,p_g24_bind_dvc2_step_success 
-00b4 20600000 rtn 
+00b4 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
+00b5 247a0000 nrtn blank 
+00b6 6fe0c519 fetch 1 ,mem_24g_device2_bind_step 
+00b7 c08000b9 bne 0 ,p_g24_bind_dvc2_step_success 
+00b8 20600000 rtn 
 
 p_g24_bind_dvc2_step_success:
-00b5 7045d801 jam 1 ,mem_24g_device2_bind_disable 
-00b6 20204a0d branch g24_bind_dvc2_step_success + 1 
+00b9 7045d801 jam 1 ,mem_24g_device2_bind_disable 
+00ba 20204a0d branch g24_bind_dvc2_step_success + 1 
 
 p_g24_data_attemp:
-00b7 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
-00b8 c00080bb beq datatype_device1 ,p_g24_data_attemp_device1 
-00b9 c00100be beq datatype_device2 ,p_g24_data_attemp_device2 
-00ba 20600000 rtn 
+00bb 6fe0c52e fetch 1 ,mem_24g_rxdata_temp + 3 
+00bc c00080bf beq datatype_device1 ,p_g24_data_attemp_device1 
+00bd c00100c2 beq datatype_device2 ,p_g24_data_attemp_device2 
+00be 20600000 rtn 
 
 p_g24_data_attemp_device1:
-00bb 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
-00bc 247a0000 nrtn blank 
-00bd 20204c24 branch g24_data_attemp_device1 
+00bf 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
+00c0 247a0000 nrtn blank 
+00c1 20204c24 branch g24_data_attemp_device1 
 
 p_g24_data_attemp_device2:
-00be 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
-00bf 247a0000 nrtn blank 
-00c0 20204c28 branch g24_data_attemp_device2 
+00c2 6fe0c5d8 fetch 1 ,mem_24g_device2_bind_disable 
+00c3 247a0000 nrtn blank 
+00c4 20204c28 branch g24_data_attemp_device2 
 
 p_g24_search_mode_auto:
-00c1 6fe0c559 fetch 1 ,mem_24g_work_mode 
-00c2 c1838000 rtnne dongle_search 
-00c3 204000c5 call p_g24_search_mode_init 
-00c4 20204b1b branch g24_search_mode_auto + 4 
+00c5 6fe0c559 fetch 1 ,mem_24g_work_mode 
+00c6 c1838000 rtnne dongle_search 
+00c7 204000c9 call p_g24_search_mode_init 
+00c8 20204b1b branch g24_search_mode_auto + 4 
 
 p_g24_search_mode_init:
-00c5 6fe0c558 fetch 1 ,mem_24g_mode_init 
-00c6 c3838000 rtnbit1 dongle_search 
-00c7 79207e07 set1 dongle_search ,pdata 
-00c8 67e0c558 store 1 ,mem_24g_mode_init 
-00c9 6fe0c566 fetch 1 ,mem_tx_power_temp 
-00ca 67e0c116 store 1 ,mem_tx_power 
-00cb 20204b0b branch g24_search_mode_init + 4 
+00c9 6fe0c558 fetch 1 ,mem_24g_mode_init 
+00ca c3838000 rtnbit1 dongle_search 
+00cb 79207e07 set1 dongle_search ,pdata 
+00cc 67e0c558 store 1 ,mem_24g_mode_init 
+00cd 6fe0c566 fetch 1 ,mem_tx_power_temp 
+00ce 67e0c116 store 1 ,mem_tx_power 
+00cf 20204b0b branch g24_search_mode_init + 4 
 
 p_g24_receive_packet_start_next:
-00cc 6fe0c52d fetch 1 ,mem_24g_rxdata_temp + 2 
-00cd c00080d1 beq datatype_device1 ,p_g24_data_device1 
-00ce c0014a69 beq datatype_device2 ,g24_data_device2 
-00cf c07f80e2 beq datatype_attemp ,p_g24_data_receive_attemp 
-00d0 20204a54 branch g24_rx_interrupt_clear 
+00d0 6fe0c52d fetch 1 ,mem_24g_rxdata_temp + 2 
+00d1 c00080d5 beq datatype_device1 ,p_g24_data_device1 
+00d2 c0014a69 beq datatype_device2 ,g24_data_device2 
+00d3 c07f80e6 beq datatype_attemp ,p_g24_data_receive_attemp 
+00d4 20204a54 branch g24_rx_interrupt_clear 
 
 p_g24_data_device1:
-00d1 20404a22 call g24_binding_dvc1_living 
-00d2 20404bbd call g24_ch_timer_reinit 
-00d3 6fe0c54d fetch 1 ,mem_24g_abort_packet 
-00d4 6848c52b fetcht 1 ,mem_24g_rxdata_temp 
-00d5 284ffe03 isolate1 bit_abort ,temp 
-00d6 7920fe00 setflag true ,0 ,pdata 
-00d7 67e0c54d store 1 ,mem_24g_abort_packet 
-00d8 c00080da beq 1 ,p_g24_data_attemp_device1_abort 
-00d9 20204a62 branch g24_data_device1 + 8 
+00d5 20404a22 call g24_binding_dvc1_living 
+00d6 20404bbd call g24_ch_timer_reinit 
+00d7 6fe0c54d fetch 1 ,mem_24g_abort_packet 
+00d8 6848c52b fetcht 1 ,mem_24g_rxdata_temp 
+00d9 284ffe03 isolate1 bit_abort ,temp 
+00da 7920fe00 setflag true ,0 ,pdata 
+00db 67e0c54d store 1 ,mem_24g_abort_packet 
+00dc c00080de beq 1 ,p_g24_data_attemp_device1_abort 
+00dd 20204a62 branch g24_data_device1 + 8 
 
 p_g24_data_attemp_device1_abort:
-00da 6fe0c095 fetch 1 ,mem_device_option 
-00db 1fe67c0e sub pdata ,dvc_op_car ,null 
-00dc 2042cf01 call car_stop_blink ,zero 
-00dd 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
-00de 247a0000 nrtn blank 
-00df 7045d701 jam 1 ,mem_24g_device1_bind_disable 
-00e0 6fe24535 fetch 4 ,mem_24g_rxdata_temp + 10 
-00e1 20204c26 branch g24_store_device1_addr 
+00de 6fe0c095 fetch 1 ,mem_device_option 
+00df 1fe67c0e sub pdata ,dvc_op_car ,null 
+00e0 2042cf01 call car_stop_blink ,zero 
+00e1 6fe0c5d7 fetch 1 ,mem_24g_device1_bind_disable 
+00e2 247a0000 nrtn blank 
+00e3 7045d701 jam 1 ,mem_24g_device1_bind_disable 
+00e4 6fe24535 fetch 4 ,mem_24g_rxdata_temp + 10 
+00e5 20204c26 branch g24_store_device1_addr 
 
 p_g24_data_receive_attemp:
-00e2 20404a30 call g24_bind_device_status 
-00e3 202000b7 branch p_g24_data_attemp 
+00e6 20404a30 call g24_bind_device_status 
+00e7 202000bb branch p_g24_data_attemp 
               org 0x3800
 
 start:
Index: program/patch.prog
===================================================================
--- /branch/usb/usb_public_125K/program/patch.prog	(revision 316)
+++ /branch/usb/usb_public_125K/program/patch.prog	(working copy)
@@ -4,6 +4,7 @@
 	bbit1 8,pf_patch_ext
 	beq patch00_0,p_soft_reset
 	beq patch02_5,p_set_freq_tx
+	beq patch02_7,p_set_tx_power_8db
 	beq patch06_6,p_dongle_usb_dispatch
 	beq patch17_1,p_usb_init
 	beq patch1a_5,p_le_enable_phy_by_pdata
@@ -104,6 +105,10 @@
 	nop 0x3c0
 	branch txon
 
+p_set_tx_power_8db:
+	jam 0xab,core_tx_pwr_ctrl0
+	jam 0x0f,core_tx_pwr_ctrl1
+	branch set_rf_ldo_cfg89_2
 
 p_g24_receive_skip_end:
 	fetch 1,mem_dg_sys_config
