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 joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
Fleck has quit [Quit: GOSUB w/o RETURN]
Fleck has joined #openocd
_franck_1 has joined #openocd
_franck_1 is now known as _franck_
_franck_ has quit [Ping timeout: 260 seconds]
_franck_0 has joined #openocd
_franck_0 is now known as _franck_
irf21k has joined #openocd
Bertl_oO is now known as Bertl_zZ
nerozero has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Guest3767 has joined #openocd
Guest3767 has quit [Client Quit]
michalkotyla has joined #openocd
<michalkotyla> Hi, I'm trying to apply this patch https://review.openocd.org/c/openocd/+/2148/ for imx8m. It works for me on imx6, now I try to do this same on better imx soc. Maybe someone has experience in that and confirms (or rejects) if I understand this correctly: in target/imx8m.cfg I can see TAPID for DAP, for reading challenge and sending response key I
<michalkotyla> need to access SJC. It generally should work when I add SJC target to imx8m.cfg like here: https://review.openocd.org/c/openocd/+/2148/1/tcl/target/imx6.cfg ? I mean, it should be not a problem working with DAP and SJC in this same session?
<PaulFertser> michalkotyla: SJC is on a different _tap_ right? And DAP is an ARM-specific debug block which you access using a dedicated _tap_.
<PaulFertser> michalkotyla: so there's a JTAG chain, it can have many taps. And hardware uses certain taps for certain functions. Some SoCs have "jtag routers" which allow to connect and disconnect taps from the chain but the tap used to control the router itself always stays.
<PaulFertser> michalkotyla: if SJC isn't present on the chain then it's just not there, you can't talk to it. You need to read the SoC datasheet to find how to enable it.
<michalkotyla> PaulFertser: yes, SJC has a different TAP id. DAP is a ARM-specific debug block with id 0x5ba00477, this same like in many other SoCs. Ok, now it is more clear for me - thanks
<PaulFertser> michalkotyla: you can try starting OpenOCD without target config and you'll see TAP autodetection.
<PaulFertser> michalkotyla: for imx8m I expect you to see only the TAPs attached to DAPs (assuming upstream target config normally works)
<PaulFertser> If SJC is not on the list it means you need to do something with the hardware (strap resistors?) for it to appear.
Haohmaru has joined #openocd
<michalkotyla> PaulFertser: OpenOCD see only 0x5ba00477 (ARM DAP) and 0xffffffff (error value?), so it must be something with the hardware - I need to change JTAG_MOD and I will try that
tarekb has joined #openocd
michalkotyla has quit [Quit: Client closed]
michalkotyla has joined #openocd
DefekC has quit [Ping timeout: 256 seconds]
irf21k has quit [Ping timeout: 264 seconds]
Bertl_zZ is now known as Bertl
renrelkha has quit [Quit: bye]
renrelkha has joined #openocd
michalkotyla has left #openocd [#openocd]
michalkotyla has joined #openocd
Guest96 has joined #openocd
Guest96 has quit [Client Quit]
irf21k has joined #openocd
tarekb has quit [Quit: Leaving.]
irf21k has quit [Ping timeout: 260 seconds]
Bertl is now known as Bertl_oO
Haohmaru has quit []
emeb has joined #openocd
nerozero has quit [Ping timeout: 268 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
irf21k has joined #openocd
NishanthMenon has quit [Ping timeout: 245 seconds]
NishanthMenon has joined #openocd
c4017w__ has joined #openocd
c4017w_ has quit [Ping timeout: 264 seconds]
PaulFertser_ has joined #openocd
xtor has joined #openocd
lh has quit [Ping timeout: 268 seconds]
antto has quit [Ping timeout: 268 seconds]
antto has joined #openocd
extor has quit [Ping timeout: 246 seconds]
bq has quit [Ping timeout: 268 seconds]
PaulFertser has quit [Ping timeout: 264 seconds]
bq has joined #openocd
lh has joined #openocd
zapb__ has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
zapb_ has quit [Ping timeout: 264 seconds]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
emeb has quit [Quit: Leaving.]