Author Topic: CCS remote debugging  (Read 4583 times)

0 Members and 1 Guest are viewing this topic.

Offline blueskullTopic starter

  • Supporter
  • ****
  • !
  • Posts: 367
  • Country: cn
  • BA7LKP
CCS remote debugging
« on: October 26, 2016, 03:42:40 am »
Hi all,

Is there any way to run a CCS debugging agent remotely on a server which connects to actual hardware, from a laptop connected through WiFi?
The reason I want to do so is because the target board may see 5kV or even higher upon some serious failure (the design is a 1MW power device test bed). Though I quadruple isolated things with UL certified, reinforce isolated digital isolators and power modules, I just do not want to risk my life operating a laptop connected to a 5kV, 200A test bed fed directly from 2.3kV distribution panel.

Here I have 2 possible ideas:
1. using any Linux board and setup USBIP, then connect the virtual USB from my laptop.
2. run a true CCS debugging agent (if TI has one) on an x86 Linux/Win10 board and connect it from my laptop (if it supports remote debugging).

I know route 1 is feasible, but I do not know how bad the latency and speed will be. I would prefer route 2, but I do not know if TI has such offerings.
I would like to hear your opinions about remote debugging (or at least, programming) an F28377S.



Thanks
 

Offline newbrain

  • Super Contributor
  • ***
  • Posts: 1918
  • Country: se
Re: CCS remote debugging
« Reply #1 on: October 26, 2016, 07:08:13 am »
At lest for MSP432, there is a Windows executable named GdbTiAgent that can be launched by specifying the port and board config file.
It's tucked away in some tool folder in the CCS install: can't help more, as I am 3000km away from the machine I have it on.

It's not well documented, but it works, with some effort (see also this post).

It should support other debug interfaces (xds100?) and processors in addition to xds110.
A listening port can be specified with -p nnnn and a conf file with -f

It's very bare-bone, not rich as, say OpenOCD but you can set breakpoints, and IIRC tracepoints, run/stop and do general gdb stuff.

Then you migth have to fool CCS in talking to it, or use a generic, gdb supporting, IDE.

Nandemo wa shiranai wa yo, shitteru koto dake.
 
The following users thanked this post: blueskull

Offline kaz911

  • Super Contributor
  • ***
  • Posts: 1052
  • Country: gb
Re: CCS remote debugging
« Reply #2 on: October 26, 2016, 09:11:28 am »
you can use Ethernet debuggers like XDS 220 or XDS560 - http://www.spectrumdigital.com/ethernet/


There used to be a couple of Wireless JTAG debug interfaces (Blackhawk 510W & Olimex) but both are out of production.
 
The following users thanked this post: blueskull

Offline Fred27

  • Supporter
  • ****
  • Posts: 737
  • Country: gb
    • Fred's blog
Re: CCS remote debugging
« Reply #3 on: October 26, 2016, 09:46:18 am »
Why not run CCS on the machine connected to the device and use a remote desktop client to connect your laptop to the remote machine? Perhaps not as elegant, but quicker and simpler.

Sent from my Nexus 6 using Tapatalk

 

Offline kaz911

  • Super Contributor
  • ***
  • Posts: 1052
  • Country: gb
Re: CCS remote debugging
« Reply #4 on: October 26, 2016, 09:46:34 am »
are you sure you can't disable the internal XDS100 and solder a connector on to the board? If it is a LaunchPad board - most of them have the option. For ARM 20 pin heard - TMS/TDI/GND/3.3V/TDO/TCK

For 14 pin TI header TMS/TDI/TDIS/VTRef/TDO/TCK/GND

But which board are you using with embedded XDS100?
 

Offline ebclr

  • Super Contributor
  • ***
  • Posts: 2332
  • Country: 00
Re: CCS remote debugging
« Reply #5 on: October 28, 2016, 05:31:45 am »
Use ccs cloud and team viewer or windows remote
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf

 

- - -
-->