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
Hot Topic (More than 8 Replies) Not Downloading to Correct COM port (Read 6401 times)
tlb
Newbies
*
Offline


Posts: 5
Joined: Nov 22nd, 2014
Not Downloading to Correct COM port
Nov 22nd, 2014 at 3:47am
Print Post  
I am new to this software.  It was recommended to run multiple Teensy's.

I have two Teensy 3.1's hooked up, to two different COM ports, COM9 and COM10.  I am just running a version of Blinky at the moment.

When I select COM9 or COM10 in the GUI, it will say Uploading to I/O board using 'COM9', or Uploading to I/O board using 'COM10' depending on the GUI setting, but load only to COM9.  Sometimes it will load only to COM10 for a while.  If I press the button on Teensy, it will load to the correct port  for which the button was pressed. 

Any ideas?  I am running Windows XP.

Thanks.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not Downloading to Correct COM port
Reply #1 - Nov 22nd, 2014 at 2:16pm
Print Post  
Hi,

The design of some boards means that only one board can be plugged into the pc at any one time. I suspect that Teensy is the same.

Can you confirm if the problem happens when using the Teensy/Arduino ide thanks
  
Back to top
IP Logged
 
tlb
Newbies
*
Offline


Posts: 5
Joined: Nov 22nd, 2014
Re: Not Downloading to Correct COM port
Reply #2 - Dec 7th, 2014 at 6:18pm
Print Post  
I am using the Teensy3.1/ Arduino IDE.  I try to switch between downloading to the two COM ports and it doesn't switch.   

I have the two Teensy's hooked into two separate USB ports.  Since I posted, running standalone, without the IDE, I am able to download the individual .hex files to the two separate boards.  However, I was hoping to be able to switch automatically using the IDE.

Thanks,

TLB
  
Back to top
 
IP Logged
 
tlb
Newbies
*
Offline


Posts: 5
Joined: Nov 22nd, 2014
Re: Not Downloading to Correct COM port
Reply #3 - Dec 7th, 2014 at 6:21pm
Print Post  
I just wanted to clarify on the previous post that I download the files on the 2nd Teensy by pressing the button on the Teensy board.   

Standalone, from my makefile I can download automatically to one port.  And then to download to the second port, I have to press the button on Teensy.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not Downloading to Correct COM port
Reply #4 - Dec 7th, 2014 at 7:33pm
Print Post  
Hello,

Can you switch port and upload without pressing reset if you use the Teensy Ide and do not use Visual Micro?

Thanks
  
Back to top
IP Logged
 
tlb
Newbies
*
Offline


Posts: 5
Joined: Nov 22nd, 2014
Re: Not Downloading to Correct COM port
Reply #5 - Dec 9th, 2014 at 12:12am
Print Post  
When using the Teensy with no IDE, only a makefile and the downloader, it automatically downloads only to the lower number port.  To download to the higher number port I have to press the button.

  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not Downloading to Correct COM port
Reply #6 - Dec 9th, 2014 at 12:17am
Print Post  
Can you switch port and upload without pressing reset if you use the Arduino/Teensy Ide?
  
Back to top
IP Logged
 
tlb
Newbies
*
Offline


Posts: 5
Joined: Nov 22nd, 2014
Re: Not Downloading to Correct COM port
Reply #7 - Dec 9th, 2014 at 12:24am
Print Post  
I have not tried the Arduino/Teensy IDE because I started with one Teensy not using the Arduino framework.  Then I started looking at other solutions when I needed to program two Teensy's.  The feedback I got from the Teensy forum suggested the Visual Micro solution and said the Arduino solution was somewhat cumbersome for switching between Teensy's.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Not Downloading to Correct COM port
Reply #8 - Dec 9th, 2014 at 1:03pm
Print Post  
Hi,

You need to ask Paul at pjrc.com if the Teensy boards support what you want to do.

Visual Micro does not do the upload for teensy, instead is runs teensy uploader.exe files that are installed with the teensy ide. Obviously this happens in background so you do not see it happening.

I know that some "clever" boards use a usb connection even though you select the COM port. This often means they can only cater for one board at a time.

Don't bother with anyone else in the forum at Teensy because they won't know how it works. Just ask Paul.

Thanks
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint