Welcome, Guest. Please Login or Register
Arduino IDE for Visual Studio
 
 
When Logging a Support Issue in the Forum, please ensure you have also:-
  • Enabled vMicro > Compiler > Show Build Properties and Verbose
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
Support requests without the output above may be impossible to answer, so please help us to help you
 
  HomeSearch Tutorials & Wiki visualmicro.com LoginHelpRegister  
 
Pages: 1 
Send Topic Print
Atmel ICE debugger not detected (Read 2012 times)
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Atmel ICE debugger not detected
Jul 12th, 2019 at 1:03pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #1 - Jul 12th, 2019 at 1:12pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #2 - Jul 12th, 2019 at 1:21pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #3 - Jul 12th, 2019 at 1:25pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #4 - Jul 12th, 2019 at 1:34pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #5 - Jul 12th, 2019 at 1:36pm
 
AS7 is still installed, I need to uninstall it?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #6 - Jul 12th, 2019 at 1:39pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #7 - Jul 12th, 2019 at 1:39pm
 
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
Back to top
« Last Edit: Jul 12th, 2019 at 1:40pm by Visual Micro »  
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #8 - Jul 12th, 2019 at 1:40pm
 
I need hel only for my Visual Studio
Sir
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #9 - Jul 12th, 2019 at 1:42pm
 
Okay so submit the requested information after build so we can see your settings.
Back to top
 
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #10 - Jul 12th, 2019 at 1:47pm
 
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: "C:\Users\marco\AppData\Local\arduino15\packages\arduino\tools\arm-none-eabi-gcc
\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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #11 - Jul 12th, 2019 at 1:48pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #12 - Jul 12th, 2019 at 1:49pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #13 - Jul 12th, 2019 at 1:55pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #14 - Jul 12th, 2019 at 2:00pm
 
how I can create a log file from your vMicro?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #15 - Jul 12th, 2019 at 2:11pm
 
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:
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


 

Back to top
« Last Edit: Jul 12th, 2019 at 2:12pm by Visual Micro »  
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #16 - Jul 12th, 2019 at 3:08pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #17 - Jul 12th, 2019 at 3:12pm
 
Can you inform me when this fixing is ready?
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #18 - Jul 12th, 2019 at 3:22pm
 
Yes we will update this thread
Back to top
 
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #19 - Jul 12th, 2019 at 3:23pm
 
ok thanks
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #20 - Jul 13th, 2019 at 11:01am
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #21 - Jul 13th, 2019 at 12:02pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #22 - Jul 13th, 2019 at 12:25pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #23 - Jul 13th, 2019 at 12:29pm
 
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:
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #24 - Jul 13th, 2019 at 12:46pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #25 - Jul 13th, 2019 at 12:50pm
 
See my file attached is a screen shot
Back to top
 

vmicro_001.jpg (500 KB | 4 )
vmicro_001.jpg
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #26 - Jul 13th, 2019 at 12:55pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #27 - Jul 13th, 2019 at 1:08pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #28 - Jul 15th, 2019 at 3:20pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #29 - Jul 15th, 2019 at 3:32pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #30 - Jul 15th, 2019 at 4:01pm
 
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.

C:\Users\marco\AppData\Local\arduino15\packages\arduino\tools\bossac\1.6.1-ardui
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #31 - Jul 15th, 2019 at 4:07pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #32 - Jul 15th, 2019 at 4:10pm
 
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
Junior Member
**
Offline



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



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #34 - Jul 15th, 2019 at 4:20pm
 
we need the info requested in the yellow box posted at .txt file.
Back to top
 
WWW  
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #35 - Jul 15th, 2019 at 4:33pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #36 - Jul 15th, 2019 at 5:20pm
 
OK send it with build properties and verbose.

I stay on Programming port until new order!!

Grin
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #37 - Jul 16th, 2019 at 5:59am
 
Hi!

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



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #38 - Jul 16th, 2019 at 12:47pm
 
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
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #39 - Jul 16th, 2019 at 1:15pm
 
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
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #40 - Jul 16th, 2019 at 1:40pm
 
Hi

F5 is Debug>Start and I explained in my last message that causes upload to fail. Serial upload on the Due is not possible when you connect the JTAG

Upload without JTAG connected and then plug in the ICE/JTAG and click "Debug>Attach". Do not click F5

In future release you will be able to use ICE for upload as well as for debug. Then you will be able to click F5



One last point, set the Optimization to "No project + libraries" or higher.
Back to top
 
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #41 - Jul 16th, 2019 at 2:03pm
 
Sorry,
but is where the Attach command ? in my Menu (vMicro) there aren't

n vs2019 there is a debug menù but there is not attach

do you mean CRTL + ALT + P  ???
Shocked

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



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #42 - Jul 16th, 2019 at 2:46pm
 
Please see the Debug menu at the top of the Visual Studio IDE. It contains the real names of the short cut keys you talk.

"Debug>Attach To Process"

There will be some videos produced during the coming weeks. It might be an idea for you to wait for them because they will answer a lot of questions.

Back to top
« Last Edit: Jul 16th, 2019 at 2:46pm by Visual Micro »  
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #43 - Jul 16th, 2019 at 3:17pm
 
Ok Find it attach to Process
Compiling: OK
Uploading: OK

disconnetting USB form Programming port

Connetting USB cable to ICE/JTAG
set debug: hardware Atmel ICE
lunch  attach to Process

there is a error:
Unable to start debugging . The satellite assembley named
"Microsoft.VisualStudio.Shell.UI.Internal.reasources.ddl,Version 16.0.0.0, Pubblic KeyToken=b03f5f7f11d5a3a For fallback culture "en" either could not be found or could not be loaded. This is generally a setaup problem. Please consider reinstalling or reparign application.

Sad


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



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #44 - Jul 16th, 2019 at 4:09pm
 
This seems to be an internal visual studio error similar to the status bar error you encountered the other day.

The error says that visual studio can't find the standard american/english  (en) language files. We might have to report the issue to Microsoft as I suspect it is a VS2019 issue.

What languages show on your task bar? I assume you have maybe Italian as default? Does USA/UK (en) show as a language? If not please enable it. I am not asking you to switch from your language just to ensure the language support files are available to your machine for USA/UK

Thanks

Back to top
 
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #45 - Jul 16th, 2019 at 4:44pm
 
Hi!
OK I have removed the italian lang. and installed the english
language.

now there is a new error.
unable to  find the file:
directory: vmicro\tools\open-0.10.0.1\bin\openocd.exe
Shocked
Back to top
 
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 40
Re: Atmel ICE debugger not detected
Reply #46 - Jul 16th, 2019 at 5:27pm
 
If you try and press Debug > Attach to Process again it should have installed the extra tools (it downloads them the first time you attach to a board requiring them)

If not, can you confirm there is a folder on your PC:
C:\ProgramData\VMicro\tools\openocd-0.10.0.1

If not please post the "Micro Build" output after the failed attach, as this should now show the tool download if it is not installed:

Downloading tool to C:\ProgramData\vmicro\tools\openocd-0.10.0.1\openocd-0.10.0.1.zip
Installing tool.
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #47 - Jul 17th, 2019 at 6:41am
 
Hi !

Yes I have a folder
C:\ProgramData\VMicro\tools\openocd-0.10.0.1
I have to tryed again to start the debug...always fail.

In this folder is not present openocd.exe


where  can I find the file openocd-0.10.0.1.zip to downloading?

Smiley

Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #48 - Jul 17th, 2019 at 6:43am
 
This is my microbuild on debug fail connection
# MI Debugger Properties
{
  "serverLaunchTimeout": 5000,
  "filterStdout": false,
  "filterStderr": true,
  "targetArchitecture": "arm",
  "stopAtEntry": false,
  "externalConsole": false,
  "MIMode": "gdb",
  "MIDebuggerServerAddress": "localhost:3333",
  "cwd": "C:\\Users\\marco\\AppData\\Local\\Temp\\VMBuilds\\ArduinoDueProject\\arduino_du
e_x_dbg\\Debug",
  "MIDebuggerPath": "C:\\Users\\marco\\AppData\\Local\\arduino15\\packages\\arduino\\tools\\arm-none
-eabi-gcc\\4.8.3-2014q1/bin\\arm-none-eabi-gdb.exe",
  "MIDebuggerArgs": "",
  "debugServerPath": "C:\\ProgramData\\vmicro\\tools\\openocd-0.10.0.1\\bin/openocd.exe",
  "debugServerArgs": "-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/at91sam3XXX.cfg]\" -c \"init; reset halt\"",
  "program": "C:/Users/marco/AppData/Local/Temp/VMBuilds/ArduinoDueProject/arduino_due_x_dbg/
Debug/ArduinoDueProject.ino.elf",
  "logging": {
    "moduleLoad": false,
    "trace": false,
    "engineLogging": false,
    "programOutput": false,
    "exceptions": false,
    "traceResponse": false
  },
  "visualizerFile": "C:\\Users\\marco\\AppData\\Local\\Temp\\VMBuilds\\ArduinoDueProject\\arduino_du
e_x_dbg\\Debug\\debugger_tmp.natvis",
  "showDisplayString": true
}
Back to top
 
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 40
Re: Atmel ICE debugger not detected
Reply #49 - Jul 17th, 2019 at 9:57am
 
The ZIP can be downloaded from the link below manually:
https://www.visualmicro.com/downloads/tools/openocd-0.10.0.1/openocd-0.10.0.1.zi...

This needs extracting to "C:\Program Data\vMicro\tools\", and after this you should be able to see files in the folder, for example in the "C:\Program Data\vMicro\tools\openocd-0.10.0.1\bin" folder should be "openocd.exe" and a number of dll files.

The debugger should start once these files are in place.

If it fails after this, please re-attach the whole Micro Build log from the next run.
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #50 - Jul 17th, 2019 at 10:23am
 
WOW!
WOW!
WOW!
Cheesy Grin
Cheesy Grin
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #51 - Jul 17th, 2019 at 10:27am
 
Thanks! Now it  W O R K ! with Atmle ICE

Now I'm Waiting for final version with the possibility to unify compiling + downloading  + debug using only a ICE debug.

Next Week?
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #52 - Jul 19th, 2019 at 6:13pm
 
Hi!
When do you think will to be ready a new version for  uploading + debuging using only ICE Atmel?

ciao
Marco
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #53 - Jul 23rd, 2019 at 7:19am
 
Hi! some news about this treat?
Smiley
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #54 - Jul 23rd, 2019 at 10:10am
 
There will be a release over the next couple of weeks with a full range of programmer/uploader support. It involves a lot of different boards so will take a little time.

Please watch out for release notifications in the releases section.
Back to top
 
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #55 - Jul 23rd, 2019 at 12:35pm
 
Ok thanks!
Good job!
Cheesy
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #56 - Aug 5th, 2019 at 3:42pm
 
Hi, I see the new versione 1908.04  is this the right version to solve my problem?
upload + debugging using Atmel ICE emulator
ciao
Marco
Back to top
 
 
IP Logged
 
Visual Micro
Administrator
*****
Offline



Posts: 10395
United Kingdom
Re: Atmel ICE debugger not detected
Reply #57 - Aug 5th, 2019 at 3:47pm
 
If you see a flag at the top of the IDE that means there is a full new release from the Gallery. Today we published 1908.5 to the Gallery.

The release should provide hardware debugging with the ICE but it is not an emulator it is "real time". We do not provie an emulator but maybe you used the wrong word by mistake Smiley
Back to top
« Last Edit: Aug 5th, 2019 at 3:48pm by Visual Micro »  
WWW  
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #58 - Aug 5th, 2019 at 3:55pm
 
Hi yes of course, is a wrong word -emulator-. I want use your debug step by step using the Atmel ICE, including the uploading of the code via Atmel IC also
ciao
Marco
Back to top
 
 
IP Logged
 
Simon Hopkinson
Administrator
*****
Offline



Posts: 40
Re: Atmel ICE debugger not detected
Reply #59 - Aug 5th, 2019 at 4:05pm
 
If you download and install the latest release this should now work for you as expected with the ICE Debugging and Upload, with the Due
Back to top
 
 
IP Logged
 
MARCO_ITALY
Junior Member
**
Offline



Posts: 51
Re: Atmel ICE debugger not detected
Reply #60 - Aug 5th, 2019 at 4:08pm
 
OK thanks for support! nice!
thanks
Marco
Back to top
 
 
IP Logged
 
Pages: 1 
Send Topic Print