NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 256 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
Bertl_oO is now known as Bertl_zZ
c4017w_ has joined #openocd
urja has quit [Read error: Connection reset by peer]
c4017w__ has quit [Ping timeout: 272 seconds]
tsal has quit [Ping timeout: 256 seconds]
urja has joined #openocd
tsal has joined #openocd
wingsorc has quit [Remote host closed the connection]
wingsorc has joined #openocd
thinkfat has quit [Ping timeout: 250 seconds]
thinkfat has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
captain_morgan has quit [Remote host closed the connection]
captain_morgan has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 256 seconds]
Hawk777 has joined #openocd
devanagram has quit [*.net *.split]
diddly has quit [*.net *.split]
JakeSays has quit [*.net *.split]
HelloShitty has quit [*.net *.split]
wolfshappen has quit [*.net *.split]
michalkotyla has quit [*.net *.split]
tchebb_ has quit [*.net *.split]
tomtastic has quit [*.net *.split]
ho4x has quit [*.net *.split]
devanagram has joined #openocd
diddly has joined #openocd
HelloShitty has joined #openocd
JakeSays has joined #openocd
wolfshappen has joined #openocd
michalkotyla has joined #openocd
ho4x has joined #openocd
tomtastic has joined #openocd
tchebb_ has joined #openocd
crabbedhaloablut has quit [*.net *.split]
crabbedhaloablut has joined #openocd
nerozero has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 250 seconds]
c4017w__ has joined #openocd
Krazubu has joined #openocd
c4017w_ has quit [Ping timeout: 250 seconds]
Krazubu has quit [Client Quit]
Hawk777 has quit [Quit: Leaving.]
Krazubu has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 252 seconds]
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
Haohmaru has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 252 seconds]
<rkta> So, I got jlink/rp2040 working with the RPi fork. Unfortunately the jlink branch they mentioned in the issue is gone, but the changes seem to be in their default branch. For what ever reason they kept the issue open, leaving not a single hint to just use the default branch...
<PaulFertser> rkta: that's odd. I suggest you add a comment there in the ticket.
<rkta> PaulFertser: yeah, it did that
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
Bertl_zZ is now known as Bertl
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 252 seconds]
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 252 seconds]
josuah has joined #openocd
josuah has quit [Client Quit]
josuah has joined #openocd
josuah has quit [Client Quit]
josuah has joined #openocd
josuah has quit [Client Quit]
josuah has joined #openocd
josuah has quit [Client Quit]
josuah has joined #openocd
josuah has quit [Client Quit]
josuah has joined #openocd
josuah has quit [Client Quit]
c4017w_ has joined #openocd
josuah has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
josuah has quit [Client Quit]
josuah has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 252 seconds]
Hawk777 has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 252 seconds]
c4017w__ has joined #openocd
Haohmaru has quit []
c4017w_ has quit [Ping timeout: 252 seconds]
nerozero has quit [Ping timeout: 272 seconds]
abby has quit [Remote host closed the connection]
abby has joined #openocd
abby_ has joined #openocd
abby has quit [Killed (NickServ (GHOST command used by abby_))]
abby_ is now known as abby
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
tomtastic has quit [Ping timeout: 256 seconds]
tomtastic has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 272 seconds]
dreamcat4 has joined #openocd
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 240 seconds]
<cambrian_invader> how can I get the current target from tcl?
<Hawk777> [target current]
<Hawk777> For example, “[target current] cortex_m vector_catch none” does what it suggests.
<cambrian_invader> thanks
zjason` has quit [Read error: Connection reset by peer]
zjason` has joined #openocd
<Hawk777> BTW, if you do this in an event handler, the “current target” is whichever target the event is related to, which might not be the currently selected target outside.
Krazubu has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 240 seconds]
<cambrian_invader> Hawk777: ah, neat
<cambrian_invader> I am trying to figure out the right thing to do for this processor
<cambrian_invader> the primary CPUs are held in reset and GDB doesn't want to attach to them until they are released
<cambrian_invader> so I would like to provide a function to release them
<cambrian_invader> although perhaps I should hook onto the gdb-attach event?
<Hawk777> I think gdb-attach is the usual place to handle that kind of thing (any poking-at-hardware that needs to happen before it’s in a state where GDB can work).
<cambrian_invader> is there a way to see if a target is halted?
<Hawk777> I’m not sure. I’m not an OpenOCD/TCL expert.
<cambrian_invader> the release-core sequence involves attaching to the service processor, and halting it to write to an address
<cambrian_invader> so I would like to keep the processor halted if it was already halted
<Hawk777> Maybe you can just try to halt unconditionally? It might not do anything (or at least nothing harmful) if it’s already halted.
<Hawk777> Oh, but you want to take it back to the original state if it was running.
<cambrian_invader> yeah, normally it should just be running all the time
<Hawk777> There’s probably something in there. Maybe check if you can read it with “cget”. Really not sure.
<cambrian_invader> ah, it's curstate
<cambrian_invader> borneoa_: this is for the ls1088a ^
c4017w_ has joined #openocd
c4017w__ has quit [Ping timeout: 272 seconds]
Krazubu has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
gnom has quit [Ping timeout: 256 seconds]
gnom has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 252 seconds]