TCPIP samples not working - posted incorrectly

For Flowcode users to discuss projects, flowcharts, and any other issues related to Flowcode 4.
To post in this forum you must have a registered copy of Flowcode 4 or higher. To sign up for this forum topic please use the "Online Resources" link in the Flowcode Help Menu.

Moderator: Benj

Post Reply
kdoney34711
Posts: 25
Joined: Tue Sep 29, 2009 1:07 pm
Has thanked: 1 time

TCPIP samples not working - posted incorrectly

Post 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.
Attachments
sys.zip
(38.39 KiB) Downloaded 293 times

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: TCPIP samples not working - posted incorrectly

Post by Steve »


kdoney34711
Posts: 25
Joined: Tue Sep 29, 2009 1:07 pm
Has thanked: 1 time

Re: TCPIP samples not working - posted incorrectly

Post 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.

User avatar
Steve
Matrix Staff
Posts: 3433
Joined: Tue Jan 03, 2006 3:59 pm
Has thanked: 114 times
Been thanked: 422 times

Re: TCPIP samples not working - posted incorrectly

Post by Steve »

In the thread there is mention of updated files. I will ask Ben to post them here shortly.

User avatar
Benj
Matrix Staff
Posts: 15312
Joined: Mon Oct 16, 2006 10:48 am
Location: Matrix TS Ltd
Has thanked: 4803 times
Been thanked: 4314 times
Contact:

Re: TCPIP samples not working - posted incorrectly

Post 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.
Attachments
component examples.zip
(166.23 KiB) Downloaded 327 times

kdoney34711
Posts: 25
Joined: Tue Sep 29, 2009 1:07 pm
Has thanked: 1 time

Re: TCPIP samples not working - posted incorrectly

Post by kdoney34711 »

Thanks. These work fine.

Post Reply