顯示包含「STM32」標籤的文章。顯示所有文章
顯示包含「STM32」標籤的文章。顯示所有文章

2015年9月11日星期五

Connect STM32F103V8 with ECLIPSE+GDB+JLINK

Use SWD debugging interface.

1) Start the JLINK GDB Server
cd "c:\Program Files (x86)\SEGGER\JLinkARM_V440"
JLinkGDBServer.exe -if swd



2) In the debug configuration:



monitor flash download = 1
monitor flash breakpoints = 1

monitor reg r13 = (0x00000000)
monitor reg pc = (0x00000004)