Atmel ICE won't work on Dell TB16 dock

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

Hello,

 

I'm on Atmel Studio 7.0.23.97, 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

atprogram list

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 wink

Last Edited: Sun. Aug 29, 2021 - 09:44 PM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 2

The TB16 dock has been haunting us for a long time... 

 

We do have a non-validated build available that seems to work slightly better on the TB16 dock, so if you want to test it then create a support request so we can track if it works for you as well (as said, it's not validated so we're not giving it out to everyone yet :) )

:: Morten

 

(yes, I work for Microchip, yes, I do this in my spare time, now stop sending PMs)

 

The postings on this site are my own and do not represent Microchip’s positions, strategies, or opinions.

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

Thank you, will do!

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

hello. I have the same problem on my pc :(

I used over 10 years the avr studio 4 with the ACR jtach mkii.

now my old programmer was defected and I bought the new jtag ICE.

but this is only working under the avr studio 7

I installed the AVR Studio 7. "as-installer-7.0.2542-web"

 

I'm using command line to flash via batch file automatic in the production.

But I have the same issue like Zbig_T

 

In case i connect my programmed device(AT90USB1287) via USB (what I urgent need) I get the same error messages.

Please help me as soon as possible because we have to flash high urgent many AT90USB1287 controller in the production.

Please send me the new "untested version" that fix the problem like you send to Zbig_T

thanks a lot!!

 

error messages from the atprogramm command line:

--------------------------------------------------------------------

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

------------------------------------------------------------------------------------------

C:\Users\Administrator\Documents>atprogram list
Working.  TCF channel terminated
error: [Errno 10054] Eine vorhandene Verbindung wurde vom Remotehost geschlossen
  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

 

 

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

John Samperi

Ampertronics Pty. Ltd.

https://www.ampertronics.com.au

* Electronic Design * Custom Products * Contract Assembly

Topic locked