NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
jn has quit [Ping timeout: 272 seconds]
jn has joined #openocd
slobodan_ has joined #openocd
slobodan has quit [Ping timeout: 245 seconds]
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
slobodan_ has quit [Ping timeout: 255 seconds]
tsal has quit [Ping timeout: 245 seconds]
tsal_ has joined #openocd
Hawk777 has joined #openocd
Guest73 has joined #openocd
nerozero has joined #openocd
Bertl has quit [Ping timeout: 252 seconds]
Bertl has joined #openocd
Haohmaru has joined #openocd
<Hammdist> JTAG scan chain interrogation failed: all ones <-- when attempting to connect to blue pill. this is bad right?
<Hammdist> Warn : 'srst_nogate' reset_config option is required
<Hammdist> srst_only separate srst_nogate srst_open_drain connect_assert_srst <-- fixed the latter but still "all ones"
<Hammdist> Warn : There are no enabled taps. AUTO PROBING MIGHT NOT WORK!! <-- is this expected?
<Hammdist> https://pastebin.com/raw/1hYBNBkR <-- the config I'm trying to use
<Hammdist> got connected, whew. bad wiring
<PaulFertser> Hammdist: when you're doing auto-detection, without target config, SRST won't be touched either way because JTAG doesn't include SRST at all.
<PaulFertser> Hammdist: and if you added -f target/stm32f1x.cfg then srst_nogate would be enabled automatically as the target config includes that.
Guest73 has quit [Ping timeout: 256 seconds]
Hawk777 has quit [Quit: Leaving.]
joconor has quit [Ping timeout: 252 seconds]
joconor has joined #openocd
slobodan_ has joined #openocd
slobodan__ has joined #openocd
slobodan_ has quit [Read error: Connection reset by peer]
mrec has joined #openocd
<mrec> how do I know that the firmware is successful uploaded?
<mrec> it seems like every version of openocd introduces some significant changes here which breaks my firmware tool
<mrec> the firmware is uploaded in that case, in earlier versions it seems like there was an output "wrote ..."
<mrec> that seems to be gone now?
<Haohmaru> you have a tool which uses openocd "under the hood" to flash firmware?
<Haohmaru> and your tool parses the openocd output to figure out what happened?
<mrec> yes
<Haohmaru> tricky i guess... i've seen the output messages depend a lot on the openocd options and/or target
<mrec> first I thought the HW is dead but it's just the openocd output which differs
slobodan__ is now known as slobodan
<Haohmaru> wait till the experts wake up
<PaulFertser> mrec: -c "program" should finish with an appropriate exit code, you're not supposed to parse OpenOCD output normally.
<PaulFertser> And "wrote" wasn't the right word to look for anyway, you're more interested in verify results I guess.
<Haohmaru> "exit code" <- the return value from main() ?
<Haohmaru> yeah "verify" is something.. "wrote" doesn't matter if your pen was out of ink
<PaulFertser> Hammdist: yes, the "exit status of the child" per wait(2).
<Haohmaru> moi ;P~
<Haohmaru> PaulFertser, ever "-c ..." command is executed one after the other unless one of them fails, then the program stops (returning something bad), and if all such commands finish properly it returns "good", right?
<Haohmaru> "good" probably == 0 (EXIT_SUCCESS, or what was it)
<karlp> so yes, use -c program... it has a verify and exit options...
Slider has joined #openocd
<mrec> I do a full device check after uploading the firmware, so if something's wrong I will see it in the endcheck
<PaulFertser> It shouldn't harm to verify flash contents after writing, and occassionally can help.
<Haohmaru> verifying should be the default, skipping verification should be done with an additional option (IMO)
<PaulFertser> Send a patch
* Haohmaru hides behind the curtains
<Hammdist> PaulFertser: did you check my config? I added a reset_config line. it should be issuing reset when probing (at least I'd like it to). won't it?
<PaulFertser> Hammdist: not without target defined, as JTAG has no notion of system reset.
slobodan_ has joined #openocd
slobodan has quit [Ping timeout: 252 seconds]
Haohmaru has quit [Quit: saionara]
Slider has quit [Quit: Client closed]
<borneoa___> Hammdist: without a target, you can use 'adapter assert srst' and 'adapter deassert srst', but only after 'init'
slobodan_ is now known as slobodan
slobodan has quit [Changing host]
slobodan has joined #openocd
nerozero has quit [Ping timeout: 248 seconds]
_whitelogger_ has joined #openocd
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #openocd
WeaselSoup has quit [Quit: Q]
WeaselSoup has joined #openocd
WeaselSoup has quit [Quit: Q]
WeaselSoup has joined #openocd
sugarbeet has quit [Ping timeout: 264 seconds]
sugarbeet has joined #openocd
_whitelogger_ has quit [Remote host closed the connection]
_whitelogger_ has joined #openocd
_whitelogger_ has quit [Remote host closed the connection]
WeaselSoup has quit [Quit: Q]
WeaselSoup has joined #openocd
WeaselSoup has quit [Remote host closed the connection]
slobodan has quit [Ping timeout: 248 seconds]
WeaselSoup has joined #openocd
WeaselSoup has quit [Client Quit]
WeaselSoup has joined #openocd
shibboleth has joined #openocd
_whitelogger_ has joined #openocd