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) Startup difficulties. (Read 2657 times)
Ralph Berner
Newbies
*
Offline


Posts: 9
Joined: Apr 19th, 2015
Startup difficulties.
Apr 19th, 2015 at 3:42pm
Print Post  
I installed Arduino 1.0.6, Teensyduino 1.2.1, Atmelstudio 6.2 and the current Visual Micro to work with a Teensy 3.1.
Those should fit together according what i have read.

I followed the steps from here
http://www.visualmicro.com/page/User-Guide.aspx?doc=Getting-started.html
and here
http://www.visualmicro.com/page/User-Guide.aspx?doc=First-steps.html.

If i choose Arduino 1.0 and Teensy 3.1 from the Visual Micro Menu, my sketch seems to be compiled, but fails to upload.
I get the followin g message:

"Uploading to I/O board using 'COM4'"
"avrdude: stk500_getsync(): not in sync: resp=0x00"


The path in the configuration manager is set to C:\Arduino\.


If i choose Teensy 1.0 from the Visual Micro Menu, i cannot chose a board (pulldown list is empty).
When i try to compile, i get this message:
"Unable to locate configuration data for this hardware. Please confirm you are using the correct ide (.exe) location"

I set the Path to "C:\Arduino\hardware\teensy" in the configuration manager, where the the boards.txt is located.
The teensyduino  itself is in the path C:\Arduino\hardware\tools.

Maybe it's a small step to the solution, but im completely lost.
It would be great if somebody could help. 
Best regards



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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Startup difficulties.
Reply #1 - Apr 19th, 2015 at 3:59pm
Print Post  
Hi Ralph,

It sounds like the path to the 1.0.6 ide is wrong or that you installed 1.6.0 by mistake. The Arduino version numbers are confusing at the moment.

Can you please switch on tools>options>visual micro>compiler>"verbose" and "show build properties"

Then try a build and email the output to info [at] visualmicro.com

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Startup difficulties.
Reply #2 - Apr 19th, 2015 at 6:03pm
Print Post  
Thanks for the email.

Do you still have a blank boards list or is is that just the compile now fails?
  
Back to top
IP Logged
 
Ralph Berner
Newbies
*
Offline


Posts: 9
Joined: Apr 19th, 2015
Re: Startup difficulties.
Reply #3 - Apr 19th, 2015 at 6:54pm
Print Post  
Arduino 1.0.6 has a Boardlist. the compile i sent to you is done with that (Board Teensy 3.1 chosen).
Teensy 1.0 has no boardlist and compile doesn't even start.

It gives the message
Unable to locste configuration data for this hardware. Please confirm you are using the correct ide (.exe) location
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Startup difficulties.
Reply #4 - Apr 19th, 2015 at 7:31pm
Print Post  
I think I see. You are saying the output was when you used the Arduino 1.0.x application in Visual Micro instead of the Teensy 1.0 option?

Please send two screenshots of from the Ide Locations tool so that I can compare the paths you have added for Arduino 1.0.x and Teensy 1.0

If you are sure the path is correct for teensy 1.0 ide, then you can enable the trace in tools>options>visual micro>user interface>trace. Then restart the ide and when it lands a trace will appear in the output window area. Please copy and paste into an email. 

Visual Micro does the same thing to load each ide. For Teensy all it does different surrounds intellisense, so the fact that the Arduino 1.0.x ide builds okay with Visual Micro but the same Ide registered against Teensy 1.0 fails suggests it is just the ide location that is wrong. So seeing the Teensy 1.0 ide locations config along with the one you have for Arduino 1.0.x will be clear for me.

Thanks
« Last Edit: Apr 19th, 2015 at 7:45pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Startup difficulties.
Reply #5 - Apr 20th, 2015 at 6:47am
Print Post  
Thanks for the info. 

Sorry I wasn't clear. Can I please see a screen shot of the ide locations configuration window in Visual Micro when the Teensy 1.0 application is selected.
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Startup difficulties.
Reply #6 - Apr 20th, 2015 at 3:50pm
Print Post  
Okay thanks for the screen shots. 

You seem confused about what to enter into the ide locations paths I will have to look at Visual Micro to try to understand what led you to this confusion.

The different application options in Visual Micro just change the way intellisense works slightly which is what I said earlier. However in the case of 1.0.6 you are using the same ide for both Teensy 1.0 and Arduino 1.0 in Visual Micro. Two views into the same Ide.

You sent me 3 screenshots where you have used 3 different paths. Only 1) is right. 

1) c:\arduino
2) c:\arduino\tools
3) c:\arduino\teensy

The Visual Micro Ide Location window expects a location of where the arduino.exe (or other ide exe) is installed.

In your case I think you have assumed that when you install Teensy it installs a new Ide. It does not. It uses a standard Arduino.exe Ide and simply adds some new board and hardware definitions required during compilation.

So change your Teensy path in Visual Micro to be the same as the one you have used for the working Arduino 1.0 option which is c:\arduino
« Last Edit: Apr 20th, 2015 at 3:51pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Ralph Berner
Newbies
*
Offline


Posts: 9
Joined: Apr 19th, 2015
Re: Startup difficulties.
Reply #7 - Apr 20th, 2015 at 5:06pm
Print Post  
Hi Tim 

Thanks a lot. I indeed interpreted the installation guite wrong.  Smiley
http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx

There is this part which confused me.
---------------
To gain Teensy functionality install the Teensyduino IDE from pjrc.com and set the Visual Studio "Tools>Options>Visual Micro>Locations>Arduino" to the Teensduino IDE folder.
These standard Teensy defines can be found in the boards.txt file which can be found under the [TeensyDuino IDE folder]/Hardware/Teensy/. See the tags "build.definen" and "build.f_cpu"

----------------


The Teensy 3.1 is chosable now, but it gives a different compilation error, cryptical to me:   Huh

-----------------------------
.....
C:\Arduino\hardware\tools\arm\bin\arm-none-eabi-gcc -c -g -assembler-with-cpp -mcpu=cortex-m4 -DUSB_VID=null -DUSB_PID=null -DARDUINO=106 -I"C:\Arduino\hardware\teensy\cores\teensy3" "C:\Arduino\hardware\teensy\cores\teensy3\memcpy-armv7m.S" -o mcpy-armv7m.S.o"  -mthumb -nostdlib -D__MK20DX256__ -DTEENSYDUINO=121  -DF_CPU=96000000 -DUSB_SERIAL_HID -DLAYOUT_US_ENGLISH
arm-none-eabi-gcc*:error: unrecognized command line option '-assembler-with-cpp'
Error compiling core

-----------------------------
(final part of the message only >> to much text for here)

Have you any idea about that?

I can mail the whole message.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Startup difficulties.
Reply #8 - Apr 20th, 2015 at 5:11pm
Print Post  
Great I will change the docs thanks. The Teensy Ide is the Arduino Ide so I will make it clearer

And removing some old instruction from Visual Micro 2 years ago Smiley
« Last Edit: Apr 20th, 2015 at 5:14pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint