Pokey has quit [Remote host closed the connection]
<merethan>
Mm target/stm32wlx.cfg already has usage of the second core in there. But to activate it, I need set DUAL_CORE to 1 prior target/stm32wlx.cfg getting executed. How am I supposed to do so?
<merethan>
lol I tried that venue but got the syntax wrong
<merethan>
I did -c "DUAL_CORE=1"
<PaulFertser>
It's Tcl syntax
<merethan_>
Warning : hla does not support multicore debugging
<merethan>
Holdup, ST gave the world a dual-core STM32WL55 devboard with a debugger on it which cannot do two cores? xD
<merethan>
OpenOCD says available transports are hla_swd & hla_jtag
<PaulFertser>
merethan: use stlink-dap debug interface
<PaulFertser>
Not just stlink
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
<merethan>
Ah. Oh well now it hangs on not being able to connect to the second core xD
<PaulFertser>
Probably the second core is not enabled somehow, and the first core needs to release some reset line or something.
<merethan>
The second core needs enable its debugger internally for security reasons. CPU2 is considered the secure CPU.
<merethan>
It has all the crypto-fancyness available whereas CPU1 does not.
<merethan>
CPU2 can also lock out CPU1 from configurable memory regions and stuff.
<merethan>
It's stupidly complicated.
<PaulFertser>
Looks like it
<merethan>
So for me to debug it, CPU1 must have booted it already, the thing needs have enabled debugging itself hopefully before it locks up in a HardFart.
<merethan>
If the startup code fails in ya CPU2, you're screwed. No knowing why.
<merethan>
Why, ST? Why?
<Haohmaru>
who farted
<merethan>
My Cortex-M0+
<Haohmaru>
such a big smell for such a small core
<merethan_>
It really starts to annoy me. I just want make a device that works but I spend large amounts of time just fighting with hardware.
Foxyloxy has joined #openocd
Pokey 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
_whitelogger has joined #openocd
merethan_ has quit [Ping timeout: 272 seconds]
merethan has quit [Ping timeout: 255 seconds]
nerozero has quit [Ping timeout: 240 seconds]
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
embeddedNoob2 has quit [Ping timeout: 264 seconds]
Haohmaru has quit [Ping timeout: 248 seconds]
HelloShitty has quit [Ping timeout: 255 seconds]
bvernoux has joined #openocd
erhankur has quit [Remote host closed the connection]
erhankur has joined #openocd
_whitelogger has joined #openocd
embeddedNoob has joined #openocd
erhankur has quit [Remote host closed the connection]