<PaulFertser>
cluelessperson: I've told you about OpenOCD 5 days ago: 00:41 < PaulFertser> That chip is supported since c999fcef3e96fbdb5226b0913bddf29365566ce8
<PaulFertser>
cluelessperson: do you have physical reset line connected between your stlink and the target board?
<cluelessperson>
I built and installed OpenOCD from master, so I haven't checked that commit is in the master branch yet.
<cluelessperson>
and yes, I connected the reset line, but I had to solder my own small wires for the 1.27mm cable to convert to 2.54mm
<PaulFertser>
cluelessperson: it is
<PaulFertser>
cluelessperson: since you have reset connected I suggest you try adding -c "reset_config srst_only connect_assert_srst" to your invocation command line.
<PaulFertser>
cluelessperson: same error? What about holding reset button pressed?
<cluelessperson>
same error: Error: Error connecting DP: cannot read IDR
<cluelessperson>
still with holding the reset button
* cluelessperson
look at the commit you mentioned
<PaulFertser>
cluelessperson: then I suggest your recheck SWDIO and SWCLK
<PaulFertser>
cluelessperson: the commit is just for the flash driver
<PaulFertser>
cluelessperson: it fails much earlier for you
* cluelessperson
peels the electrical tape back to verify the color wires to the cable pinout
<PaulFertser>
You can also check continuity right from jlink to the MCU pins.
<PaulFertser>
To be 100 % sure.
<PaulFertser>
cluelessperson: also, with errors like that please run with -d3 and pastebin the log.
<cluelessperson>
checking continuity
<cluelessperson>
damn it, clk and reset were reversed
<cluelessperson>
I see how I made that mistake, but how do I make these sorts of mistakes?
<cluelessperson>
earlier I had yellow as reset, but switched it, and apparently still wired yellow to reset
<cluelessperson>
repeating
<cluelessperson>
Info : starting gdb server for stm32wlx.cpu on 3333
<cluelessperson>
Info : Listening on port 3333 for gdb connections
<cluelessperson>
I guess that's successful
<PaulFertser>
cluelessperson: connection is successful, yes.
<PaulFertser>
cluelessperson: if you have issues actually flashing it you'll have to do something like "stm32l4x mass_erase 0" or the like, see the User Manual.
<cluelessperson>
PaulFertser, thank you for this tool, this is pretty neat, even if I lack the skill and understanding about it.
<cluelessperson>
I'm completely new to this, I don't even know what to program it with. xD
<PaulFertser>
cluelessperson: hope you'll figure it out eventually :)
thinkfat has quit [Quit: Konversation terminated!]
thinkfat has joined #openocd
thinkfat has quit [Read error: Connection reset by peer]
thinkfat has joined #openocd
emeb has left #openocd [#openocd]
thinkfat has quit [Ping timeout: 245 seconds]
tarekb has joined #openocd
cp- has quit [Read error: Connection reset by peer]