On Sat, 30 May 2009, Magnus Lundin wrote:

> Xiaofan Chen wrote:
>> On Sat, May 30, 2009 at 1:01 AM, Peter Denison <open...@marshadder.org> 
>> wrote:
>> 
>>> Unfortunately not mine... I still get a 1 returned (instead of a zero) as
>>> the error code from EMU_CMD_HW_JTAG3, when I send 8 bits:
>>> 
>>> Debug: 192 667 jlink.c:1095 jlink_debug_buffer(): 0000 cf 00 08 00 ff 00
>>> Debug: 194 694 jlink.c:1095 jlink_debug_buffer(): 0000 00
>>> Debug: 196 695 jlink.c:1095 jlink_debug_buffer(): 0000 01
>>> 
>> 
>> I got similar problem with r1948 and r1508 for the TMS470R1A256 target
>> even though r1508 is supposed to work because of sending 8bits.
>> 
>> And I have no problems with r1948 for the Olimex LPC-P2148.
>> 
>> So it seems to me the target may play a part as well.

> It looks like you are using  jtag_khz  0, this  means adaptive clocking with 
> the RTCK signal. This work for LPC3148 that has a RTCK signal, but as far as 
> I can find there is no RTCK singal on the  TMS470R1A256.
>
> For testing  interface problem I would suggest, always start with a slow jtag 
> clock, like jtag_khz 30 or 100. If this works try to increase it.

Many thanks! Somehow in my testing (probably to try to replicate XC's 
config) I had put jtag_rclk in my .cfg file.

I've replaced it with jtag_khz 30, and I can at least initialise now. 
Sorry for the misdirection.

So, summary: r1932, J-Link V6, XScale IXP422 target. Initialisation works.

Now the tcl scripts have moved, I need to work out how to be in the right 
directory (src/target) to find the XScale debug handler, and the right 
directory (tcl) for "source [find target/ixp42x.cfg]" to work...
_______________________________________________
Openocd-development mailing list
Openocd-development@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/openocd-development

Reply via email to