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 3 4 Send TopicPrint
Locked Topic Visual Micro & Windows 8 Problem Arduino Zero Pro (Read 50288 times)
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Visual Micro & Windows 8 Problem Arduino Zero Pro
Jul 21st, 2015 at 9:14am
 
Goodmorning everyone!

I have a problem with Arduino Zero Pro and Windows 8
Unfortunately I have installed the license on a PC with Windows 8 and visual micro Arduino IDE 1.5.8.3 for Arduino Zero PRO , it is not working.
In particular it does not allow me to select the 32-bit micro .
The screen viewing is as follows , and I have the opportunity to select the 32-bit micro .
I tried to install the latest Arduino IDE , but the board Zero Pro is not recognized by these versions... Sad

For anyone reading this thread please use the latest beta of Visual Micro (1507.27) if you have an Arduino Zero
« Last Edit: Jul 29th, 2015 at 2:08pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #1 - Jul 21st, 2015 at 11:46am
 
Hi,

There are a few questions here so I am going to ask or answer one by one.

What do you mean by 1.6.5 does not support the Zero? Did you install the SAMD core using Board Manager?

Thanks
  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #2 - Jul 21st, 2015 at 6:29pm
 
1.6.5 would not let me see the chip 32-bit , but now I've added via the manager and the board is correctly recognized micro ...
But now I have another problem , the NEW PROJECT window does not display two icons of Visual Micro as in your tutorial...
please see the following picture
« Last Edit: Jul 23rd, 2015 at 1:13pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #3 - Jul 21st, 2015 at 6:33pm
 
... I forgot to mention that I have Windows 8 .
I tried to debug a simple program , such as in your tutorial , but this does not work ..
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #4 - Jul 21st, 2015 at 6:42pm
 
Hi,

I can see in the new project window you have two visual micro/arduino templates missing but let us ignore that for now. You do not need to open any atmel studio dialogs and do not need to select the correct chip.

We can see in the tool bar that you have the zero selected and on the tool bar you have "Debug" selected so this should be all that is required.

Please click "File>Close Solution". Then click "File>New>Arduino Project". Enter a name such as "SketchTest1", click OK. Does this give you a new project called TestSketch1 containing testSketch1.ino?

If yes, then please click the menu "Build>Build Solution". Does the output then say "Compiling testSketch1 for Zero"? Does this produce a compile OK?

If you do not have the menu item "File>New>Arduino Project" then click "Tools>Visual Micro>Reset User Interface" and then follow the steps above.

If you can confirm you have a successful compile then we can move on to testing the debug. If not then please tell me which step in the process failed.

  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #5 - Jul 21st, 2015 at 7:54pm
 
Hello,

First thanks for the quick response ...
I followed all of your descriptions , and compiled the project SketchTest1 as you see from the image below .
I do not know if I should have a file created in the " Output File " ... I have nothing and I do not know if it's normal ...
Later I made the Debug and what I see is the image 1

LED DEBUG on Arduino board is ON , and what I see is the image .. 2

And ' everything ok ?
« Last Edit: Jul 23rd, 2015 at 1:13pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #6 - Jul 21st, 2015 at 8:04pm
 
Okay that looks good here are the next few points

1) undock the expressions watch which is docked with the output window. Dock it where it is visible. It only appear when debug is active.

2) Very important to undock the serial window or dock it where it is visible when debug is running. The debugger uses serial, if the serial window is hidden it will close the port.

3) For the example you switched the output window from "Micro Debug Trace" or "Micro Debug Message" to "Micro Build". Please switch it back to either trace or message so that you can see the debug running.

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

Thanks
  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #7 - Jul 22nd, 2015 at 2:11pm
 
Hi!

Here's How to Ask me ..
And come Visible the door is open CORRECTLY , debugging is active , but in the " micro Debug messages" and in the other is not written anything and Also , the LED on the debugging board is solid amber.. why ?
« Last Edit: Jul 23rd, 2015 at 1:14pm by Tim@Visual Micro »  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #8 - Jul 22nd, 2015 at 2:22pm
 
Hi Mario,

Did you test that Serial works using the usb port you have selected?

Please try a simple sketch with serial.begin in the setup and serial.println in the loop.

Thanks very much

The zero has multiple ports. If you are using Serial1 instead of Serial I will explain how to set the debugger to use serial1 etc. but let's first confirm the serial is working with a standard Arduino sketch.

  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #9 - Jul 22nd, 2015 at 2:41pm
 
I see only one USB port that is the number 11 .
It only works on board the programming port , while the native USB port is not recognized by the debugger .

you please write me a code sample type Serial.begin ( ) and Serial.println ( ) ... but I did not work either
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #10 - Jul 22nd, 2015 at 2:58pm
 
Hi,

1)
How about if you try Serial1 instead of Serial?

2)

Did you burn the bootloader yet? tools>visual micro>programmers>edbg + tools>visual micro>upload using programmer + tools>visual micro>burn bootloader. 



Some info here https://www.arduino.cc/en/Main/ArduinoBoardZero. You have to burn the  bootloader before native usb will work

Quote:
Burn the Bootloader

Using the Arduino Zero Programming Port it is possible to burn the booloader used by the Native USB port. To burn the bootloader follow this procedure:
« Last Edit: Jul 22nd, 2015 at 3:03pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #11 - Jul 22nd, 2015 at 3:35pm
 
I tried to change the serial ...
I tried to reload the bootloader but debugging wrong!
The debug LED does not flash and the exit window I do not get anything ... I do not know what to do !
  
Back to top
 
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #12 - Jul 22nd, 2015 at 3:44pm
 
I have  same problem with another pc with windows Vista 32 bit...
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #13 - Jul 22nd, 2015 at 4:11pm
 
1)
Do not think about the debug led unless you want to use native atmel debug in a cpp project.

2)
Do not think about debug

3)
Just think about Serial or Serial1. When you have serial working then we can look at debug.

4)
If you have burned the bootloader then untick "tools>visual micro>upload using programmer"
Then plug cable into native usb
The upload to prove the native usb and the zero is working correctly.

Thanks

  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #14 - Jul 22nd, 2015 at 4:31pm
 
Right now native USB port does not work ...
I do not have the ability to program the bootloader ... the picture is as follows
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #15 - Jul 22nd, 2015 at 11:23pm
 
Hi,

The atmel gallery version of visual micro is slightly out of date. The zero is new so being updated regularly.

In the latest releases of Visual Micro the programmers menu includes different programmers for the zero and due etc.

Please upgrade from visualmicro.com

Thanks
  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #16 - Jul 23rd, 2015 at 7:45am
 
Hello!
So you're saying that Zero Arduino Pro is not compatible with Visual Micro ...
I have the latest version of Visual Micro , an update when it comes out ?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #17 - Jul 23rd, 2015 at 11:44am
 
No I am not saying that. Visual micro works fine with the Arduino Zero. I do not have "Zero Plus Clone" I only have a genuine Arduino but I will assume they are the same.

If it works in the Arduino ide then it will work with Visual Micro. 

What I am saying is that you need to understand the different options for the board that you have purchased. That you should test Serial in the Arduino ide until you understand your board then use Visual Micro.

I also said that latest releases of Visual Micro are available from visualmicro.com and that the ARM programmers list has a bug fix that prevented the zero programmers from showing in the programmers list. You do not have to wait you can take the version from visualmicro.com today.

That if you want to use the native Atmel Studio debug tools with the zero you must know that Atmel Studio does not support .ino files in cpp projects. This means that if you want an fully compatible arduino sketch and you want to debug then you have to use visual micro. The visual micro debugger is very simple and uses Serial. You HAVE to make your Serial work before you can use the visual micro debugger.

Thanks
« Last Edit: Jul 23rd, 2015 at 11:45am by Tim@Visual Micro »  
Back to top
IP Logged
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #18 - Jul 23rd, 2015 at 12:35pm
 
Hi

Then I do not understand ..
With the ide of my Arduino board is recognized and I can progrmmarla !
With Atmel Studio I can run the DEBUG correctly .
But when loading the Visual Micro debugging not working .
I think because I can not select the micro ATSAMD21 the window below .
I think this is because Windows 8 is not fully compatible with the tool .
Why can not I see the micro 32-bit ?
How do I add the package ?


The problem is there in my opinion
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12186
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #19 - Jul 23rd, 2015 at 12:43pm
 
I can answer your question but even when it works you will still have problems.


Questions

1)
Have you downloaded and installed the latest release from visualmicro.com?

2)
If you have the latest release of visual micro then make this test...

  • Close all solutions
  • Make sure the zero is selected in the tool bar
  • Click File>New>Arduino Project

This should ensure that you have an ARM based atmel project and then you will only see 32 bit options.

You can also delete the atmel files (.cppproj) from Sketch1 and then click "File>Open>Arduino project". A project will be re-created based on 32bit.

Thanks
« Last Edit: Jul 23rd, 2015 at 12:43pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: [1] 2 3 4
Send TopicPrint