[Openocd-development] Oddities in target.c & gdb_server.c

2008-07-25 Thread Duane Ellis
Hello - I 've come across a few things that make no sense and seem wrong. === (a) example - top part of "target.c' - target_init() does this: target->type->examined = 0; Generally, the idea of "type" is a C version of a C++ method table. (or

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Magnus Lundin
Hi I think it can be useful to compare the Cortex-M3 code which implements the arm_v7m architecture to the targets that descends from the armv_7_9. The usage and dependency looks as follows: target.c- General target framwork, common to all targets armv7m.c

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Brian Hutchinson
I'll check it out to try an come up to speed with the project. Any other pointers are welcome if anyone thinks of things I should look at. Regards, Brian On Fri, Jul 25, 2008 at 1:29 PM, Øyvind Harboe <[EMAIL PROTECTED]> wrote: > On Fri, Jul 25, 2008 at 7:26 PM, Brian Hutchinson <[EMAIL PROTEC

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Øyvind Harboe
On Fri, Jul 25, 2008 at 8:21 PM, Kishore <[EMAIL PROTECTED]> wrote: > On Friday 25 Jul 2008 11:16:57 pm Dominic Rath wrote: >> You'll probably have to look for another platform then. PowerPCs come with >> a debug interface, but there's little or no documentation to get hold off. >> MIPS support is

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Dominic Rath
On Friday 25 July 2008 20:21:02 Kishore wrote: > On Friday 25 Jul 2008 11:16:57 pm Dominic Rath wrote: > > You'll probably have to look for another platform then. PowerPCs come > > with a debug interface, but there's little or no documentation to get > > hold off. MIPS support is still in an early

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Kishore
On Friday 25 Jul 2008 11:16:57 pm Dominic Rath wrote: > You'll probably have to look for another platform then. PowerPCs come with > a debug interface, but there's little or no documentation to get hold off. > MIPS support is still in an early state afaik, as Øyvind suggested it would > be great if

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Dominic Rath
On Friday 25 July 2008 19:20:08 you wrote: > I've used commercial debuggers that use the 4 JTAG signals in order to > establish a debugging session Have you debugged x86 targets that way? Is is possible for e.g. ARM (though without reset signals you're rather limited). > and I know the ARM guys

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Øyvind Harboe
On Fri, Jul 25, 2008 at 7:26 PM, Brian Hutchinson <[EMAIL PROTECTED]> wrote: > I'll check out the MIPS branch. I'll have to look around at all the devices > I have here at home and see if any of them are MIPS based. I don't think > they are. Off the top of my head, they are all ARM 7/9, MPC860,

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Brian Hutchinson
I'll check out the MIPS branch. I'll have to look around at all the devices I have here at home and see if any of them are MIPS based. I don't think they are. Off the top of my head, they are all ARM 7/9, MPC860, x86, or Broadcom. The x86 Soekris board looks like the easiest to play with to lea

Re: [Openocd-development] Need pointers getting FT2232 JTAG interface for AMD Elan SC520

2008-07-25 Thread Brian Hutchinson
On Fri, Jul 25, 2008 at 2:51 AM, Dominic Rath <[EMAIL PROTECTED]> wrote: > On Thursday 24 July 2008 21:37:41 Brian Hutchinson wrote: > > Hi, > > > > Could someone point me in the right direction so I don't go in the weeds > > too far? > > > > I know this is mostly for ARM but I would really like t

[Openocd-development] Reset init script trick w/load_image

2008-07-25 Thread Øyvind Harboe
Committed. Minimum address and maximum length argument to load_image. Used in lieu of reset init script when executable w/reset init sequence is available. Typical usage would be to take a working flash image, e.g. compiled with eCos or some other embedded os/library, then load the beginning of t

Re: [Openocd-development] Reset Maddness - Update1

2008-07-25 Thread Valentin Longchamp
Duane Ellis wrote: > Oyvind - I'm going to start making the changes we discussed > > Valentin - this is FYI as you are some what following the previous thread. > > So - I know what needs to be done - and Yes, I could use some help > testing these things. I guess Valentin volunteered to test some of

Re: [Openocd-development] Connection problem on i.MX31 with JTAGkey

2008-07-25 Thread Valentin Longchamp
Øyvind Harboe wrote: > > One further question, now if, for the time being, I would disable the > > jtag_validate_chain() call and could have a valid connection to the > > ARM1136 in the i.MX31, could someone point me to some documentation on > > how to do some initialisations in the configuration v