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

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_xlato

Re: [Openocd-development] gdb post mortem core file.

2011-05-12 Thread Johan Simonsson
Hi Øyvind Is it possible to use OpenOCD to create a "core" file for later post mortem analysis with gdb? Some of these parts are so small, so why not record the memory sram contents every time you halt? :-) That is a cool idea as well :) My idea here was a little bit simple. Let's say I wo

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 connn

Re: [Openocd-development] gdb post mortem core file.

2011-05-12 Thread Øyvind Harboe
On Thu, May 12, 2011 at 11:54 AM, Johan Simonsson wrote: > Hi > > Is it possible to use OpenOCD to create a "core" file > for later post mortem analysis with gdb? Some of these parts are so small, so why not record the memory sram contents every time you halt? :-) One could then add some command

[Openocd-development] gdb post mortem core file.

2011-05-12 Thread Johan Simonsson
Hi Is it possible to use OpenOCD to create a "core" file for later post mortem analysis with gdb? If we look at high level Linux gdb debugging, when a process crash the kernel can create a core dump that is some kind of elf (I think). This file can be loaded into gdb, so we can have a look at wh

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 XSca

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

2011-05-12 Thread Tomek CEDRO
On Thu, May 12, 2011 at 7:13 PM, Øyvind Harboe wrote: > What would this do? " TCF is intended to become a replacement for protocols like the GDB Serial, WDB, and GDB/MI protocols used for embedded software development. On top of the protocol specification, which is the core of TCF, the initial c

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

2011-05-12 Thread Øyvind Harboe
What would this do? -- Ø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

[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. __

Re: [Openocd-development] jtag noob - noob questions

2011-05-12 Thread Luka Perkov
On Fri, May 06, 2011 at 04:19:07PM -0400, Eric Cooper wrote: > On Fri, May 06, 2011 at 08:59:37PM +0200, Luka Perkov wrote: > > as the subject implies I have never used jtag. I would like to replace > > original uboot from this device: > > > > http://wiki.openwrt.org/toh/gigaset/sx76x > > Have yo

Re: [Openocd-development] Error in RTOS code?

2011-05-12 Thread Øyvind Harboe
Should I commit after a day or two cool-off? You may also wish to examine git commit --amend. It will amend the latest commit. interactive rebase is just *wonderful* w.r.t. creating a patch sequence and getting it just right before applying it to the master branch Avoids a lot of noise in the

Re: [Openocd-development] Error in RTOS code?

2011-05-12 Thread Alan Bowman
> To create a single commit, you do an interactive rebase > and squash the two commits, and then produce a patch > against master: Thanks, that (appeared) to work perfectly. New patch attached, that combines the two earlier patches from this thread. Alan 0001-Correct-stacking-direction-and-use