I have tried with dummy interface. I have just replaced the previous config
file beginings with these lines:
interface dummy
#ft2232_device_desc "LPC3250-Stick"
#ft2232_layout stm32stick
#ft2232_layout comstick
#ft2232_layout usbjtag
#ft2232_layout jtagkey
#ft2232_layout olimex-jtag
#ft2232_vid_pid 0x0640 0x0026
#ft2232_latency 10
jtag_nsrst_delay 100
jtag_ntrst_delay 200
#jtag_rclk 3
jtag_khz 1000
reset_config trst_and_srst
#srst_pulls_trst
#separate trst_push_pull srst_open_drain
#reset_config trst_and_srst combined
#separate trst_push_pull srst_open_drain
.........
But OCD gives errors:
debian:/usr/src/openocd040rc1/openocd/src# ./openocd -f proba_dummy2.cfg
Open On-Chip Debugger 0.4.0-rc1-snapshot (2010-01-06-10:23)
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
jtag_nsrst_delay: 100
jtag_ntrst_delay: 200
1000 kHz
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Info : clock speed 1000 kHz
Info : TAP lpc3250.etm does not have IDCODE
Warn : JTAG tap: lpc3250.etm UNEXPECTED: 0x00000000 (mfg: 0x000, part:
0x0000, ver: 0x0)
Error: JTAG tap: lpc3250.etm expected 1 of 1: 0x1b900f0f (mfg: 0x787, part:
0xb900, ver: 0x1)
Info : TAP lpc3250.cpu does not have IDCODE
Warn : JTAG tap: lpc3250.cpu UNEXPECTED: 0x00000000 (mfg: 0x000, part:
0x0000, ver: 0x0)
Error: JTAG tap: lpc3250.cpu expected 1 of 1: 0x17900f0f (mfg: 0x787, part:
0x7900, ver: 0x1)
Warn : Unexpected idcode after end of chain: 2 0xc0000000
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Command handler execution failed
Warn : jtag initialization failed; try 'jtag init' again.
^C
debian:/usr/src/openocd040rc1/openocd/src#
How should I change the configuration?
I will separate the config file after everything is working. I think it is
not a problem to have one big, don't you?
Richard
On Tue, Jan 5, 2010 at 8:28 PM, Øyvind Harboe <[email protected]>wrote:
> Also, could you split your configuration file in three files:
>
> - interface
> - target
> - board
>
> I would like to see all three contributed to the openocd target library.
>
> --
> Øyvind Harboe
> US toll free 1-866-980-3434 / International +47 51 63 25 00
> http://www.zylin.com/zy1000.html
> ARM7 ARM9 ARM11 XScale Cortex
> JTAG debugger and flash programmer
>
_______________________________________________
Openocd-development mailing list
[email protected]
https://lists.berlios.de/mailman/listinfo/openocd-development