This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

recv API frozen (Socket Communication)

Does anybody ever seen a problem where recv API hangs after working for some time :

In our send API is working fine and the application running on PC(Connected to access point) is receiving a data properly  but when I start doing transmission from PC application to CC3000, initiially it starts working fine and receives the data but after receiving few bytes (Range from 1- 100 bytes)it hangs in SimpleLinkWaitData function.

I tried to configure CC3000 to server as well as client but in both the case end result is same.

I have seen one more thing that till the time CC3000 device is receiving data properly and in this duration if I send a ping command from PC to CC3000 then it works smoothly but once CC3000 stop receiving a data then ping operation failed to complete.

I also use the setsockopt api to make recv function call non blocking when I configure CC3000 as a client but that does not help me to avoid frozen state of recv API call.

I am also attaching a source code, see if some one can trace anything wrong in it.

int initDriver(unsigned short patch)
{
	
	ulCC3000DHCP = 0;
	
	ulCC3000Connected = 0;
	//ulSocket = 0;
	
	ulSmartConfigFinished=0;
	
	bEnableUnSolEvent = 0;
	
	wlan_init( CC3000_UsynchCallback,sendWLFWPatch, sendDriverPatch, sendBootLoaderPatch, ReadWlanInterruptPin, WlanInterruptEnable, WlanInterruptDisable, WriteWlanPin);

	wlan_start(patch);
	
	wlan_smart_config_set_prefix(aucCC3000_prefix);
	
	wlan_ioctl_set_connection_policy(0, 0, 0);	
	
	wlan_set_event_mask(HCI_EVNT_WLAN_KEEPALIVE|HCI_EVNT_WLAN_UNSOL_INIT|HCI_EVNT_WLAN_ASYNC_PING_REPORT);

	ucStopSmartConfig   = 0;
	
	bEnableUnSolEvent = 1;//Ebable timer to call hci_unsolicited_event_handler is every 500ms
		
	
}


void ServerSendRecv()
{
	long sd = 0; 
	
	sockaddr saddrClient,saddrServer;
	long socketStatus = 0;
	socklen_t tSoclength ;
	int clientDescriptor = -1;
	char dataSend[] = "INLINE6 WiFi Adapter TM";
	char dataRecv[CC3000_MINIMAL_RX_SIZE]; 
	unsigned long optval = 1000;
	int nNumOfBytesRecvd = 0;
	saddrClient.sa_family =  AF_INET;
	saddrClient.sa_data[0] = 0x20;saddrClient.sa_data[1] = 0x1D; saddrClient.sa_data[2] = 0xC0; 
	
	saddrClient.sa_data[3] = 0xA8;saddrClient.sa_data[4] = 0x00;	saddrClient.sa_data[5] = 0x6C;

	saddrServer.sa_family =  AF_INET;
	saddrServer.sa_data[0] = 0x20;saddrServer.sa_data[1] = 0x1D;    saddrServer.sa_data[2] = 0x00; 
	saddrServer.sa_data[3] = 0x00;saddrServer.sa_data[4] = 0x00;	saddrServer.sa_data[5] = 0x00;
	if((sd = socket(AF_INET,SOCK_STREAM,IPPROTO_TCP)) < 0)
		return;

	if((socketStatus = bind(sd,&saddrServer,sizeof(saddrServer))) != 0)
		return;
		
	if((socketStatus = listen(sd,1)) != 0)
		return;
	
	tSoclength = sizeof(saddrClient);
	while(clientDescriptor < 0)
	{
		clientDescriptor = accept(sd,&saddrClient,&tSoclength);
	}
	
	MCF_GPIO_GPIO1_OUT |= MCF_GPIO_GPIO1_OUT_GPIO_OUT32;	//LG2 -CAN1 LED
	
	while(1)
	{
		//socketStatus = send(clientDescriptor, dataSend , sizeof(dataSend), 0);
		//tx_thread_sleep(10);
		nNumOfBytesRecvd = recv(clientDescriptor,dataRecv ,CC3000_MINIMAL_RX_SIZE ,0);
						
		if(nNumOfBytesRecvd)
		{
			MCF_GPIO_GPIO1_OUT ^= MCF_GPIO_GPIO1_OUT_GPIO_OUT36;
		}
		tx_thread_sleep(10);
	}
}
void ClientSendRecv()
{
	long sd = 0; 
	
	sockaddr saddrClient;
	long socketStatus = 0;
	socklen_t tSoclength ;
	int clientDescriptor = -1;

	char dataSend[] = "INLINE6 WiFi Adapter TM";
	char dataRecv[CC3000_MINIMAL_RX_SIZE]; 
	unsigned long optval = 1000;
	saddrClient.sa_family =  AF_INET;
	saddrClient.sa_data[0] = 0x20;saddrClient.sa_data[1] = 0x1D; saddrClient.sa_data[2] = 0xC0; 
	
	saddrClient.sa_data[3] = 0xA8;saddrClient.sa_data[4] = 0x00;	saddrClient.sa_data[5] = 0x6C;

	
	if((sd = socket(AF_INET,SOCK_STREAM,IPPROTO_TCP)) < 0)
		return;
	
	
	
	if((socketStatus = connect(sd,&saddrClient,sizeof(saddrClient)))!=0)
		return;
	
	
	if((socketStatus = setsockopt(sd,SOL_SOCKET,SOCKOPT_RECV_TIMEOUT,&optval, sizeof( optval ))) != 0 )
		return;
	
	MCF_GPIO_GPIO_OUT  |= MCF_GPIO_GPIO_OUT_GPIO_OUT29; 	//LG1 -CAN2 LED
	
	//MCF_GPIO_GPIO1_OUT |= MCF_GPIO_GPIO1_OUT_GPIO_OUT32;	//LG2 -CAN1 LED
	
	while(1)
	{
		//send(sd, dataSend , sizeof(dataSend), 0);
		//tx_thread_sleep(10);
		socketStatus = recv(sd,dataRecv ,CC3000_MINIMAL_RX_SIZE  ,0);
		if(socketStatus)
		{
			MCF_GPIO_GPIO1_OUT ^= MCF_GPIO_GPIO1_OUT_GPIO_OUT36;
		}
		tx_thread_sleep(10);
		//send(sd, dataSend , sizeof(dataSend), 0);
	}
	
	
}


int main()
{

	init_spi();
	
			
	initDriver(0);
				
	if( (lStatus1 = wlan_ioctl_del_profile(255)) != 0)
		break;

	lStatus1 = -1;
	if( (lStatus1 = nvmem_read_sp_version(patchversion)) != 0)
		break;

	wlan_connect(WLAN_SEC_UNSEC,(char*)"default",7,NULL,NULL,NULL);
				
	while ((ulCC3000Connected == 0) && (ulCC3000DHCP == 0))
	{				
		MCF_GPIO_GPIO_OUT  |= MCF_GPIO_GPIO_OUT_GPIO_OUT16; 	//LG6 -WIFI LED		
	}
			
	lStatus1 = 0;
	while(lStatus1 != 3)
	{
		lStatus1 = wlan_ioctl_statusget();
	}
	ipconfig.aucIP[0] = 0x00;
	while(ipconfig.aucIP[0] == 0)
	{
		netapp_ipconfig(&ipconfig);
	}
	
	MCF_GPIO_GPIO1_OUT |= MCF_GPIO_GPIO1_OUT_GPIO_OUT37;	//LG3 -J1708 LED

	//ServerSendRecv();
	ClientSendRecv();					

	
	return 0;
}

I am using a latest release of driver firmware (1.10)


int initDriver(unsigned short patch)
{
 
 ulCC3000DHCP = 0;
 
 ulCC3000Connected = 0;
 //ulSocket = 0;
 
 ulSmartConfigFinished=0;
 
 bEnableUnSolEvent = 0;
 
 wlan_init( CC3000_UsynchCallback,sendWLFWPatch, sendDriverPatch, sendBootLoaderPatch, ReadWlanInterruptPin, WlanInterruptEnable, WlanInterruptDisable, WriteWlanPin);

 wlan_start(patch);
 
 wlan_smart_config_set_prefix(aucCC3000_prefix);
 
 wlan_ioctl_set_connection_policy(0, 0, 0); 
 
 wlan_set_event_mask(HCI_EVNT_WLAN_KEEPALIVE|HCI_EVNT_WLAN_UNSOL_INIT|HCI_EVNT_WLAN_ASYNC_PING_REPORT);

 ucStopSmartConfig   = 0;
 
 bEnableUnSolEvent = 1;//Ebable timer to call hci_unsolicited_event_handler is every 500ms
  
 
}


void ServerSendRecv()
{
 long sd = 0;
 
 sockaddr saddrClient,saddrServer;
 long socketStatus = 0;
 socklen_t tSoclength ;
 int clientDescriptor = -1;
 char dataSend[] = "INLINE6 WiFi Adapter TM";
 char dataRecv[CC3000_MINIMAL_RX_SIZE];
 unsigned long optval = 1000;
 int nNumOfBytesRecvd = 0;
 saddrClient.sa_family =  AF_INET;
 saddrClient.sa_data[0] = 0x20;saddrClient.sa_data[1] = 0x1D; saddrClient.sa_data[2] = 0xC0;
 
 saddrClient.sa_data[3] = 0xA8;saddrClient.sa_data[4] = 0x00; saddrClient.sa_data[5] = 0x6C;

 saddrServer.sa_family =  AF_INET;
 saddrServer.sa_data[0] = 0x20;saddrServer.sa_data[1] = 0x1D;    saddrServer.sa_data[2] = 0x00;
 saddrServer.sa_data[3] = 0x00;saddrServer.sa_data[4] = 0x00; saddrServer.sa_data[5] = 0x00;
 if((sd = socket(AF_INET,SOCK_STREAM,IPPROTO_TCP)) < 0)
  return;

 if((socketStatus = bind(sd,&saddrServer,sizeof(saddrServer))) != 0)
  return;
  
 if((socketStatus = listen(sd,1)) != 0)
  return;
 
 tSoclength = sizeof(saddrClient);
 while(clientDescriptor < 0)
 {
  clientDescriptor = accept(sd,&saddrClient,&tSoclength);
 }
 
 MCF_GPIO_GPIO1_OUT |= MCF_GPIO_GPIO1_OUT_GPIO_OUT32; //LG2 -CAN1 LED
 
 while(1)
 {
  //socketStatus = send(clientDescriptor, dataSend , sizeof(dataSend), 0);
  //tx_thread_sleep(10);
  nNumOfBytesRecvd = recv(clientDescriptor,dataRecv ,CC3000_MINIMAL_RX_SIZE ,0);
      
  if(nNumOfBytesRecvd)
  {
   MCF_GPIO_GPIO1_OUT ^= MCF_GPIO_GPIO1_OUT_GPIO_OUT36;
  }
  tx_thread_sleep(10);
 }
}
void ClientSendRecv()
{
 long sd = 0;
 
 sockaddr saddrClient;
 long socketStatus = 0;
 socklen_t tSoclength ;
 int clientDescriptor = -1;

 char dataSend[] = "INLINE6 WiFi Adapter TM";
 char dataRecv[CC3000_MINIMAL_RX_SIZE];
 unsigned long optval = 1000;
 saddrClient.sa_family =  AF_INET;
 saddrClient.sa_data[0] = 0x20;saddrClient.sa_data[1] = 0x1D; saddrClient.sa_data[2] = 0xC0;
 
 saddrClient.sa_data[3] = 0xA8;saddrClient.sa_data[4] = 0x00; saddrClient.sa_data[5] = 0x6C;

 
 if((sd = socket(AF_INET,SOCK_STREAM,IPPROTO_TCP)) < 0)
  return;
 
 
 
 if((socketStatus = connect(sd,&saddrClient,sizeof(saddrClient)))!=0)
  return;
 
 
 if((socketStatus = setsockopt(sd,SOL_SOCKET,SOCKOPT_RECV_TIMEOUT,&optval, sizeof( optval ))) != 0 )
  return;
 
 MCF_GPIO_GPIO_OUT  |= MCF_GPIO_GPIO_OUT_GPIO_OUT29;  //LG1 -CAN2 LED
 
 //MCF_GPIO_GPIO1_OUT |= MCF_GPIO_GPIO1_OUT_GPIO_OUT32; //LG2 -CAN1 LED
 
 while(1)
 {
  //send(sd, dataSend , sizeof(dataSend), 0);
  //tx_thread_sleep(10);
  socketStatus = recv(sd,dataRecv ,CC3000_MINIMAL_RX_SIZE  ,0);
  if(socketStatus)
  {
   MCF_GPIO_GPIO1_OUT ^= MCF_GPIO_GPIO1_OUT_GPIO_OUT36;
  }
  tx_thread_sleep(10);
  //send(sd, dataSend , sizeof(dataSend), 0);
 }
 
 
}


int main()
{

 init_spi();
 
   
 initDriver(0);
    
 if( (lStatus1 = wlan_ioctl_del_profile(255)) != 0)
  break;

 lStatus1 = -1;
 if( (lStatus1 = nvmem_read_sp_version(patchversion)) != 0)
  break;

 wlan_connect(WLAN_SEC_UNSEC,(char*)"default",7,NULL,NULL,NULL);
    
 while ((ulCC3000Connected == 0) && (ulCC3000DHCP == 0))
 {    
  MCF_GPIO_GPIO_OUT  |= MCF_GPIO_GPIO_OUT_GPIO_OUT16;  //LG6 -WIFI LED  
 }
   
 lStatus1 = 0;
 while(lStatus1 != 3)
 {
  lStatus1 = wlan_ioctl_statusget();
 }
 ipconfig.aucIP[0] = 0x00;
 while(ipconfig.aucIP[0] == 0)
 {
  netapp_ipconfig(&ipconfig);
 }
 
 MCF_GPIO_GPIO1_OUT |= MCF_GPIO_GPIO1_OUT_GPIO_OUT37; //LG3 -J1708 LED

 //ServerSendRecv();
 ClientSendRecv();     

 
 return 0;
}

  • please look into this....

  • Hi,

    You mention you are using the latest release version 1.10.

    The latest release version is 1.10.1.

    Can you please confirm which version are you using?

    If you are using v1.10.1 please try to add mask to this event: HCI_EVNT_BSD_TCP_CLOSE_WAIT

    wlan_set_event_mask(HCI_EVNT_WLAN_KEEPALIVE|HCI_EVNT_WLAN_UNSOL_INIT|HCI_EVNT_WLAN_ASYNC_PING_REPORT|HCI_EVNT_BSD_TCP_CLOSE_WAIT);

    Yael

  • Thanks Yael for giving your input on it.

    As you said I was trying to mask the event but the event you mention to mask is not available in host driver and I am getting an error of macro not defined.

    Can you please tell me what is the macro definition for HCI_EVNT_BSD_TCP_CLOSE_WAIT?

    Also I am using a latest version of Driver FW patch i.e. 1.10.1.

    Here is code snippet of host_driver_version.h :

     #ifndef __HOST_DRIVER_VERSION_H__
    #define __HOST_DRIVER_VERSION_H__
    #define DRIVER_VERSION_NUMBER_1 1              //version 11
    #define DRIVER_VERSION_NUMBER_2 1
    #endif
    // __VERSION_H__

    FW Patch Ver - Service Pack version P1.10.6.11

    Driver Patch Ver - Service Pack version P1.10.6.11

    Please let me know if this is not the correct version.

     

  •  

    Hi,

    I'm sorry, i did forgot to mention the definition for this macro.

    Please add this at hci.h:

    #define HCI_EVNT_BSD_TCP_CLOSE_WAIT      (0x0800 + HCI_EVNT_WLAN_UNSOL_BASE)

    Yael

  • I masked the event but still it will not make any difference and recv is still getting frozen.

    whenever this happens at that time control get stuck in simplelinkwaitdata function and in event_handler.c function host driver keep looking for  tSLInformation.usEventOrDataReceived to get set but the condition never become true and it will infinitely stuck in while(1) loop in
    hci_event_handler function.

    Also till the time recv works I can ping the CC3000 from my laptop and once recv frozen after that I can not ping it from laptop.

    Also I haven't seen any issue if I am sending data from CC3000 to Laptop.
    The problem is only when if I send data from laptop to CC3000.

    Please give me your input if I am doing anything wrong and what could be done to figure out the root cause of this issue?

    I am using freescale micro-controller (MCF5253). In earlier post I mentioned about the version information, see if this is the correct version to use?

    let me know if you need any more information.

  •  

    Hi,

    You are using the correct version.

    Going through your code, I didn't find anything suspicious.

    Can you please go over this wiki page:

    http://processors.wiki.ti.com/index.php/CC3000_Logger

    Create the output file, and upload it here.

    I will try to figure out if there is any root cause in the log.

    Yael

  • Hi Yael,

    Thanks for helping on this issue.

    Myself and Abhishek are working on same issue.

    With reference to your link, first step is:
    1.Identify the hardware pin for driver and firmware logger on CC3000 chipset
    - driver logger is tagged as NS_UART_DBG
    - firmware logger is tagged as WL_UART_DBG or UART_DBG
    ..
    ..

    What are these pins (NS_UART_DBG and WL_UART_DBG ) with respect to TiWi-SL chip?
    I have attached the Pin layout for TiWi-Sl and marked the UART pins that we have access to(Pin7 and Pin9).

    FYI, we are using custome board with non TI micro and using TiWi-SL module (also do not have any TI/LSR eval board).

    Please let us know, what what exactly needs to be done in our case?

  • Hi Yael,

    Please let us know the next step to get the log file.

  • Hi,

    You need to use twe of the three (I'm not sure which is Driver, Firmware...)

    NC-2, NC-3, NC-4

    If you are using the LSR module, you can just follow this picture:

    Yael 

  • Hi Yael,

    Thanks for Info.

    Yes, we are using LSR module. And as per LSR data sheet pin-out (ref my last reply in same post), mentioned pins 2, 3, and 4 are NC (not connected). So considering this fact we do not have any connection out for these PINs in our custom board (that has the TiWi-SL module soldered on it; Not same as you shown in the picture).

    Is this a new functionality provided on these pins and LSR is un-aware of this ?

    So at this point, we are unable to access these Pins. Please let us know what else we can try ?

    Once again thanks for your efforts so far.

    Regards,

    Manish K

  • Hi Yael,
    I was looking into the IRQ trace and one thing came out i.e. till the the time CC3000 is receiving data I can see high to low transaction in IRQ line and it will again go back to high level but once it hangs I can see IRQ line remain low forever.

    I can also see the same behviour if I read a radio parameter in a loop , for few times it will read the EEPROM parameter successfully then control will hang in hci_event_handler function and wait for tSLInformation.usEventOrDataReceived flag to get set.

    I hope this information will give some direction to you to figure out the root cause of this issue, what could be the possible reason of this behaviour?

    why does CC3000 kept IRQ line low after some time?
    Also we are working on getting UART trace, it will take some time because our evaluation board does not have those connection out to take the trace.

  • Hi,
    I have the same problem.

    I use latest release version - 1.10.1.

    Module cc3000 LSR rev.3.

    I created and uploaded the log files.

    Terminal log file
    Date: 21.03.2013 - 9:47:19
    -----------------------------------------------
    ��������������������������������������������������������������������������������������������������������������������������������������k�В��Ѽ����+�д�XZRZ�
    �RZ�#P�RRZZ��д��ЖkR�+����rkҼX
    R)���k�ihN�)P��k!ج�
    ���9
    �
    �����Ѥ��
    ��Ӥ#ФЬ���
    ���Z�)J�+R+�9���2���+BP���F���.��غ�i&�#�J)p��R�+{�J�R+PZ�Ҍ)ؔP��+Rk60J҄ؤ�+cNX�+�
    R�#ش�J���+�Nx��zRX���дZ�Ҷ)��p�)ؐZ�R�)�#�p�ЄP���䒐�;:R�6Ғ�R�
    
    +�+҄Ф�s�٤��30����*�҄2ZP��k��Ф+.�#"�����Ь)R���
    R�#ش0�#�R�
    Y��k+�Xض���J؞��x��+P��+JRzcxk�r;*)�#Є�Ф��6�
    ���J�p{J��ҤЌ
    Ҭ�i��Ф+JrcZ+Ҍ3+Є����+س��Ќ�k���1��X����)#0��،3�0А6R�
    �В+�9��P���:R���p���R�XВ�9��А�Z;��#k�3���y��ж��j�в;�cФ+����yҐ)0�Ҕ#Ќ!+PP�!)PzP�ќ)P��+c����BЬBgЌ�дi++ҍ2Є+J�P����Є+a(ЌP�s
    �NPB��
    Xв�!�жk�X9Ҍ�k��оJ)r�ؐ͡А�R�ش)��ڄ��Z�
    R�P��R��м�X�P��NN��R�:R����ФRP�Z���J�ِ�*�)�JҤ��B)Z�;���Ґ�i1+:ҤҌ
    ФJf��JiR���;�Ҥ�:��)
    �p)Ӯ+;0B�
    ��P��1��P+:P����
    Ф+JД
    i
    
    k�9��N�)�*Ҝ!Ҿ
    �l
    �У�3ڶ1X�+Z����3kҒ�ж
    �*�>.�*PP���)�*Y��~Z�2ؐ�^J����!��i����+�0V+�PҬ���Q�s
    X��+�P
    ��pҘ�6R���+�Ф+
    �8�R��BА���r��+0R���أ�+R��+��+x)P
    P�i�+д�;
    P
    ДҴд�
    �Pk�д�ҴJ9ДX�
    )Ҷ+P9�P+��i�똥aj��شR
    ���;Ҵ�0Є3
    P�Ғ����,����B���x����Ҥ�
    R��i�)ZФ)2#��RP���
    
    Z���
    
    
    ҫ��)
    �P9+R�P��;��Ҵ�PRд�������+�)�P��Д�Д��J�
    �kP�Ҵ�)��)�Ф)R��R���Д�iЦc�skJ��+)
    )Ҵд���{yЄ��9����Z�a)+
    ��嚭�Ҥ�+ڬ�+��Ҵ���$��혍+���
    �;���;
    k���*��ؐ�{ҴP���Ҥ����{Ґ��
    Ҵش�
    ДR
    д�����4�Pؒ�j�X��NP��+aRP)�ؾ�:�+�����6!:>���*
    ���P>)R��B!R��*�
    !Ҵ+�)д!X�
    �ҤpZ�#��+��
    Ф3
    ���Ҭ�
    �Z�BP~)Ѥa��)P+�+���д9
    �jX��Pдд�2;�)ЩZ�9>P��#ڴ�
    Pz�!NҤҴP�Z
    PaZ��P�ک0v�+�k����ФP��P��ҫ����Є��*�����)0�!���
    �:�Ф9��)Є��+����;
    ЄkФ���
    Ҥ)+):Фؤ+д��Ц��#R�+���Щ�J�)R��X�px
    �4Ҕ��Ыش
    �J+ZXд�Nд���X+Ҥ�R��)+���P�kpNج�
    
    +Ьؤk��;
    ��!��ŚN;v��;~k>�k>����^����;�R:x0��;���;
    ZR��R��Ҷ�9�Ф��)+�Ғ)�+
    ;*д�P��R�a�!X>��<J+�RД)Z��
    R)�9R��.��4c�҄��JД��xغ+��А�І��������+���Jp��Ҥ����Ғ��ڐҐ�)��k�i�ip�)�)�ؤ#Ю�ڤ
    r�)2���+��Є�ж�
    �)�++x��+�R��+��P�!�
    ���PZ���!�!�++0�)k𴐦ش��оДPд��;:PД~P:�XД�9k��)�������B�P��Q�P��RrPВ�B�*2���А��+v�.0N�+P����+���+P��ФЄ�X�҄P�R���+PZkjдҔ~Ф��ڔ��
    �㘍J�v�JҴؐ�;ڔ++XP�pa:+P��)J~�QҴ�P
    X��r���Ф!�����������PФ��2P�
    ���Z����JP��Ф�.�І+��P��9������м�ҶX+BX��r��
    Pi+z
    PZ��P+�ش)��Щ
    #�6�
    ��R�JPp�д�����{^�{)�!#Z�sҴ)�Җ)ش�r�m��;Д�R��;��Jr�Д�#�x�МҬ)
    �F�ZZФ;
    R�P���!�R���
    
    P�)q~��1P؄�+:Z�д::���Zж�����ئRЦ��;��RҤڔ��;+
    �+�+.�В�дд
    R�R#ЩJ�Rд�+д�R+R>p>P+)�)R��мд�ڴ�+��д
    0К��!P�)r�ЫٴP��ؤ+,��Ьڤ���)BP+�Щ2ҤФФ�X:pP�P�����P20�*ФP�R���R+*R�ZД�sИk*҆�Ф
    P���)Д)���
    ���JRؼ�3P�3�Pд��4Ж)ڶ�jJk.شͩJ�c�;���6Җ��)ڐ0:2����P���+؄��PЬ���pr�Ҽ+����#:������J�*P�
    z�
    )�P�ؐ�)P��Pk
    P�ќ��ڴRP�R�#��P+
    �Щ��9�ФЖ�д�д�+R���Ҥ!�P!R��+i
    )!
    �)PЄ�
    ФP�Ф)Pc��ZF+��k)
    ������";��+J�R����+��BZ�Z���kP�F)R�;��P�a�����N����!P��c�
    �N��1�Nд�Nд�д�J��!
    ش�+дд�+д3д�
    P��{д�+�д�+д�+д
    �
    �
    д��*ж��4�+ش�+д�+
    Фд)Ф#��+��+
    д�+Ф�j�zД�д�Ф+��Ф)���:ж�
    ��#��
    �
    ��+X�k�+
    ����k���+��Ь+Ҭ��+��+��#�+��k��+д�+ж�
    P��k�
    �)R���+ش�+Ҽ
    PД��ж�ڐ�+�Ф+�Ц)�ж�F�
    -----------------------------------------------
    Date: 21.03.2013 - 9:47:53
    End log file
    

    Terminal log file
    Date: 21.03.2013 - 9:39:15
    -----------------------------------------------
    80 80 80 00 00 80 00 00 00 00 00 00 80 00 00 00 
    00 00 00 80 00 00 80 80 80 00 00 00 00 00 00 00 
    00 00 00 00 80 00 00 00 00 80 00 00 80 00 00 80 
    80 00 80 80 80 00 80 80 80 00 00 80 00 00 00 00 
    00 00 80 00 00 00 00 00 80 00 00 00 00 80 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 80 80 80 00 80 80 00 80 80 80 00 00 80 00 00 
    00 00 00 00 80 00 00 00 00 00 80 00 80 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 80 00 80 80 00 80 80 80 00 00 80 00 
    00 00 00 00 00 80 00 00 80 00 00 00 00 00 00 00 
    00 00 80 00 80 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 00 00 00 00 80 80 00 80 80 80 00 
    00 80 00 00 00 00 00 00 80 00 00 00 00 00 00 00 
    80 00 00 00 80 80 00 80 00 00 00 00 80 00 00 80 
    00 00 80 00 00 80 00 00 80 00 00 80 00 00 80 00 
    00 80 80 80 00 80 80 80 00 00 80 00 00 00 00 00 
    00 80 00 00 00 00 80 80 80 00 00 80 00 80 80 80 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    00 00 00 00 00 80 80 00 80 80 80 00 00 80 00 00 
    00 00 00 00 80 00 00 00 00 00 00 80 00 00 80 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 80 
    00 00 80 00 00 80 00 00 80 80 80 00 80 80 80 00 
    00 80 00 00 00 00 00 00 80 00 00 00 00 80 80 80 
    00 00 80 00 80 00 00 00 00 00 00 00 00 00 00 80 
    00 00 00 00 80 80 80 00 00 80 00 80 00 00 00 00 
    80 80 00 80 80 80 00 00 80 00 00 00 00 00 00 80 
    00 00 00 00 00 00 00 00 00 00 00 00 80 00 00 00 
    00 00 00 00 00 00 00 00 80 00 00 80 00 80 00 00 
    00 00 80 80 00 80 80 80 00 00 80 00 00 00 00 00 
    00 80 00 00 00 00 00 00 00 00 80 80 80 00 00 00 
    00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 
    D0 52 6B FF D0 D2 A4 FF D1 BC A0 F0 D0 B4 F0 A4 
    A9 D0 2B D8 0A D8 B4 D0 50 52 52 52 D0 0A D0 52 
    5A 52 D0 A1 FA 7A 5A 5A 52 12 5A 52 52 FF D0 50 
    90 A4 2B 9E 90 86 6B 52 D0 2B D2 94 EB 0A A9 D0 
    32 0E 2B 1A D2 AC 10 0A 52 29 D0 D0 90 6B D0 69 
    4A 46 D9 69 50 8C E3 58 4E B0 ED 69 12 B0 B0 06 
    90 A5 39 02 50 B0 02 D0 A4 E1 9A ED 98 ED D0 EB 
    02 D0 AC 1A 92 AD 2B 90 AD 90 ED D0 AD B4 02 52 
    F0 90 85 1A A5 29 4A D8 23 0A 6B F0 39 90 F2 F2 
    52 BC B2 F0 D0 2B 0A 50 D8 0E F9 D0 0E 1A D0 50 
    D0 9C 2E 9A F0 AC 5A D0 9A A5 29 7C F3 2B 0E D2 
    4A 29 70 A4 E9 5A D0 2B 0E D0 7B D2 4A F2 1A 2B 
    50 1A FB D2 9C 29 D0 84 50 A6 6B 2B 5A 63 3E 30 
    42 D2 84 1A 1A 0E 98 A5 90 2B 1A 2B 4E 50 A4 6B 
    D0 02 12 A4 6B 98 A4 92 4A 90 8C 33 A3 2B 92 4E 
    78 92 90 72 5A 10 AB FA 90 90 A5 5A BB 92 ED 29 
    90 DA 70 AC 29 90 D8 1A B3 12 8D 29 10 C5 2B 90 
    70 A4 D0 84 5A 4E 10 90 DA D2 B4 D2 90 10 AD 3B 
    3A 52 D0 36 D2 D2 A4 12 D0 0A 0A 1A 6B 90 2B D2 
    84 D0 A4 90 73 D0 90 A5 D2 C4 33 30 AD 52 8E 92 
    D8 2A D0 92 8D 3A 5A 10 A4 FB 0E 6B 1A D0 D2 D0 
    B4 2B 2E D0 23 2A D8 94 1E DA F0 90 D0 AC 29 12 
    B0 A4 BB 0A 52 F0 23 D0 A4 70 F2 2B D2 52 B4 0A 
    50 90 D8 6B 2B 52 E3 50 D0 B4 E5 D0 D2 4A D0 9C 
    E7 EB 70 D0 94 3E 12 D0 2E 12 58 FB D8 52 72 63 
    70 6B D2 72 3B 2A 29 1E D0 23 0E D0 94 F0 D0 B4 
    F0 EB EB 3E D0 0A D0 92 D0 4A D0 30 7B 4A 52 92 
    E1 10 DA B4 D0 9C 0A D2 AC 52 84 69 02 50 D4 90 
    D0 B4 63 4A 52 7A 61 1A 2B 12 D2 8C 33 2B D0 94 
    DA 10 8D 90 90 2B 90 FB 50 D2 B1 90 8D 90 2B D2 
    98 A5 71 AB DA 1A 8F 50 90 D8 EB 52 BE 0A 29 0E 
    2B 78 90 84 4A 90 8D 33 E3 78 D0 D0 3E 52 D0 0A 
    D0 4A D0 D2 2B 92 79 D0 B4 50 D0 D8 D0 3A 52 AB 
    D2 9C 70 B6 D2 DA 5A D2 58 D0 D2 92 39 D0 F3 90 
    D0 A4 52 33 FA B6 33 6B 5A 33 0E B1 1A F2 79 D0 
    D2 D9 B6 90 6B 4A B0 8D D0 F2 3B D0 63 90 AD 2B 
    F9 5A D0 DB 79 92 90 29 30 85 DA 84 23 90 8D 69 
    2B 50 D0 84 21 29 52 50 7A 10 8D D0 8C 2B 58 A4 
    5A 2B 6B 1A 50 A4 F3 90 CD 42 90 AD 42 2E 10 8D 
    FB D0 B4 69 2B 2B 4E 92 8D 3A D0 84 2B 7A D0 10 
    A4 FD D0 D0 90 84 2B 61 28 D9 9C 50 B4 E5 2B D2 
    F0 84 D8 29 50 58 92 D2 0A 50 10 D0 F2 B2 29 F2 
    F2 D8 B6 6B D2 50 31 D2 9C D0 7B 8A D2 D0 BC 4A 
    29 72 F3 0A 12 D8 D0 84 A1 D0 90 84 52 E9 98 A4 
    29 EB 98 DA 94 D8 92 52 84 02 1A E7 10 8D 98 52 
    A4 BB D0 AC 92 50 8C 50 CC A9 46 0E D2 90 1A A5 
    3A 12 D2 D0 FA D0 D0 A4 12 50 E1 5A A4 D2 F9 4A 
    92 90 D0 84 22 1A A5 29 D0 02 92 A5 D0 84 0A 69 
    1A D2 12 3B 90 0E FA DA 92 90 A5 69 0E 39 50 2B 
    3A 10 D2 A4 92 CD 42 90 AD 4A 2E 92 CD 0A 29 12 
    1A AB FB 0E EB 3B 1A 90 D2 A4 A9 3A D2 0A 1A D8 
    69 08 50 84 79 21 D2 BE AD 73 70 42 12 A6 D0 50 
    0A 06 EB D0 58 AC D0 31 5A FF D0 50 2B 2A 13 52 
    D0 2A 78 02 D8 34 06 2B 4A D0 94 02 69 0A 0A 6B 
    06 1A EB 39 0E D0 B6 52 4E D8 29 D0 2A D2 8C 21 
    D2 AE 0A EB 36 4A D0 D0 A3 06 52 90 33 D2 B6 39 
    10 D0 23 5A A4 D2 4A 90 8C 33 2B 92 D2 98 D0 A4 
    42 FB 2A EB 2E 2E 92 23 50 10 8D 90 E9 29 90 22 
    51 FB 92 7E 5A D0 32 90 D0 B3 5E 42 90 FF D0 F0 
    29 D2 B0 AC 69 52 B8 98 D8 18 AF 2B DA 1A 1A 30 
    50 1E 2B 92 10 92 AD 10 8D D0 DA 50 10 0E D0 63 
    0A 58 D8 B4 AD 2B 0A D2 94 D0 BA A5 50 D0 D8 2B 
    D2 B4 E1 52 94 4E 92 D0 2B D8 50 D0 B4 AD 2B A3 
    58 D2 52 B4 AB 4A D0 D8 94 8D EB D0 94 72 DA B6 
    2B 78 52 DA AB D8 D0 A3 1A D2 2B 52 F0 B4 AD 29 
    C9 D0 2B 78 69 10 02 10 85 6B D0 2B 1A D0 A4 29 
    32 D8 84 02 90 84 92 AD 90 A5 29 02 0E 90 10 2B 
    90 90 AD A3 92 AD 42 39 90 84 58 86 0A 29 D2 AC 
    6B 10 39 D2 50 6B D2 D0 29 B2 AB 98 A4 21 10 6A 
    B0 8D D0 E4 12 0A 10 8D D8 A4 3B 08 92 AD D0 70 
    D0 84 33 0A D2 10 B2 B2 92 CD B2 A5 F2 A4 EB 3E 
    D0 D2 FE D0 4A D0 92 D0 78 D0 D0 A4 B1 50 92 E4 
    0A 90 0A 5A D0 B4 ED D0 21 52 D0 B4 AD 3A 23 D2 
    AB 50 52 50 D0 86 D0 0A 0A 12 AB D0 90 02 0A 0A 
    92 EB 90 D0 1A 52 29 08 EB 58 39 23 12 8C 50 90 
    A4 3B 0E D0 D0 D2 A4 AB 50 50 52 D0 B6 A5 AB D0 
    90 D0 5A BA D0 2B 90 29 1E 10 D0 92 D0 94 D2 D0 
    94 52 F0 D0 4A D2 0A D0 6B 50 D0 D2 A4 A3 29 F8 
    84 29 D0 D0 B4 29 1A D0 D2 12 EB 50 A4 BA 90 85 
    B0 AD 6B D0 A6 63 10 ED 7B 6B 42 90 CD 2B 29 02 
    29 D2 A4 90 B0 90 B0 50 D0 7B 0E 79 D0 84 B0 AD 
    39 10 EF DA 90 EB F2 12 84 29 29 2B 0A B0 50 98 
    E5 D2 B4 D0 92 AD 50 A4 21 DA AC D0 2B D2 D0 92 
    A4 AB B0 90 24 90 D1 B4 D8 84 2B AB F0 D0 50 4A 
    50 A4 2B D0 0E D0 B4 3B 0A 29 A3 D0 D0 2A D0 D8 
    D8 D8 B4 ED 06 D2 B4 50 B4 D2 D0 D2 A4 A9 D8 D8 
    D0 63 D2 D0 94 D0 0A D2 B4 90 A4 92 0A D0 94 52 
    02 90 AF 69 98 90 D2 D0 A4 29 10 B4 AD 2B 6A 90 
    50 AC 6B B0 4E 7B 2A 90 B0 12 1E 92 C5 29 D2 0E 
    90 EC D9 3A 90 23 90 FF 90 90 92 ED 21 32 36 90 
    E1 90 2A 0A 02 B0 E5 F9 D8 50 36 1A 29 10 52 E9 
    90 4A 21 52 A4 EB 0A D0 0A 0E 21 9A AD 2B F0 29 
    D0 A4 23 52 18 EB D0 4E 0A D0 D2 B4 30 5A A6 23 
    D0 B4 ED FA D8 B2 AD 0A 90 A5 33 0A D2 92 A4 D2 
    BE E5 0A D2 5A 0A D0 4A 50 76 1E 29 0E D0 B4 E5 
    29 52 D0 A4 50 29 D2 2B D0 FF D0 D0 B4 39 0A D0 
    2A 0A 50 B6 06 D0 94 50 D0 B6 D0 B4 D0 3A 3B D2 
    2B 90 A9 12 D0 84 39 3E 58 B4 3B 02 D0 D0 96 0A 
    50 3A 0E 92 29 4E 92 A5 92 AD 50 B0 12 02 50 61 
    0E 12 AD A3 10 90 92 E9 30 7E 9A 50 2B D2 2B 90 
    B2 12 E9 0E D0 D0 A4 10 5A 84 D0 10 92 A5 92 AB 
    50 58 D0 D0 84 B0 90 8D 98 F0 90 D0 2A D0 D0 10 
    AD 90 E5 29 50 A4 21 F9 D2 B1 0A 50 A9 3A 06 F0 
    D0 B4 A9 18 D0 92 39 50 86 3B D0 D0 AC D0 12 D0 
    90 3B 0A 90 CD 6B 02 D0 B4 90 A4 DA 4A D2 B4 AD 
    2A 2B 29 3A D0 A4 D0 B4 29 0E D0 B4 E3 D2 D0 B4 
    AD D0 23 12 A4 2B F0 90 D2 D0 A1 0A DA 02 90 69 
    52 D2 D2 58 B4 30 78 0A D8 B4 D2 84 B3 FF 90 EB 
    90 ED 02 B2 8D 3B 42 2B 52 10 D0 A4 21 4E D0 B4 
    90 D0 D2 50 2B D2 A4 90 1A 90 AD 69 52 2B D8 12 
    B0 F9 10 AD 63 30 06 D8 AC EB 0A 0A 52 2B D0 BC 
    4A D0 B4 EF 06 D0 B4 EF 0A 12 10 84 63 D0 98 CD 
    A3 5A D2 4E 3B 7E F9 D0 73 7E 6B 3E F9 2B 3E 50 
    92 D0 92 D0 5E 90 AD D0 10 AC 21 0E FA 52 3A 70 
    30 D0 90 3B FA EB 58 B4 AD 2A 12 52 8C 98 5A 34 
    8D 5B B4 8D 2B D8 B4 A5 52 B4 0E D0 B4 ED E9 29 
    2B EE DA D2 29 2A 0E D0 2B E1 D0 B4 DA 0E 50 B6 
    A1 52 B4 61 F8 29 58 3E D8 D2 BC 4A 2B D8 52 D0 
    94 29 12 F0 94 D0 0A 52 29 D0 A9 52 F0 B6 85 D8 
    2E D2 D2 34 63 D2 D2 94 AD D8 1E 4A D0 94 AD DA 
    70 D0 F2 2B D0 FC D0 D0 B4 D0 96 EB 92 AB 90 84 
    90 D8 D2 2B 9A 8D EB 98 4A 70 84 D0 D2 A4 58 84 
    D9 B4 D0 D2 92 ED D2 92 90 92 90 ED 29 D0 16 D0 
    2B D8 69 50 D0 69 70 F0 A4 29 92 29 0A D0 D8 B4 
    A5 AA D0 A1 DA B4 02 7A D0 21 7A B0 D0 B4 AD D0 
    BC D0 94 F0 D0 B4 A5 0A D0 21 28 2B 2B 78 94 AD 
    2B D0 B4 E7 E9 52 D0 D2 0E 2B FA 90 50 B6 A5 AB 
    0A D2 B4 D2 50 5A 92 06 90 A4 21 0E D0 29 F2 2B 
    2B 78 94 A9 0A 3B D0 D0 A6 D0 A4 39 D2 90 ED D0 
    86 10 D0 A4 90 D0 3B 2A 10 D0 84 7E 10 3A 12 AC 
    0E 10 D0 84 6B 02 39 08 6B 90 A4 29 D9 D0 0E D1 
    F2 1A F0 A4 10 90 AD 42 D0 50 90 92 10 92 50 92 
    A4 52 7A 50 90 D2 92 42 92 2A 50 32 90 50 92 A4 
    0E D9 D0 0E D2 94 AD E8 0A 2E 70 4E D3 2B 10 D0 
    84 A3 F2 A4 50 29 90 58 B4 50 B4 A9 06 50 D0 0E 
    1E F8 D0 B4 D0 84 0A 5A B1 58 94 D2 16 50 94 52 
    B6 AD 3B D2 2B 58 5A 0A 50 23 6A D0 36 92 84 7E 
    0E D8 B4 ED D0 D2 84 A9 E8 0A 52 94 E5 29 50 4A 
    D8 7E D2 4A D2 B4 D0 D0 96 AD 06 DA 94 2B 2B 58 
    50 D0 70 61 3A 2B 50 A4 61 08 42 7E 10 87 51 92 
    A5 90 02 10 02 58 D2 A4 72 E9 90 10 AB 90 A5 61 
    90 90 EC 1A 90 AD 10 52 A4 EB D2 EB D2 50 DA AB 
    D0 EB 12 50 5A 90 A4 90 EB 52 10 E9 0A AB D2 EB 
    D2 52 12 AD AB D0 EB 0A 50 DA AB 10 90 A5 D0 66 
    DA 90 8F 2B 90 D0 10 D1 B6 39 FA B4 FA D0 D0 D0 
    0E 50 96 D0 AC A9 D2 B6 50 2B 02 50 AB D2 94 72 
    AB 0A DA 0A 50 69 2B 50 7A 0A 50 0E 5A AB B0 D0 
    50 2B D0 D0 A4 29 DA 9C D0 A9 0A 03 F2 B4 D2 0A 
    92 D2 0A 52 D0 4A 10 70 B6 1A D8 B4 AB D0 BA 84 
    92 D0 7B 5E 90 7B 0E 29 D0 21 2B 12 F0 73 D2 B4 
    29 D0 D2 94 29 D8 B4 D2 72 A4 69 D0 D0 3B D0 86 
    29 4A 5A BC DA 3B D0 DA 42 7A D2 0E D0 94 FA 23 
    D0 70 50 D0 D0 9C DA BE 29 02 D0 06 EB 5A 0E 5A 
    D0 A4 3B 0A 52 D2 0E 50 52 50 B4 D0 A4 21 E3 52 
    90 52 A4 B1 08 0A 50 A4 29 0A 71 EC F8 B4 21 50 
    06 90 C5 92 58 2B 2A 5A D8 D0 B4 32 32 D0 98 84 
    A9 0E 0A 5A D0 B6 AF D8 FE D0 D0 D0 B4 52 D0 B6 
    AD EB 73 DA E3 5A 92 A4 D2 84 D8 90 3B 1A 2B 1A 
    92 50 2B DA 2B 2E D8 D0 92 A4 12 90 A4 1A D8 B4 
    02 12 A4 5A 23 D0 A9 4A D8 5A 90 A4 F8 2B 0E D0 
    B4 AD 52 2B 52 3E 70 3E 50 2B 29 1A D0 29 5A 96 
    E5 D0 BE D0 B6 A5 92 A4 D0 2B F8 D0 D0 B4 0A 70 
    D0 DA B6 B0 29 50 D0 21 10 7A FF D0 EB D9 B4 0E 
    50 B6 A5 6B D0 B4 E9 1A B9 18 D0 A4 DA B4 A9 8A 
    D0 B4 0A 50 2B D8 D0 A9 52 D2 B4 90 A5 D0 A4 D0 
    10 32 30 58 84 58 B6 D8 D0 90 D0 58 3A 30 D0 2A 
    90 A4 50 D8 5A F0 A4 A9 52 2B 22 52 D0 1A D0 84 
    39 18 58 0F 73 90 D0 6B 2A D2 86 D8 0A D0 B4 0A 
    10 D0 90 D0 29 D0 84 29 90 FF D0 0A AB 98 EB 4A 
    29 90 D8 BC D0 33 50 84 33 D0 50 D0 A4 29 D0 B4 
    D0 84 29 DA B6 29 4A 5A 50 A4 61 29 A9 D0 AB 63 
    D2 14 3B D2 E3 D2 36 D2 94 AD 52 94 29 D2 D0 1E 
    70 3A 72 D0 D0 34 A9 50 B4 D2 0E 50 14 2B D0 94 
    F8 D0 50 D8 BC 92 1A 90 A4 70 7A DA D2 AC 0E 6B 
    F8 D2 90 A5 23 12 32 F2 B6 90 52 D0 D0 FE D0 4A 
    F8 52 2A 50 D0 0A 72 DA 02 2B D0 50 B4 D8 D0 94 
    AD 2B 0E FF D0 10 2B 0A 50 90 D0 9C AD D0 DA B4 
    52 50 B4 12 84 23 90 ED 50 2B 0A AB D0 E1 90 A5 
    39 EB D0 B4 D0 96 BA D0 B4 A3 D0 B4 DA 2B 52 90 
    A4 A9 28 0E D2 B6 A5 EB 50 21 5A B4 1A D0 2B 69 
    0A 29 29 0A F0 21 10 D0 84 EB 0A 90 AD 50 B4 90 
    A5 29 50 63 0A 92 A4 0E 52 10 4E 23 B0 E5 E3 0E 
    10 2B 29 02 16 90 90 92 FD B0 D0 22 33 90 92 2B 
    0A AB 12 AD 90 AD D2 2B B0 D2 4A 52 A4 5A 94 21 
    92 2B 10 A4 4E 29 12 A4 33 D0 B4 1A 50 94 E1 28 
    D0 F0 B6 4E D0 A4 0E D0 D0 4E D0 B4 D0 0A D0 21 
    0E 50 D8 12 50 14 C5 29 0A F0 B4 46 D8 B4 39 F0 
    B6 4E D0 B4 F0 B4 D0 4E D0 B4 D1 D0 B4 AD 2B D8 
    B4 A5 2B D0 B4 A5 2B D0 A4 90 A4 A9 0A D0 B4 33 
    02 90 A4 7B 0A 10 AD 2B D0 A4 29 90 A5 3B D0 B4 
    A9 4A 98 AD 2B 0A D0 A4 4E 0A D0 A4 3B 90 0A D0 
    B4 A9 D0 1A D0 B4 AD A1 28 D0 B6 ED D0 B4 AD 6B 
    98 A4 A9 2A D0 B4 A9 2A 0A D0 B4 D0 B4 A9 D0 B4 
    A5 2B D0 B4 D0 B4 AD 2B D0 B4 A5 2B 90 A4 29 4A 
    D8 7A D0 94 A9 D0 A4 FF D0 B4 A9 4A D8 D0 B4 A9 
    4A D8 A4 3A D0 B6 ED 2B D0 B4 A5 2B D0 B6 AD 2B 
    D0 D0 B4 AD 2B D0 B4 85 2B D0 B4 D0 A4 29 D0 A4 
    D0 B4 AD 2A D0 A4 58 94 A9 0A F0 B4 A9 08 50 B0 
    A6 A9 28 D8 B4 0A 50 B4 AD 2B D0 B4 AD 2B F0 23 
    D0 B4 AD 6B D0 B4 AD 2A F0 0A 50 A4 29 98 29 0A 
    D0 29 5A B4 AD 0A 90 86 2B D0 A4 A1 CA 02 50 D1 
    94 80 F0 D0 34 AD DB D0 B6 A9 DA D0 B4 A9 DA D0 
    B6 29 F8 90 AF EB 46 C3 
    -----------------------------------------------
    Date: 21.03.2013 - 9:40:56
    End log file
    

    Also I created log file on 115200 bps

    Terminal log file
    Date: 21.03.2013 - 11:09:57
    -----------------------------------------------
    wr 00300958 0001fffc
    wr 00306040 00000005
    wr 00306100 00000004
    wr 0031002c 02000020
    wr 003004dc ffffffff
    wr 00305450 00000000
    wr 00300998 0000ffff
    wr 00305618 00305618
    wr 00300824 00001c00
    wr 00300850 0000000.CG�^�fO�sF�F�b��F�GGF�'F�c�b�6FfG��F��G�6��G��g�F�vF���GF���FFJ�
    -----------------------------------------------
    Date: 21.03.2013 - 11:10:05
    End log file
    

  • Hi Yeal,

    Thanks for the support.
    By yesterday observation what I have seen is, our controller is not giving a service to interrupt raised by  IRQ line and after that the above mentioned scenario appears, so for that I made some changes in wlanInterruptEnable and wlanInterruptdisable function, earlier in wlanInterruptEnable function before enabling the interrupt I am clearing the interrupt register and in wlaninterruptdisable dunction after disabling the interrupt I am clearing the interrupt register and due to that some how our controller miss the interrupt raised by CC3000 and it will go to dead loop.
    So as of now it is working fine for me. I can receive the data properly but my question is what if controller miss the interrupt, does CC3000 will never raise the interrupt again and it will stuck in that mode or it should keep on raising the interrupt after some time out period?

  •  

    Hi,

    I am glad the issue is solved.

    CC3000 will not raise the interrupt line after a period.

    Although, you can always check the IRQ line, since CC300 will keep it low, you can handle the IRQ even if you missed it coming.

    There is an example for that in our MSP40FRAM SPI driver (Basic WiFi App for example).

    After reasserting the CS, the IRQ will be back to high.

    Yael

  • Thanks alot yael..

  • i'm also facing the same problem. can u tel me what changes you have made in wlanInterruptEnable and wlanInterruptdisable function

  • I made changes in CC3000_common.c,

    Somehow the standard function shipped by TI is not functioning properly in our controller and we made following changes, see if it helps you.

    Below are the changes :

    unsigned short STREAM_TO_UINT16_f(char* p, unsigned short offset)
    {
      return (unsigned short)((unsigned short)(((unsigned short)(*(p + offset + 1)) << 8) & 0xFF00) + ((unsigned short)(*(p + offset))& 0x00FF));
    #if 0
     return (unsigned short)((unsigned short)((unsigned short)
            (*(p + offset + 1)) << 8) + (unsigned short)(*(p + offset)));
    #endif

    }

     

    And

    unsigned long STREAM_TO_UINT32_f(char* p, unsigned short offset)
    {

     return (unsigned long)((unsigned long)(((unsigned long)(*(p + offset + 3)) << 24) & 0xFF000000)
                    + (unsigned long)(((unsigned long)(*(p + offset + 2)) << 16) & 0x00FF0000)
                    + (unsigned long)(((unsigned long)(*(p + offset + 1)) << 8)  & 0x0000FF00)
                    + (unsigned long)(((unsigned long)(*(p + offset )) << 0)     & 0x000000FF));

    #if 0 
            return (unsigned long)((unsigned long)((unsigned long)
            (*(p + offset + 3)) << 24) + (unsigned long)((unsigned long)
            (*(p + offset + 2)) << 16) + (unsigned long)((unsigned long)
            (*(p + offset + 1)) << 8) + (unsigned long)(*(p + offset)));
    #endif
    }

  • Hi,

    i have made the changes. but im not able to receive tcp packet.Actually i want to receive  TCP ack packet from server. whether TCP ack packet is processed internally in CC3000 or we have to check TCP ack packet.