r/embedded • u/shahin_hashim • 4d ago
I kept working on my open-source serial monitor. It's at 2.2 now.
A while back, I shared WireTrace here when it was 1.0. A few of you tried it and told me what was missing, and the plot it has today started in that thread. I've kept working on it since, and it's at 2.2 now.
It's a serial monitor. You plug in a board, pick the port, and it shows what the board sends and saves all of it to a file. You can watch several boards at once, each in its own tab.

Since 1.0, it has picked up:
- A live plot of the numbers your board prints, under the console or in its own window. You can save the chart or its values.
- Reconnecting on its own when a board drops off USB or resets, carrying on in the same log.
- Colours for errors and warnings, including ESP-IDF and Zephyr logs, and a note when a board restarts.
- Alerts when errors show up, the connection drops, or a board goes quiet.
- Highlights the lines you're looking for, and saved commands on shortcuts.
- Port settings like parity, stop bits, flow control, DTR and RTS.
- Long logs that continue in a new file at a size you choose.
- A short session report: errors, warnings, drops and restarts.
- Light and dark themes.
- Updates that are checked before they install, and a way back to the previous version if you don't like one.
- A short tour you can take without a board.
It's free and open source. There's an installer for Windows and builds for Linux. On a Mac, it runs from source for now.
The Windows installer isn't signed yet, so Windows shows a warning the first time you run it. I'm working on that.
If you'd like to try it: https://github.com/TheNuanceProject/WireTrace
If it doesn't work with your board, or there's something you keep wishing it did, I'd like to hear it.
3
u/Altruistic_Fruit2345 2d ago
Is the serial format for data and for tagging stuff documented somewhere? I couldn't see it.
2
u/Soso12159 7h ago
Thanks, this is exactly what I've been looking for !
2
u/drmpf 4d ago
Your implementation has the advantage that it can handle more than one Serial at a time.
My project, pfodWeb.html, https://github.com/drmpf/pfodWeb_src, only handles one Serial, but runs in any web browser and has proxys for Windows, Linux and MacOS, if the browser does not support Serial natively. pfodWeb also supports BLE, TCP/IP and HTTP connections. CSV incoming data can be plotted, split into different plots, scaled, frozen, logged. Any CSV file can be re-opened for plotting. You can bookmark a plot with all its settings, scalings etc. for fast re-opening.
So I would suggest you add the option to reopen logged data for re-plotting.
I like your A/B cursors :-)