TI中文支持网
TI专业的中文技术问题搜集分享网站

CC3000 TCP发送数据的问题

Example App:basic_wifi_application

driver version 2.13.7.13

mcu:msp430g2553

CC3000建立tcp socket之后。

第一次发送数据能够成功,send(smtpSocket,"ST",2,0); 

但是在发送完成之后wlan_tx_buffer[CC3000_TX_BUFFER_SIZE – 1]   幻数位 就会被置为为0x01. 当下次发送之后就会进入幻数检测的那个while(1)死循环里面

// The magic number that resides at the end of the TX/RX buffer (1 byte after the allocated size)// for the purpose of overrun detection. If the magic number is overwritten - buffer overrun// occurred - and we will be stuck here forever!
	if (wlan_tx_buffer[CC3000_TX_BUFFER_SIZE - 1] != CC3000_BUFFER_MAGIC_NUMBER)
	{
		while (1)
			;
	}
Yonghua Pan:

在你用这个basic wifi application的时候,你的patch 和firmware patch 有用patch programmer升级过吗?

qiang chen3:

回复 Yonghua Pan:

PatchProgrammerMSP430G2553-2.11.7.14.24  用的是这个升级的! 

赞(0)
未经允许不得转载:TI中文支持网 » CC3000 TCP发送数据的问题
分享到: 更多 (0)