- **status**: new --> closed - **Resolution**: --> https://review.openocd.org/7419/
--- **[tickets:#375] ti_cjtag.cfg: JTAG scan chain interrogation failed: all ones** **Status:** closed **Milestone:** 0.11.0 **Created:** Sat Dec 17, 2022 01:47 PM UTC by Phil Wiggum **Last Updated:** Sat Jun 10, 2023 05:12 PM UTC **Owner:** nobody ** 1. Setup ** OpenOCD from git master FTDI C232HM Ti CC1310 LaunchPad v1.4 arm-none-eabi ** 2. Wires ** Launchpad all jumpers removed - FTDI_c232hm --- <-> ----- LaunchPad ------ 1 Red(o) 3V3 -> 3V3 2 Orange(o) TCK ->TCK 8 TCK(25) 4 Green(i) TDI<- TDO 4 DIO16_TDO(26) 3 Yellow(o) TDO ->TDI 6 DIO17_TDI(27) 5 Brown(o) TMS -> 10 TMS(24) 10 Black GND -> GND ** 3. Script ** ti_cc13x0_ftdi.ccg: source [find interface/ftdi/c232hm.cfg] transport select jtag adapter speed 200 source [find target/ti_cc13x0.cfg] ** 4. Run ** openocd -f ti_cc13x0_ftdi.ccg Info : Listening on port 6666 for tcl connections Info : Listening on port 4444 for telnet connections Warn : An adapter speed is not selected in the init scripts. OpenOCD will try to run the adapter at the low speed (100 kHz) Warn : To remove this warnings and achieve reasonable communication speed with the target, set "adapter speed" or "jtag_rclk" in the init scripts. Info : clock speed 100 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: cc13x0.jrc: IR capture error; saw 0x3f not 0x01 Warn : Bypassing JTAG setup events due to errors Info : starting gdb server for cc13x0.cpu on 3333 Info : Listening on port 3333 for gdb connections ** 5. Fix ** file:/usr/share/openocd/scripts/target/ti-cjtag.cfg proc ti_cjtag_to_4pin_jtag {jrc} { # Bypass runtest 20 <------------ Added irscan $jrc 0x3f -endstate RUN/IDLE # Two zero bit scans and a one bit drshift pathmove RUN/IDLE DRSELECT DRCAPTURE DREXIT1 DRPAUSE pathmove DRPAUSE DREXIT2 DRUPDATE RUN/IDLE ... Seems like JTag state machin needed some extra clock pulse in the begining. --- Sent from sourceforge.net because openocd-devel@lists.sourceforge.net is subscribed to https://sourceforge.net/p/openocd/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/openocd/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.