[G1 Android Development] sorenjul:
jtag error while connecting to target

Hi

When I try to connect via jtag to my magic 32a I get the following errors from openocd.

###

ubuntu@ubuntu:~/Downloads/flash$ sudo openocd -f dream.cfg

Open On-Chip Debugger 0.4.0 (2010-04-26-19:27)

Licensed under GNU GPL v2

For bug reports, read

trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain

dcc downloads are enabled

fast memory access is enabled

Info : clock speed 6000 kHz

Info : JTAG tap: arm9.cpu tap/device found: 0x00000001 (mfg: 0x000, part: 0x0000, ver: 0x0)

Warn : JTAG tap: arm9.cpu UNEXPECTED: 0x00000001 (mfg: 0x000, part: 0x0000, ver: 0x0)

Error: JTAG tap: arm9.cpu expected 1 of 1: 0xa01700e1 (mfg: 0x070, part: 0x0170, ver: 0xa)

Warn : Unexpected idcode after end of chain: 32 0x00000000

Warn : Unexpected idcode after end of chain: 64 0x00000000

Warn : Unexpected idcode after end of chain: 96 0x00000000

Warn : Unexpected idcode after end of chain: 128 0x00000000

Warn : Unexpected idcode after end of chain: 160 0x00000000

Warn : Unexpected idcode after end of chain: 192 0x00000000

Warn : Unexpected idcode after end of chain: 224 0x00000000

Warn : Unexpected idcode after end of chain: 256 0x00000000

Warn : Unexpected idcode after end of chain: 288 0x00000000

Warn : Unexpected idcode after end of chain: 320 0x00000000

Warn : Unexpected idcode after end of chain: 352 0x00000000

Warn : Unexpected idcode after end of chain: 384 0x00000000

Warn : Unexpected idcode after end of chain: 416 0x00000000

Warn : Unexpected idcode after end of chain: 448 0x00000000

Warn : Unexpected idcode after end of chain: 480 0x00000000

Warn : Unexpected idcode after end of chain: 512 0x00000000

Warn : Unexpected idcode after end of chain: 544 0x00000000

Warn : Unexpected idcode after end of chain: 576 0x00000000

Warn : Unexpected idcode after end of chain: 608 0x00000000

Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)

Info : JTAG tap: arm9.cpu tap/device found: 0x00000001 (mfg: 0x000, part: 0x0000, ver: 0x0)

Warn : JTAG tap: arm9.cpu UNEXPECTED: 0x00000001 (mfg: 0x000, part: 0x0000, ver: 0x0)

Error: JTAG tap: arm9.cpu expected 1 of 1: 0xa01700e1 (mfg: 0x070, part: 0x0170, ver: 0xa)

Warn : Unexpected idcode after end of chain: 32 0x00000000

Warn : Unexpected idcode after end of chain: 64 0x00000000

Warn : Unexpected idcode after end of chain: 96 0x00000000

Warn : Unexpected idcode after end of chain: 128 0x00000000

Warn : Unexpected idcode after end of chain: 160 0x00000000

Warn : Unexpected idcode after end of chain: 192 0x00000000

Warn : Unexpected idcode after end of chain: 224 0x00000000

Warn : Unexpected idcode after end of chain: 256 0x00000000

Warn : Unexpected idcode after end of chain: 288 0x00000000

Warn : Unexpected idcode after end of chain: 320 0x00000000

Warn : Unexpected idcode after end of chain: 352 0x00000000

Warn : Unexpected idcode after end of chain: 384 0x00000000

Warn : Unexpected idcode after end of chain: 416 0x00000000

Warn : Unexpected idcode after end of chain: 448 0x00000000

Warn : Unexpected idcode after end of chain: 480 0x00000000

Warn : Unexpected idcode after end of chain: 512 0x00000000

Warn : Unexpected idcode after end of chain: 544 0x00000000

Warn : Unexpected idcode after end of chain: 576 0x00000000

Warn : Unexpected idcode after end of chain: 608 0x00000000

Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)

Command handler execution failed

Warn : jtag initialization failed; try 'jtag init' again.

###

Do any of you know why?

Regards Soren Jul