Shop OBEX P1 Docs P2 Docs Learn Events
Browser-based serial terminal for P1/P2 — Parallax Forums

Browser-based serial terminal for P1/P2

I ran into this gizmo a while back and I found it useful, so I'll put it up here for general review.

Need a very light serial terminal but dont want to install (or cant install) TeraTerm, etc? Point your browser at https://www.serialterminal.com and hit return. Configure the baud rate, select the serial port to use, and boom, your browser is now a serial terminal. You can even save the HTML to a file and load the file if you don't have an internet connection. Caveat: Only works on Chrome and Edge. Firefox is "working on it".

This saved my bacon the other day when I had a thing running on a P2-Eval and it started misbehaving. I needed to get into the menu system I'd coded in, but I didn't have my dev system with me. This URL worked a treat.

Enjoy.

Comments

  • It seems to be a nice piece of software, indeed; thanks for sharing the link, but... as one follows the linked github page, (as provided by the author, Mike Molinari) and continues reading from issue #1 (in blue, near th bottom of page), and beyound, the explanations about Brave and Firefox concerns (as stated by the respective security teams) seems to be enough (at least to me), to help understanding why I'll personally avoid enableing such kind of "deeper access" into any of my current systems (Windows 7 Ultimate, and Windows 8.1 Professional).

    In the past three decades (ouch), such kind of "penetration allowance" has deemed too many systems completelly unuseable, untill total rebuild (software-wise), including boot eeproms and hard drive reformating.

    If one has a spare notepad, or smartphone available for "temptatively being trashed" (including any contents saved on SD cards, or its safety level), it seems to be a useful tool.

    Just my two cents...

    Henrique

  • Interestingly, there is no config needed in either Chrome or Edge. They just work. But apparently in Firefox you do have to tamper with security a bit because FF has a different engine under the hood. I was also hesitant and refused to give anything access it didnt already have. Dunno if thats a false sense of comfort on my part, but I guess we will find out! 👍

  • Phil Pilgrim (PhiPi)Phil Pilgrim (PhiPi) Posts: 23,514
    edited 2022-04-16 00:17

    I just tried serialterminal.com to do a large data dump from one of my CO2 meters. But, like the serial terminal that accompanies the Propeller Tool, it has too small a buffer to accommodate a large dump. That's why I use Termite for large data downloads. Plus, with Termite, you can do a Ctrl-A in the output window to select-all, then copy and paste to a spreadsheet.

    -Phil

  • YanomaniYanomani Posts: 1,524
    edited 2022-04-16 12:58

    I'm no specialist on it, but, In the past, Termite could be used to craft some interesting man-in-the-middle experiments (https://localcoder.org/sniffing-data-of-serial-port-without-removing-data-from-buffer)

    Another option can be resorting to Alacrytti Alacritty, that is being activelly developed, and appears to superseed Termite in many aspects.

    https://alacritty.org/

  • @"Phil Pilgrim (PhiPi)" said:
    I just tried serialterminal.com to do a large data dump from one of my CO2 meters. But, like the serial terminal that accompanies the Propeller Tool, it has too small a buffer to accommodate a large dump.

    I havent tried this, but there is a single line in the source that controls when it chops the display buffer. You might try editing that line (currently set at 3000) or just removing it completely and see what happens.

Sign In or Register to comment.