Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic COM port selection won't stay selected when using multiple ports (Read 876 times)
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
COM port selection won't stay selected when using multiple ports
Jun 7th, 2022 at 9:11pm
Print Post  
I have a robot project where I have a Teensy 3.5 'master' controller and two different Teensy 'slave' controllers (one is a T3.5, and the other is a T3.2).  Telemetry from the 'master' T3.5 is connected to my PC over a Wixel RF serial link.

I'm trying to debug a problem where the master controller is supposed to restart the T3.5 slave every time the master is started.  The master pulls the slave T3.5 reset pin low for 150mSec, and then waits until the slave completes its setup() routine.  This isn't working properly for some reason, so I'm trying to monitor the serial output from the slave T3.5 on COM4 while monitoring the master controller on Com6 (the Wixel RF link).  I am using TeraTerm to connect to the slave, and MSVS 2022 to connect to the master.

However, I when I select COM6 in VS2022, it automatically changes to COM4 (or more accurately, to 'Teensy 3.5 at usb:20000/0/0/2/3/2/4/4') after a few seconds.  So, I can't do an OTA rebuild from the VS2022 side while monitoring the output of the slave using COM4, because VS2022/VM won't let me select COM6.

If I disconnect the USB cable to the slave controller, the 'COM4' and 'Teensy 3.5 at usb:20000/0/0/2/3/2/4/4' entries disappear from the COM port dropdown list, but of course then I can't monitor the output from the slave T3.5.

Any idea why VS/VM insists on changing my port selection from COM6 to COM4?

VM 1.2022.0426, VS 17.1.5, Arduino IDE for VS by VM - 19.0

TIA,

Frank


  
Back to top
 
IP Logged
 
FrankP
Senior Member
****
Offline


Posts: 251
Joined: Oct 19th, 2011
Re: COM port selection won't stay selected when using multiple ports
Reply #1 - Jun 7th, 2022 at 9:37pm
Print Post  
Hmm, closed and re-opened VS, and now it seems to be working - go figure  Lips Sealed
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint