Skip to content
MLTK 0.20.0 documentation logo
Machine Learning Toolkit mltk.utils.jlink_stream.JlinkCommandStream
Type to start searching
    MLTK Github Repository
    • Gecko SDK Documentation
    • Tensorflow-Lite Micro Repository
    • Tensorflow Documentation
    • API Reference
    • Utilities
    • J-Link Stream
    MLTK Github Repository
    • Basics
    • Overview
    • Why MLTK?
    • Installation
    • Command-Line
    • Modeling Guides
    • Usage
    • Tutorials
    • API Examples
    • API Reference
      • Model Operations
      • MLTK Model
      • Tensorflow-Lite Micro Model
      • Tensorflow-Lite Model
      • Keras Model
      • Data Preprocessing
      • Utilities
    • Reference Models
    • Reference Datasets
    • C++ Development
    • C++ Examples
    • Audio Related
    • Keyword Spotting Overview
    • Audio Feature Generator
    • Audio Utilities
    • Other Information
    • Frequently Asked Questions
    • Quick Reference
    • Supported Hardware
    • Notebook Examples Guide
    • Settings File
    • Environment Variables
      • __init__
      • close
      • issue
      • open
    • home
    • API Reference
    • Utilities
    • J-Link Stream
    • mltk.utils.jlink_stream.JlinkCommandStream

    mltk.utils.jlink_stream.JlinkCommandStream¶

    class JlinkCommandStream[source]¶

    Helper class for issuing a command/response to embedded device via J-Link

    Methods

    __init__

    close

    Close the JLink connection and streams

    issue

    Send a command to the device and receive the command response

    open

    Open the JLink connection and command streams

    __init__(command_stream='cmd', response_stream='res', options=None)[source]¶
    Parameters:

    options (Optional[JlinkStreamOptions]) –

    open(reset_device=False)[source]¶

    Open the JLink connection and command streams

    close()[source]¶

    Close the JLink connection and streams

    issue(data, timeout=7.0, no_response=False)[source]¶

    Send a command to the device and receive the command response

    Return type:

    bytes

    Parameters:
    • data (bytes) –

    • timeout (float) –

    arrow_upwardBack to Top
    Previous mltk.utils.jlink_stream.JLinkDataStream
    Next mltk.utils.jlink_stream.JlinkStreamOptions
    © Copyright 2025, Silicon Labs.
    Last updated on Mar 24, 2025.
    Created using Sphinx 5.3.0. and Material for Sphinx

    Important: We use cookies only for functional and traffic analytics.
    We DO NOT use cookies for any marketing purposes. By using our site you acknowledge you have read and understood our Cookie Policy.

    Got it