AnsweredAssumed Answered

Using OpenOCD with imx28evk

Question asked by Tim Michals on Nov 15, 2012
Latest reply on Mar 31, 2014 by Anne Shen

All,

 

I'm trying to connect openOCD (Open On-Chip Debugger 0.6.1) to the imx28evk.  Is there some HW switches that need to configured?  Here is the output and command line:

sudo openocd -f interface/jtagkey-tiny.cfg -f board/imx28evk.cfg

Open On-Chip Debugger 0.6.1 (2012-10-27-10:53)

Licensed under GNU GPL v2

For bug reports, read

  http://openocd.sourceforge.net/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'jtag'

trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain

adapter_nsrst_delay: 100

jtag_ntrst_delay: 100

dcc downloads are enabled

imx28evk_init

Error: An adapter speed is not selected in the init script. Insert a call to adapter_khz or jtag_rclk to proceed.

in procedure 'init'

tcmichals@tcmichals-RP829AV-ABA-d4790y:~$ sudo openocd -f interface/jtagkey-tiny.cfg -f board/imx28evk.cfg

Open On-Chip Debugger 0.6.1 (2012-10-27-10:53)

Licensed under GNU GPL v2

For bug reports, read

  http://openocd.sourceforge.net/doc/doxygen/bugs.html

Info : only one transport option; autoselect 'jtag'

adapter speed: 10 kHz

trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain

adapter_nsrst_delay: 100

jtag_ntrst_delay: 100

dcc downloads are enabled

imx28evk_init

Info : clock speed 10 kHz

Error: JTAG scan chain interrogation failed: all ones

Error: Check JTAG interface, timings, target power, etc.

Error: Trying to use configured scan chain anyway...

Error: imx28.cpu: IR capture error; saw 0x0f not 0x01

Warn : Bypassing JTAG setup events due to errors

Info : Embedded ICE version 15

Error: unknown EmbeddedICE version (comms ctrl: 0xffffffff)

Info : imx28.cpu: hardware has 2 breakpoint/watchpoint units

Warn : WARNING: unknown debug reason: 0xf

Warn : ThumbEE -- incomplete support

 

 

 

Outcomes