It looks like the pinouts are the same so it should be compatible with the regular miniv3. I think it’s probably some sort of issue in the makefile that can’t find it
I noticed a missing feature in the comparison, could this be the reason it won’t recognize it? I assumed the openocd uses JTAG but I’m not totally sure.
I was able to flash a compiled blink.hex onto the seed using the st-link in stm32cubeprogrammer so I know everything is working correctly. I think this is probably a configuration issue with libDaisy.
For anyone who comes across this, I installed openocd 0.12 from here and placed it into my DaisyToolChain. Then I set the OCD var in libDaisy/core/Makefile
Hey everyone, thanks for your help. I was also struggling with this setup until I found this post. Just wanted to confirm the steps, because for me they were tiny bit different, I’m on win11 btw:
Download latest open ocd version from @angrydan link
Unpack it to C:/Program Files (Daisy toolchain I have in the Documents folder)
In libdaisy/core/Makefile changed line 15 to OCD="C:/Program Files/OpenOCD-20230202-0.12.0/bin/openocd.exe"
In cortex debug settings scrolled down to windows openocd path, edited it in settings.json to be "cortex-debug.openocdPath.windows": "C:/Program Files/OpenOCD-20230202-0.12.0/bin/openocd.exe"
[optional] for some reason debug session would still use powershell as a default terminal and it was giving me a bunch of errors, if you have the same problem (you can check which terminal is being used by hovering over it in vscode) then switch your default terminal to be gitbash as described here
HI All
Thank you for all these informations. It is very usefull…
But please can you explain a little bit more how to you access to the settings.json for the cortex debug.