See https://wiki.analog.com/resources/tools-software/linuxdsp/docs/qa/how_to_debug_sharc_cores_while_running_linux.