Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
07/29/08 19:46
Read: times


 
#157134 - 80c552 development board available online
Literally. Online. As an educational tool, I have written some CGI to allow the web visitor to upload a C file which gets automatically compiled with SDCC and stored on the server (for up to an hour), then the visitor can upload the IHX file and have access to the connected 80c552 board for 15 seconds. The resulting data written back to the web server (from the 80c552, over the RS232 port) is saved to disk and available for the visitor to examine/save, etc.

Here's the URL:

http://www.thermalassociatescorp.com/80c552/co...mpile.html

On that page I provide a link to a very simple C file that I have tested to compile and execute. It writes back "012345678901234567890123456789........01234567890123456789".

Output files are named out_<numberofsecondssince1970>, so that no two will be named the same.

While one visitor is executing a program, other visitors are placed on hold. After fifteen seconds, the serial connection to the 80c552 is broken, and whatever data collected is then written to disk. This is in case there's an infinite loop. Before each execution, the power to the 80c552 is interrupted, to reset it for the next run.

Have fun, and let me know if you have any troubles!
kef762@yahoo.com

No replies in thread

Back to Subject List