Hello,
while trying to connect to an i.mx535, using openocd 0.5.0, we’re able to connect and read the jtag-ids. But issuing a halt command times out; running “reset” ends in an endless loop of jtag-commands being issued - without an end.
Is there a known to work configuration to access the i.mx53 processors? Mine looks as the following:
# JTAG config
source [find interface/openocd-usb.cfg]
# CPU config
source [find target/imx53.cfg]
source [find target/imx.cfg]
adapter_khz 4
reset_config trst_and_srst srst_gates_jtag
jtag_ntrst_delay 100
jtag_nsrst_delay 100
flash bank mx535_nor cfi 0 0x800000 2 2 $_TARGETNAME
init
#reset halt
[edit] Further investigation shows, that openocd hangs in the function cortex_a8_init_debug_access() (in the file src/target/cortex_a.c:100) issuing the CPUDBG_LOCKACCESS. [/edit]
best regards