Shop OBEX P1 Docs P2 Docs Learn Events
Parallax Serial Terminal in Linux — Parallax Forums

Parallax Serial Terminal in Linux

tdeyletdeyle Posts: 85
edited 2009-12-19 01:27 in Propeller 1
I am trying to run the PST Debugger under WINE on my Ubuntu 9.10 machine through the serial port.

I would like to know if anyone on the forums using Linux was able to use this program, and how did they do it?

I have combed the Wine-hq.org site trying to find an answer: I believed it has to do with how Wine configures the serial ports and how the programs interact with them. I configured the /dev/ttys0 as they stated here: www.winehq.org/docs/wineusr-guide/misc-things-to-configure, but to avail.

I was just wondering if anyone has given this a shot and it came out working.

Post Edited (tdeyle) : 12/18/2009 4:42:20 PM GMT

Comments

  • David CarrierDavid Carrier Posts: 294
    edited 2009-12-18 17:43
    tdeyle,
    The Propeller Tool, Propellent, and Parallax Serial Terminal all use the same API calls to use the com port. As far as I understand, WINE does not support some of these APIs. BradC was able to get the Propeller Tool working under WINE, but as of version 1.0.1, it does not look like his patches have been integrated.

    -- David Carrier
  • AJMAJM Posts: 171
    edited 2009-12-18 19:12
    I was able to get everything working under linux (propeller tool, PST, etc) but the COM ports. I had tried several methods that supposedly worked to no avail.

    Someone was kind enough to write a post with a link to their blog on how to successfully set up the serial ports.

    This has worked for me. I would suggest giving it a try: Link

    I had the trial version of viewport running under linux, initially, without serial port recognition. Unfortunately, I was past the 30 day trial limit when wine was configured correctly and can't comment on its performance yet.
  • tdeyletdeyle Posts: 85
    edited 2009-12-18 21:19
    Funny! I found that on the Wine forums! I am thinking that it might have to do with the updated Wine package that I have. I am going to try to install the one he is mentioning.

    <EDIT>
    I actually do have that version. But, I am using the serial port, not the USB. I think this is why it did not work. I saw in the BST threads that they are having trouble with Ubuntu 9.10 recognizing FTDI chips. I don't have one, I have a USB to Serial Converter with a Prolific chip. Supposedly, the drivers are included with the 2.6+ kernel. But... it still isn't working.

    I even tried Sun's VirtualBox with an XP install: no dice. When there is a repeat loop in the SPIN program, the VB crashes.

    I'll try reinstalling Wine and see if that cures it.

    Looks like I won't get any sleep tonight!

    Post Edited (tdeyle) : 12/18/2009 9:31:53 PM GMT
  • AleAle Posts: 2,363
    edited 2009-12-18 21:49
    No need for tricks, use BST:

    propeller.wikispaces.com/Mac+and+Linux+native+development

    ▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
    Visit some of my articles at Propeller Wiki:
    MATH on the propeller propeller.wikispaces.com/MATH
    pPropQL: propeller.wikispaces.com/pPropQL
    pPropQL020: propeller.wikispaces.com/pPropQL020
    OMU for the pPropQL/020 propeller.wikispaces.com/OMU
  • tdeyletdeyle Posts: 85
    edited 2009-12-19 00:02
    I do use BST, but I wanted the Parallax Serial Terminal because I like to use the Spin Debugger that Parallax released. I already tried the terminal that is built-in BST, but, it doesn't have the same formatting as the Parallax.

    And.. it looks like I will be getting some sleep after all! It turns out that the Wine version that the Ubuntu repository has is 1.1.34. I was removed it, then installed it again, this time forcing that revision 1.0.1.

    I relaunched the Parallax Serial Terminal, reloaded the Propeller with the PST Debugger Demo in BST and bam! It worked!

    Thanks AJM, for mentioning that link again!
  • AJMAJM Posts: 171
    edited 2009-12-19 01:27
    I'm glad that it worked for you too. All credit goes to the original poster

    I also use BST pretty much exclusively. In this case I feel the effort is worth it, especially if the propscope works under linux. I can't see why it wouldn't. Some day I will have to order one.
Sign In or Register to comment.