ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM

General discussion on mikroPascal.
Author
Message
yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#31 Post by yo2lio » 13 Jan 2008 21:08

Library updated.

You can download library from : http://www.microelemente.ro/MikroPascal ... amples.zip

Added UCEN and BROADCAST filters.

Enjoy :wink:
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#32 Post by yo2lio » 03 Feb 2008 22:04

New example added !

Read temperature (DS18B20) and display this on the WEB page.

In this example I use my one wire and thermal library.

You can download examples from : http://www.microelemente.ro/MikroPascal ... amples.zip
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#33 Post by yo2lio » 04 Feb 2008 22:42

Library and examples updated !

Resolved small BUG in CopyEthMemToEthMem routine. When length of data copy was 0 or 1, MCU frozen.
This BUG was submitted by guyfoc.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

kayh
Posts: 63
Joined: 22 Apr 2005 03:12

#34 Post by kayh » 02 Mar 2008 16:43

yo2lio wrote:Library and examples updated !

Resolved small BUG in CopyEthMemToEthMem routine. When length of data copy was 0 or 1, MCU frozen.
This BUG was submitted by guyfoc.
Just received LV18FJ board, you programs compile fine, however I get no ping response on any of the programs.
How do I link the LV18 pic flash to the pascal compiler?
I suspect maybe configuration bits are incorrect because of the default pic flash?
I get LEDA to go on nut no ping response any ideas?
thanks

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#35 Post by yo2lio » 02 Mar 2008 17:18

Must work !

I use my def files : http://www.microelemente.ro/MikroPascal ... family.zip

You must start LV18 Pic Flash program manually, and then open hex file.

Try to use one of hex file compiled by me for IP : 192.168.1.253

Xtal on board must be 25.000 MHz !!!
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

kayh
Posts: 63
Joined: 22 Apr 2005 03:12

#36 Post by kayh » 03 Mar 2008 00:05

yo2lio wrote:Must work !
I tried, (I set my switch to the same IP as yours) with your PIC18F87J60_lib program:
Original HEX file works fine (I can ping it) after adjusting "primary Oscillator selection" on the LV18 picflash to HS PLLenabled from EC
recompiled (without installing new def files ) works the same (I can ping it)

Any other programs that should work with it (87J60)? How important is it to use your def files?

kayh
Posts: 63
Joined: 22 Apr 2005 03:12

#37 Post by kayh » 03 Mar 2008 00:58

kayh wrote:
yo2lio wrote:Must work !
OK I copied all yor def files over. Then I recompiled the "mini web server" I had to comment a bunch of libraries out of the def file (it couldn't find libraries see below) in order for it to compile. However once compiled it worked! Do you know why I had to comment out those libraries?
Great, I'm getting somewhere
Thanks

uses
P18F87J60,
math,
math_double,
system,
Delays,
Stringslib,
I2C_c34d65,
SPI_c345d654,
PWM_c21,
PWM_g0,
PWM_g34,
USART_c67g12,
ADClib_A_D,
CANconst_C_S,
CANSPI_C_S,
RS485_M_D,
__Lib_CompactFlash,
//Flash_F_E,
Trigon,
Sound,
SoftSpi,
SoftI2C,
Soft_Uart,
owlib,
manchester,
__Lib_Lcd,
__Lib_Lcd8_bit,
glcd18,
__Lib_PortExpander,
__Lib_SerialGLCD,
__Lib_Spi_LCD,
// __lib_spi_lcd_setup,
// __Lib_Spi_LCD8,
// __lib_spi_lcd8_setup,
__Lib_T6963c,
// __Lib_T6963C_Setup,
__Lib_Spi_T6963C,
// __lib_spi_t6963c_setup,
//__Lib_Lcd_Setup,
conv,
button,
keypad_18,
mmclib,
mmc_fat16,
__lib_cffat16,
PS2_P18;

implementation
end.

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#38 Post by yo2lio » 03 Mar 2008 08:02

kayh wrote: Then I recompiled the "mini web server" I had to comment a bunch of libraries out of the def file (it couldn't find libraries see below) in order for it to compile. However once compiled it worked! Do you know why I had to comment out those libraries?
Sorry , I forget to upload def files for MP7 ! :oops: :oops: :oops:

http://www.microelemente.ro/MikroPascal ... ly_MP7.zip
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

kayh
Posts: 63
Joined: 22 Apr 2005 03:12

#39 Post by kayh » 03 Mar 2008 23:48

yo2lio wrote: Sorry , I forget to upload def files for MP7 ! :oops: :oops: :oops:
Thanks for the quick response yo2lio, you are the best. 8) 8)
How about DHCP? Is that doable? Would love to see it.

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#40 Post by yo2lio » 04 Mar 2008 10:49

kayh wrote:How about DHCP? Is that doable? Would love to see it.
No DHCP in my library in the next few mounts.
I'm very busy, I don't have time for this.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#41 Post by yo2lio » 08 Mar 2008 15:29

Hi,

Library updated. Resolved small bug in Get_Time routine.


You can download library from : http://www.microelemente.ro/MikroPascal ... amples.zip

Old files : http://www.microelemente.ro/MikroPascal ... es_old.zip
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

kayh
Posts: 63
Joined: 22 Apr 2005 03:12

#42 Post by kayh » 24 Jun 2008 03:11

yo2lio wrote: Sorry , I forget to upload def files for MP7 ! :oops: :oops: :oops:

http://www.microelemente.ro/MikroPascal ... ly_MP7.zip
Now having similar problems with MP8

yo2lio
Posts: 1878
Joined: 19 Sep 2006 12:57
Location: Romania, Arad City
Contact:

#43 Post by yo2lio » 24 Jun 2008 06:15

MP8 have DEF files for this types of MCU.

Use original DEF file in your applications.
Best regards, Florin Andrei Medrea.

http://www.microelemente.ro/
http://www.microelemente.ro/produse-si-servicii/
http://www.microelemente.ro/custom-software/

mail : florin@microelemente.ro

kayh
Posts: 63
Joined: 22 Apr 2005 03:12

#44 Post by kayh » 25 Jun 2008 01:02

yo2lio wrote:MP8 have DEF files for this types of MCU.

Use original DEF file in your applications.
I'm testing the 18FJ examples in MP8 right now. Question, I can ping all fine also I can open web pages from Mozilla Firefox just fine. But internet explorer says it cannot open webpage (like it doesn't exist) Anyone know what settin in IE blocks it?

radiofm
Posts: 51
Joined: 22 Oct 2005 17:35
Location: Poznan, Poland

#45 Post by radiofm » 25 Jun 2008 09:00

IE (IE7) have too much info in header and when we request from the pic page we lost 1 packet and unfortunetly .... on IE it not working.

Post Reply

Return to “mikroPascal General”