I found these too, they are the same as raspberrypi-native.cfg.
This is the output, which doesnt look good.
Code: Select all
Open On-Chip Debugger 0.10.0+dev-00512-gfd04460 (2018-08-10-12:09)
Licensed under GNU GPL v2
For bug reports, read
http://openocd.org/doc/doxygen/bugs.html
BCM2835 GPIO config: tck = 11, tms = 25, tdi = 10, tdo = 9
BCM2835 GPIO config: trst = 8
BCM2835 GPIO config: srst = 24
adapter speed: 500 kHz
adapter_nsrst_delay: 400
none separate
trst_and_srst srst_pulls_trst srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
dcc downloads are enabled
ed20_init
Info : Listening on port 6666 for tcl connections
Info : Listening on port 4444 for telnet connections
Info : BCM2835 GPIO JTAG/SWD bitbang driver
Info : JTAG only mode enabled (specify swclk and swdio gpio to add SWD mode)
Info : clock speed 500 kHz
Info : JTAG tap: imx27.etb tap/device found: 0x1b900f0f (mfg: 0x787 (<unknown>), part: 0xb900, ver: 0x1)
Info : JTAG tap: imx27.cpu tap/device found: 0x07926121 (mfg: 0x090 (Chip Express), part: 0x7926, ver: 0x0)
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Info : Listening on port 3333 for gdb connections
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: Thread
cpsr: 0xffff1020 pc: 0xffff01f6
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0xa00000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0xa00000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: Thread
cpsr: 0xffff1020 pc: 0xffff02be
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: System
cpsr: 0xffffffff pc: 0xffff0b26
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffed
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Warn : ThumbEE -- incomplete support
target halted in ThumbEE state due to debug-request, current mode: User
cpsr: 0xffff0270 pc: 0xffff0922
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 7
Warn : ThumbEE -- incomplete support
Error: cpsr contains invalid mode value - communication failure
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffed
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
target halted in Thumb state due to debug-request, current mode: Abort
cpsr: 0x800000b7 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
Warn : WARNING: unknown debug reason: 0xf
Error: invalid mode value encountered 0
Error: cp15 read operation timed out
Polling target imx27.cpu failed, trying to reexamine
Info : Embedded ICE version 6
Info : imx27.cpu: hardware has 2 breakpoint/watchpoint units
Info : ETM v1.3
Warn : WARNING: unknown debug reason: 0xf^CError: invalid mode value encountered 0
target halted in Thumb state due to debug-request, current mode: Thread
cpsr: 0x00000020 pc: 0xffffffee
MMU: disabled, D-Cache: disabled, I-Cache: disabled
It is wired correct. Checked it a million times!