Discussion:
[Openocd-development] Freescale iMX35 "Target not examined yet"
Alexei Babich
2010-01-20 06:25:03 UTC
Permalink
Hello all.
I'm trying to modify the NAND-flash driver for iMX31 for support iMX35.
I start openocd, and get the log:
---
[***@kb33 openocd]$ src/openocd -f /home/impatt/openocd.cfg
Open On-Chip Debugger 0.4.0-rc1-dev-00118-gdab9297-dirty (2010-01-20-10:20)
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : imx35.whatchacallit: nonstandard IR value
Warn : imx35.whatchacallit: nonstandard IR mask
Error: Target not examined yet
Info : clock speed 500 kHz
Info : JTAG tap: imx35.etb tap/device found: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver: 0x2)
Info : JTAG tap: imx35.cpu tap/device found: 0x07b3601d (mfg: 0x00e, part: 0x7b36, ver: 0x0)
Info : TAP imx35.whatchacallit does not have IDCODE
Info : JTAG tap: imx35.sdma tap/device found: 0x0882601d (mfg: 0x00e, part: 0x8826, ver: 0x0)
Info : found ARM1136
Info : imx35.cpu: hardware has 6 breakpoints, 2 watchpoints
Warn : ETMv2+ support is incomplete
Info : ETM v3.1
---

When I try to invoke target_read_u32(), I get a message in the log: Error: 131 6 target.c: 1477 target_read_u32(): Target not examined yet
Can anyone suggest how to try to get rid of the error?

Thank you.
--
Regards,
Alexei Babich, circuit design engineer, Rezonans plc., Chelyabinsk, Russia
http://www.rez.ru
Jabber ID: ***@jabber.ru
Øyvind Harboe
2010-01-20 07:03:15 UTC
Permalink
Post by Alexei Babich
When I try to invoke target_read_u32(), I get a message in the log: Error: 131 6 target.c: 1477 target_read_u32(): Target not examined yet
Can anyone suggest how to try to get rid of the error?
Normally a reset init would fix that...
--
Ø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
Alan Carvalho de Assis
2010-01-20 10:57:19 UTC
Permalink
Hi Alexei
Post by Øyvind Harboe
Post by Alexei Babich
131 6 target.c: 1477 target_read_u32(): Target not examined yet
Can anyone suggest how to try to get rid of the error?
Normally a reset init would fix that...
Also you need to configure the dip switch to internal ROM (aka ATK
mode), this is the mode normally I got success with OpenOCD and i.MX
processors.

Best Regards,

Alan
David Brownell
2010-01-21 22:13:54 UTC
Permalink
Post by Alexei Babich
Open On-Chip Debugger 0.4.0-rc1-dev-00118-gdab9297-dirty (2010-01-20-10:20)
For bug reports, read
http://openocd.berlios.de/doc/doxygen/bugs.html
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain
Warn : imx35.whatchacallit: nonstandard IR value
Warn : imx35.whatchacallit: nonstandard IR mask
Error: Target not examined yet
You didn't provide your "openocd.cfg", but the usual case here
is that you tried to do something too early.

Like "nand probe" before "init", for example; that's something
best done at the end of a reset-init event handler.
Post by Alexei Babich
Info : clock speed 500 kHz
Info : JTAG tap: imx35.etb tap/device found: 0x2b900f0f (mfg: 0x787, part: 0xb900, ver: 0x2)
Info : JTAG tap: imx35.cpu tap/device found: 0x07b3601d (mfg: 0x00e, part: 0x7b36, ver: 0x0)
Info : TAP imx35.whatchacallit does not have IDCODE
Info : JTAG tap: imx35.sdma tap/device found: 0x0882601d (mfg: 0x00e, part: 0x8826, ver: 0x0)
Info : found ARM1136
Info : imx35.cpu: hardware has 6 breakpoints, 2 watchpoints
Warn : ETMv2+ support is incomplete
Info : ETM v3.1
That stuff is what happens with "init". So whatever you were doing
too-early ... do it later. You can invoke "init" explicitly, if
you like.

- Dave
Post by Alexei Babich
---
When I try to invoke target_read_u32(), I get a message in the log: Error: 131 6 target.c: 1477 target_read_u32(): Target not examined yet
Can anyone suggest how to try to get rid of the error?
Thank you.
Loading...