NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
Steffanx- has quit [Quit: Connection closed for inactivity]
urja has quit [Read error: Connection reset by peer]
urja has joined #openocd
tsal has quit [Ping timeout: 258 seconds]
tsal has joined #openocd
jmp0_ has quit [Ping timeout: 240 seconds]
jmp0 has joined #openocd
thinkfat_ has quit [Ping timeout: 240 seconds]
thinkfat_ has joined #openocd
Hawk777 has joined #openocd
akaWolf has quit [Ping timeout: 246 seconds]
akaWolf has joined #openocd
zjason` is now known as zjason
nerozero has joined #openocd
Bugies has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
jmp0 has quit [Ping timeout: 240 seconds]
jmp0 has joined #openocd
Hawk777 has quit [Quit: Leaving.]
Bertl_zZ is now known as Bertl_oO
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
jmp0 has quit [Ping timeout: 240 seconds]
jmp0 has joined #openocd
Haohmaru has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
merethan has joined #openocd
wingsorc has quit [Ping timeout: 244 seconds]
nerozero has quit [Quit: Leaving]
nerozero has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<Haohmaru> btw, i saw that the stlink3mini is now not recommended and there's a newer version, i wonder what's new in the new one
<Haohmaru> it's still very small but it's different, redesigned board at least
<Haohmaru> ah, the old one is just obsolete, new one has USB-C
<Haohmaru> wasn't someone looking for a debugger with USB-C?
<PaulFertser> Haohmaru: for a good debugger, yes. Can this new one be reflashed with daplink firmware?
<Haohmaru> i'm the last guy who's gonna know such answers
<Haohmaru> the old board seemed to have possibly spare pins on the two sides as castelated vias, the new one doesn't appear to have them
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
<PaulFertser> memes: damex: using ft232h breakout board is usually good enough if the target voltage is 3.3 V. Also with some targets series termination resistors are needed on all data lines, proper jtag/swd adapters have them integrated.
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
Guest52 has joined #openocd
<Guest52> Hello everybody. Is it possible with openocd to access aarch64 system registers like ttbr0_el1 (registers that you would typically read/write with mrs/msr instructions). When using the stock gnu toolchain provided by ARM + OpenOCD it seems like some are available (like ESR_EL1/2). Could someone explain me (or point me to some document) how this is
<Guest52> done? Generally, I am wondering if this is some sort of limitation by the chip manifacturers or if this is specified by ARM etc... Thanks in advance!
<Guest52> So basically I am wondering "who decides which registers can be `trivially accessed` and which not"
<PaulFertser> Guest52: registers are hardcoded in OpenOCD sources.
<PaulFertser> See src/target/armv8.c
<Guest52> So would it be possible to get access to all registers?
<PaulFertser> armv8_regs[]
<PaulFertser> Guest52: not sure if easily possible without modifications of source code.
<Guest52> ok looking at the code this is exactly what I am curious about. Apart from the x-registers we have access to esr/elr/spsr registers. What about all the other registers? Is there a technical reason why they are not there? Or does the debug infrastructur in general provide all internal registers to the outside? Or maybe I should ask how does openocd
<Guest52> actually access those registers?
<PaulFertser> Guest52: please stay here on the channel, probably someone who knows more about aarch64 will answer.
<Guest52> Ok, thanks!
akaWolf has quit [Ping timeout: 258 seconds]
akaWolf has joined #openocd
<karlp> memes: you're not getting etm over jtag, it's a separate interface. you can _configure_ etm via jtag, but you will need somethign else to capture it.
<PaulFertser> I think memes meant ETM would go to ETB (trace buffer) and then its contents can be fetched via JTAG.
Guest52 has quit [Quit: Client closed]
Guest45 has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
<Guest45> Hello
<Guest45> i'm trying to use openocd to erase an external flash connected to a stm34l496
<Guest45> as far as I understand in need to use the stmqspi driver
<Guest45> if I try this command
<Guest45> $> flash bank spi stmqspi
<Guest45> The 'flash bank' command must be used before 'init'.
<Guest45> I know some parameters are missing but generally openocd tell me which one
<Guest45> what am I doing wrong please?
erhankur has joined #openocd
<Guest45> openocd version: xPack OpenOCD x86_64 Open On-Chip Debugger 0.11.0+dev (2022-03-25-17:31)
<PaulFertser> Guest45: before init means in config file or command line, not in telnet.
<Guest45> ok, thank you, i'm going to try that
<PaulFertser> Guest45: you'll also need the other parameters to flash bank, see the User Manual.
<Guest45> yes I've seen that, it was a test
<Guest45> maybe you can explain what is the last parameter ? I don't get it
<PaulFertser> Guest45: looks like it's io_base
<PaulFertser> Guest45: are you talking about 0xA0001000 from the example?
<Guest45> yes
<PaulFertser> Guest45: that's the address of the memory-mapped control register for the peripheral.
abby has left #openocd [#openocd]
<Guest45> on my mbed projet the "flashiap-block-device.base-address": "0x08000000"
<Guest45> I guess it the value of the first param
<Guest45> I will the the stm datasheet to get the addr of the register
<Guest45> many thanks
<PaulFertser> Guest45: good luck
<Guest45> thanks it seems a bit tricky (as far as google says)
abby has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
marex has quit [Ping timeout: 255 seconds]
Hawk777 has joined #openocd
marex has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
erhankur has quit [Remote host closed the connection]
emeb has joined #openocd
merethan has quit [Remote host closed the connection]
merethan has joined #openocd
kraiskil has joined #openocd
Haohmaru has quit []
akaWolf has quit [Ping timeout: 258 seconds]
merethan has quit [Remote host closed the connection]
akaWolf has joined #openocd
merethan has joined #openocd
LinuxHackerman[m is now known as LinuxHackerman
LinuxHackerman has quit [Quit: Reconnecting]
LinuxHackerman has joined #openocd
emeb has quit [Quit: Leaving.]
erhankur has joined #openocd
erhankur has quit [Ping timeout: 260 seconds]
kraiskil has quit [Ping timeout: 246 seconds]
erhankur has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
merethan has quit [Ping timeout: 246 seconds]
nerozero has quit [Ping timeout: 240 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
Bugies has quit [Ping timeout: 240 seconds]
akaWolf has quit [Ping timeout: 246 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
sbach has quit [Read error: Connection reset by peer]
sbach has joined #openocd
crabbedhaloablut has quit [Remote host closed the connection]
crabbedhaloablut has joined #openocd
wingsorc has joined #openocd
akaWolf has joined #openocd
pi0 has left #openocd [#openocd]