NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
nathanhi has quit [Quit: bye]
nathanhi- has joined #openocd
Hawk777 has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
gzlb has quit [Ping timeout: 256 seconds]
gzlb has joined #openocd
nerozero has joined #openocd
rigid has joined #openocd
vampirefrog has quit [Remote host closed the connection]
vampirefrog has joined #openocd
rigid has quit [Read error: Connection reset by peer]
rigid has joined #openocd
Haohmaru has joined #openocd
rigid has quit [Read error: Connection reset by peer]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
rigid has joined #openocd
MGF_Fabio has joined #openocd
Hawk777 has quit [Quit: Leaving.]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
joconor has quit [Ping timeout: 256 seconds]
joconor has joined #openocd
eliasph88 has joined #openocd
slobodan has joined #openocd
rigid has quit [Quit: +++ATH NO CARRIER]
rigid has joined #openocd
crabbedhaloablut has quit []
eliasph88 has quit [Ping timeout: 250 seconds]
crabbedhaloablut has joined #openocd
WeaselSoup has joined #openocd
<WeaselSoup> Hi, is there anyone using openocd with Tamarin (iPhone JTAG) ?, I have few questions regarding the limitations of openocd
<WeaselSoup> In the wiki I saw that "continue" (from gdb) should not be expected to work
<WeaselSoup> I'm able to used gdb with my target, so far I used "stepi" and printed/displayed the memory, saw the registers etc
<WeaselSoup> and I would like to know to which extend I can use gdb
<WeaselSoup> If I can add a breakpoint and then continue hoping it will trigger without messing with the execution of the target etc ...
<Haohmaru> huh, no idea about your target, but in general, continue works... *shrug*
<PaulFertser> WeaselSoup: what wiki?
<PaulFertser> WeaselSoup: continue from GDB just tells OpenOCD to "resume" the execution.
<Haohmaru> unpause ;P~
<WeaselSoup> PaulFertser, not wiki my bad from https://openocd.org/doc/html/GDB-and-OpenOCD.html
<WeaselSoup> "Do not use GDB commands continue, step or next as they synchronize GDB with your target and GDB would require stopping the target to get the prompt back. "
<Haohmaru> "Do not use GDB commands continue, step or next as they ..." <- this?
<WeaselSoup> yeah
<Haohmaru> but that's in a particular context afaict
<Haohmaru> those commands are generally legit and they work
<Haohmaru> it's maybe like "if the gun is pointed at your head - don't use the SHOOT command."
<PaulFertser> WeaselSoup: yes, it's in the section "20.5 Using GDB as a non-intrusive memory inspector" :)
<Haohmaru> doesn't mean it won't work
<WeaselSoup> Also this
<WeaselSoup> "If your project controls more than a blinking LED, let’s say a heavy industrial robot or an experimental nuclear reactor, stopping the controlling process just because you want to attach GDB is not a good option. "
<PaulFertser> WeaselSoup: right so?
<WeaselSoup> As I'm using gdb+openocd on a phone
<WeaselSoup> I was guessing that hbreak+continue would cause some problems
<Haohmaru> when you break (pause) a running target, you... uhm... disrupt its normal operation
<Haohmaru> that is expected and unavoidable
<WeaselSoup> sure
<WeaselSoup> So except the configuations options suggested on the page I might just try and see ?
<Haohmaru> so if it's some MCU that controlls the cooling of a nuclear power plant type of thing, you probably shouldn't be doing things without deeply understanding the consequences
<WeaselSoup> yeah
<Haohmaru> if you see me in a nuclear power plant with a debugger - run, run fast!
<Haohmaru> WeaselSoup, have you debugged a computer program?
<Haohmaru> like, a console app
<WeaselSoup> yes
<Haohmaru> well then, debugging with gdb thru openocd is very similar
<Haohmaru> break and continue generally work
<WeaselSoup> ok
<WeaselSoup> I tried continue + Ctrl-C to see
<WeaselSoup> it didn't go well, but that might be a limitation of the target / implementation
<Haohmaru> *shrug*
<WeaselSoup> Ok thanks for the replies
<WeaselSoup> I will try
<WeaselSoup> FYI Tamarin is this: https://github.com/stacksmashing/tamarin-firmware
<Haohmaru> x_x
* Haohmaru looks at his nokia
<PaulFertser> WeaselSoup: you normally do not need any special options for GDB to work with OpenOCD.
<PaulFertser> And the manual doesn't really suggest any options for general usecase.
eliasph88 has joined #openocd
<eliasph88> Hi, I am currently trying to use the "adapter driver xlnx_pcie_xvc" option, and got stuck. I fist have some permission issues to the PCIe device configurations files but now that part is fine. Nevertheless have some other. unfortunately, the error code I am getting is always the same : "Debug: 37 1 command.c:528 exec_command(): Command 'init'
<eliasph88> failed with error code -100"
<eliasph88> Thanks in advance for the time
<eliasph88> Sharing the command and the results I got in a shared evernote
eliasph88 has quit [Quit: Client closed]
eliasph88 has joined #openocd
<eliasph88> any ideas?
Haohmaru has quit [Quit: saionara]
eliasph88 has quit [Quit: Client closed]
eliasph88 has joined #openocd
eliasph88 has quit [Ping timeout: 250 seconds]
nerozero has quit [Ping timeout: 255 seconds]
eliasph88 has joined #openocd
joconor has quit [Quit: ZNC 1.8.2 - https://znc.in]
joconor has joined #openocd
slobodan has quit [Quit: Leaving]
eliasph88 has quit [Quit: Client closed]
zjason` has joined #openocd
zjason has quit [Ping timeout: 264 seconds]
slobodan has joined #openocd
slobodan_ has joined #openocd
slobodan has quit [Ping timeout: 240 seconds]
joconor has quit [Ping timeout: 252 seconds]
joconor_ has joined #openocd
slobodan_ has quit [Ping timeout: 260 seconds]
MGF_Fabio has quit [Ping timeout: 256 seconds]