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 Teensy Loader and Teensy Compiler Workflow Discussion (Read 4741 times)
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Teensy Loader and Teensy Compiler Workflow Discussion
Jan 21st, 2013 at 7:46pm
Print Post  
Maybe also close the Teensy loader program. I did find once or twice where it did not release the port in time. Sometimes it takes several seconds to do so. I dont say there is an issue, just try it seeing that we are hunting a ghost here.
« Last Edit: Jan 21st, 2013 at 7:52pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy Loader and Teensy Compiler Workflow Discussion
Reply #1 - Jan 21st, 2013 at 7:51pm
Print Post  
Yes different discussion but a good one. I've split this into a new thread because I would like to keep this discussion alive. The vm/teensy stuff is still up for discussion.

I asked Paul about the loader and also why it has to appear during compile and not only when uploading. It sounds like the teensy usb system can only handle one board connected to the pc at a time and that he feels the loader is better left hanging around after every compile. 

I didn't fully understand what he was saying, he is a clever chap!

Anyway, maybe some options so you can try things out. I might prefer to get the loader code and implement directly in vm but don't have time to find it.

I don't get any messages from the teensy loader so can't know when to close it.
« Last Edit: Jan 21st, 2013 at 7:52pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Martin2
Newbies
*
Offline


Posts: 1
Location: PL, Kielce
Joined: Jan 21st, 2013
Re: Teensy Loader and Teensy Compiler Workflow Discussion
Reply #2 - Jan 22nd, 2013 at 11:21pm
Print Post  
I have other question about teensy loader work with VM plugin. Is it possible to disable automatic upload mode for teensy and set manual mode programming with button on a board?

  If there wouldn't be a possibility to disable in Visual Studio, maybe VM plugin has config or script for generating remote commands for Teensy Loader? I see that VM sends to Teensy Loader remote command to enable auto mode. This is a part of my Loader log:

Code
Select All
23:16:41: remote cmd: "file:sterownik.hex"
23:16:41: File "sterownik.hex". 6900 bytes, 5% used
23:16:41: remote cmd: "status"
23:16:41: status data sent
23:16:41: remote cmd: "auto:on"
23:16:41: remote connection closed
23:16:41: remote connection opened
23:16:41: remote cmd: "status" 

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


Posts: 12198
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Teensy Loader and Teensy Compiler Workflow Discussion
Reply #3 - Jan 22nd, 2013 at 11:48pm
Print Post  
Vm runs the teensy loader exe because it is registered in the hardware/teensy/boards.txt as the "postcompilescript". So vm runs it. You could switch the loader out for your own exe or remove the boards property

Hope that helps
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint