GoMCU-記錄工作上常用到的命令GoMCU
  • 首頁
  • 站長
当前位置:GoMCU > Zephyr > 正文

Zephyr Project RTOS Tutorial (10) 教學 : ARM GDB debug - OpenOCD HW STM32 ST-Link on Linux

2017-05-31 分类:Zephyr 评论(0)

文章作者: 盧宜良

openocd -f interface/stlink-v2-1.cfg -f target/stm32l4x.cfg

arm-none-eabi-gdb

target remote localhost:3333
file [elf file path]
monitor reset halt
l
b [file line]
c

 

GDB-Commands: http://www.yolinux.com/TUTORIALS/GDB-Commands.html

// l 列出程式碼

// c 運行至斷點

// b 設置斷點行數

// n 運行至下一行

// s 步進

未經允許不得轉載:GoMCU » Zephyr Project RTOS Tutorial (10) 教學 : ARM GDB debug - OpenOCD HW STM32 ST-Link on Linux
标签:armarm-none-eabi-gdbdebuggdbHWLinuxOpenOCDRTOSST-LinkSTM32tutorialZephyrZephyr Project教學
上一篇
Zephyr Project RTOS Tutorial (9) 教學 : Zephyr OS + stm32cube HAL庫 混合編程 STM32L432 Nucleo
下一篇
The C Preprocessor

相關推薦

  • [原創] NXP i.MX8QXP dev kit notes tutorial 開發紀錄教學-GoMCU受保護的內容: [原創] NXP i.MX8QXP dev kit notes tutorial 開發紀錄教學 NXP i.MX8QXP mek dev kit 開發板 notes Yocto Project 開發教學 tutorial imx8qxp mek dev kit
  • Linux kernel netlink socket 收集
  • Zephyr Project RTOS Tutorial (11) 教學 : Boot trace - How to switch to main thread

© 2010-2025   GoMCU