openocd - amontec jtagkey - i.mx233evk

Hi,

I am trying to get openocd running to debug software on the i.mx233 evk using amontec jtagkey. When I run openocd, it returns error.

One line in the log says

“usb bulk write failed”

and later it also says

" jtag scan chain interrogation failed"

Any idea what could be going wrong? Has anyone tried this set up already? If yes can you post you target configuration files? I simply cannot get any details on how to write config file for this target. I just adopted imx25.cfg file that comes along with openocd source.

Now I tried with ftd driver from ftdichip.com and I no more get the “usb bulk write failed” error. But the jtag scan chain interrogation still fails.