Hi there!
I'm building a gdb server which communicates with an attiny3217 over updi (on serial), aka I use pyupdi (or pymcuprog). There's a similar project (https://github.com/stemnic/pyAVRdbg) but it doesn't use a serial connection.
I can already communicate with the commands ld(), st(), ... to read some registers and memory and I can stop and start the mcu via commands. To get going I should now read the program counter via updi commands.
Unfortunately I haven't found, what the "raw" updi commands would be to read out the PC and on which address the PC is located.
Is anyone having a clue about it?