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 ArduinoIDE and VC2013 wth VisualMicro (Read 5490 times)
vuk nikolic
Newbies
*
Offline


Posts: 2
Joined: Feb 22nd, 2015
ArduinoIDE and VC2013 wth VisualMicro
Feb 22nd, 2015 at 11:31am
Print Post  
Hi 

i just start using visual micro with VS 2013. 
using: arduino-1.0.5-r2, Teensyduino v1.20.

problem is when i compile UTFT sample (included with teensyduino installation) "UTFT_Demo_320x240"  with ArduinoIDE  everything is perfect. The same sketch compiled with VSvisualmicro for teensy 3.1 uploaded correctly but there is nothing on the display. 

can someone help me

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ArduinoIDE and VC2013 wth VisualMicro
Reply #1 - Feb 22nd, 2015 at 1:52pm
Print Post  
Hi,

Couple of questions

1) which menu settings for cpu, usb, serial etc have you set in the teensyduino ide
2) which project defines for teensy have you set in visual micro that relate to 1)
3) is your vs 2013 ide set to Release or Debug? please use Release until you have a working system

Thanks
  
Back to top
WWW  
IP Logged
 
vuk nikolic
Newbies
*
Offline


Posts: 2
Joined: Feb 22nd, 2015
Re: ArduinoIDE and VC2013 wth VisualMicro
Reply #2 - Feb 22nd, 2015 at 9:09pm
Print Post  
In arduinoIDE:
Board: "Teensy 3.1"
Serial Port: "COM3"
USB Type: "Serial"
CPU Speed: "96 MHz (overclock)"
Keyboard Layout: "US English"

In VS:
Defines - Project: F_CPU=96000000;USB_SERIAL;LAYOUT_US_ENGLISH

it is set in Solution configuration to Release / ARM

is there anything else that i need to check?

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ArduinoIDE and VC2013 wth VisualMicro
Reply #3 - Feb 22nd, 2015 at 9:16pm
Print Post  
That looks okay.

Please click "Build>Clean Solution" and then compile/upload

if that still fails then please ensure debugging is off. Either switch from "debug" to "release" on the tool bar or untick "tools>visual micro>automatic debugging"

Failing that switch on "tools>visual micro>verbose messages" then "build>clean solution", then compile/upload and email the output to info [at] visualmicro.com

Useful to also switch on verbose in "teensyduino>file>preferences" and email the output after building.

Thanks


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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ArduinoIDE and VC2013 wth VisualMicro
Reply #4 - Feb 24th, 2015 at 5:46pm
Print Post  
Hi

Thanks for the verbose output

Visual Micro is using the newer arduino library resolution which allows you to override core arduino libraries with user libraries

In this case you have UTFT library under sketchbook/libraries which is 'C:\Users\vuk\Documents\Arduino\libraries\UTFT'

Visual Micro is using that one while the arduino 1.0.5-r2 is using the one from the libraries folder below the arduino ide.

Please remove 'C:\Users\vuk\Documents\Arduino\libraries\UTFT' and then re-start the ide or click tools>visual micro>reload toolchains

Thanks


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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ArduinoIDE and VC2013 wth VisualMicro
Reply #5 - Feb 24th, 2015 at 8:14pm
Print Post  
Hi,

Thanks for sending the new file but it shows no hello world and no breakpoint

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


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: ArduinoIDE and VC2013 wth VisualMicro
Reply #6 - Feb 24th, 2015 at 8:15pm
Print Post  
Please email the tmep files from an upload with breakpoint and also include the files from the sketch folder and sub folders

This will give us a single set of sources and compiled files for one upload with breakpoint and Hello World

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