Shop OBEX P1 Docs P2 Docs Learn Events
S2 Test Utility — Parallax Forums

S2 Test Utility

icepuckicepuck Posts: 466
edited 2011-02-08 16:49 in Robotics
I recently discovered this while looking through the default.spin code and got it to work in windows as described in the code comments.
So feeling brave I set up BST in ubuntu 10.10 and tried the BST serial terminal, all I got was garbage, so I tried GtkTerm serial terminal and got the same thing. I'm using the parallax usb2serial adapter.
I went back to windows to use the parallax serial terminal and it still worked.
But now this has got me wondering-whats PST doing differently than a plain serial terminal? Or is it something to do with the adapter?
-dan

Comments

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2011-02-08 13:36
    PST accepts pre-defined control characters for positioning and formatting things on the screen. IIRC, the test program makes use of those. You might also check to make sure you're using the right baudrate.

    -Phil
  • icepuckicepuck Posts: 466
    edited 2011-02-08 16:49
    This is from default.sipn

    ''S2 Test Utility:
    ''
    ''A Serial Terminal Test Utility has been included with
    ''the default program for testing the S2. The utility
    ''includes a factory test and several debugging
    ''programs. The utility was designed to be used with
    ''a host PC running the Parallax Serial Terminal program.
    ''
    ''Parallax Serial Terminal Program Setup
    ''
    ''Com Port: Choose the correct port for the S2
    ''Baud Rate: 19,200bps
    ''Click Restore Defaults in the Preferences Window
    ''The DTR, RTS & Echo On Boxes should be unchecked
    ''
    ''With the Parallax Serial Terminal enabled on the
    ''host PC, hold down the blue button while turning on
    ''the S2's power switch to start the utility. To exit
    ''the Test Utility, cycle the S2's power switch.

    I'll check my settings again just to be sure, if that doesn't do
    it may be the control characters are messing up things..
    -dan
Sign In or Register to comment.