NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
[_] has joined #openocd
[itchyjunk] has quit [Ping timeout: 252 seconds]
boru` has joined #openocd
boru has quit [Killed (NickServ (GHOST command used by boru`))]
boru` is now known as boru
thinkfat_ has joined #openocd
thinkfat has quit [Ping timeout: 252 seconds]
[_] is now known as [itchyjunk]
c4017__ has joined #openocd
c4017_ has quit [Ping timeout: 268 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
[itchyjunk] has quit [Quit: Leaving]
tlwoerner_ has joined #openocd
thinkfat has joined #openocd
cluelessperson_ has joined #openocd
diddly_ has joined #openocd
akaWolf1_ has joined #openocd
Steffann has joined #openocd
akaWolf has quit [*.net *.split]
thinkfat_ has quit [*.net *.split]
tsal_ has quit [*.net *.split]
clever has quit [*.net *.split]
cluelessperson has quit [*.net *.split]
tlwoerner has quit [*.net *.split]
diddly has quit [*.net *.split]
Steffanx has quit [*.net *.split]
sud has quit [*.net *.split]
cluelessperson has joined #openocd
clever has joined #openocd
akaWolf1_ has quit [Ping timeout: 252 seconds]
cluelessperson_ has quit [Ping timeout: 252 seconds]
zjason has quit [Ping timeout: 252 seconds]
gnom has quit [Ping timeout: 252 seconds]
gnom_ has joined #openocd
zjason` has joined #openocd
tsal has joined #openocd
akaWolf has joined #openocd
sud has joined #openocd
tlwoerner__ has joined #openocd
thinkfat_ has joined #openocd
renrelkha has joined #openocd
thinkfat has quit [Ping timeout: 252 seconds]
renrelkha_ has quit [Ping timeout: 252 seconds]
Getty has quit [Ping timeout: 252 seconds]
tlwoerner_ has quit [Ping timeout: 252 seconds]
joconor has quit [Ping timeout: 252 seconds]
flatmush has quit [Ping timeout: 252 seconds]
joconor has joined #openocd
flatmush has joined #openocd
boru has quit [Ping timeout: 252 seconds]
boru` has joined #openocd
boru` is now known as boru
NishanthMenon_ has quit [Ping timeout: 252 seconds]
Hawk777 has quit [Ping timeout: 252 seconds]
NishanthMenon_ has joined #openocd
Hawk777 has joined #openocd
c4017_ has joined #openocd
c4017__ has quit [Read error: Connection reset by peer]
c4017w_ has joined #openocd
akaWolf has quit [Ping timeout: 252 seconds]
sud has quit [Ping timeout: 252 seconds]
akaWolf has joined #openocd
c4017w__ has quit [Ping timeout: 252 seconds]
sud has joined #openocd
sbach has quit [Ping timeout: 252 seconds]
sbach has joined #openocd
devanagram has quit [Ping timeout: 252 seconds]
devanagram has joined #openocd
_franck_ has joined #openocd
nerozero has joined #openocd
_franck_ has quit [Ping timeout: 252 seconds]
Hawk777 has quit [Quit: Leaving.]
_franck_ has joined #openocd
_franck_ has quit [Read error: Connection reset by peer]
_franck_ has joined #openocd
_franck_ has quit [Ping timeout: 245 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
_franck_ has joined #openocd
Steffanx has joined #openocd
Steffann has quit [Ping timeout: 252 seconds]
_franck_ has quit [Ping timeout: 252 seconds]
_franck_ has joined #openocd
[itchyjunk] has joined #openocd
tomtastic has quit [Ping timeout: 265 seconds]
tomtastic has joined #openocd
nerozero has quit [Ping timeout: 245 seconds]
[itchyjunk] has quit [Remote host closed the connection]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
isaac has joined #openocd
isaac has quit [Client Quit]
isaacgt has joined #openocd
<isaacgt> Hello,
<isaacgt> I'm trying to use OpenOCD to program a Tiva TM4C123GH6PM microcontroller using a ST-Link V3 MINI. OpenOCD successfully programs the microcontroller
<isaacgt> through a ST-Link V2, but the V3 MINI does not work. I have tried with version 0.11.0 obtained through Homebrew and with building STMicroelectronics's fork
<isaacgt> (https://github.com/STMicroelectronics/OpenOCD) and I haven't seen a difference between them. I'm relatively confident that I have the connections right since I
<isaacgt> determined the V3 MINI connections from the equivalently named signals on the V2, but I'm not completely sure hardware issues can be ruled out
<isaacgt> More information:
<isaacgt> - System: macOS 11.6 on x86_64
<isaacgt> - OpenOCD versions: 0.11.0, 0.11.0-rc2+dev-00039-gff701ce82 (this is the STMicroelectronics fork)
<isaacgt> - OpenOCD command invocation: `openocd -f /usr/local/share/openocd/configs/tm4c123gh6pm-stlink.cfg -c "program telemetry-board.axf verify reset exit"`
<isaacgt> - Config file contents:
<isaacgt> ```
<isaacgt> source [find interface/stlink.cfg]
<isaacgt> set WORKAREASIZE 0x8000
<isaacgt> set CPUTAPID 0x2ba01477
<isaacgt> set CHIPNAME tm4c123gh6pm
<isaacgt> source [find target/stellaris.cfg]
<isaacgt> ```
<isaacgt> Non-debug output:
<isaacgt> ```
<isaacgt> $ /usr/local/bin/openocd -f /usr/local/share/openocd/configs/tm4c123gh6pm-stlink.cfg -c "program telemetry-board.axf verify reset exit"
<isaacgt> Open On-Chip Debugger 0.11.0-rc2+dev-00039-gff701ce82 (2021-10-03-16:29)
<isaacgt> Licensed under GNU GPL v2
<isaacgt> For bug reports, read
<isaacgt> Info : auto-selecting first available session transport "hla_swd". To override use 'transport select <transport>'.
<isaacgt> Info : The selected transport took over low-level target control. The results might differ compared to plain JTAG/SWD
<isaacgt> Info : clock speed 500 kHz
<isaacgt> Info : STLINK V3J3M2 (API v3) VID:PID 0483:374E
<isaacgt> Info : Target voltage: 3.293023
<isaacgt> Warn : target tm4c123gh6pm.cpu examination failed
<isaacgt> Error: jtag status contains invalid mode value - communication failure
<isaacgt> Polling target tm4c123gh6pm.cpu failed, trying to reexamine
<isaacgt> Examination failed, GDB will be halted. Polling again in 100ms
<isaacgt> Info : Previous state query failed, trying to reconnect
<isaacgt> Error: jtag status contains invalid mode value - communication failure
<isaacgt> Do you have any advice on how to use OpenOCD with a ST-Link V3 MINI or how to debug this issue?
[itchyjunk] has joined #openocd
isaacgt has quit [Ping timeout: 256 seconds]
isaacgt has joined #openocd
<karlp> isaacgt: iirc, stlink v3 (unlike other stlinks) simply blocks talking to non st targets.
<karlp> so there's simply no path forwards other thanto use your available channels to complain to ST about this step
<isaacgt> Well that's disappointing, but thanks for the help
isaacgt has quit [Ping timeout: 256 seconds]
cp- has quit [Quit: Disappeared in a puff of smoke]
cp- has joined #openocd