Re: [Openocd-development] OpenOCD becoming an Eclipse TCF Agent

2011-05-16 Thread Austin, Alex
Øyvind,
I wrote that based purely on briefs that I've read online.
I've seen references to TCF using JSON in the transport, but
I know nothing beyond that. Unfortunately, I'm not sure my
position would allow me to spend work-hours on it, but I may
be able to look into it more on my own time. Wouldn't happen
very fast, though.

Also, I don't think it would be worth doing much until GDB
either provides a TCF interface alongside GDB/MI or there
is a fork that does.

- Alex

-Original Message-
From: Øyvind Harboe [mailto:oyvind.har...@zylin.com] 
Sent: Friday, May 13, 2011 12:25 AM
To: Austin, Alex
Cc: openocd-development@lists.berlios.de
Subject: Re: [Openocd-development] OpenOCD becoming an Eclipse TCF Agent

Hi Alex,

thanks for the insight!

This is very interesting

Do you know what it would take to implement such a server?

A gdb server, that OpenOCD has, has as a lot of optional
functionality.

What's the minimum that we'd have to do to get started?

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


[Openocd-development] OpenOCD becoming an Eclipse TCF Agent

2011-05-12 Thread Martin Davey

The TCF project from Eclipse looks promising:

http://wiki.eclipse.org/DSDP/TCF

Just wondered what thoughts were in OpenOCD becoming a TCF agent?

Would this ever likely be an accepted direction within OpenOCD, or would 
it be better to write an external agent?



Martin.


___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] OpenOCD becoming an Eclipse TCF Agent

2011-05-12 Thread Øyvind Harboe
So OpenOCD would have a TCF TCP/IP server that would  feed output/input
from DCC?

Why is code required on the target?



-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] OpenOCD becoming an Eclipse TCF Agent

2011-05-12 Thread Martin Davey

On 12/05/2011 20:22, Øyvind Harboe wrote:

So OpenOCD would have a TCF TCP/IP server that would  feed output/input
from DCC?

Why is code required on the target?



As I understand it, you can run an agent on the target, or the agent 
could be like OpenOCD and bridge between the JTAG and TCF connnection.


The communication between TCF and the Agent is JSON.

Extra services like target discovery etc would make the whole thing very 
slick.

___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] OpenOCD becoming an Eclipse TCF Agent

2011-05-12 Thread Austin, Alex
From what I understand, what this would allow such
a stackup as:

Component  Provides

ARM Core   JTAG
OpenocdTCF (addresses only)
GDBTCF (interprets symbol table,
handles soft breakpoints)
My_rtos_xlator TCF (knows where to find thread
state tables)
Oprofile   TCF (keeps statistics of thread
and function runtimes)
EclipseGUI with full knowledge of thread
   state and profiling info

You could pull out My_rtos_xlator and still have
access to function-specific profiling. You could pull
out the oprofile layer if you don't need it. You could
write My_rtos_xlator in a platform-agnostic manner with
GDB and openocd translating it to support whichever
target the rtos is running on.

-Original Message-
From: openocd-development-boun...@lists.berlios.de 
[mailto:openocd-development-boun...@lists.berlios.de] On Behalf Of Martin Davey
Sent: Thursday, May 12, 2011 3:08 PM
To: Øyvind Harboe
Cc: openocd-development@lists.berlios.de
Subject: Re: [Openocd-development] OpenOCD becoming an Eclipse TCF Agent

On 12/05/2011 20:22, Øyvind Harboe wrote:
 So OpenOCD would have a TCF TCP/IP server that would  feed output/input
 from DCC?

 Why is code required on the target?



As I understand it, you can run an agent on the target, or the agent 
could be like OpenOCD and bridge between the JTAG and TCF connnection.

The communication between TCF and the Agent is JSON.

Extra services like target discovery etc would make the whole thing very 
slick.
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development


Re: [Openocd-development] OpenOCD becoming an Eclipse TCF Agent

2011-05-12 Thread Øyvind Harboe
Hi Alex,

thanks for the insight!

This is very interesting

Do you know what it would take to implement such a server?

A gdb server, that OpenOCD has, has as a lot of optional
functionality.

What's the minimum that we'd have to do to get started?

-- 
Øyvind Harboe

Can Zylin Consulting help on your project?

US toll free 1-866-980-3434 / International +47 51 87 40 27

http://www.zylin.com/zy1000.html
ARM7 ARM9 ARM11 XScale Cortex
JTAG debugger and flash programmer
___
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development