On Wed, Aug 20, 2008 at 9:03 AM, Valentin Longchamp
<[EMAIL PROTECTED]> wrote:
> Hi all,
>
> On Tue, Aug 19, 2008 at 3:56 PM, Øyvind Harboe <[EMAIL PROTECTED]> wrote:
>> I've committed this patch, even if it is work in progress, as
>> there are also other changes to jtag.c going on at this time
>> and synchronizing work takes priority.
>>
>
> I have given it a try, I cann connect with gdb, however I have further
> error later, telling me that the "target has not been examined yet".
> Is this a problem that is going to cause bad behavior with gdb ? Is
> this what you mean Oyvind when you say the patch is work in progress ?

If the target can not be examined, then basically communication isn't working.

It is possible to connect GDB to OpenOCD when the target is powered down.

The first test is to connect w/Telnet and to test the following (ordered by
difficulty in getting them to work):

- reset run
- reset halt
- examine registers to see that they are sane
- reset init
- examine  & modify memory
- halt/resume

Once you have the above working, you can think about trying to get GDB to work.


> Alan: has this script worked for you with openocd ? You had asked me a
> while ago, but I only have had time to test it yesterday evening.
> Oyvind: I think there are a lot of other things that need to be fixed
> in jtag.c so that the bad i.MX31 jtag chain can be supported (the
> target not examined yet error for instance) ? Is it worth doing it now
> or should we wait for Duane to have progressed in his changes ?

Do not wait for Duane. We'll handle any merging + we pretty much know
what his changes are going to be at this point.

Submit patches against latest version of trunk.

-- 
Øyvind Harboe
http://www.zylin.com/zy1000.html
ARM7 ARM9 XScale Cortex
JTAG debugger and flash programmer
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to