개발&공작
[STM32] TrueStudio 디버깅 오류
hyunsungkim
2019. 8. 17. 16:15
이전 글과 같이 SWD 핀으로 보드를 연결한 후 TrueStudio로 디버깅을 하려고 하는데 다음의 오류창과 함께 콘솔 창에 아래의 오류가 뜬다. 아마 TrueStudio를 D: 드라이브에 설치해서 문제가 생기는 것 같은데 간단히 해결이 가능하다.
ERROR: Couldn't locate STM32CubeProgrammer in 'C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\Servers\STM32CubeProgrammer\bin', use -cp
해결방법
TrueStudio 설치 경로의 "Server" 폴더를 복사한다.
오류 내용에 따라서 C:\Program Files (x86)\Atollic\TrueSTUDIO for STM32 9.3.0\ 폴더 안에(없으면 새 폴더로 만든다.) "Server" 폴더를 붙여넣는다.
해결 완료.