Skip to content
YZLITE 0.2.0 documentation logo
ReRAM YZLite J-Link Stream
Type to start searching
    YZLITE Github Repository
    • ReRAM Engine Documentation
    • Tensorflow-Lite Micro Repository
    • Tensorflow Documentation
    • API Reference
    • Utilities
    YZLITE Github Repository
    • Basics
    • Overview
    • Why YZLITE?
    • Installation
    • Command-Line
    • Modeling Guides
    • Usage
    • Tutorials
    • API Examples
    • API Reference
      • Model Operations
      • YZLITE 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
    • J-Link Stream
      • Example Usage
      • API Reference
    • home
    • API Reference
    • Utilities
    • J-Link Stream

    J-Link Stream¶

    This allows for transferring binary data between a Python script and a JLink-enabled embedded device via the debug interface.

    NOTE: The embedded device must be running the jlink_stream C++ library for this Python package to work.

    Example Usage¶

    The following is a snippet taken from classify_audio_yzlite_cli.py

    from yzlite.utils.jlink_stream import (JlinkStream, JLinkDataStream)
    
    with JlinkStream() as jlink_stream:
       audio_stream = jlink_stream.open('audio', mode='r')
       chunk_data = audio_stream.read_all(audio_stream.read_data_available)
    
    

    API Reference¶

    yzlite.utils.jlink_stream.JlinkStream

    This allows for transferring binary data between a Python script and a JLink-enabled embedded device via the debug interface

    yzlite.utils.jlink_stream.JLinkDataStream

    JLink data stream

    yzlite.utils.jlink_stream.JlinkCommandStream

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

    yzlite.utils.jlink_stream.JlinkStreamOptions

    JLinkStream configuration options

    arrow_upwardBack to Top
    Previous UartStream
    Next JlinkStream
    © Copyright 2023, Yizhu Technology.
    Last updated on Mar 01, 2023.
    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
    close
    Please click the submit button at the end even if you do not answer all of the questions