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 18882 times)
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Atmel ICE debugger not detected
Jul 12th, 2019 at 12:03pm
Print Post  
Hi!
I have installed vMicro connect to Atmel ICE debugger (JTAG). My Debugger Atmel is detect by windows10 but in Uploader - Programmer is not decteted , it's empty. Can you help me?
  
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 #1 - Jul 12th, 2019 at 12:12pm
Print Post  
When you ask questions please give information about your hardware and IDE version or follow the yellow guide at the top of this page to give us the information we require.

There is 1) Upload and 2) Debug.

1)
The programmers list, for upload, works same as Arduino IDE. If your programmer is not listed then give us the info we need and we will try to add it to the next release.

2)
Use the vMicro>Debugger menu or the "Micro Debug Options" tool bar to select your debugger.

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


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #2 - Jul 12th, 2019 at 12:21pm
Print Post  
Hi in my debug menu I have: 
Debug: Debug Hardware
Hardware Debugger: Atmel ICE
Compiler Optimization: Default Optimization

but nothing ... do not work no debug and no download firmware
  
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 #3 - Jul 12th, 2019 at 12:25pm
Print Post  
With that configuration the download will be serial/usb and the debug will be ICE

It's important that you follow the yellow guide at the top of this page to show us what you have configured and what you are clicking when you attempt to debug.

You need to have the upload working before you focus on debug.

These things are different for many boards so you really need to give us the information to allow us to help you.

If I assume you are using an Arduino board such as AVR or SAM, have you previously uploaded to your board using the ICE in Atmel Studio or other IDE? If so then the Serial uploader will have been destroyed. In this case you will need to be setting the vMicro>Uploader>Programmer to ICE but maybe it is not provided by Arduino. In which case we will add it but you need to give us the information first.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #4 - Jul 12th, 2019 at 12:34pm
Print Post  
Thanks
I'm testing with Aduino DUE (SAM)

I have installed a AS7 and now I have purchase a your license of a commercial vMicro installed with MSVisualSudio Community. The debugger is Atmel ICE
in vMicro I can Compile without errors for Arduino DUE
I can Download the firmware to target Arduino Board and 
using the Programming USB port without any problem including the breakpoint setting that work fine.

The problem regarding only if want pass to Atmel debugger at this point vMicro do not detect my debugger.

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


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #5 - Jul 12th, 2019 at 12:36pm
Print Post  
AS7 is still installed, I need to uninstall it?
  
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 #6 - Jul 12th, 2019 at 12:39pm
Print Post  
No, it's fine to use atmel studio if that is your choice of ide. Atmel can screw with your usb drivers but that's okay if you use atmel.

However you need to be very clear about if you are asking your questions for assistance in atmel studio or visual studio?
  
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 #7 - Jul 12th, 2019 at 12:39pm
Print Post  
No, it's fine to use atmel studio if that is your choice of ide. Atmel can screw with your usb drivers but that's okay if you use atmel.

However you need to be very clear about if you are asking your questions for assistance in atmel studio or visual studio?

For the Due you might as well use atmel now that it is installed. In which case follow the guide in red on our atmel page to set atmel studio device programming as your vMicro>uploader>programmer and atmel studio debugging as your vMicro>debugger
« Last Edit: Jul 12th, 2019 at 12:40pm by Tim@Visual Micro »  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #8 - Jul 12th, 2019 at 12:40pm
Print Post  
I need hel only for my Visual Studio
Sir
  
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 #9 - Jul 12th, 2019 at 12:42pm
Print Post  
Okay so submit the requested information after build so we can see your settings.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #10 - Jul 12th, 2019 at 12:47pm
Print Post  
Do you mean this error on debug?
Starting: "C:\ProgramData\vmicro\tools\openocd-0.10.0.1\bin/openocd.exe" -d2 -s "C:\ProgramData\vmicro\tools\openocd-0.10.0.1/share/openocd/scripts/" -c "interface cmsis-dap" -c "cmsis_dap_vid_pid 0x03eb 0x2141" -c "set CHIPNAME at91sam3X8E" -c "source [find target/at91samdXX.cfg]"
Starting: \4.8.3-2014q1/bin\arm-none-eabi-gdb.exe" --interpreter=mi
"C:\ProgramData\vmicro\tools\openocd-0.10.0.1\bin/openocd.exe" exited with code 1 (0x1).
  
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #11 - Jul 12th, 2019 at 12:48pm
Print Post  
Micro Build

Compiling 'ArduinoDueProject' for 'Arduino Due (Native USB Port)'
Program size: 42.592 bytes (used 8% of a 524.288 byte maximum) (0,56 secs)
  
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 #12 - Jul 12th, 2019 at 12:49pm
Print Post  
That's useful but the yellow box at the top of this page explains what will show us your config.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #13 - Jul 12th, 2019 at 12:55pm
Print Post  
Sorry it's first time that request support. I will send you email as request on your yellow box.
  
Back to top
 
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #14 - Jul 12th, 2019 at 1:00pm
Print Post  
how I can create a log file from your vMicro?
  
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 #15 - Jul 12th, 2019 at 1:11pm
Print Post  
You have to click the Reply button to add a file, you can't use the quick reply on the bottom of this page.

I have received the information from you by email although you did not follow the instruction to enable "show build properties" or "verbose".

However, the information does show an upload issue and I suspect it is because atmel destroyed the serial bootloader when you upload using ICE. You will need to reburn the bootloader or wait until next week when we will add an ICE uploader for the SAM boards.

Code
Select All
Compiling 'ArduinoDueProject' for 'Arduino Due (Native USB Port)'


ArduinoDueProject.ino:17: In file included from

FastLED.h:14: note  #pragma message  FastLED version 3.002.010

   #    pragma message "FastLED version 3.002.010"

Program size: 42.592 bytes (used 8% of a 524.288 byte maximum) (9,95 secs)


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


 

« Last Edit: Jul 12th, 2019 at 1:12pm by Tim@Visual Micro »  
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 #16 - Jul 12th, 2019 at 2:08pm
Print Post  
Update. we found the SAm boards are using the wrong .cfg file for the debugger. So next week the release should include an ICE upload and also ICE debugger fix.

Thanks for all the info.
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #17 - Jul 12th, 2019 at 2:12pm
Print Post  
Can you inform me when this fixing is ready?
  
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 #18 - Jul 12th, 2019 at 2:22pm
Print Post  
Yes we will update this thread
  
Back to top
WWW  
IP Logged
 
Marco (Italy)
Full Member
***
Offline


Posts: 165
Joined: Jul 12th, 2019
Re: Atmel ICE debugger not detected
Reply #19 - Jul 12th, 2019 at 2:23pm
Print Post  
ok thanks
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: [1] 2 3 4
Send TopicPrint