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
Very Hot Topic (More than 25 Replies) Atmel ICE debugger not detected (Read 18873 times)
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #20 - Jul 13th, 2019 at 10:01am
Print Post  
Hi, news: I have update the Atmel firmware ICA from V1.0 to V1.27 using Atmel Studio 7. The ICE debugger is detect from AS7, but is still do not detect from vMicro, so, I'm waiting for your fix.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #21 - Jul 13th, 2019 at 11:02am
Print Post  
Hi,

The issue is not related to the usb driver or debug driver. When you use a programmer to load an arduino sketch onto an Atmel processor it deletes the bootloader.

The bootloader is required to upload using serial /usb.

The Arduino IDE does not provide a definition for the Atmel ICE programmer on the Arduino Due that you have.

So you are waiting for an enhancement to Visual Micro where it will force an Atmel ICE into the Arduino programmer list so that you can program your board with your hardware programmer outside of Atmel Studio.

When you have this enhancement in Visual Micro you will have less confusion. 

The debugging is secondary. You must first have a way to upload to your board. 

I have also explained that you can use Atmel studio to replace the usb bootloader that you have destroyed so that you can use Arduino IDE and Visual Micro as is.





  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #22 - Jul 13th, 2019 at 11:25am
Print Post  
Hi!

For me, there's even more confusion now. I'll try to recapitulate my configuration.

I am using vMicro(commercial licence)  installed on MSVisualStudio (I don't use the Arduino IDE)

My goal is to compile and debug with Atmel ICE for Atmel SAM3X8E processors (Arduino DUE board).

To do a test I tried to import a sketch Arduino DUE  in vMicro : OK imported without problems

I tried to compile the skecth: OK without problems

I tried to launch serial debugging (programmig port): OK it works, I can insert breakpoits, etc..

I inserted on USB the debugger Atmel ICE, I launched again the debugger : It does not work, vMicro does not see the ATMEL ICE.

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #23 - Jul 13th, 2019 at 11:29am
Print Post  
Okay that just sounds like we have the debug discussion and that upload using serial is OK

Previously you posted this output which shows upload was not okay and that the bootloader port for upload was not available. This would mean the bootloader was destroyed but maybe it was simply the board was in strange state on that day.

Code
Select All
Uploading 'ArduinoDueProject' to 'Arduino Due (Native USB Port)' using 'COM6'

Unable to 'touch' hardware serial port: COM6. Now assuming selected port is bootloader port. This might still fail, have you got the correct board selected?

The uploader process failed

No device found on COM6
 

  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #24 - Jul 13th, 2019 at 11:46am
Print Post  
I'm sorry I confused that message. I repeat the only problem I have is only using the Atmel ICE hardware debugger. 

When I use the serial debugger with the programming port of arduino due it works well. I have some questions about these aspects too but they are secondary and I can wait and I'll ask them later.

Now the problem is that the Atmel device does not appear in the list : Uploader -> Programmer . The window is always empty.

Can you help me?
thanks

  
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #25 - Jul 13th, 2019 at 11:50am
Print Post  
See my file attached is a screen shot
  

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


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #26 - Jul 13th, 2019 at 11:55am
Print Post  
I have already explained this below. The programmers list is empty because there are no programmers defined for Arduino and your Due board.

The Arduino Due does not come with an ICE programmer definition so we will try to add that for you next week.

Hopefully you end up with an ICE programmer for upload and an ICE debugger.

NOTE: For some Arduino boards: If you use the ICE programmer for upload you will not be able to use Serial/USB for upload unless you understand how to "burn a bootloader". If you do not understand bootloaders then you should NOT attempt to use a programmer for upload.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #27 - Jul 13th, 2019 at 12:08pm
Print Post  
Thank you for your support.

For me is important to load and debug the software using the debugger Atmel ICE, I will not use the USB programming port or the native port to download software. 

I only use the native port to connect the arduino board to an application PC.

The arduino due bootloader is loaded from the factory on the microprocessor SAM3X8  (Atmel Bootloader BA) and I'm not going to change it, it's fine.

I'm waiting for your new implementation.

thanks, regards
  
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #28 - Jul 15th, 2019 at 2:20pm
Print Post  
do you have a forecast of when this change will be ready so that I can synchronize with my work? 
Cheesy
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #29 - Jul 15th, 2019 at 2:32pm
Print Post  
It's possible the release you installed today has the changes for you. 

You can try it.

If you have a problem please remember to post the full output shown in yellow above + the debugger output error message. 

To see the Visual Micro build output after you attempt to start debug...  You will need to give the output after you attempt to start the debugger. In which case use the drop down list above the output window to select "Micro Build" then you will see the Visual Micro output.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #30 - Jul 15th, 2019 at 3:01pm
Print Post  
Hi!
Debugger: Atmel ICE
Compiling 'ArduinoDueProject' for 'Arduino Due (Programming Port)'
Program size: 36.312 bytes (used 7% of a 524.288 byte maximum) (0,45 secs)
 
Uploading 'ArduinoDueProject' to 'Arduino Due (Programming Port)' using 'COM6'
Uploader started for board Arduino Due (Programming Port)
Upload method will be: bootloader
Uploading via Bootloader 
Unable to auto-reset: COM6. Check that you have the correct port selected. If it is correct, try pressing the board's reset button after initiating the upload.

no\bossac.exe -i -d --port=COM6 -U false -e -w -b C:\Users\marco\AppData\Local\Temp\VMBuilds\ARDUIN~1\ARDUIN~1\Debug/ARDUIN~1.BIN -R
The uploader process failed
No device found on COM6

My sey-up
On ICE: RED led (ON - Green LED (ON)
TARGET: Arduino board DUE (original)
Atmel ICE debugger

connection between ICE - DUE BOARD
ICE          TARGET
3V3   <-   3V3
TMS  ->   TMS
TCK  ->    TCK
TDO  ->    TDI
TDI   <-    TDO
GND  <-    GND

Do nto work.
thanks











  
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #31 - Jul 15th, 2019 at 3:07pm
Print Post  
I'm trying to upload firmware by using the ICE debugger. The COM6 USB (programming port) is disconnected is it right? All feauters (uploading/debugging) are manageged by ICE, is it right?
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #32 - Jul 15th, 2019 at 3:10pm
Print Post  
We seem to keep confusing the ICE debug with normal upload. The debug has nothing to do with upload.

The error you see if an upload error, the same one you had few days ago which you resolved.

Can you confirm upload is working okay before trying to debug.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #33 - Jul 15th, 2019 at 3:15pm
Print Post  
Yes the uploading is OK using both Programming or Native Port on COM6.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #34 - Jul 15th, 2019 at 3:20pm
Print Post  
we need the info requested in the yellow box posted at .txt file.
  
Back to top
WWW  
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #35 - Jul 15th, 2019 at 3:33pm
Print Post  
Thanks for sending the info but it is missing the "build properties". you have to switch on "show build properties" and "verbose"

I would also like to to stay on the programming port for your upload tests so we do not have the confusion of native usb which is a more complex upload.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #36 - Jul 15th, 2019 at 4:20pm
Print Post  
OK send it with build properties and verbose.

I stay on Programming port until new order!!

Grin
  
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #37 - Jul 16th, 2019 at 4:59am
Print Post  
Hi!

I received a post from you at 2.40 o'clock....but was....empty!
Huh
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12071
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Atmel ICE debugger not detected
Reply #38 - Jul 16th, 2019 at 11:47am
Print Post  
Hi,

If you look at the top of the new releases section you will see there is an update.

I spoke with the debug team and some boards do not allow serial upload while the hardware debugger is connected.

We are adding ICE and other programmers during the next week so that you can upload with the programmer and then debug. In the meantime you might have to unplug the ICE to allow Serial upload.

To start debug you do not have to click Debug>Start because that also attempts to upload. You can click Debug>Attach which just starts the debugger without upload.


  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #39 - Jul 16th, 2019 at 12:15pm
Print Post  
OK thanks!
I have loading and test last versione 1907.15
Compiling: OK
Uploading: OK (programming port)
Debugging: OK (serial) 

So..
Disconnecting USB cable from programming port arduino DUe

Place the USB to ICE debugger

set debug: hardware and Atmel ICE
 
pressing debug F5 ....nothing ! Do not work do not start debug with ICE

ciao 
Sad
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 [2] 3 4 
Send TopicPrint