Hi Valentin,

2008/8/20 Valentin Longchamp <[EMAIL PROTECTED]>:
> Hi all,
>
sic
> Here is the beginning of the log I get with using the gdbinit script
> Alan sent me for i.MX31
>
> Open On-Chip Debugger 1.0 (2008-08-19-20:07) svn:946M
> $URL: svn://svn.berlios.de/openocd/trunk/src/openocd.c $
> jtag_speed: 10
> Info:   JTAG device found: 0x2b900f0f (Manufacturer: 0x787, Part:
> 0xb900, Version: 0x2)
> Info:   JTAG device found: 0x07b3601d (Manufacturer: 0x00e, Part:
> 0x7b36, Version: 0x0)
> Warning:Device does not have IDCODE
> Info:   JTAG device found: 0x1190101d (Manufacturer: 0x00e, Part:
> 0x1901, Version: 0x1)
> Info:   found ARM1136
> Warning:no telnet port specified, using default port 4444
> Warning:no gdb port specified, using default port 3333
> Warning:no tcl port specified, using default port 6666
> Info:   accepting 'gdb' connection from 0
> Error:  Target not examined yet
> Warning:acknowledgment received, but no packet pending
> Error:  Target not examined yet
> Error:  unexpected error -4
> Runtime error, file "?", line 1:
>    Unknown command: endian_little
> In procedure 'endian' called at file "?", line 1
> In procedure 'unknown' called at file "?", line 1
> Error:  JTAG communication failure, check connection, JTAG interface,
> target power etc.
> Error:  trying to validate configured JTAG chain anyway...
> Warning:value captured during scan didn't pass the requested check:
> captured: 0x00 check_value: 0x01 check_mask: 0x1f
> Warning:in_handler reported a failed check
> Warning:value captured during scan didn't pass the requested check:
> captured: 0x00 check_value: 0x01 check_mask: 0x1f
> Warning:in_handler reported a failed check
> Error:  'arm11 target' JTAG communication error SCREG SCAN OUT 0x00
> (expected 0x10)
> Warning:in_handler reported a failed check
> Warning:value captured during scan didn't pass the requested check:
> captured: 0x00 check_value: 0x01 check_mask: 0x1f
> Warning:in_handler reported a failed check
> Error:  'target arm11' expects IDCODE 0x*7B*7****
> Runtime error, file "?", line 1:
>
> register idcode not found in current target
> register control not found in current target
> register pport_memory_remap not found in current target
> Runtime error, file "?", line 1:
>    Unknown command: long_0x53FC0000_=_0x040
> In procedure 'long' called at file "?", line 1
> In procedure 'unknown' called at file "?", line 1
> In procedure 'long_0x53FC0000' called at file "?", line 1
> In procedure 'unknown' called at file "?", line 1
> In procedure 'long_0x53FC0000_=' called at file "?", line 1
> In procedure 'unknown' called at file "?", line 1
> Runtime error, file "?", line 1:
>    Unknown command: long_0x53F80000_=_0x074B0B7D
> In procedure 'long' called at file "?", line 1
> In procedure 'unknown' called at file "?", line 1
> In procedure 'long_0x53F80000' called at file "?", line 1
> In procedure 'unknown' called at file "?", line 1
> In procedure 'long_0x53F80000_=' called at file "?", line 1
> In procedure 'unknown' called at file "?", line 1
> Runtime error, file "?", line 1:
>
> 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.

I am using this gdbinit with Segger J-Link GDB and with Macraigor
USB2Demon, then we will need some modifications to it work:

Remove the registers: register idcode, control, pport_memory_remap;
they are not really necessary to board initialization.

I will re-test it soon using the Oyvind suggestions.

>
> Regards
>
> Valentin
>

Best Regards,

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

Reply via email to