Continue to Site

Welcome to our site!

Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

  • Welcome to our site! Electro Tech is an online community (with over 170,000 members) who enjoy talking about and building electronic circuits, projects and gadgets. To participate you need to register. Registration is free. Click here to register now.

tcp/ip lean: miniature web server

Status
Not open for further replies.

feiutm9898

New Member
Hi.

I have problem to compile source code come with tcp/ip lean books.

I use ccs version 3.

I fail to compile the source code for tcplean/pcm/picweb.c at CDROM

The error is "invalid type conversion" at the variable

Do you try it? And can provide updated source code for me.

please help me!

from: feiutm9898@yahoo.com
 

Attachments

  • pcm.zip
    125.9 KB · Views: 250
feiutm9898 said:
Hi.

I have problem to compile source code come with tcp/ip lean books.

I use ccs version 3.187

I fail to compile the source code for tcplean/pcm/picweb.c at CDROM

The error is "invalid type conversion" at the red line

.
.
if (match_byte(0x45) && skip_byte() && // Version, service
get_word(iplen) && skip_word() && // Len, ID
skip_word() && skip_byte() && // Frags, TTL
get_byte(ipcol) && skip_word() && // Protocol, checksum
get_lword(remote.l) && get_lword(local.l) &&// Addresses
checkhi==0xff && checklo==0xff)
.
.
.

Do you try it? And can provide updated source code for me.

please help me!

from: feiutm9898@yahoo.com
 
In the function get_lword(LWORD &lw ), the paramater is defined as long word.
Perhaps remote.l is not a long word?
 
:D

I have also interest in the circuit could you post that one to..???


i'm planning tu use a 16F877a is that one pin compatible whit yours..??
and also software compatible..??


TKS

ik you have good links i also apreciate them..
 
Hi TKS

That is SLIP communication between computer and PIC.

And, only PIC16c76 and 16f876 compatible.

If you want to use f877 can use "chipweb" version at www.iosoft.co.uk

And you need a development board from microchip.

I have one useful website, U can go see it. Source code, schematic and ... provided

**broken link removed**
 
Status
Not open for further replies.

Latest threads

New Articles From Microcontroller Tips

Back
Top