| mikroElektronika http://www.mikroe.com/forum/ |
|
| ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM http://www.mikroe.com/forum/viewtopic.php?f=10&t=10483 |
Page 1 of 3 |
| Author: | yo2lio [ 21 Jun 2007 21:27 ] |
| Post subject: | ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 FAM |
Hello all, I finished today 21.06.2007, BETA version of Eth_V2 library with WEB SERVER example for PIC18F97J60 family MCU for MikroBasic language. Author of this project : Medrea Florin Andrei - YO2LIO - Thanks to Mikroelektronika team and all forum users. Web Server example : (No TCP STACK, No fragmentation available at this moment). Initial IP Address : 192.168.1.253. HTTP port respond : 80. //192.168.1.253/ (web page1) //192.168.1.253/p (web page2) User Functions and Procedures: Code: Select all ' Sub Procedure Eth_SetParameters Advance Functions and Procedures : (AddrPacket is address of received packet, TXSTART is start address of transmited packet) Code: Select all ' Sub Procedure CopyEthMemToRam(dim start_eth_address, dest_ram_address, length_w as word) You can download the code from here: http://www.microelemente.ro/MikroBasic/ ... Eth_V2.zip Definitions files for this MCU family, you found here : http://www.mikroe.com/forum/viewtopic.php?t=10454 UDP Bootloader for PIC18F97J60 family, you found here : http://www.mikroe.com/forum/viewtopic.php?t=11260 Good luck ! Best regards, Florin Medrea. |
|
| Author: | zristic [ 22 Jun 2007 07:57 ] |
| Post subject: | Re: ETHERNET LIBRARY WITH WEB SERVER EXAMPLE FOR PIC18F97J60 |
Thanks Florin! |
|
| Author: | yo2lio [ 19 Aug 2007 23:51 ] |
| Post subject: | Ethernet library V3.2 and example for LV18FJ board |
Coming soon : Ethernet library V3.2 and example for LV18FJ board This library is SMALLER and FASTER. |
|
| Author: | yo2lio [ 22 Aug 2007 13:10 ] |
| Post subject: | |
Definitions file for PIC18F97J60 family, MikroBasic language, was revised. File update is recommended. Revised file you found here : http://www.mikroe.com/forum/viewtopic.php?t=10454 |
|
| Author: | yo2lio [ 22 Aug 2007 16:47 ] |
| Post subject: | Ethernet library V3.2 and example for LV18FJ board |
Ethernet library V 3.2 MCU family PIC18F97J60 Major changes !!! Some parts from V3.2 library is written in ASM and use indirect addressing and DMA. Library is 10% smaller and faster. Added few routine in "aditional_string_lib": Code: Select all - Sub Function Str2Byte(dim byref byte_in as string[3]) as byteAdded : Code: Select all - Sub Function Send_Ping(dim byref ip_address as byte[4]) as wordYou have ARP, ICMP, UDP, TCP, Mini Web Server examples, designed for LV18FJ board. Parameters : ARP response time : 317 us ICMP response time, packet size 32 bytes : 330 us ICMP response time, packet size 1472 bytes : 3.2 ms TCP connection response time : 620 us UDP ECHO response time, method Eth_PutByte(Eth_GetByte), packet size 1442 bytes : 9.7 ms Bandwidth : 1.3 Mbits/s UP/DOWN UDP ECHO response time, method CopyEthMemToEthMem(AddrPacket+42, TXSTART+42, len_U, 0), packet size 1442 bytes : 3.4 ms Bandwidth : 3.0 Mbits/s UP/DOWN You can download code from : http://www.microelemente.ro/MikroBasic/ ... amples.zip UDP BootLoader V3 , smaller and faster, you can download here : http://www.mikroe.com/forum/viewtopic.php?t=11260 |
|
| Author: | yo2lio [ 24 Oct 2007 20:02 ] |
| Post subject: | |
Hi, Ethernet lib file V 3.2 MCU family PIC18F97J60 , recompiled with MikroBasic 6.0 http://www.microelemente.ro/MikroBasic/ ... _files.zip |
|
| Author: | yo2lio [ 12 Nov 2007 22:49 ] |
| Post subject: | |
Ethernet Library V3.3 is ready. Please read this post : http://www.mikroe.com/forum/viewtopic.p ... 9&start=22 |
|
| Author: | hansolo [ 06 Dec 2007 14:22 ] |
| Post subject: | |
What development board do you use to test your programs? Did you develop your own board? Hansolo |
|
| Author: | yo2lio [ 06 Dec 2007 20:32 ] |
| Post subject: | |
No, I use LV18FJ board from Mikroelektronika. Thanks to Zoran. |
|
| Author: | hansolo [ 12 Dec 2007 12:11 ] |
| Post subject: | |
yo2lio wrote: No, I use LV18FJ board from Mikroelektronika. Thanks to Zoran.
Did you get it free from mE since you have done so much work in the serial ethernet area? You must be one of the first to use the board. Hansolo |
|
| Author: | yo2lio [ 12 Dec 2007 12:17 ] |
| Post subject: | |
hansolo wrote: Did you get it free from mE since you have done so much work in the serial ethernet area? hansolo wrote: You must be one of the first to use the board.
The LV18FJ board is GREAT ! |
|
| Author: | BarryP [ 26 Dec 2007 21:58 ] |
| Post subject: | |
Hi Did your board come with a 41.6667 MHz Xtal ? Just received my board a few days ago & it has a 25mhz. |
|
| Author: | yo2lio [ 26 Dec 2007 23:24 ] |
| Post subject: | |
Board have 25 MHZ Xtal (this frequency is used by Ethernet). And MCU clock is 41.666667 Mhz. For this you must set in configuration OSC HS PLL and at beginning of program OSCTUNE = %01000000 |
|
| Author: | BarryP [ 27 Dec 2007 05:38 ] |
| Post subject: | |
Ah Ha !! A Little More of the Cloud Lifts So Much to Read & Learn ! Thanks Heaps For the Lib's + Examples It's great to have something that just works 'Out Of The Box' Regards Barry |
|
| Author: | BarryP [ 04 Jan 2008 00:17 ] |
| Post subject: | |
Hi Havin lotsa fun with this stuff !! I was using your mini web server example as the basis for my own project. when asking for data using "var jsel = document.createElement('SCRIPT');"+ "jsel.type = 'text/javascript';"+ "jsel.src = 'value.js';"+ "document.body.appendChild (jsel);"+ I got weird results. The fist time it was executed , there was no data , but the data WAS sent. The second time it was executed the data was actually the first lot of data. I tried heaps of diff things in the jscript to solve this , but All to no avail. After a lot of web searching , I bumped into AJAX Highly recommend looking into this if ya haven't already |
|
| Page 1 of 3 | All times are UTC + 1 hour |
| Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |
|