Skip to content

alitekin2fx/stm32_daplink_hid

Repository files navigation

Yet another STM32 CMSIS-DAP project for debugging ARM Cortex based microcontrollers.

Please follow the repository commit history for the integration steps.

References

https://github.com/rkprojects/openlink-v1-cmsis-dap
http://wiki.geniekits.com/usb_express/cmsis-dap

Configure Eclipse debugger for debugging with CMSIS-DAP

  1. Goto "Run"->"Debug Configurations..."->"Debugger"
  2. Add "-s /usr/share/openocd/scripts" to the "OpenOCD Options"
  3. Set "User Defined" radio button
  4. Edit *Debug.cfg file and apply below changes
    -source [find interface/stlink.cfg]
    +source [find interface/cmsis-dap.cfg]
    -transport select "hla_swd"
    +transport select swd

Program and verify, verify and reset are optional.

openocd -f openocd-daplink.cfg -c "program filename.elf verify reset exit"
openocd -f openocd-daplink.cfg -c "program filename.bin exit 0x08000000"

About

STM32 CMSIS-DAP project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages