[Balloon] Openocd status

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Wookey
Date:  
To: Balloon
Subject: [Balloon] Openocd status
I've been working through various combinations of hardware and
software to rty and work out what does and doesn't work at the moment.

There is more to test, but I thought I'd post what I've found so far
as CJ is working on this too.

I have 6 boards - 3 CPLD, 3 FPGA. A is latest PCB. B&D are very
similar but with a small change near the power connector - I don't
knopw the official designations of these boards variants (DB?)
C, E and F are older E1 build boards, F with the mod to connect
SPART_RUN to PORT_EN which should make JTAGING to the FPGA work on
older boards. This is the 'bisset' variation of that mod, not the CJ
one, described here: http://balloonboard.org/balloonwiki/Balloon3RunSpartanMod
They should be equivalent, but may not be.

All 6 boards boot the OS OK and so are presumeed working.

I tested 3 openocd versions:
1) the version tcl are using which is 0.3.0 with a patch to make xsvf programming on xscale work.
2) the 0.3.1 in testing
3) the 0.4.0 in unstable

All 3 seem to have the same behviour essentially (which is nice!)

The summary is that boards A & C (CPLD newest and oldest) work with
the chained-JTAG IO board. The not-quite new CPLD and all the FPGA
boards fail.

Using a single-channel board on the CPU channel all the CPLD boards
don't work, The new FPGA and old, modded FPGA boards work OK. The
unmodded old board doesn't.

Not sure what to make of that. I suspect the FPGA openocd config is
wrong because it fails pretty much the same if I tell it there is a
CPLD as if I tellit there is an FPGA. The random numbers coming back
from a scan-chain suggest wrong config of register length/mask etc
(although CJ says it works for him?)

And how come the CPLD boards work when chained but not stand-alone?

And what is wrong with board B which never works under any config so
far tried.

More tests with chained board and newer software next week...

Status 2010-04-07

A: CPLD (PCB current) single STI199730147 board boots OK (boot flash)
B: CPLD (PCB newish) single STI158550007
C: CPLD E1 06091567
D: FPGA (PCB newish) single STI156840019
E: FPGA E1 06091548. board boots OK (boot flash)
F: FPGA E1 JTAG modded with SPARTUN_RUN mod 06091595

All successful programming prints a whinge about the DSCR register:
Warn : Bad value '00' captured during DR or IR scan:                   
Warn :  check_value: 0x02                   
Warn :  check_mask: 0x07                   
Error: JTAG error while writing DCSR
this is clearly not fatal, but may be an indicator that things could
be improved. 



openocd -s utils/openocd -f balloon3-amontec2-cpld.cfg -f init.cfg -f shutdown.cfg

using 0.3.0+rc0tcl-1, libftdi 0.17-1+b1, and chained IO board 2v2
A: scan OK, cfi found
B: scan finds nothing: "Error: JTAG scan chain interrogation failed: all ones"
C: scan OK, cfi found
D: scan finds wrong fpga IDcode, no cpu.
E: scan finds nothing: "Error: JTAG scan chain interrogation failed: all ones"
F: scan finds wrong fpga and CPU IDcodes.

using 0.4.0-1, libftdi 0.17-1+b1, and chained IO board 2v2
A: scan OK, cfi found
B: scan finds nothing: "Error: JTAG scan chain interrogation failed: all ones"
C: scan OK, cfi found
D:
E:
F: scan finds wrong fpga and CPU IDcodes. (same if using CPLD config) Pretty sure that fpga JTAG scan info is wrong


using 0.3.0+rc0tcl-1, libftdi 0.17-1+b1, and hop single-channel IO board
A: scan OK, halt failed: "Error: timed out while waiting for target halted" (DCSR whinge)
B: scan finds nothing: "Error: JTAG scan chain interrogation failed: all ones" (DCSR whinge)
C: scan OK, halt failed: "Error: timed out while waiting for target halted" (DCSR whinge)
D: scan OK, reset OK, cfi found (DCSR whinge)
E: scan OK, halt failed "Error: timed out while waiting for target halted" (DCSR whinge)
F: scan OK, reset OK, cfi found (DCSR whinge)

using 0.3.1-1, libftdi 0.17-1+b1, and hop single-channel IO board
A: scan OK, halt failed: "Error: timed out while waiting for target halted"
B: scan finds nothing: "Error: JTAG scan chain interrogation failed: all ones"
C: scan OK, halt failed: "Error: timed out while waiting for target halted"
D: scan OK, reset OK, cfi found
E: scan OK, halt failed: "Error: timed out while waiting for target halted"
F: scan OK, reset OK, cfi found

using 0.4.0-1, libftdi 0.17-1+b1, and hop single-channel IO board
A: scan OK, halt failed: "Error: timed out while waiting for target halted"
B: scan finds nothing: "Error: JTAG scan chain interrogation failed: all ones"
C: scan OK, halt failed: Error: cpsr contains invalid mode value - communication failure
D: scan OK, reset OK, cfi found
E: scan OK, halt failed: "Error: timed out while waiting for target halted"
F: scan OK, reset OK, cfi found


using 0.3.0+rc0tcl-1, libftdi 0.17-1+b1, and chained IO board 2v2
-----------------------------------------------------------------
A works but does say:
Warn : Bad value '00' captured during DR or IR scan:
Warn : check_value: 0x02
Warn : check_mask: 0x07
Error: JTAG error while writing DCSR

B:
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
error: -100


D:
Warn : x3s.tap: nonstandard IR mask
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 6000 kHz
Info : JTAG tap: x3s.tap tap/device found: 0x1b222043 (mfg: 0x021, part: 0xb222, ver: 0x1)
Warn : JTAG tap: x3s.tap       UNEXPECTED: 0x1b222043 (mfg: 0x021, part: 0xb222, ver: 0x1)
Error: JTAG tap: x3s.tap  expected 1 of 1: 0x11428093 (mfg: 0x049, part: 0x1428, ver: 0x1)
Warn : TAP pxa270.cpu does not have IDCODE
Warn : JTAG tap: pxa270.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pxa270.cpu  expected 1 of 2: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Error: JTAG tap: pxa270.cpu  expected 2 of 2: 0x79265013 (mfg: 0x009, part: 0x9265, ver: 0x7)
Warn : Unexpected idcode after end of chain: 33 0x7f569e66
Warn : Unexpected idcode after end of chain: 65 0xf0000000
Warn : Unexpected idcode after end of chain: 97 0xf0000007
Warn : Unexpected idcode after end of chain: 129 0xf000001f
Warn : Unexpected idcode after end of chain: 161 0xff000007
Warn : Unexpected idcode after end of chain: 193 0xfc000007
Warn : Unexpected idcode after end of chain: 225 0xff000003
Warn : Unexpected idcode after end of chain: 257 0xf8000000
Warn : Unexpected idcode after end of chain: 289 0xfc000003
Warn : Unexpected idcode after end of chain: 321 0xc0000003
Warn : Unexpected idcode after end of chain: 353 0xc000003f
Warn : Unexpected idcode after end of chain: 385 0xc000003f
Warn : Unexpected idcode after end of chain: 417 0xe000003f
Warn : Unexpected idcode after end of chain: 449 0xfc00001f
Warn : Unexpected idcode after end of chain: 481 0xf0000003
Warn : Unexpected idcode after end of chain: 513 0xe0000001
Warn : Unexpected idcode after end of chain: 545 0xfe00000f
Warn : Unexpected idcode after end of chain: 577 0xf800001f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Info : JTAG tap: x3s.tap tap/device found: 0x24946043 (mfg: 0x021, part: 0x4946, ver: 0x2)
Warn : JTAG tap: x3s.tap       UNEXPECTED: 0x24946043 (mfg: 0x021, part: 0x4946, ver: 0x2)
Error: JTAG tap: x3s.tap  expected 1 of 1: 0x11428093 (mfg: 0x049, part: 0x1428, ver: 0x1)
Warn : TAP pxa270.cpu does not have IDCODE
Warn : JTAG tap: pxa270.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pxa270.cpu  expected 1 of 2: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Error: JTAG tap: pxa270.cpu  expected 2 of 2: 0x79265013 (mfg: 0x009, part: 0x9265, ver: 0x7)
Warn : Unexpected idcode after end of chain: 33 0xd9999cd8
Warn : Unexpected idcode after end of chain: 65 0xc000003f
Warn : Unexpected idcode after end of chain: 97 0xc000003f
Warn : Unexpected idcode after end of chain: 129 0xc000003f
Warn : Unexpected idcode after end of chain: 161 0xc000003f
Warn : Unexpected idcode after end of chain: 193 0xc000003f
Warn : Unexpected idcode after end of chain: 225 0xc000003f
Warn : Unexpected idcode after end of chain: 257 0xc000003f
Warn : Unexpected idcode after end of chain: 289 0xc000003f
Warn : Unexpected idcode after end of chain: 321 0xc000003f
Warn : Unexpected idcode after end of chain: 353 0xc000003f
Warn : Unexpected idcode after end of chain: 385 0xc000003f
Warn : Unexpected idcode after end of chain: 417 0xc000003f
Warn : Unexpected idcode after end of chain: 449 0xc000003f
Warn : Unexpected idcode after end of chain: 481 0xc000003f
Warn : Unexpected idcode after end of chain: 513 0xc000003f
Warn : Unexpected idcode after end of chain: 545 0xc000003f
Warn : Unexpected idcode after end of chain: 577 0xc000003f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | x3s.tap            |    Y    | 0x24946043 | 0x11428093 | 0x06 | 0x11 | 0x11 | 0x3f
 1 | pxa270.cpu         |    Y    | 0x00000000 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: x3s.tap tap/device found: 0x24946043 (mfg: 0x021, part: 0x4946, ver: 0x2)
Warn : JTAG tap: x3s.tap       UNEXPECTED: 0x24946043 (mfg: 0x021, part: 0x4946, ver: 0x2)
Error: JTAG tap: x3s.tap  expected 1 of 1: 0x11428093 (mfg: 0x049, part: 0x1428, ver: 0x1)
Warn : TAP pxa270.cpu does not have IDCODE
Warn : JTAG tap: pxa270.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pxa270.cpu  expected 1 of 2: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Error: JTAG tap: pxa270.cpu  expected 2 of 2: 0x79265013 (mfg: 0x009, part: 0x9265, ver: 0x7)
Warn : Unexpected idcode after end of chain: 33 0xd9999cd8
Warn : Unexpected idcode after end of chain: 65 0xc000003f
Warn : Unexpected idcode after end of chain: 97 0xc000003f
Warn : Unexpected idcode after end of chain: 129 0xc000003f
Warn : Unexpected idcode after end of chain: 161 0xc000003f
Warn : Unexpected idcode after end of chain: 193 0xc000003f
Warn : Unexpected idcode after end of chain: 225 0xc000003f
Warn : Unexpected idcode after end of chain: 257 0xc000003f
Warn : Unexpected idcode after end of chain: 289 0xc000003f
Warn : Unexpected idcode after end of chain: 321 0xc000003f
Warn : Unexpected idcode after end of chain: 353 0xc000003f
Warn : Unexpected idcode after end of chain: 385 0xc000003f
Warn : Unexpected idcode after end of chain: 417 0xc000003f
Warn : Unexpected idcode after end of chain: 449 0xc000003f
Warn : Unexpected idcode after end of chain: 481 0xc000003f
Warn : Unexpected idcode after end of chain: 513 0xc000003f
Warn : Unexpected idcode after end of chain: 545 0xc000003f
Warn : Unexpected idcode after end of chain: 577 0xc000003f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
error: -100
Runtime error, file "init.cfg", line 4:


E:
Warn : x3s.tap: nonstandard IR mask
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 6000 kHz
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | x3s.tap            |    Y    | 0x00000000 | 0x11428093 | 0x06 | 0x11 | 0x11 | 0x3f
 1 | pxa270.cpu         |    Y    | 0x00000000 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Error: JTAG scan chain interrogation failed: all ones
Error: Check JTAG interface, timings, target power, etc.
error: -100



F:
Warn : x3s.tap: nonstandard IR mask
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 6000 kHz
Info : JTAG tap: x3s.tap tap/device found: 0x24946043 (mfg: 0x021, part: 0x4946, ver: 0x2)
Warn : JTAG tap: x3s.tap       UNEXPECTED: 0x24946043 (mfg: 0x021, part: 0x4946, ver: 0x2)
Error: JTAG tap: x3s.tap  expected 1 of 1: 0x11428093 (mfg: 0x049, part: 0x1428, ver: 0x1)
Warn : TAP pxa270.cpu does not have IDCODE
Warn : JTAG tap: pxa270.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pxa270.cpu  expected 1 of 2: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Error: JTAG tap: pxa270.cpu  expected 2 of 2: 0x79265013 (mfg: 0x009, part: 0x9265, ver: 0x7)
Warn : Unexpected idcode after end of chain: 33 0xd9999cd8
Warn : Unexpected idcode after end of chain: 65 0xc000003f
Warn : Unexpected idcode after end of chain: 97 0xc000003f
Warn : Unexpected idcode after end of chain: 129 0xc000003f
Warn : Unexpected idcode after end of chain: 161 0xc000003f
Warn : Unexpected idcode after end of chain: 193 0xc000003f
Warn : Unexpected idcode after end of chain: 225 0xc000003f
Warn : Unexpected idcode after end of chain: 257 0xc000003f
Warn : Unexpected idcode after end of chain: 289 0xe000003f
Warn : Unexpected idcode after end of chain: 321 0xc000001f
Warn : Unexpected idcode after end of chain: 353 0xc000003f
Warn : Unexpected idcode after end of chain: 385 0xc000003f
Warn : Unexpected idcode after end of chain: 417 0xc000001f
Warn : Unexpected idcode after end of chain: 449 0xc000003f
Warn : Unexpected idcode after end of chain: 481 0xe000003f
Warn : Unexpected idcode after end of chain: 513 0xe000001f
Warn : Unexpected idcode after end of chain: 545 0xf000001f
Warn : Unexpected idcode after end of chain: 577 0xf8000003
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
Info : JTAG tap: x3s.tap tap/device found: 0x62308043 (mfg: 0x021, part: 0x2308, ver: 0x6)
Warn : JTAG tap: x3s.tap       UNEXPECTED: 0x62308043 (mfg: 0x021, part: 0x2308, ver: 0x6)
Error: JTAG tap: x3s.tap  expected 1 of 1: 0x11428093 (mfg: 0x049, part: 0x1428, ver: 0x1)
Info : JTAG tap: pxa270.cpu tap/device found: 0xa4999a03 (mfg: 0x501, part: 0x4999, ver: 0xa)
Warn : JTAG tap: pxa270.cpu       UNEXPECTED: 0xa4999a03 (mfg: 0x501, part: 0x4999, ver: 0xa)
Error: JTAG tap: pxa270.cpu  expected 1 of 2: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Error: JTAG tap: pxa270.cpu  expected 2 of 2: 0x79265013 (mfg: 0x009, part: 0x9265, ver: 0x7)
Warn : Unexpected idcode after end of chain: 64 0x8000007f
Warn : Unexpected idcode after end of chain: 96 0x8000007f
Warn : Unexpected idcode after end of chain: 128 0x8000007f
Warn : Unexpected idcode after end of chain: 160 0x8000007f
Warn : Unexpected idcode after end of chain: 192 0x8000007f
Warn : Unexpected idcode after end of chain: 224 0x8000007f
Warn : Unexpected idcode after end of chain: 256 0x8000007f
Warn : Unexpected idcode after end of chain: 288 0x8000007f
Warn : Unexpected idcode after end of chain: 320 0x8000007f
Warn : Unexpected idcode after end of chain: 352 0x8000007f
Warn : Unexpected idcode after end of chain: 384 0x8000007f
Warn : Unexpected idcode after end of chain: 416 0x8000007f
Warn : Unexpected idcode after end of chain: 448 0x8000007f
Warn : Unexpected idcode after end of chain: 480 0x8000007f
Warn : Unexpected idcode after end of chain: 512 0x8000007f
Warn : Unexpected idcode after end of chain: 544 0x8000007f
Warn : Unexpected idcode after end of chain: 576 0x8000007f
Warn : Unexpected idcode after end of chain: 608 0x8000007f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | x3s.tap            |    Y    | 0x62308043 | 0x11428093 | 0x06 | 0x11 | 0x11 | 0x3f
 1 | pxa270.cpu         |    Y    | 0xa4999a03 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: x3s.tap tap/device found: 0x48086043 (mfg: 0x021, part: 0x8086, ver: 0x4)
Warn : JTAG tap: x3s.tap       UNEXPECTED: 0x48086043 (mfg: 0x021, part: 0x8086, ver: 0x4)
Error: JTAG tap: x3s.tap  expected 1 of 1: 0x11428093 (mfg: 0x049, part: 0x1428, ver: 0x1)
Warn : TAP pxa270.cpu does not have IDCODE
Warn : JTAG tap: pxa270.cpu       UNEXPECTED: 0x00000000 (mfg: 0x000, part: 0x0000, ver: 0x0)
Error: JTAG tap: pxa270.cpu  expected 1 of 2: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Error: JTAG tap: pxa270.cpu  expected 2 of 2: 0x79265013 (mfg: 0x009, part: 0x9265, ver: 0x7)
Warn : Unexpected idcode after end of chain: 33 0xd99999b0
Warn : Unexpected idcode after end of chain: 65 0xc000003f
Warn : Unexpected idcode after end of chain: 97 0xc000003f
Warn : Unexpected idcode after end of chain: 129 0xc000003f
Warn : Unexpected idcode after end of chain: 161 0xc000003f
Warn : Unexpected idcode after end of chain: 193 0xc000003f
Warn : Unexpected idcode after end of chain: 225 0xc000003f
Warn : Unexpected idcode after end of chain: 257 0xc000003f
Warn : Unexpected idcode after end of chain: 289 0xc000003f
Warn : Unexpected idcode after end of chain: 321 0xc000003f
Warn : Unexpected idcode after end of chain: 353 0xc000003f
Warn : Unexpected idcode after end of chain: 385 0xc000003f
Warn : Unexpected idcode after end of chain: 417 0xc000003f
Warn : Unexpected idcode after end of chain: 449 0xc000003f
Warn : Unexpected idcode after end of chain: 481 0xc000003f
Warn : Unexpected idcode after end of chain: 513 0xc000003f
Warn : Unexpected idcode after end of chain: 545 0xc000003f
Warn : Unexpected idcode after end of chain: 577 0xc000003f
Error: double-check your JTAG setup (interface, speed, missing TAPs, ...)
error: -100



using 0.3.0+rc0tcl-1, libftdi 0.17-1+b1, and hop single-channel IO board
------------------------------------------------------------------------
A:
(usually) 
5000 kHz
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 5000 kHz
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | pxa270.cpu         |    Y    | 0x49265013 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Warn : Bad value '00' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x07
Error: JTAG error while writing DCSR
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted
expected return code but got 'TARGET: pxa270.cpu - Not halted'
Runtime error, file "init.cfg", line 4:


or, sometimes:
Error: invalid mode value encountered 0
Error: cpsr contains invalid mode value - communication failure

B:
5000 kHz
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 5000 kHz
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | pxa270.cpu         |    Y    | 0x00000000 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Error: JTAG scan chain interrogation failed: all zeroes
Error: Check JTAG interface, timings, target power, etc.
error: -100


C:
5000 kHz
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 5000 kHz
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | pxa270.cpu         |    Y    | 0x49265013 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Warn : Bad value '00' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x07
Error: JTAG error while writing DCSR
Error: invalid mode value encountered 0
Error: cpsr contains invalid mode value - communication failure
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted
expected return code but got 'TARGET: pxa270.cpu - Not halted'


or, sometimes:
5000 kHz
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 5000 kHz
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | pxa270.cpu         |    Y    | 0x49265013 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Warn : Bad value '00' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x07
Error: JTAG error while writing DCSR
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted
expected return code but got 'TARGET: pxa270.cpu - Not halted'


D:
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 5000 kHz
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | pxa270.cpu         |    Y    | 0x49265013 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Warn : Bad value '00' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x07
Error: JTAG error while writing DCSR
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x900000d3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
(processor reset)
Info : Flash Manufacturer/Device: 0x0001 0x227e
flash 'cfi' found at 0x00000000



E:
5000 kHz
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 5000 kHz
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | pxa270.cpu         |    Y    | 0x49265013 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Warn : Bad value '00' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x07
Error: JTAG error while writing DCSR
Error: invalid mode value encountered 0
Error: cpsr contains invalid mode value - communication failure
Info : Halt timed out, wake up GDB.
Error: timed out while waiting for target halted
expected return code but got 'TARGET: pxa270.cpu - Not halted'


F:
5000 kHz
jtag_nsrst_delay: 260
jtag_ntrst_delay: 250
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : use 'pxa270.cpu' as target identifier, not '0'
Info : max TCK change to: 30000 kHz
Info : clock speed 5000 kHz
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
     TapName            | Enabled |   IdCode      Expected    IrLen IrCap  IrMask Instr     
---|--------------------|---------|------------|------------|------|------|------|---------
 0 | pxa270.cpu         |    Y    | 0x49265013 | 0x49265013 | 0x07 | 0x01 | 0x7f | 0x7f
   |                    |         |            | 0x79265013 |      |      |      |         
Info : JTAG tap: pxa270.cpu tap/device found: 0x49265013 (mfg: 0x009, part: 0x9265, ver: 0x4)
Warn : Bad value '00' captured during DR or IR scan:
Warn :  check_value: 0x02
Warn :  check_mask: 0x07
Error: JTAG error while writing DCSR
target state: halted
target halted in ARM state due to debug-request, current mode: Supervisor
cpsr: 0x900000d3 pc: 0x00000000
MMU: disabled, D-Cache: disabled, I-Cache: disabled
(processor reset)
Info : Flash Manufacturer/Device: 0x0004 0x22d7
flash 'cfi' found at 0x00000000





Wookey
--
Principal hats: iEndian - Balloonboard - Toby Churchill - Emdebian
http://wookware.org/