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] 2  Send TopicPrint
Very Hot Topic (More than 25 Replies) Where is "solution explorer"? (Read 29066 times)
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Where is "solution explorer"?
Sep 19th, 2014 at 1:05am
Print Post  
I am new to Atmel and setting up Atmel Studio 6.2 for the first time.

I am following the instructions copied below from http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx ;
Step 1 is done.
Step 2, where is "solution explorer"? Embarrassed

Thank you.

Step 1) Select the teensy board using the tool bar (or tools menu) command
Step 2) To compile for a Teensy board we need to set three Teensy options which reflect the additional Tools menu options in the Teensyduino IDE (such as cpu speed, keyboard language).
         Click the project in the solution explorer
         Click the menu View > Other Windows > Properties Window
         Edit Micro General > Defines Project as follows: ...
« Last Edit: Sep 19th, 2014 at 3:40am by wolf »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #1 - Sep 19th, 2014 at 10:56am
Print Post  
Hi,

The Teensy settings are per project and are not a global Ide setting.

If you follow the guide of how to create or open a sketch project then you will find the Teensy article makes sense

http://www.visualmicro.com/page/User-Guide.aspx?doc=index

Thanks
  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #2 - Sep 19th, 2014 at 10:28pm
Print Post  
Thank you Visual Micro.
I created a project and found the "Solution Explorer" where you said it would be Smiley.

Just one more question: Where is the "Project Property Window"?

The yellow "?" opens "Micro Explorer", not "Project Property Window":


I am still following the above instructions from http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx

Step 1) is done.

Step 2) To compile for a Teensy board we need to set three Teensy options which reflect the additional Tools menu options in the Teensyduino IDE (such as cpu speed, keyboard language).
         Click the project in the solution explorer
         Click the menu View > Other Windows > Properties Window
         Edit Micro General > Defines Project as follows: ...

The following instructions are copied from http://www.visualmicro.com/post/2013/04/13/Project-Property-Window.aspx

Clicking the yellow question mark ? icon on the toolbar, when a sketch is open, will select the project and display the project properties (tool window).

note: The property window is a dockable tool window and should not be confused with the Visual Studio "Property Pages" dialog window


Thank you.
« Last Edit: Sep 20th, 2014 at 6:38am by wolf »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #3 - Sep 20th, 2014 at 10:44am
Print Post  
Great you are almost there now, you can see the properties window is already open but showing the solution properties.

Click the Project and the project properties will appear in the property viewer.

It's confusing for new users have a solution and a project. The solution is actually useful because you can add other files and projects that are related to your current project such as help or examples and snippets. But confusing at first!

See the documentation here: http://www.visualmicro.com/page/User-Guide.aspx?doc=Project-Properties-window.ht...

« Last Edit: Sep 20th, 2014 at 10:44am by Tim@Visual Micro »  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #4 - Sep 20th, 2014 at 3:17pm
Print Post  
Thank you; I couldn't have come this far without your help.

How to Setting up the Serial Port?
The instructions are on http://www.visualmicro.com/page/User-Guide.aspx?doc=Board-Setup.html
The instructions show "COM3" whereas my Atmel Studio shows blank, and the "Show the serial monitor tool window" button is dimmed:


So far I have created a new project and configure it for a Teensy 2.0 board (steps 1 and 2 on http://www.visualmicro.com/page/Teensy-for-Microsoft-Visual-Studio.aspx)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #5 - Sep 20th, 2014 at 3:25pm
Print Post  
Hopefully other will read the "first steps" in the documentation  Cheesy


Is the board plugged in? The COM port changes for each user.
  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #6 - Sep 20th, 2014 at 4:25pm
Print Post  
Where is "first steps" in the documentation?

The Teensy 2.0 is plugged into PCs USB.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #7 - Sep 20th, 2014 at 5:00pm
Print Post  
Quote:
Where is "first steps" in the documentation?


Under the "Documentation" link at the top of visualmicro.com (to the left of the US/English and Russian flags.


Quote:
The Teensy 2.0 is plugged into PCs USB


Does the port show up in the Teensy Ide?
  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #8 - Sep 20th, 2014 at 5:31pm
Print Post  
From The Arduino 1.0.5 IDE > Tools >
     Serial Port: (emulated)
     USB Type: "Keyboard + Mouse + Joystick"

From Arduino IDE I can load and run the Blink.ino on Teensy.



« Last Edit: Sep 20th, 2014 at 5:49pm by wolf »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #9 - Sep 20th, 2014 at 6:08pm
Print Post  
Looks like the teensy usb drivers are not installed. normally you would see COMx in the Serial ports list.

I will look into how arduino can upload to teensy without the correct usb drivers installed.

Your screen shot doesn't show a successful upload and it would be helpful if it did.

In the Arduino Ide can you please switch on tools>preferences>upload verbose then show another screen shot during or just after upload

Thanks
  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #10 - Sep 20th, 2014 at 6:30pm
Print Post  
I thought it was uploading because the Teensy LED was blinking.

« Last Edit: Sep 20th, 2014 at 6:30pm by wolf »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #11 - Sep 20th, 2014 at 6:36pm
Print Post  
Great, when the Teensy/Arduino Ide works then Visual Micro should work.

fyi:

The teensy loader is a special app from pjrc.com that loads when you click upload. Both the modified Teensy Ide and Visual Micro uses the same system.

The app opens automatically when you upload to a teensy board but the usb drivers need to be installed

https://www.pjrc.com/teensy/td_download.html
« Last Edit: Sep 20th, 2014 at 6:36pm by Tim@Visual Micro »  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #12 - Sep 20th, 2014 at 7:16pm
Print Post  
I reinstalled the driver, but Arduino IDE still says "Teensy Loader is currently busy with another operation (r)."



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


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #13 - Sep 20th, 2014 at 7:30pm
Print Post  
try re-booting then don't open an ide and try to install the driver?
  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #14 - Sep 20th, 2014 at 7:41pm
Print Post  
I rebooted Windows 7, reinstalled the driver, and still get the same results "Teensy Loader is currently busy with another operation (r)."
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #15 - Sep 20th, 2014 at 7:45pm
Print Post  
I think you need to ask on the pjrc.com forum. We need a working Teensyduino IDE with upload before using Atmel or Visual Studio.

Paul over pjrc.com will help you out. He is a real guru  Smiley

I guess the usb driver now looks correct in device manager?
  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #16 - Sep 20th, 2014 at 8:06pm
Print Post  
Device manager still looks the same.
I closed Arduino IDE and opened it again, this time it worked.
But the AtmelStudio still shows no serial ports.





« Last Edit: Sep 20th, 2014 at 8:08pm by wolf »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #17 - Sep 20th, 2014 at 8:10pm
Print Post  
Have you altered the blink rate and uploaded to see a difference in blink speed?
  
Back to top
IP Logged
 
wolf
Junior Member
**
Offline


Posts: 33
Joined: Sep 19th, 2014
Re: Where is "solution explorer"?
Reply #18 - Sep 20th, 2014 at 8:21pm
Print Post  
Yes, now it blinks fast.
The blink speed changes, I tried it a few times and blink speed changed every time.
« Last Edit: Sep 20th, 2014 at 8:31pm by wolf »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12191
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Where is "solution explorer"?
Reply #19 - Sep 20th, 2014 at 9:13pm
Print Post  
Good, okay thanks for all the info.

Normally people have the usb driver installed without issue and I think you will need it for serial communications.

However not having any serial ports has shown that teensy does allow upload without the usb/serial stuff working. I didn't know that! Fix below ...

Visual Micro has a setting that determines if an Ide supports upload without a serial port. It was switched off for Teensy but the attached file switches it on and will be part of the next release of Visual Micro.

1)
You need to copy the applications.txt file to where Visual Micro is installed and overwrite the one that is installed with Visual Micro. It will be in "Program files (x86)/Visual Micro/Arduino for Visual Micro/Micro Platforms"

Re-start the Visual Micro ide after that

2)
I forgot to check which app you have configured in Visual Micro but I see Arduino 1.0.x in your images. The correct Ide name should be "Teensy", you will see it in the list on the Ide Location config window. In fact the change in applications.txt specifically relates to the Teensy Ide version. 

................

These two changes will solve the upload.

I still recommend going to the teensy forum at some stage to find out why the usb serial drivers won't load. 

Thanks

http://www.visualmicro.com/public_html/yabbfiles/Attachments/applications.txt
« Last Edit: Sep 20th, 2014 at 9:23pm by Tim@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 
Send TopicPrint