NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Ping timeout: 255 seconds]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Quit: No Ping reply in 180 seconds.]
crabbedhaloablut has joined #openocd
crabbedhaloablut has quit [Quit: No Ping reply in 180 seconds.]
crabbedhaloablut has joined #openocd
ghostbuster has joined #openocd
nerozero has joined #openocd
defiant has joined #openocd
dinkelhacker has joined #openocd
dinkelhacker has quit [Ping timeout: 260 seconds]
dinkelhacker has joined #openocd
<dinkelhacker> borneoa_: Thanks for answering in my absence (I have to get a proxy that keeps me logged in).
<dinkelhacker> borneoa_: That sounds like it could be fixed rather easy. On the other hand I don't know the OpenOcd code base at all. That beeing said, if you think this is a low hanging fruit and could be a good first contribution I'd be willing to give it a try.
<borneoa_> dinkelhacker: there is a patch pending in gerrit that fix this for aarch64 state only. If the core is in aarch32 the patch doesn't add anything
Hawk777 has joined #openocd
<borneoa_> dinkelhacker: would be great if you could test it and vote it in gerrit.
<dinkelhacker> I'll take a look!
<dinkelhacker> borneoa_: Just out of curiosity. The patch constructs the 64 bit value by two reads with mem_ap_read_atomic_u32. Isn't there a way to read a double word in one go?
<borneoa_> dinkelhacker: I didn't check it. On armv7 and armv8 the way to transfer a CPU register to the debugger is through a memory mapped register that the debugger access with mem_ap_read/write. Maybe the register is a pair of 32 bits? Also not all DAP support 64 bits and there is another patch in Gerrit for 64 access when available.
<dinkelhacker> borneoa_: You're right. According to the docs the MEM-AP only supports up to 32bit accesses. https://developer.arm.com/documentation/ihi0031/a/The-Memory-Access-Port--MEM-AP-/MEM-AP-functions/Variable-access-size-for-memory-accesses?lang=en
Hawk777 has quit [Quit: Leaving.]
Haohmaru has joined #openocd
PsySc0rpi0n has joined #openocd
wingsorc has quit [Ping timeout: 260 seconds]
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
zjason has joined #openocd
dinkelhacker has quit [Ping timeout: 260 seconds]
Hawk777 has joined #openocd
nvmd has joined #openocd
Haohmaru has quit []
nerozero has quit [Ping timeout: 260 seconds]
nerozero has joined #openocd
nerozero has quit [Ping timeout: 256 seconds]
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
wingsorc has joined #openocd
nvmd has quit [Quit: WeeChat 3.7.1]
Guest42 has joined #openocd
diddly has quit [Ping timeout: 256 seconds]