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 Visual Micro doesn't work with TyQT integration enable (Teensy related) (Read 3431 times)
PedroR
Newbies
*
Offline


Posts: 7
Joined: Oct 9th, 2016
Visual Micro doesn't work with TyQT integration enable (Teensy related)
Oct 9th, 2016 at 6:32am
Print Post  
Hi all

I'm using Visual Micro with Teensy and there is a popular tool that replaces the Teensy loader called TyQT.
(it is a lot better and mentioned quite extensively in the Teensy forum).

TyQT is also capable of integrating to the Arduino IDE, by modifying the configuration pertaining to the upload tool: instead of using the Teensy loader it sets it up to TyQT.bat which takes the exact same parameters as the teensy loader.

When this integration is enabled and I compile from Visual Micro, it attempts to use the TyQT.bat for upload as this is the configuration in Arduino.
This is all correct so far.

The problem starts here, because TyQT.bat is not an EXE file:
When it tries to start TyQT, instead of running TyQT.BAT (which would be something like cmd.exe TyQT.bat or a ShellExecute on the BAT file), Visual Micro seems to try to run something called "TyQT.bat.exe" (that's what the error says anyway)

and then throws an error that the file can't be found and the whole upload fails.

This is a major issue / hassle because it forces me to revert to the Teensy Loader if I want to upload from the Visual Micro IDE.

It'd be great if could fix this issue as it seems related to the use of a BAT file as the uploader (this is not necessarily specific to TyQT; any other solution using BAT file will probably not work either).

Here are the steps to reproduce the behaviour:

- Get a Teensy board
- Install Arduino and Teensyduino
- Install TyQT
- Open TyQT and select the option to integrate to Arduino IDE
- Now open a Visual Studio Arduino project.
- Select Teensy as the board, write some code and
- UPLOAD

You will get an error mentioning the absence of "TyQT.bat.exe"

Correct result should be:
Visual micro should recognize it is a BAT file and run it appropriately with all the usual parameters (no need to change any of the parameters).
« Last Edit: Oct 9th, 2016 at 6:33am by PedroR »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro doesn't work with TyQT integration enable (Teensy related)
Reply #1 - Oct 9th, 2016 at 11:13am
Print Post  
Hi,

Thanks for the post. There are many boards that use a .bat for upload so shouldn't be such a problem.

Can you please provide a link to the TyQT download and also a zip of the platform.txt/programmers.txt that you have edited.

You can also switch on "vMicro>Compiler>Verbose" and "Show Build Properties" which will show what is happening. Then post as .txt file or email to info[at]visualmicro.com

Thanks
« Last Edit: Oct 9th, 2016 at 11:23am by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro doesn't work with TyQT integration enable (Teensy related)
Reply #2 - Oct 15th, 2016 at 2:07pm
Print Post  
Hi again,

Can you please supply install instructions for your config

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