NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Hawk777 has quit [Quit: Leaving.]
jn has quit [Ping timeout: 268 seconds]
vampirefrog has quit [Ping timeout: 276 seconds]
crabbedhaloablut has joined #openocd
KindOne has quit [Read error: Connection reset by peer]
KindOne has joined #openocd
nerozero has joined #openocd
Hawk777 has joined #openocd
gzlb has quit [Ping timeout: 255 seconds]
gzlb has joined #openocd
ayaka_ has joined #openocd
<ayaka_> is possible that set different adapter speeds for different target? likes we have many Access ports in a DAP, some of them can't work in a higher speed
<borneoa___> ayaka_: the adapter speed is only one and is the speed of the JTAG or SWD clock. But there is a parameter configurable on each access port that is the delay between request and response. I don't remember the command .... I need to check the manual....
<ayaka_> because adjusting the delay is a little complex, than just adjusting the clock speed
MGF_Fabio has joined #openocd
<Hawk777> dap memaccess IIRC
<borneoa___> Hawk777: yes, thanks!
<borneoa___> ayaka_: the command is a little tricky because you have to select that AP with dap apsel, then set the value with memaccess. Humm, but that's for JTAG only...
<ayaka_> I see, I only use JTAG port now. I would try every APs then
<ayaka_> while there is still a critical problem for me, only software breakpoint would work but not hardware breakpoint
<ayaka_> I read this https://developer.arm.com/documentation/ddi0601/2023-09/External-Registers/DBGBVR-n--EL1--Debug-Breakpoint-Value-Registers it seems that the code running from cpu could clear those registers which are set from external debugger?
Haohmaru has joined #openocd
merethan has joined #openocd
dliviu has joined #openocd
Hawk777 has quit [Quit: Leaving.]
<ayaka_> Another idea which could is using a https://elixir.bootlin.com/linux/latest/source/samples/hw_breakpoint/data_breakpoint.c#L49 then trap the handler in software breakpoint
<ayaka_> but gdb would refuse to help in this way(cannot read system control register in this mode: (USR : 0x10))
merethan has quit [Ping timeout: 260 seconds]
jn_ has joined #openocd
jn_ has joined #openocd
ayaka_ has quit [Ping timeout: 260 seconds]
vampirefrog has joined #openocd
merethan has joined #openocd
wingsorc has quit [Ping timeout: 256 seconds]
slobodan has joined #openocd
damex has quit [Ping timeout: 255 seconds]
damex has joined #openocd
MGF_Fabio has quit [Ping timeout: 264 seconds]
MGF_Fabio has joined #openocd
Haohmaru has quit [Quit: saionara]
MGF_Fabio has quit [Ping timeout: 245 seconds]
nerozero has quit [Ping timeout: 268 seconds]
<borneoa___> ayaka: yes linux erases all HW breakpoints during boot. You can avoid it by adding to the cmdline: initcall_blacklist=arch_hw_breakpoint_init
<karlp> thatsounds like helpful most of the time, but "why is this your business linux?!" the rest of the time :)
Hawk777 has joined #openocd
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
shibboleth has joined #openocd
<bencoh> uh, that's good to know
c4017 has joined #openocd
<borneoa___> karlp: I think linux uses the debug unit for some tracing process. And probably for KGDB
shibboleth has quit [Quit: shibboleth]
dnm_ has joined #openocd
cyrozap_ has joined #openocd
Flecks has joined #openocd
olerem has quit [Ping timeout: 252 seconds]
dnm has quit [Ping timeout: 252 seconds]
cyrozap has quit [Ping timeout: 252 seconds]
braunr has quit [Ping timeout: 252 seconds]
Fleck has quit [Ping timeout: 252 seconds]
antto has quit [Ping timeout: 252 seconds]
dinkelha1 has quit [Ping timeout: 252 seconds]
dnm_ is now known as dnm
braunr has joined #openocd
dinkelha1 has joined #openocd
antto has joined #openocd
olerem has joined #openocd
Foxyloxy has quit [Ping timeout: 268 seconds]
Foxyloxy has joined #openocd
c4017 has quit [Ping timeout: 250 seconds]
<karlp> yeah, I know it's a compilcated world :)
merethan has quit [Ping timeout: 245 seconds]
wingsorc has joined #openocd
MGF_Fabio has joined #openocd
crabbedhaloablut has quit []
Foxyloxy has quit [Ping timeout: 276 seconds]
slobodan has quit [Ping timeout: 255 seconds]
Foxyloxy has joined #openocd
MGF_Fabio has quit [Ping timeout: 252 seconds]