November 22, 2024, 09:47:44 PM

How connect ARM-USB-OCD to RT5350F

Started by vinifr, April 28, 2017, 02:40:36 PM

Previous topic - Next topic

vinifr

Hi,

I'm trying connect ARM-USB-OCD-H to RT5350F to debug.

ARM-USB-OCD-H JTAG pins:
1  VREF
3  TTRST_N
5  TTDI
7  TTMS
9  TTCK
11 TRTCK
13 TTDO
15 TSRST_N
18  GND
19 TARGET_SUPPLY

RT5350F JTAG Pins (EXT4):
1  GND
8  TDI
10 TCK
12 TRSTN
9  TMS
11 TDO

Connections ARM-USB-OCD <---> RT5350F
TTDI --> TDI
TTCK --> TCK
TTMS --> TMS
TTDO --> TDO
TTRST_N --> TRSTN
GND --> GND

I'm using ar71xx.cfg since is also a MIPS 24Kc and the command:
openocd -f interface/ftdi/olimex-arm-usb-ocd-h.cfg -f target/ar71xx.cfg

But it fails with error:
adapter_nsrst_delay: 100
Info : auto-selecting first available session transport "jtag". To override use 'transport select <transport>'.
jtag_ntrst_delay: 100
trst_and_srst separate srst_gates_jtag trst_push_pull srst_open_drain connect_deassert_srst
adapter speed: 500 kHz
Info : clock speed 500 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: ar71xx.cpu: IR capture error; saw 0x1f not 0x01
Warn : Bypassing JTAG setup events due to errors


Any ideas?
Thanks