Index: ModuleDemo/25_OTA/bt_demo/BT/patch/patch.prog
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/BT/patch/patch.prog	(revision 4585)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/BT/patch/patch.prog	(working copy)
@@ -932,7 +932,7 @@
 	call p_test_ble_bt_tx_off
 	call timer_check
 	arg 15,queue
-	setarg 1
+	setarg 12
 	call timer_init
 p_125_clk:
 	arg 15,queue
@@ -948,18 +948,19 @@
 p_change_ch:
 	random pdata
 	store 1,mem_random_ch
-//call p_log_loop
+	nop 7
 p_less_max:
 	fetch 1,mem_random_ch
-	sub pdata,0x50,null
+	sub pdata,78,null
 	branch p_rewrite_ch,positive
-	increase -80,pdata
+	increase -78,pdata
 	store 1,mem_random_ch
 	branch p_less_max
 p_rewrite_ch:
 	fetch 1,mem_random_ch
-	beq 0,p_randomis0
-	beq 1,p_randomis0
+//	beq 0,p_change_ch
+//	beq 1,p_change_ch
+	add pdata,2,pdata
 	store 1,mem_fcc_ch_new
 //call p_log_loop
 	branch p_test_tx_new_param
Index: ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx	(revision 4491)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/Prj/MDK/yc11xx.uvoptx	(working copy)
@@ -273,7 +273,7 @@
       <GroupNumber>1</GroupNumber>
       <FileNumber>1</FileNumber>
       <FileType>1</FileType>
-      <tvExp>0</tvExp>
+      <tvExp>1</tvExp>
       <tvExpOptDlg>0</tvExpOptDlg>
       <bDave2>0</bDave2>
       <PathWithFileName>..\..\User\main.c</PathWithFileName>
Index: ModuleDemo/25_OTA/bt_demo/CM0/User/main.c
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(revision 4585)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/User/main.c	(working copy)
@@ -82,6 +82,7 @@
 //change tx_power	value: min:0xc0		0xf0 is 0dbm  0xce is -3db
 void Fcc_Tx_Power_Config(uint8_t tx_power);
 void Fcc_Tx_Power_Config(uint8_t tx_power){
+	HWRITE(0x8956,tx_power);
 	HWRITE(mem_rf_tx_power,tx_power);
 }
 
@@ -139,21 +140,7 @@
 //	LPM_ENABLE;
 //	POWER_OFF;
 	while (1)
-	{
-	/*	
-		uint8_t My_test,value;
-		My_test = HREAD(0x4ff0);
-		value = HREAD(mem_fcc_ch_new);
-		if(My_test == 0x01){
-			if (value == 0x03)
-			{
-				while(1);
-			}
-			else{
-				HWRITE(mem_fcc_ch_new, 0x03);
-			}
-		}
-	*/	
+	{	
 #ifdef FUNCTION_WATCH_DOG
 		WDT_Kick();
 #endif
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom	(revision 4585)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/respin/ramcode.rom	(working copy)
@@ -4,10 +4,10 @@
 dec00080
 704c4e01
 da204c53
-20400249
+2040024c
 20400018
 2040003d
-2040022e
+20400231
 202000f9
 d8a00000
 df200400
@@ -300,7 +300,7 @@
 c001012c
 204000f2
 204001f7
-20400243
+20400246
 79202a00
 782efc00
 78307c00
@@ -322,7 +322,7 @@
 2022813e
 202000f9
 20400137
-20400246
+20400249
 58000500
 20402bb1
 20202a23
@@ -335,7 +335,7 @@
 7843fc00
 202000d4
 20400137
-20400246
+20400249
 68424c46
 18412a07
 20202b08
@@ -476,7 +476,7 @@
 20400137
 20407148
 d8e0000f
-58000001
+5800000c
 20407141
 d8e0000f
 20407148
@@ -488,22 +488,22 @@
 202000f9
 180a7e00
 67e24c4c
+20000007
 6fe24c4c
-1fe67c50
-202101f0
-1fe0ffb0
+1fe67c4e
+202101f1
+1fe0ffb2
 67e24c4c
-202001ea
+202001eb
 6fe24c4c
-c00001f5
-c00081f5
+1fe0fe02
 67e24c3e
 202000f9
 704c3e02
 202000f9
 60420017
 1840a201
-20400216
+20400219
 58000500
 204000ec
 70890601
@@ -530,8 +530,11 @@
 67e28955
 708955d8
 6fe24c5d
+203a0217
 67e28956
 20600000
+708956f0
+20600000
 58000960
 9a208400
 6fe2415d
@@ -539,13 +542,13 @@
 984ffe00
 6842415e
 9846fc00
-2040022c
+2040022f
 1807a200
 18077e00
 1ff07e00
 1ff27e00
 9846fc00
-2040022c
+2040022f
 1807fe00
 1fed7e00
 1fe3fe00
@@ -555,7 +558,7 @@
 70895fc4
 20600000
 207a8000
-2020022c
+2020022f
 df2003fe
 d8a03000
 580001ff
@@ -571,18 +574,18 @@
 1fe37e00
 1a40a401
 2a400e00
-24208232
+24208235
 e0420005
-c2000232
+c2000235
 20600000
-20200241
-20200242
+20200244
+20200245
 783b7c00
 70891407
 20600000
 60420017
 1840a204
-20200216
+20200219
 df20000a
 d8a04d82
 1a220c00
Index: ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom
===================================================================
--- /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom	(revision 4571)
+++ /YC1121E/SoftCode/1121EB/branch/HciDongle_fix_freq/ModuleDemo/25_OTA/bt_demo/CM0/respin/sched.rom	(working copy)
@@ -306,6 +306,7 @@
 
 
 mem_mram_qspi_tx_addr:00 60
+mem_rf_tx_power:f0
 
 mem_vp_addr:
 000000 000000
