Windows 10: Unable to connect to USB in-circuit emulator

  1.    02 Mar 2018 #1

    Unable to connect to USB in-circuit emulator


    I'm doing some embedded development targeting an Atmel AVR CPU. The workflow is, I write the program in C, compile it, download it to the chip via a USB-interfaced in-circuit emulator (Atmel-ICE), and it runs in the chip. This was working fine up until a couple of days ago when the IDE stopped being able to connect to the ICE. When I plug the ICE into a USB port, Windows beeps in acknowledgement, and it shows up in device manager (under Atmel > Atmel-ICE Data Gateway). The IDE vendor (Imagecraft) claims this is all they should need to connect to it, but they can tell from a DebugView log that the IDE isn't finding the ICE, so they don't know what the problem is. I've also tried using Atmel's IDE (Atmel Studio), but it has the same problem. So this looks like a Windows issue. I've tried rebooting the PC, disabling Malwarebytes, reinstalling the IDE, and swapping out the ICE for another one, but no luck.

    This is really killing me, so I'd really appreciate any pointers. Thanks.
      My ComputerSystem Spec


  2. Posts : 6,911
    Windows 10 Pro x64 Build 1709
       02 Mar 2018 #2

    Hi Involute

    Any chance you are using restore points and can restore from a date before the issue started?

    If you look under Window Updates, view installed update history, what software or drivers have been installed in the last couple of days?

    Are you aware of any other changes, maybe a software update to your AV (Malwarebytes or other), a new product / app you may have installed.
      My ComputerSystem Spec

  3.    03 Mar 2018 #3

    All good suggestions, Caledon. Thanks. Unfortunately, the problem appeared on 2/28 (though things were working fine earlier that day), my most recent restore point before then was on 2/26, and Windows fails when trying to restore from it (I've configured Windows now to make a restore point every day, fwiw). My last Windows updates were on the 26th, too, so things shouldn't have been working on the 28th if that were the problem. I can't think of anything else that happened that day that could have triggered this.

    I've tried using both ICEs on another system (Win7), and they both fail there, too, so it's possible my hardware killed them both. I know how damning that seems, but I haven't found anything suspicious in the setup. I've ordered a couple of replacements, just in case.
      My ComputerSystem Spec


  4. Posts : 6,911
    Windows 10 Pro x64 Build 1709
       03 Mar 2018 #4

    Might I suggest you look at Macrium Reflect. It is free and reliable. I would use it instead of restore points.

    Will be interesting to see how replacements run.

    Good luck.
      My ComputerSystem Spec


  5. Posts : 6,431
    10 Home x64 (1709) (10 Pro on 2nd pc)
       03 Mar 2018 #5

    Involute said: View Post
    When I plug the ICE into a USB port, Windows beeps in acknowledgement, and it shows up in device manager (under Atmel > Atmel-ICE Data Gateway)....
    One cure for a device that's not working can be to uninstall it in Device Manager then let windows detect new hardware and reinstall it. I'm not familiar with this device, Windows may not have drivers for it so you may be asked to provide the drivers yourself. Did you have to when you first installed it? If so, make sure you have the drivers to hand before you try.

    Then again, your suspicion of a physical failure may be correct. If so, the above won't help
      My ComputersSystem Spec

  6.    03 Mar 2018 #6

    Caledon Ken said: View Post
    Might I suggest you look at Macrium Reflect. It is free and reliable. I would use it instead of restore points.
    I do a complete system backup every night with Acronis. Unfortunately, it amounts to about 1.5TB, so I can only save one day’s worth on my 4TB external drive (it needs enough space to write the current backup before it deletes the previous one). I might be able to have it back up the Windows folder separately, though, which would allow me to keep more copies of that. Why would that be better than System Restore?
      My ComputerSystem Spec

  7.    03 Mar 2018 #7

    Bree said: View Post
    One cure for a device that's not working can be to uninstall it in Device Manager then let windows detect new hardware and reinstall it.
    The IDE comes with a driver installer just to make sure a user can have the right driver. I’ve run it multiple times, though I haven’t explicitly uninstalled the driver since the installer offers to repair the driver if you run it and it detects it’s already installed. I suppose explicit uninstallation is worth a try.

    The new ICE arrives tomorrow, but I’m leery of installing it without knowing how the previous ones got borked first, and nothing’s jumping out at me from my hardware, which is a single chip on a breadboard.
      My ComputerSystem Spec


  • Posts : 6,911
    Windows 10 Pro x64 Build 1709
       03 Mar 2018 #8

    Macrium Reflect works, like Acronis. System Restore is iffy, yours just failed, and restore points are deleted with Feature updates. Macrium has ability to backup System components. I don't use Acronis but understand it is a quality product as well.

    I bought Macrium and it has image guardian which is supposed to prevent ransomware from attacking backups. (I haven't tested).

    I have my system in separate partition and backup weekly.
      My ComputerSystem Spec

  •    09 Mar 2018 #9

    It turns out the ICE was somehow activating both the Atmel Gateway and LIBUSB drivers in Device Manager, and that seems to have been causing the problem. Uninstalling LIBUSB allows the ICE to now be seen by both my IDEs. Problem solved, for now.
      My ComputerSystem Spec


  •  

    Related Threads
    Solved my PC is unable to connect to wifi in Network and Sharing
    Hey. Can anyone help me with this? Changed my wifi name and password. After that I`m unable to type the password. After clicking connect it loads for a while showing "checking network requirements" and it ends with "cant connect to this network"....
    Unable to connect to Malwarebytes server in AntiVirus, Firewalls and System Security
    I have three computers on the same network. All running Win 10 Pro. About 2 weeks ago two of the computers stopped getting updated from MWB. I tried manually updating but get an error message saying that it couldn't connect to the update server. ...
    Unable to connect to mapped drives in Network and Sharing
    Well, not exactly. I have NAS drives and mapped them just like I did on my Windows 7 laptop. It all works fine and the NAS drives show up just fine in network link too. Everything is Ethernet connected. But I see anomalies. If I reboot my machine,...
    Solved Windows 10 unable to connect to wifi in Network and Sharing
    Hi, I purchased a new computer running Windows 10 (build 10240) today and have set up the windows. However, it will not allow me to connect to my wifi. When I use the network option in the task bar, no wifi networks are shown and it says that...
    Hi Everyone. I have been using a VPN for 2 years on Windows 7 Ultimate with no problems at all. But it will not connect up on Windows 10 pro, on my PC, I keep getting this message windows.immersivecontrolpanel_cw5n1 any help would be very much...
    Our Sites
    Site Links
    About Us
    Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

    Designer Media Ltd
    All times are GMT -5. The time now is 14:59.
    Find Us