Can't attach atprogram.exe nor atmel studio over tcp/ip to sam-ice

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

I am getting this error when trying to connect atprogram to a JLinkRemoteServer

that is controlling a sam-ice. Also, in Atmel Studio I cannot find a way

to tell it that I want to use a remote debugger.

 

Using newest SEGGER JLink download and Atmel Studio 7.0.

 

Is anyone successfully doing this?

Thanks, Mark

 

atprogram.exe -h 192.168.1.20 -p 19020 chiperase
[ERROR] An unexpected error occurred when executing.
Traceback (most recent call last):
  File "__init__.py", line 53, in run
  File "atmel\avr\cli\commandline.pyc", line 79, in execute_commands
  File "atmel\avr\cli\commandexecutor.pyc", line 52, in execute_commands
  File "atmel\avr\cli\resourcemanager.pyc", line 44, in prepare_resources
  File "atmel\avr\cli\resourcemanager.pyc", line 51, in _prepare_resource
  File "atmel\avr\cli\resourcecontainers.pyc", line 52, in allocate
  File "atmel\avr\cli\backend.pyc", line 145, in connect
  File "tcf\__init__.pyc", line 31, in connect
  File "tcf\util\task.pyc", line 143, in get
Exception: ('TCF task aborted', IOError('Protocol syntax error',))

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

atprogram cannot connect to a JLink remote server (it connects to a shared component with Atmel Studio, called atbackend). 

 

Being able to tell Atmel Studio to connect to a JLink Server is in the pipes (but you didn't hear it from me though)

:: Morten

 

(yes, I work for Atmel, 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

Thanks. Does this mean that atprogram can connect over tcp/ip to a remote atbackend (instead of JLinkRemoteServer?) If so hoe do I start atbackend and what would be its top port?

Can gab be used on a remote target?

Thanks very much for your attention.

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

Should read "tcp port" not "too port"
Should read "gdb" to remote target.
Thanks.

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

In theory yes, but in practice no (currently, atbackend and Atmel Studio assumes that they are on the same machine when reading files).

:: Morten

 

(yes, I work for Atmel, 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.