NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Bertl_oO is now known as Bertl_zZ
thinkfat has joined #openocd
thinkfat_ has quit [Ping timeout: 272 seconds]
tsal has quit [Ping timeout: 272 seconds]
tsal has joined #openocd
Bugies has quit [Ping timeout: 272 seconds]
zjason` is now known as zjason
akaWolf has quit [Ping timeout: 240 seconds]
akaWolf has joined #openocd
akaWolf has quit [Ping timeout: 240 seconds]
loki_val has joined #openocd
akaWolf has joined #openocd
crabbedhaloablut has quit [Ping timeout: 268 seconds]
nerozero has joined #openocd
crabbedhaloablut has joined #openocd
loki_val has quit [Ping timeout: 268 seconds]
wolfshappen has quit [*.net *.split]
braunr has quit [*.net *.split]
djgl has quit [*.net *.split]
gruetzkopf has quit [*.net *.split]
Pokey has quit [*.net *.split]
wolfshappen has joined #openocd
braunr has joined #openocd
gruetzkopf has joined #openocd
Pokey has joined #openocd
djgl has joined #openocd
Pokey has quit [Max SendQ exceeded]
wolfshappen has quit [Max SendQ exceeded]
Pokey has joined #openocd
wolfshappen has joined #openocd
Haohmaru has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
Bertl_zZ is now known as Bertl
kraiskil has joined #openocd
kraiskil has quit [Ping timeout: 240 seconds]
Hawk777 has quit [Quit: Leaving.]
Bugies has joined #openocd
wingsorc has quit [Ping timeout: 268 seconds]
c4017 has quit [Quit: Client closed]
Bugies has quit [Ping timeout: 272 seconds]
Guest9 has joined #openocd
Guest9 has quit [Client Quit]
merethan has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
Bugies has joined #openocd
akaWolf has quit [Ping timeout: 272 seconds]
akaWolf has joined #openocd
Bertl is now known as Bertl_oO
Haohmaru has quit []
Hawk777 has joined #openocd
kraiskil has joined #openocd
wingsorc has joined #openocd
Bugies has quit [Remote host closed the connection]
Bugies has joined #openocd
kraiskil has quit [Ping timeout: 276 seconds]
nerozero has quit [Ping timeout: 268 seconds]
merethan has quit [Ping timeout: 276 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
bryanb has joined #openocd
bryanb has left #openocd [#openocd]
<NishanthMenon> weird question - context: The SoC that I am working with is heterogenous, with the debug system accessible both from SoC address space and over jtag. Since I am running linux on the big ARM, i can directly access the debug address space from SoC view - so i can in theory use it to debug the cortex-M for example. We do have support for openOCD to get via jtag , but i am a bit lost how to describe access from SoC address view side.
<NishanthMenon> or even if openocd is the right tool even
<Hawk777> Hm, I’m not an expert, but maybe this could be done as a new adapter driver that implements a high-level interface, like HLA and some of the STLINKs do, I think? Not quite sure.
Hawk777 has quit [Quit: Leaving.]
<NishanthMenon> hmm..
zjason has quit [Read error: Connection reset by peer]
bryanb has joined #openocd
zjason has joined #openocd
<borneoa_> NishanthMenon: the driver xlnx-pcie-xvc access an ARM DAP through a PCIe memory mapper address space. But in your case you don't have the DAP and you want to access the coresight devices directly from the memory map. I cannot find better reference for you than xlnx-pcie-xvc, and I cannot imagine yet any blocking point if you want to use this driver as a reference for making your own driver.
<NishanthMenon> thanks borneoa_
<borneoa_> NishanthMenon: in my experience, the coresight devices are mapped at different address if you access from DAP or from system memory. Maybe not your case. But if the address is different, it means you cannot rely on the debug ROM tables and you will have to hardcore addresses in the config file, or better you should have a translation from ROM addresses to system addresses; most of the times a simple offset is enough
<NishanthMenon> yes - it is a bitmask actually
crabbedhaloablut has quit [Write error: Connection reset by peer]
crabbedhaloablut has joined #openocd
<borneoa_> NishanthMenon: it could be specified in the driver config through a dedicated command
<NishanthMenon> thanks borneoa_ I am also looking at rshim driver as well..
<borneoa_> NishanthMenon: I see this kind of driver as something generic and useful. ARM also defines something similar but with some proprietary firmware on one CPU in order to debug the other CPU. Using openocd is a nice alternative.
<NishanthMenon> yes indeed..
<borneoa_> NishanthMenon: you are right! Also rshim is a valid reference
wingsorc has quit [Read error: Connection reset by peer]
wingsorc has joined #openocd
Bugies has quit [Ping timeout: 240 seconds]
wingsorc__ has joined #openocd
akaWolf has quit [Ping timeout: 276 seconds]
akaWolf has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
clampz has quit [Ping timeout: 240 seconds]