Propeller Webserver Load Test
Harrison.
Posts: 484
I have been working on a self contained Propeller I/O Device and Webserver for probably 7 months now. I started in Dec 2006 but stopped development for a while since I lost interest. I recently started working on it again, mainly so I could make my own web controllable power strip and i/o controller.
I didn't feel the need to post mine on the forums since it seemed like people were not interested. Franz's awesome implementation shows that there is indeed interest, so I am going to post mine here so you guys can take a look and tell me what you think.
Link: pham.harrisonpham.com:88/
I/O Control page login: user / prop
Also, the pages might load slow since I am performing a load test by requesting a page from the Prop every second and pinging it constantly. The I/O control page only works for the first 3 i/o pins. The rest of them cause weird things since I am only processing the first 3 bits.
Harrison
Post Edited (Harrison.) : 8/15/2007 6:28:29 PM GMT
I didn't feel the need to post mine on the forums since it seemed like people were not interested. Franz's awesome implementation shows that there is indeed interest, so I am going to post mine here so you guys can take a look and tell me what you think.
Link: pham.harrisonpham.com:88/
I/O Control page login: user / prop
Also, the pages might load slow since I am performing a load test by requesting a page from the Prop every second and pinging it constantly. The I/O control page only works for the first 3 i/o pins. The rest of them cause weird things since I am only processing the first 3 bits.
Harrison
Post Edited (Harrison.) : 8/15/2007 6:28:29 PM GMT
Comments
all credits are yours because i am testing my new hardware (easyPROP)·with the awesome Harrison code
Very, very nice made but there are some problems when i blow up the HTML code.
Harrison, why don't you upload your code to the Propeller Objects?????
Its allready very usefull !!!!!!!
Ok, we still have to find the hidden bugs.
have fun
Franz
·
I didn't like the object exchange since the code is still under massive revision, and I didn't want to wait for the approval process. Therefore I am going to host this project on google code. Watch for updates at proptcp.googlecode.com . I will be committing current code via subversion so people can track the progress of the project.
Harrison
But if we make some improvements and testings it would be a better idea if you post it
at the object exchange later on.
This is a powerfull tool that we have to promote !!!!!!!
Therefore my Prop is now online
br
Franz
I am testing my new iCONSOLE pcb which has an enc28j60 on-board. These boards are fairly new and I am working on several prop designs concurrently so I haven't even tackled the ethernet yet. Eventually I will have a working CogForth to implement my ethernet code in after I work around the lack of macro support and other issues with the Spin IDE.
In the meantime I would be very interested in your code, even if it is not 100%, as long as I can test the ethernet and make sure the hardware's ok.
Some preliminary info on the iCONSOLE (on my manufacturer's website) which is mainly a testbed at present for the Propeller.
www.cescom.com.au/new/products/CE-0074/CE0074DS.pdf
TIA
*Peter*
Harrison
Post Edited (Harrison.) : 8/16/2007 12:50:32 AM GMT
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
E3 = Thought
http://folding.stanford.edu/·- Donating some CPU/GPU downtime just might lead to a cure for cancer! My team stats.
Can I purchase your new board at this time?
You can send me a private message or e-mail.
Rob7
I understand your concern about licensed code. The main thing that scares me is the fact that a lot of propeller code do not have any usage licenses. This could lead to problems for both the user and the author of the code. Therefore I am seeking a good clean license for the base code. I realize that the GPL is a bit too restrictive, but it seemed like a safe license to use for the early release code, especially since the GPL does not lock the author from relicensing the code.
I am now looking at the MPL (Mozilla Public License). I believe this license only requires changes to the original source be released, any other code can be closed source, GPL, or whatever. Legal speak is confusing so I am still looking for a good explanation on licenses. If anyone has any preferences, feel free to post them.
Harrison
Gr,
Mightor
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
| Any sufficiently advanced technology is indistinguishable from magic.
Harrison,
I used a version based on your code for my prop based test application over a month ago ......
http://forums.parallax.com/showthread.php?p=660749 - It works .As you pointed out it still needs some work - time I don't have right now - due to committments (would love to dedicate more time to it).
What I was wondering though - If you plan to license this - how would it pan out with Microchip especially as it is based on the ENC28J60 directives and methods ? Not quite too sure if it would be entirely possible to license this effectively
- What I was hoping to do eventually is have a closer look at porting the example Microchip PIC C versions to Propeller C when ImageCraft have a version of Propeller C available ....
For all:
Loads of ongoing ENC28J60 projects on the go at the moment .... still nothing rock solid IMO .
www.electronicfr.com/enc28j60.html
www.mil.ufl.edu/~chrisarnold/components/microcontrollerBoard/AVR/avrlib/docs/html/group__enc28j60.html
Data Sheet:
shop.tuxgraphics.org/snippets/enc28j60.pdf?id=274f58
Errata:
shop.tuxgraphics.org/snippets/enc28j60-R4_errata.pdf?id=2322c2
Example Stack Downloads and data (PIC C based):
www.ljcv.net/projects/picdem2/index.html
While these are not Propeller based they give an insight to the methods ....
Regards,
John
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
'Necessity is the mother of invention'
Post Edited (QuattroRS4) : 8/16/2007 8:35:05 AM GMT
My mindset is that there are always a few unethical companies that will try to steal open domain source code. Therefore it is probably best to release code under some sort of license, even if it is just to protect the copyright and use of the name.
It is a permissive license which requires attribution to the original author but otherwise allows the user to use or modify the code, and even allows the user to change license as long as the new liscense does not contradict with the terms of AFL.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Paul Baker
Propeller Applications Engineer
Parallax, Inc.
me and my friend are working on a students project, building an rfid/zigbee reader with the propeller. we're also planning to hook on the microchip enc28j60. you're tcp/ip stack implementation sounds very promising. we were wondering if you have any additional documentation available on your work.
no problem. we decided to use a simple serail connection to communicate with the host. so we don't have to to bother about tcp/ip stack. we anyway have enough stuff to do in our project and little time, so we'll keep it simple.