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
Locked Topic Visual Micro & Windows 8 Problem Arduino Zero Pro (Read 50271 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
 
Mario Mottula
Junior Member
**
Offline


Posts: 47
Location: Italy
Joined: Jul 19th, 2015
Re: Visual Micro & Windows 8 Problem Arduino Zero Pro
Reply #20 - Jul 23rd, 2015 at 1:02pm
 
I did what you asked me .. now what do I do ?
  
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 #21 - Jul 23rd, 2015 at 1:07pm
 
Thanks. 

So you should now have a new project that is 32 bit? 

Do 32 bit boards show? 

Does tools>visual micro>programmers show a different list with the edbg programmer?

  
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 #22 - Jul 23rd, 2015 at 1:12pm
 
Thank You

  

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 #23 - Jul 23rd, 2015 at 1:16pm
 
Please tell me your visual micro version

tools>options>visual micro>version>version and tools>options>visual micro>version>minor

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 #24 - Jul 23rd, 2015 at 1:17pm
 
version 1.1507.05
version minor 4
  
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 #25 - Jul 23rd, 2015 at 1:19pm
 
Great so let's look at the atmel device list is it 32 bit or 8 bit?
  
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 #26 - Jul 23rd, 2015 at 1:21pm
 
which window I can check ?
I watch them from here and I see only an 8-bit devices
  

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 #27 - Jul 23rd, 2015 at 1:28pm
 
did you delete the sketchtest project and allow visual micro to re-create it?
  
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 #28 - Jul 23rd, 2015 at 1:31pm
 
is this is a previous image , I assure you that I have recreated the new project as you suggested but I see you always and only an 8-bit micro
  

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 #29 - Jul 23rd, 2015 at 1:35pm
 
Okay let's test your atmel studio

Close all solutions
Click "File>new>project>cpp executable"
Selected the zero processor from the list
Rename the cpp file that is created to "the name of the project.ino"

For example, atmel creates GccApplication1 then ensure the project has GccApplication1.ino

Now you have a 32 bit project that also works as an Arduino project?

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 #30 - Jul 23rd, 2015 at 1:42pm
 
done
  

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 #31 - Jul 23rd, 2015 at 1:47pm
 
Good

Does the tools>visual micro>programmers list show avr or arm programmers. Previously it showed avr. If it still shows avr then switch to the other zero board in the boards list and then back to the current zero. This should refresh the menu
  
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 #32 - Jul 23rd, 2015 at 2:02pm
 
Done

I Have selected avr programmer and board arduino zero
  
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 #33 - Jul 23rd, 2015 at 2:24pm
 
Did you use the tool bar to switch between the Zero and another board, then back to the Zero again? I think this will refresh the programmers list
  
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 #34 - Jul 23rd, 2015 at 2:27pm
 
It is exactly , and now the board is selected Arduino zero
  
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 #35 - Jul 23rd, 2015 at 3:14pm
 
Okay and you had a project open when you did that?
  
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 #36 - Jul 23rd, 2015 at 3:20pm
 
Yes
  
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 #37 - Jul 23rd, 2015 at 3:38pm
 
Okay well for now just use the arduino ide to burn a bootloader then your normal serial upload and debug will work in visual micro. 

After burning the bootloader you will reconnect to the native usb port. Your standard arduino usb upload will work and also the debugger. Make sure you un-tick the tools>visual micro>upload using programmer otherwise usb upload will not work.

Thanks
  
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 #38 - Jul 23rd, 2015 at 10:59pm
 
Mario, I found a problem with the refresh of the programmers list. It is fixed in sp6 which has just been published to the downloads page.

The programmers list was stuck on avr for the Zero due to some recent changes to support esp8266.

The programmers menu will be correct with the latest release. 

Thanks for your persistence!
  
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 #39 - Jul 24th, 2015 at 2:23pm
 
Hello !
Thank you very much for your continuous work ...

I found the update on the download page sp4 .
Now install it and let you know .

Thanks again
  
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 #40 - Jul 24th, 2015 at 3:22pm
 
Now the situation has improved but not resolved the problem of debugging ..
In practice, I can now select the 32-bit micro as is visible from the toolbar , debugging part , but does not move and I see this screen
  

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 #41 - Jul 24th, 2015 at 3:28pm
 
Hi,

I think you are confused about the atmel studio native debug tool and the visual micro serial debugger.

The Visual Micro debugger was designed for all of the Arduino boards that do not have a debug facility. It is a replacement for serisl.print(). 

The Arduino Zero is the first board that supports real debugging easily from within atmel studio but it can not do that with an Arduino compile or with .ino files. To use the Atmel debugging you need to create an atmel cpp project not an Arduino project in this case Visual Micro will not be used.

If you want to use the Visual Micro serial debugger with an Arduino project then you need to click tools>visual micro>programmers>EDBG then click "Tools>Visual Micro>Burn Bootloader". When you have burnt a bootloader you can use Serial on the native usb port and/or the Visual Micro debugger.

So please decide what it is you are trying to achieve so that I can help you.
  
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 #42 - Jul 24th, 2015 at 3:49pm
 
Hello I want to be able to debug a program with the Arduino Zero pro ..

I already loaded the boot loader and by trial but does not move
  
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 #43 - Jul 24th, 2015 at 3:53pm
 
You need to stop the debug session that you have started and make normal Serial.println("Hello world") work.

When you have serial print working the visual micro debugger should work.

Please make a simple arduino project that uses serial print. Upload it and then watch "Hello World" appear in the serial monitor. 

When you have done this I can help you if you still have a problem.

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 #44 - Jul 24th, 2015 at 4:05pm
 
This is my situation...
  

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 #45 - Jul 24th, 2015 at 4:11pm
 
There are two zero boards listed. Which board is selected? 

Which port is the cable plugged into?

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 #46 - Jul 24th, 2015 at 4:17pm
 
It is only connected the USB cable native
  
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 #47 - Jul 24th, 2015 at 4:26pm
 
I see in your screen image that the Serial monitor is hidden on a tab with the Output window.

So you will not see the serial messages because the serial window is hidden.

  
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 #48 - Jul 24th, 2015 at 4:36pm
 
Now, you see ... But as you notice, stop ! Even before it was ...
Now I see COM12 written because I've done and I feel Moved the ' usb
  
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 #49 - Jul 24th, 2015 at 4:38pm
 
I am sorry but I do not understand your last post

Did you un-hide the serial monitor and upload without debug so we can prove the serial works?

Maybe it is easier for you to test serial in the arduino ide because it is less confusing for new users?
« Last Edit: Jul 24th, 2015 at 4:39pm 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 #50 - Jul 24th, 2015 at 4:38pm
 
sorry but the website does not make me upload images
  
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 #51 - Jul 24th, 2015 at 4:40pm
 
Maybe the image was too big, you already uploaded lots of images OK
  
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 #52 - Jul 24th, 2015 at 4:40pm
 
No .. even if I open the tab SERIAL COM , not written anything goes ! Micro is like stuck
  
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 #53 - Jul 24th, 2015 at 4:44pm
 
Please change the tool bar from "Debug" to "Release" then upload again.

After upload, if the serial is not working then please try upload and serial using the arduino ide.

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 #54 - Jul 24th, 2015 at 4:58pm
 
It works in both Arduino IDE and also works in Visual Studio !

We had the wrong function , but this is not serial.ptintl SerialUSB.println ( " Hello World " ) ;

It should be in relase in debug mode that , but I can not see the values ​​of the variables of the micro and I can not lock it on breakpoint
« Last Edit: Jul 24th, 2015 at 5:04pm by Mario Mottula »  
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 #55 - Jul 24th, 2015 at 5:41pm
 
Great. So try putting SerialUSB in the RemotePort project property for the debugger

http://www.visualmicro.com/page/User-Guide.aspx?doc=Debugging-With-Different-Por...

Thanks
  
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 #56 - Jul 24th, 2015 at 7:11pm
 
I've just retested my zero. It is a genuine Arduino zero but I don't think that makes a difference.

I used the debug port and Visual Micro default settings. 



  

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 #57 - Jul 25th, 2015 at 3:45am
 
Ahh. I upgraded the firmware on my arduino boards and they failed silently in the same way your pro failed. My Zero boards are from the early beta.

There is a new version of visual micro. The debugger should work easily with the new version using either the programming port or the native usb port. 

Visual micro auto detects the correct serial port for each type of Zero board so you don;t need to make any special project configuration.

Download the latest release from www.visualmicro.com

Thanks again

The latest release is 1507.25 and is the BETA on the downloads page because a few users have reported a startup crash in the beta
« Last Edit: Jul 25th, 2015 at 2:32pm 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 #58 - Jul 28th, 2015 at 5:58am
 
ok tank you later try! me only works when the window in the window while SERIALCOM8 EXPRESSION ON COM 8 does not leave written anything! tonight I'll let you know Thanks again
« Last Edit: Jul 28th, 2015 at 5:59am by Mario Mottula »  
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 #59 - Jul 28th, 2015 at 1:25pm
 
The used USB is NATIVE...

I have these problems ..

iota programmer EDBG I get this error: Error: Unable to find the device CMSIS - DAP
Error: No valid JTAG interface configured .

The uploader has returned an error

With Atmel Studio Device programming , programming is ok but the debugging do not work , and it appears this window:

« Last Edit: Jul 28th, 2015 at 1:26pm by Mario Mottula »  

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 #60 - Jul 28th, 2015 at 3:07pm
 
Hi,

The native port can not use the edbg programmer, it can only use usb

It sounds like you still have "tools>visual micro>always use programmer for upload" ticked. Untick and you get normal usb upload.

You must also ensure the arduino board you have selected it the "native usb" and not the one that says "programming port"
« Last Edit: Jul 28th, 2015 at 4:21pm 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 #61 - Jul 28th, 2015 at 4:09pm
 
OK !!!!!!


NOW WORKING .... Thanks for everything and I'm sorry if I was insistent , but I hope that my notices have been helpful to you ...

THANKS A LOT Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy Cheesy
  
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 #62 - Jul 28th, 2015 at 4:21pm
 
Thanks Mario. I think other Zero users will benefit from all your questions.

We are going to write documentation for the Zero because it is slightly different to other Arduino boards.
  
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 #63 - Jul 28th, 2015 at 4:23pm
 
OK GOOD ARE HAPPY ..
« Last Edit: Jul 28th, 2015 at 4:23pm by Mario Mottula »  
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 #64 - Jul 28th, 2015 at 4:28pm
 
Great, by the way you can debug on either of the two ports on the Zero without changing any settings.

I tried it a few days ago and both ports works the same for debug.

The Arduino information is that the "debug" port is more reliable for upload but Visual Micro is happy with native or debug.

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
 
Page Index Toggle Pages: [1] 
Send TopicPrint