Asking for HELP to get started form zero
ernstj
Posts: 7
Dear readers, I have downloaded many .spin files. Does someone have, let say one .spin file (or more ;-) with I had to upload to the Spinneret. Just for saying "Hello World" (how original) when I connect to the Spinneret through TCP/IP. When I have to setup in one of the files for the IP-number, gateway etc thats no problem. Just to start, I can't find step 1.
Thanks !!!!
Greetings ErnstJ
Thanks !!!!
Greetings ErnstJ
Comments
Here's a tutorial.
http://spinneret.servebeer.com:5000/
Google Code Repository
http://code.google.com/p/spinneret-web-server/source/browse/#svn%2Ftrunk
This looks GOOD. I'm working on it. THANKS.
Using this in the DAT
mac byte $00, $08, $DC, $16, $EF, $22
subnet byte 255, 255 ,255, 0
gateway byte 192, 168, 2, 254
ip byte 192, 168, 2, 125
port word 5000
remoteIp byte 192,168,2,4 {192.168.2.4}
remotePort word 80
uport word 5050
and then F11 I got the Error
"Propeller chip lost on COM5." at the point of "verifying RAM".
How many Gb the SD-Card may be??
In the DAT portion:
'Mount the SD card
pst.str(string("Mount SD Card - "))
'SDCard.mount(fileErrorHandle)
pst.str(string("OK",13))
In the Terminal screen no message is to be seen.
Thanks for the support. I feel it will run "Hello World" very soon.
ErnstJ
Go to this link to learn how to post code in the forums. Members will be able to read your code easier in the future and you will probably get more help and quicker.
-Ron
I use a 2 and 4 Gig SanDisk. Pick up an SD card they are very useful for logging page requests which helps in troubleshooting issues.
I believe you are referring to "Setting Up Your Spinneret". The error message is not displayed in the terminal screen. A 404 error page is returned when index.htm is requested but not found.
I shall remember it ;-)
bye bye ErnstJ
- I have increased the pause from 200 to 2000
and have formatted my SD-Card for FAT32.
AND it works. Thank you all, the party can start :-)
I tried opening up the Multisocket Base code on the tutorial website however i'm having difficulty getting it to open. I"m being told it cannot be opened as archive. I tried saving the ZIP file to my desktop and extracting the data and that didn't work. I then downloaded 7-ZIP and tried to get that to unzip the file and i get the same error of cannot open file as archive. What i am doing wrong?
Thanks,
Download the file again -> right click -> Extract All...
Grab the files from the Google Code Repository If you still have problems. The SpinneretMultiSocketManual.zip file contains the HTML tutorial manual and all the source code.