Question Regarding the TCP/IP Stack Demo

Technical questions regarding the XTC tools and programming with XMOS.
Matt
Active Member
Posts: 50
Joined: Sat Feb 13, 2010 12:04 pm

Question Regarding the TCP/IP Stack Demo

Post by Matt »

Hi,

I have downloaded the TCP/IP Demo and have compiled it for a XC-2 and loaded it. I am getting the following messages from the debug "packet shorter than reported in IP header." and the program does not seem to be working correctly. Any ideas of what I may have done wrong.

I have set the enviroment variable TARGET to XC-2.

Anything else I should have done?

Thanks in Advance

Matt


User avatar
paul
XCore Addict
Posts: 169
Joined: Fri Jan 08, 2010 12:13 am

Post by paul »

Can you make sure that all the ethernet stuff is built with -O3, it may be missing from the relevant make files.

Cheers,
Paul

On two occasions I have been asked, 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question.