Shop OBEX P1 Docs P2 Docs Learn Events
Asking for HELP to get started form zero — Parallax Forums

Asking for HELP to get started form zero

ernstjernstj Posts: 7
edited 2011-08-28 09:23 in Accessories
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

Comments

  • Mike GMike G Posts: 2,702
    edited 2011-08-27 09:12
  • ernstjernstj Posts: 7
    edited 2011-08-27 10:22
    Mike G wrote: »

    This looks GOOD. I'm working on it. THANKS.
  • ernstjernstj Posts: 7
    edited 2011-08-27 10:50
    Thanks Mike G.

    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
  • RonPRonP Posts: 384
    edited 2011-08-27 13:52
    -Welcome 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. :smile:

    -Ron
  • Mike GMike G Posts: 2,702
    edited 2011-08-27 17:33
    ernstj wrote:
    and then F11 I got the Error
    "Propeller chip lost on COM5." at the point of "verifying RAM".
    That sound more like a issue with your connection. Check your USB cable and driver.
    ernstj wrote:
    How many Gb the SD-Card may be??
    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.
    ernstj wrote:
    In the Terminal screen no message is to be seen.
    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.
  • ernstjernstj Posts: 7
    edited 2011-08-28 01:04
    Thank you RonP.
    I shall remember it ;-)
    bye bye ErnstJ
    RonP wrote: »
    -Welcome 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. :smile:

    -Ron
  • ernstjernstj Posts: 7
    edited 2011-08-28 02:01
    I have done 2 things so I'm not sure what was the great step.
    - I have increased the pause from 200 to 2000
      pst.Start(115_200)
      pause(2000) 
    
      'Mount the SD card
      pst.str(string("Mount SD Card - ")) 
      SDCard.mount(fileErrorHandle)
      pst.str(string("OK",13))
      
      pst.str(string("Start RTC: "))
      rtc.RTCEngineStart(29, 28, -1)
      
      pause(2000)
      pst.str(FillTime)
    

    and have formatted my SD-Card for FAT32.

    AND it works. Thank you all, the party can start :-)
  • AKruzelAKruzel Posts: 25
    edited 2011-08-28 07:41
    Hello all,

    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,
  • Mike GMike G Posts: 2,702
    edited 2011-08-28 09:23
    I downloaded the zip files from several machines on different platforms in separate locations. I can't reproduce the issue. The last person with this problem was able to extract the file in XP but not Win7.

    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.
Sign In or Register to comment.