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 50298 times)
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
 
Page Index Toggle Pages: 1 2 [3] 4 
Send TopicPrint