pyocd / pyOCD

Open source Python library for programming and debugging Arm Cortex-M microcontrollers
https://pyocd.io
Apache License 2.0
1.08k stars 472 forks source link

Cannot find debugger on macOS #1652

Closed myst729 closed 6 months ago

myst729 commented 6 months ago

I have two cmsis-dap debuggers, one is nanoDAP (runs a firmware of STM32F103C8 port), the other uses CH552t and runs a relevant port to that MCU. They both works fine on Windows 11 with latest pyocd (python 3.9.13).

image

However, the CH552t version couldn't be found on macOS 13 (2017 Intel CPU) and 14 (2021 M1 CPU). USB devices are discoverable but pyocd list only shows nanoDAP. Version of pyocd and python are the same as Windows 11.

image

I'm not sure whether it is Apple's fault, or implementation differences of pyocd on various platforms. Sometimes macOS arbitrarily cuts off command line features when system updates. Any clues on possible reasons, or to which direction should I research?