Teensyduino 1.59.0 with IDE 2.3.7, Teensy 4.0: Serial Monitor data can't be copied

rjsdotorg

Active member
Using Teensyduino 1.59.0 in IDE 2.3.7, a Teensy 4.0 and Win10, the Serial Monitor output can't be copied. CTRL-A, mouse-drag etc.
L-Clicking the window, CTRL-A, selects all of the code tab above. It's like the event is being grabbed by the tab panel.
This is after the code (a 2 second ADC collection) is stopped, auto-scroll is off as well.
 
Last edited:
The serial monitor simply isn't very good, even when it does copy it only grabs what is currently visible. Any selected text that is scrolled off-screen doesn't get copied.
You're better off using something like TyCommander if you want to save/copy the output (and have it auto-reconnect whenever you reset the board).
 
The serial monitor simply isn't very good, even when it does copy it only grabs what is currently visible. Any selected text that is scrolled off-screen doesn't get copied.
You're better off using something like TyCommander if you want to save/copy the output (and have it auto-reconnect whenever you reset the board).
This is after the code (a 2 second ADC collection) is stopped, auto-scroll is off as well.
 
I added the platform.local.txt to the Arduino AppData\Local\... with
Code:
tools.teensyloader.cmd.path=C:\Program Files (x86)\TyTools\TyCommanderC.exe
tools.teensyloader.upload.pattern="{cmd.path}" upload --autostart --wait --delegate "{build.path}/{build.project_name}.hex"

and restarted the IDE.
Works fine.

Odd that when I try Tools>Integrate to Arduino in TyCommander it doesn't like any "location" I select.
 
Supposedly there are some nightly arduino IDE builds with a "copy output" button in the serial monitor as a workaround for their broken behaviour. I haven't tested them (because I still think the Serial Monitor is pretty rubbish; why isn't it a basic ascii terminal with optional support for escape/control sequences that would allow cursor positioning/screen clearing...)
 
Supposedly there are some nightly arduino IDE builds with a "copy output" button in the serial monitor as a workaround for their broken behaviour. I haven't tested them (because I still think the Serial Monitor is pretty rubbish; why isn't it a basic ascii terminal with optional support for escape/control sequences that would allow cursor positioning/screen clearing...)
+1
I just tested the Windows 2.3.8 nightly 20251224
there is a "Copy Output" icon at top right of the bottom pane.
 
I added the platform.local.txt to the Arduino AppData\Local\... with
Code:
tools.teensyloader.cmd.path=C:\Program Files (x86)\TyTools\TyCommanderC.exe
tools.teensyloader.upload.pattern="{cmd.path}" upload --autostart --wait --delegate "{build.path}/{build.project_name}.hex"

and restarted the IDE.
Works fine.

Odd that when I try Tools>Integrate to Arduino in TyCommander it doesn't like any "location" I select.
The Integrate worked for the IDE 1.x installation.

The use with platform.local.txt is very good and the added --delegate still uses the PJRC Loader for upload. Got that added when the T_4.x LOCKABLE went into Beta. Though @Koromix has recently posted an alternate EXE of TyCommander on github that could be used that wasn't tried as the handoff to the Teensy Loader works fine - and provides 'verbose' output if there is any issue.
 
The serial monitor simply isn't very good, even when it does copy it only grabs what is currently visible. Any selected text that is scrolled off-screen doesn't get copied.
You're better off using something like TyCommander if you want to save/copy the output (and have it auto-reconnect whenever you reset the board).
Quite Right!
TyCommander allows Multiple Teensy connect and usage and support Dual and Triple USB as well. And gives info like what COM PORT # for Windows use and even allows friendly naming tied to each unique Serial#. It also caches all the streamed SerMon data to a disk TXT file for later recall when that helps, cycling between some 3 files in turn as the default or user config size is reached.
 
Supposedly there are some nightly arduino IDE builds
Should be in current release.

i also use TyCommander some of the time, some times I use PuTTY or KiTTY when
i am outputting from zephyr or the like that desires terminal emulation
 
Confirmed 2.3.7 does have a "Copy Output" icon at top right of the bottom pane.

I also just installed Arduino IDE for Visual Studio 2022+ with Arduino IDE extension, as well as "Serial Monitor 2".
(I use VS Code for Python projects)
The basic VS Port Monitor also works.
I haven't figured out how to get the upload feature/button to work yet. The path seems to be CLI hooks which are a bit obtuse.
I added https://platformio.org/platformio-ide to my VS Code install and it seems to run nicely one I found the right buttons and made a new workspace.
 
Last edited:
Back
Top