OpenOCD and JLINK
Posted: Tue Mar 15, 2016 3:09 am
Hi,
I am trying to get J-LINK (EDU) to work with the various crazyflie firmwares. The trunk of openocd works directly with jlink already. However, I need to specify in the Makefiles in order to get it to work (apart from switching OPENOCD_INTERFACE and OPENOCD_TARGET). For example
changes to:
I don't own an STLINKv2. Does the above change work with that as well? If that is the case I would like to create some pull-requests to add it consistently.
Thank you!
I am trying to get J-LINK (EDU) to work with the various crazyflie firmwares. The trunk of openocd works directly with jlink already. However, I need to specify
Code: Select all
-c "transport select swd"
Code: Select all
openocd:
$(OPENOCD) -d2 -f $(OPENOCD_INTERFACE) -f $(OPENOCD_TARGET) -c init -c targets -c "\$$_TARGETNAME configure -rtos auto"
Code: Select all
openocd:
$(OPENOCD) -d2 -f $(OPENOCD_INTERFACE) -c "transport select swd" -f $(OPENOCD_TARGET) -c init -c targets -c "\$$_TARGETNAME configure -rtos auto"
Thank you!