Embedded Debugging
OpenOCD 심화 분석 — Configuration·Adapter·Target 통합
TCL 인터프리터, target/interface 설정, flash driver, custom 명령, multi-core.
· 12분 읽기
openocd embedded
4개의 포스트
TCL 인터프리터, target/interface 설정, flash driver, custom 명령, multi-core.
다른 머신·MCU를 GDB로. RSP, gdbserver, OpenOCD, J-Link, JTAG/SWD, ARM CoreSight.
OpenOCD·pyOCD로 GDB를 target에 붙이는 법을 각 도구 문서로 정리하고, QEMU gdbstub + LLDB로 메모리 오염 watchpoint 세션을 실제로 돌리며, .gdbinit·RTOS awareness·SWO·SVD·최적화와 breakpoint의 함정을 짚습니다.
JTAG·SWD가 안 붙을 때 VTref·커넥터 핀·클럭·리셋·STM32 RDP·저전력·디버그 핀 재설정을 차례로 점검합니다. Arm·SEGGER·OpenOCD 문서와 STM32F4 데이터시트·HAL을 근거로 합니다.