First of all I built my development board which consists of PIC 18F452(running
at 40MHz) microcontroller, Realtek 8019AS compatible ISA NIC board, HD44780
compatible LCD, Maxim DS75 I2C temperature sensor. It runs my port of
Adam Dunkels' uIP v0.9 TCP/IP stack and
a simple webserver. This project is using operating system called Salvo.
OS based programming has many advantages versus traditional superloop
technic. I'm not able to serve to you salvo library(slp86lab.lib) that
I use to develop project, because it's a commercial product. You have
two solution to solve this problem. Either you can convert main program
to traditional superloop technic or you can use freeware salvo library,
for example "sfp86lab.lib". But freeware libraries allows only
3 tasks, so you must eliminate some tasks from my code, for example LCD
didn't use default webserver which comes with uIP, because it grows code
very much(almost 27Kb!). But PIC's ROM is limited. Instead
of this I coded a simple webserver, with current configuration the total
code length is 15,5Kb. When we compare this with PIC's ROM(32K), complete
project consume only %47,8 ROM area.
project files from here.
circuit schematic from here
( Orcad Capture format)
Dunkels' uIP TCP/IP Stack for Embedded Microcontrollers Website. This
is the principal site for the original distribution of the uIP TCP/IP
stack featured in the port above. You will also find links to the
Contiki operating system, of which uIP is also a part.
Real-Time Operating System, you will find here freeware salvo version.
Additionally you may buy Salvo if you want.
PICC18 Compiler website.
here to return main page