Hi,
Any advantages using OpenOCD over J-Link Debug Host Tools to debug Zephyr RTOS application?
Thanks,
Hardik
Hi,
Any advantages using OpenOCD over J-Link Debug Host Tools to debug Zephyr RTOS application?
Thanks,
Hardik
Hi,
JLink tools support our tool "nrfjprog", which has nRF specific commands. This is supported by us.
OpenOCD has some support for these, but it depends on which version you're using. This is supported by a 3rd party community.
One big plus for openocd is the thread awareness which is supported in zephyr: https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_OPENOCD_SUPPORT.html
JLink does not have zephyr-awareness in their gdbserver yet (see the docs here: https://docs.zephyrproject.org/latest/guides/debugging/host-tools.html#j-link-debug-host-tools), but there is support for Segger SystemViewer: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/tracing/index.html#segger-systemview-support
My suggestion is that you can try both DAPlink and JLink and evaluate which one suits your development needs.
Kind regards,
Håkon
Hi,
JLink tools support our tool "nrfjprog", which has nRF specific commands. This is supported by us.
OpenOCD has some support for these, but it depends on which version you're using. This is supported by a 3rd party community.
One big plus for openocd is the thread awareness which is supported in zephyr: https://docs.zephyrproject.org/latest/reference/kconfig/CONFIG_OPENOCD_SUPPORT.html
JLink does not have zephyr-awareness in their gdbserver yet (see the docs here: https://docs.zephyrproject.org/latest/guides/debugging/host-tools.html#j-link-debug-host-tools), but there is support for Segger SystemViewer: https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/zephyr/guides/tracing/index.html#segger-systemview-support
My suggestion is that you can try both DAPlink and JLink and evaluate which one suits your development needs.
Kind regards,
Håkon