Atmel ICE not recognized

Go To Last Post
18 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have never had an issue with my Atmel ICE programmer being recognized in Atmel Studio 6.2 and today my only option was the "Simulator". I have tried two separate Atmel Ice's (one is brand new), different USB cables, different PC's, Atmel Studio 7.0 and 6.2 and updated the firmware according to:

 

https://www.avrfreaks.net/forum/a...

 

I even followed Atmels recommendation of modifying the path environment variable with no success. Any help would be much appreciated.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What's the Windows version via 'winver'?

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Win 7 Ultimate Version 6.1 (Build 7601: SP1) &

Win 10 Ver 1511 (OS Build 10586.104)

 

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Windows 7 - no ideas.

Windows 10 - ideas from ones at Atmel :

http://atmel.force.com/support?q=%22Windows%2010%22

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hoser1000 wrote:
Win 10 Ver 1511 (OS Build 10586.104)
2016-Feb-09

Atmel Studio 7.0.1006 2016-Jun

Was Jungo updated in Atmel Studio 7 this year?


https://support.microsoft.com/en-us/help/12387/windows-10-update-history

http://www.atmel.com/tools/atmelstudio.aspx?tab=overview

http://www.atmel.com/tools/studioarchive.aspx

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

i have been using this for a couple years and mis-wired the connections on a breadboard in the past with no damage. I would also imagine that if the target connection was mis-wired, it would still register with Atmel Studio correct? I never got a current draw greater than 1mA from my benchtop supply.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

hoser1000 wrote:
I would also imagine that if the target connection was mis-wired, it would still register with Atmel Studio correct?
Likely.

Is the Atmel-ICE displayed via Device Manager?

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

It does list the Atmel-ICE as a "Atmel-ICE Data Gateway" in the Device Manager and when I plug it in, an extra "HID-compliant Device" and "USB Input Device" appear in the list. Under Jungo Connectivity I have "atmelwindrvr" listed. When I go to eject the ICE it lists it as "Atmel-ICE CMSIS DAP"

Last Edited: Fri. Sep 2, 2016 - 12:57 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm at a loss for further ideas.

 

"Dare to be naïve." - Buckminster Fuller

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I have the same issue with Atmel ICE, 

this is the second one I've been using, I don't understand why suddenly they are not recognized. I am also using Windows 10. 

The last time this happened I switched devices with a colleague and the funny thing is that the one that did not work in my PC did work in his. I continued to use the secont Atmel ICE programmer but today it stopped being recognized as well.

I can find it under Device Manager as  Atmel ICE Data Gateway but neither atprogram.exe nor Atmel Studio recognize the device anymore. 

 

Any suggestions?

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Well, it's complicated.

 

The old programmer/debugger used Jungo (a third party) drivers.

This was balky and troublesome.

It would appear in Device Manager under "Jungo".

 

Since then they switched to using USB HID to send DAP packets which wrap Atmel private protocol packets.

The advantage of using USB HID is that neither an INF file or a driver are needed.

One of the disadvantages is that this interface shows up in Device Manager as "Composite USB Device", not very helpful, eh?

 

The other interface for Data Gateway Interface uses a pair of bulk endpoints.

The driver for this is the standard WinUsb driver.

However, since this is configured with an Atmel INF file it gets its own class and appears in Device Manager as "Atmel > Data Gateway".

The Data Gateway Interface is unrelated to the programmer/debugger functions.

 

In short, you and your friend have one old and one new firmware.

Try updating with atfw.exe

Look with usbview.exe (or some other USB diagnostic) what the VID/PID/interfaces are.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Uninstall the device from device manager and restart the PC and fire up Studio, then plug in the Atmel ICE and it should see it, and if there is any updates needed prompt you about them.  I had this happen once on mt Win10 machine.  Have not had an issue since.

 

If you do use the ICE on machines that use the older driver then you will have to do firmware updates each time the ICE is plugged into the machine though.

 

Jim

I would rather attempt something great and fail, than attempt nothing and succeed - Fortune Cookie

 

"The critical shortage here is not stuff, but time." - Johan Ekdahl

 

"Step N is required before you can do step N+1!" - ka7ehk

 

"If you want a career with a known path - become an undertaker. Dead people don't sue!" - Kartman

"Why is there a "Highway to Hell" and only a "Stairway to Heaven"? A prediction of the expected traffic load?"  - Lee "theusch"

 

Speak sweetly. It makes your words easier to digest when at a later date you have to eat them ;-)  - Source Unknown

Please Read: Code-of-Conduct

Atmel Studio6.2/AS7, DipTrace, Quartus, MPLAB, RSLogix user

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

My Atmel-ICE suddenly did not work anymore.

 

Adding a few search strings for anybody experiencing the same problem.

- Unable to connect to tool Atmel-ICE (J41800025219)
  Failed to connect. Error=0x1001

 

- StatusCode 131103

 

- TCF (TCF command: Tool:connect failed.)

 

- [ERROR] Failed to connect. Error=0x1001. (TCF Error code: 131103)

 

The solution in my case was to remove all USB drivers in any way related to Atmel, "Atmel-ICE Data Gateway" and Jungo and restart my PC. (As suggested by jgmdesign)

Started Atmel Studio again, then plugged in the emulator, the right driver (Atmel-ICE Data Gateway) got installed again and everything works again.

Jungo is not there anymore, that was something left on my PC form development work in the past.

 

How I got in this situation in the first place is not clear, the emulator has been working fine for some time before the problem started.

 

 

 

 

Last Edited: Sat. Mar 24, 2018 - 11:37 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

BartVL wrote:
How I got in this situation in the first place is not clear, the emulator has been working fine for some time before the problem started.
Windows 10 version 1709?

If yes, a recent 1709 update caused a USB HID issue on some PC; that issue has both a work-around and a solution.

Atmel-ICE goes via WinUSB in Atmel Studio 7.0.1416 and subsequent (before was Jungo)

Though the error is different, this thread may be similar :

AVR ISP MKII programmer issue in AS6 and AS7 with windows 10 OS
https://www.avrfreaks.net/forum/avr-isp-mkii-programmer-issue-as6-and-as7-windows-10-os-0

 


February 13, 2018—KB4074588 (OS Build 16299.248) - Windows Help

https://support.microsoft.com/en-us/help/4074588

via

Windows 10 and Windows Server update history - Windows Help

https://support.microsoft.com/en-us/help/4043454

 

Edit: 3rd URL

 

"Dare to be naïve." - Buckminster Fuller

Last Edited: Sat. Mar 24, 2018 - 08:25 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

No Windows 10 no, I'm still using Windows 7 on this machine. I don't think Windows is to blame this time.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hello All.

 

I'm facing the same problem: Atmel Studio 7 (7.0.1931) doesn't see Atmel-ICE. I'm using Windows 7 64Pro.

Device driver is installed successfully, device is enumerated as Atmel-ICE CMSIS-DAP and is seen as "Composite USB device" in device manager. By the way, I don't have anything like Jungo on my system.

Device is seen by the atfw tool:

 

 

moreover, I can erase, program and verify microcontroller's flash memory by using atprogram tool from command line!

This tells me atmel-ICE is sort of functioning, but Atmel Studio doesn't detect it. It only offers "Custom Programming Tool":

 

 

I have tried everything already. I also tried uninstalling the device from device manager and restarting PC and AS like suggested by jdmdesign. It doesn't help.

 

Interestingly I also see an error message when trying to load debugger tab in Tools menu:

 

 

I have also tried installing AS7 on a completely clean and freshly-updated Windows 10 Pro system and there AS7 doesn't see the debugger as well.

 

 

 

Last Edited: Wed. Feb 20, 2019 - 09:46 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Did you sort out this issue? I m facing the exact situation. Working well on my friend's laptop

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

"Dare to be naïve." - Buckminster Fuller

Last Edited: Fri. Feb 28, 2020 - 07:19 PM