Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion tools/debug_stream/debug_stream.py
Original file line number Diff line number Diff line change
Expand Up @@ -308,6 +308,8 @@ def decode_past_records(self, slot, pos, seqno):
if bpos < 0:
bpos = self.buf_words + pos - bsize
rec = self.get_hdr(slot, bpos)
if rec == None:
return
if bsize != rec.size_words:
return
if seqno is not None:
Expand Down Expand Up @@ -507,7 +509,7 @@ def cavstool_main_loop(my_args):
if not cavstool.fw_is_alive(dsp):
cavstool.wait_fw_entered(dsp, timeout_s=None)
if my_args.direct_access_slot < 0:
offset = cavstool.debug_slot_offset_by_type(ADSP_DW_SLOT_DEBUG_STREAM)
offset = cavstool.debug_slot_offset_by_type(ADSP_DW_SLOT_DEBUG_STREAM, timeout_s=0.5)
if offset is None:
logging.error("Could not find debug_stream slot")
sys.exit(1)
Expand Down
Loading