I'm on Atmel Studio 22.214.171.124, Windows 10, and I'm using Atmel ICE on my Dell XPS laptop. All is fine as long as the debugger is connected directly to either of the laptop's USB A ports. I'm not able, however to use it while connected to neither of the Dell TB16 Thunderbolt 3 dock's USB ports. The "Device Programming" dialog in AS tells me "There are no available tools" and doesn't even show the Simulator. When trying
I get this:
Working...TCF channel terminated error: [Errno 10054] An existing connection was forcibly closed by the remote host File "tcf\channel\AbstractChannel.py", line 69, in run File "tcf\channel\StreamChannel.py", line 61, in read File "tcf\channel\ChannelTCP.py", line 96, in getBuf [ERROR] JSON error: Failed to parse response to Tool:getAttachedTools: Command C Tool getAttachedTools aborted
This seems to happen even on other hubs connected downstream of TB16. How the TB16's USB ports are implemented is there's a USB controller hanging off the Thunderbolt 3 bus. My gut feeling is, however, there's nothing inherently wrong with the dock's USB implementation as such as there is a "Microchip Tools/Atmel-ICE Data Gateway" showing properly in the "Device Manager" so it seems to enumerate just fine. I also doubt there's an excessive latency issue at play here as I even got my ICE to work over VirtualHere TCP-remoted USB connection seemingly without any issues other than somewhat reduced performance and there's no way there's less latency than when connected via the TB dock. I would be willing to go as far as trying to debug the TCF Python code in question but it seems the source is compiled or at least obfuscated in some way.
Has anyone encountered anything similar to this? If anyone asks what the big deal is and why I cannot just stick the ICE directly into one of the computer's USB ports and be done with it, it ruins my "Only One Cable to the Laptop" experience