I am on a Mac and trying to get the Nucleo WL55JC2 dev board up and running but have been unable to upload to it via USB, getting the error:
OpenOCD init failed
My platform.ini file is as follows:
[env:nucleo_wl55jc]
platform = ststm32
board = nucleo_wl55jc
framework = arduino
debug_tool = stlink
upload_protocol = stlink
I’ve tried other upload_protocols with no success:
mbed, cmsis_dap, jlink
USB Enumerating Successfully:
I can check via the Mac, General->About->System Report->More Info and can verify the board is showing up there as “STLINK-V3”
Confirmed communications via USB:
I installed STM32CubeProgrammer to see if I could connect to the dev board. If I selected any of the options STLink, UART, USB, etc and click “Connect”…it is never successful. However, if select STLink, it will show the firmware version of the board, suggesting there is some communication happening. Also, there’s a ‘Firmware Upgrade’ button that when clicked can be followed up by clicking the ‘Open in update mode’. I am then able to update the board’s firmware successfully. So communication via USB cable is possible.
It seems that others experiencing similar issues years ago were on Windows.
What would you suggest I try next?