As far as I know, there isn't one. I use goSerial (donationWare) or MacWise (shareWare - $95). These don't handle the control functions of PST that are not ANSI standard, but MacWise has full standard VT100 emulation.
bst has it's own simple terminal program. It's a little quirky to setup. Here is how to do it on a PC (presume Mac will be similar)
Enable the terminal first through the top menu, set the port, speed, and then connect.
Now with the terminal window open you can return to the bst editor and compile and download. If successful, the terminal window opens automatically.
Thanks for the two excellent replies. The Prop is running RCFAST ~12MHz. When GoSerial is connected to the Prop's USB port, BST cannot find the Prop. When GoSerial is not connected, BST finds the prop.
I'm trying to run the program below. GoSerial should set to what baud rate?
{{┌──────────────────────────────────────────┐
│ Parallax Serial Terminal QuickStart v1.0 │
│ Author: Jeff Martin, Andy Lindsay │
│ Copyright (c) 2009 Parallax Inc. │
│ See end of file for terms of use. │
└──────────────────────────────────────────┘
Template for Parallax Serial Terminal Test applications; use this to quickly get started with a Propeller chip
running at 80 MHz and the Parallax Serial Terminal software (included with the Propeller Tool).
How to use:
o In the Propeller Tool software, press the F7 key to determine the COM port of the connected Propeller chip.
o Run the Parallax Serial Terminal (included with the Propeller Tool) and set it to the same COM Port with a
baud rate of 115200.
o Press the F10 (or F11) key in the Propeller tool to load the code.
o Immediately click the Parallax Serial Terminal's Enable button. Do not wait until the program is finished
downloading.
}}
'CON
' _clkmode = xtal1 + pll16x ' Crystal and PLL settings.
' _xinfreq = 5_000_000 ' 5 MHz crystal (5 MHz x 16 = 80 MHz).
OBJ
pst : "Parallax Serial Terminal" ' Serial communication object
PUB go | value
pst.Start(1200) ' Start the Parallax Serial Terminal cog
''---------------- Replace the code below with your test code ----------------
pst.Str(String("Convert Decimal to Hexadecimal...")) ' Heading
repeat ' Main loop
pst.Chars(pst#NL, 2) ' Carriage returns
pst.Str(String("Enter decimal value: ")) ' Prompt user to enter value
value := pst.DecIn ' Get value
pst.Str(String(pst#NL,"Your value in hexadecimal is: $")) ' Announce output
pst.Hex(value, 8) ' Display hexadecimal value
{{
┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐
│ TERMS OF USE: MIT License │
├──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┤
│Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation │
│files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, │
│modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software│
│is furnished to do so, subject to the following conditions: │
│ │
│The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.│
│ │
│THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE │
│WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR │
│COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, │
│ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. │
└──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘
}}
Another update. It's working (with Mac BST & BST's Terminal)! The Prop is set to RCFAST with no crystal. I tried all the possible baud rates with Mac BST's serial terminal while matching the settings with the program shown in the previous post. It hit the magic number at 1200 baud. Format is 8 bits. Parity none. The port is set to the Prop's port. Set Terminal Echo to on, to see inputted values.
PropGCC's IDE has a PST compatible terminal program which would include a Mac version. I haven't really used it. It may be BST's terminal program repackaged.
The issue with RCFAST is that the actual clock speed may be anything between 12MHz and 20MHz (roughly) with variations from chip to chip, with supply voltage, and with chip temperature. The last can vary with ambient temperature, the number of cogs in use, and the I/O pin current drawn. Fortunately, asynchronous serial is somewhat forgiving of minor variations in speed.
PropGCC's IDE has a PST compatible terminal program which would include a Mac version. I haven't really used it. It may be BST's terminal program repackaged.
The terminal within SimpleIDE (what Mike called PropGCC IDE) is not a repackaging of BST's terminal program. SimpleIDE is a Qt-developed app that builds for Windows, Mac OS X and Linux systems, though no Linux versions has been officially released. The IDE's source code has been built on Linux systems such as Raspberry Pi's Raspian (Debian Linux based) OS.
SimpleIDE uses propgcc (and its variants of C & C++ compilers, loader and utilities) as its C tool set. It currently does use BST's spin compiler, though that can be replaced by an open source spin compiler. Future versions of the IDE will be updated to use the open source spin compiler as default.
I believe the terminal within SimpleIDE handles much if not all of PST's features and is a good replacement for PST in my experience. Even if you code and build with other spin IDEs/compilers, SimpleIDE's terminal should work well for you.
Though SimpleIDE is mainly advertised as a C language IDE, Spin can be compiled. Even if you don;t use the IDE for compiling, its terminal may be a great utility for you.
The issue with RCFAST is that the actual clock speed may be anything between 12MHz and 20MHz (roughly) with variations from chip to chip, with supply voltage, and with chip temperature. The last can vary with ambient temperature, the number of cogs in use, and the I/O pin current drawn. Fortunately, asynchronous serial is somewhat forgiving of minor variations in speed.
Are there any specific studies of the RCFAST and RCSLOW showing clock variance values based on temperature, voltage, cogs, pins and chip variations? I've become interested in simple self adjusting serial programs that could "calibrate" and "sync" based on the knowledge and characteristics of these values.
Comments
Enable the terminal first through the top menu, set the port, speed, and then connect.
Now with the terminal window open you can return to the bst editor and compile and download. If successful, the terminal window opens automatically.
I'm trying to run the program below. GoSerial should set to what baud rate?
The issue with RCFAST is that the actual clock speed may be anything between 12MHz and 20MHz (roughly) with variations from chip to chip, with supply voltage, and with chip temperature. The last can vary with ambient temperature, the number of cogs in use, and the I/O pin current drawn. Fortunately, asynchronous serial is somewhat forgiving of minor variations in speed.
The terminal within SimpleIDE (what Mike called PropGCC IDE) is not a repackaging of BST's terminal program. SimpleIDE is a Qt-developed app that builds for Windows, Mac OS X and Linux systems, though no Linux versions has been officially released. The IDE's source code has been built on Linux systems such as Raspberry Pi's Raspian (Debian Linux based) OS.
SimpleIDE uses propgcc (and its variants of C & C++ compilers, loader and utilities) as its C tool set. It currently does use BST's spin compiler, though that can be replaced by an open source spin compiler. Future versions of the IDE will be updated to use the open source spin compiler as default.
I believe the terminal within SimpleIDE handles much if not all of PST's features and is a good replacement for PST in my experience. Even if you code and build with other spin IDEs/compilers, SimpleIDE's terminal should work well for you.
Though SimpleIDE is mainly advertised as a C language IDE, Spin can be compiled. Even if you don;t use the IDE for compiling, its terminal may be a great utility for you.
You can get Windows and Mac OS X versions here: Propeller C | learn.parallax.com
In this example, I've replaced BST's Spin compiler with a version of the open spin compiler that I built from source...
dgately
Are there any specific studies of the RCFAST and RCSLOW showing clock variance values based on temperature, voltage, cogs, pins and chip variations? I've become interested in simple self adjusting serial programs that could "calibrate" and "sync" based on the knowledge and characteristics of these values.