November 22, 2024, 01:49:11 PM

ARM-USB-TINY + TM4C1231H6PZ

Started by Eldes, January 15, 2016, 02:19:53 PM

Previous topic - Next topic

Eldes

Hello everyone.
I'm unsuccessfully trying to connect to TI TM4C1231H6PZ with ARM-USB-TINY. I'm using OpenOCD 0.9.0, and have the following output:

C:\openocd-0.9.0-rc1>cd bin

C:\openocd-0.9.0-rc1\bin>openocd.exe -f ..\olimex-arm-usb-tiny.cfg -f ..\stellar
is.cfg
Open On-Chip Debugger 0.9.0-rc1 (2015-04-24-22:05)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
adapter speed: 15000 kHz
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
adapter speed: 500 kHz
Info : clock speed 500 kHz
Info : JTAG tap: lm3s.cpu tap/device found: 0xffcc001f (mfg: 0x00f, part: 0xfcc0
, ver: 0xf)
Warn : JTAG tap: lm3s.cpu       UNEXPECTED: 0xffcc001f (mfg: 0x00f, part: 0xfcc0
, ver: 0xf)
Error: JTAG tap: lm3s.cpu  expected 1 of 1: 0x0ba00477 (mfg: 0x23b, part: 0xba00
, ver: 0x0)
Error: Trying to use configured scan chain anyway...
Error: lm3s.cpu: IR capture error; saw 0x09 not 0x01
Warn : Bypassing JTAG setup events due to errors
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction
Warn : Invalid ACK 0 in JTAG-DP transaction


Any suggestions why I'm having these errors? Why wrong IDCODE? Must be 0x4ba00477.

Eldes

Well, this error was caused by bad wiring. Everything became OK when I excluded intermediate board and cable:
openocd-0.9.0-rc1\bin>openocd.exe -f  ..\olimex-arm-usb-tiny.cfg -f ..\stellaris_prog.cfg
Open On-Chip Debugger 0.9.0-rc1 (2015-04-24-22:05)
Licensed under GNU GPL v2
For bug reports, read
        http://openocd.org/doc/doxygen/bugs.html
adapter speed: 1 kHz
adapter_nsrst_delay: 200
jtag_ntrst_delay: 200
trst_only separate trst_push_pull
adapter speed: 1 kHz
Info : clock speed 1 kHz
Info : JTAG tap: tm4c1231h6pz.cpu tap/device found: 0x4ba00477 (mfg: 0x23b, part : 0xba00, ver: 0x4)