pyocd "No available debug probes are connected" 문제 해결

2022. 10. 3. 20:14개발로그/기타

반응형

개발 환경

 - Ubuntu

 

문제

pyocd list 수행 시, "No available debug probes are connected" 에러 발생

 

해결 방법

  • libusb-1.0.0-dev 설치 후 재부팅
  • github에서 pyOcd 다운로드 후 아래 명령을 수행해서 rules.d를 시스템에 복사
$cd pyOcd/udev
$sudo cp *.rules /etc/udev/rules.d
Plug in board

 

$cd pyOcd/udev
$ sudo cp *.rules /etc/udev/rules.d
$ venvPyOcd) kaizen@ubuntu:~/Workspace$ pyocd list
  #   Probe                           Unique ID                 
----------------------------------------------------------------
  0   NUCLEO-F401RE [stm32f401retx]   0672FF524950677267202351

 

참고

https://github.com/pyocd/pyOCD/tree/main/udev

 

GitHub - pyocd/pyOCD: Open source Python library for programming and debugging Arm Cortex-M microcontrollers

Open source Python library for programming and debugging Arm Cortex-M microcontrollers - GitHub - pyocd/pyOCD: Open source Python library for programming and debugging Arm Cortex-M microcontrollers

github.com

 

반응형