NishanthMenon changed the topic of #openocd to: this is the place to discuss all things OpenOCD | Logs: https://libera.irclog.whitequark.org/openocd/
zjason`` is now known as zjason
Saganne43 has joined #openocd
Hawk777 has joined #openocd
Saganne43 has quit [Ping timeout: 256 seconds]
jybz has quit [Ping timeout: 252 seconds]
jybz has joined #openocd
nerozero has joined #openocd
ChanServ has quit [shutting down]
ChanServ has joined #openocd
merethan has joined #openocd
sevan has quit [Ping timeout: 252 seconds]
sevan has joined #openocd
Haohmaru has joined #openocd
Hawk777 has quit [Quit: Leaving.]
vampirefrog has quit [Quit: Leaving]
sevan has quit [Remote host closed the connection]
sevan has joined #openocd
slobodan_ has joined #openocd
slobodan has joined #openocd
slobodan_ has quit [Read error: Connection reset by peer]
sevan has quit [Changing host]
sevan has joined #openocd
merethan has quit [Ping timeout: 248 seconds]
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #openocd
merethan has joined #openocd
merethan has quit [Ping timeout: 252 seconds]
defiant has quit [Quit: defiant]
bvernoux has joined #openocd
slobodan_ has joined #openocd
slobodan has quit [Remote host closed the connection]
guestinator has quit [Remote host closed the connection]
guestinator has joined #openocd
slobodan_ has quit [Ping timeout: 265 seconds]
Haohmaru has quit [Quit: saionara]
russ has joined #openocd
Hawk777 has joined #openocd
crabbedhaloablut has quit []
crabbedhaloablut has joined #openocd
nerozero has quit [Ping timeout: 258 seconds]
bvernoux has quit [Read error: Connection reset by peer]
merethan has joined #openocd
merethan has quit [Ping timeout: 252 seconds]
slobodan has joined #openocd
slobodan has quit [Read error: Connection reset by peer]
guestinator has quit [Remote host closed the connection]
guestinator has joined #openocd
greyltc has joined #openocd
<greyltc> Hi. I'm new to openocd. I'm trying to work on this device https://www.silabs.com/documents/public/data-sheets/efr32zg23-datasheet.pdf
<greyltc> I can't seem to get the setup to work, but I assume that's because I don't know what I'm doing
<greyltc> so I've started up with `openocd -s /usr/share/openocd/scripts -f interface/cmsis-dap.cfg -c 'transport select swd' -f target/efm32.cfg -c init -c halt`
<greyltc> which looks quite promising
<greyltc> so then I `telnet localhost 4444`
<greyltc> and issue: `flash read_bank 0 /tmp/bank0`
<greyltc> which returns
<greyltc> Target is not Cortex-Mx Device
<greyltc> auto_probe failed
<greyltc> so now i wonder if anyone here can help or explain why i can't read the flash
slobodan has joined #openocd
<PaulFertser> greyltc: hi! odd result you show
<PaulFertser> greyltc: " -s /usr/share/openocd/scripts" isn't needed but doesn't harm.
<PaulFertser> greyltc: current source code has no "Target is not Cortex-Mx Device" string. Next time please use some pastebin and show full output starting with the invocation command line.
<greyltc> could that string be coming from the debugger's firmware?
<greyltc> thanks for taking the time to help by the way :-)
<PaulFertser> greyltc: I'd need to see full output to tell
<PaulFertser> greyltc: hah, I see it used to be present in the source code, removed with a4b4750e3860fae620f51d34a43a655b5ccdd51d
<PaulFertser> greyltc: so I suggest you use a self-compiled current HEAD from git.
<greyltc> PaulFertser: here's everything: https://bpa.st/raw/M5OQ
<greyltc> ok
<greyltc> give me a few mins to recompile, I hope I'm on the latest release...
<PaulFertser> greyltc: that current code wasn't yet tagged as any release unfortunately
<greyltc> building from git now...
<greyltc> PaulFertser: okay, here's with the new build: https://bpa.st/raw/XGSA
<PaulFertser> greyltc: now that you have the source you should be able to add new family 128 to efm32_families[] in src/flash/nor/efm32.c
<PaulFertser> Really need to sleep now. Hope you'll get it working soon and feel free to send a patch once tested.
<greyltc> ok!
<greyltc> thanks for getting me started!
slobodan has quit [Ping timeout: 252 seconds]
Hawk777 has quit [Quit: Leaving.]