Page 1 of 1

TCPIP samples not working - posted incorrectly

Posted: Sun Jan 31, 2010 1:04 am
by kdoney34711
Sorry, I posted this in miac when it should have been posted here.

After getting errors I ran Reg_V4_Comps.bat and Components_V4.reg files with no relief.

tcpip examples

udp, firewall, arp, receive_html, send_html
"one of the components is not registered" then
"memory protection violation" then crash
smtp
add defines component is no longer available please use supplementary code
features instead

Ping works with no complaints.

An entire system description is attached. I am running the latest release of v4 for pics.

Re: TCPIP samples not working - posted incorrectly

Posted: Mon Feb 01, 2010 10:00 am
by Steve

Re: TCPIP samples not working - posted incorrectly

Posted: Mon Feb 01, 2010 3:45 pm
by kdoney34711
I made the change from TMR0 to tmr0 on lines 921 and 922 in pic_tcp_ip.c in the component directory of my flowcode installation and this made no difference. I still get crashed when using the tcpip examples.

Re: TCPIP samples not working - posted incorrectly

Posted: Mon Feb 01, 2010 4:04 pm
by Steve
In the thread there is mention of updated files. I will ask Ben to post them here shortly.

Re: TCPIP samples not working - posted incorrectly

Posted: Mon Feb 01, 2010 4:07 pm
by Benj
Hello

Ok these examples should all open correctly in v4. In some of them they might have been using the thermometer component. If you get a message about this then you can simply add a ADC component to the program and then change any component macros that reference the thermometer to reference the ADC instead.

Re: TCPIP samples not working - posted incorrectly

Posted: Mon Feb 01, 2010 6:21 pm
by kdoney34711
Thanks. These work fine.