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_mltk_cli.py
from mltk.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¶
This allows for transferring binary data between a Python script and a JLink-enabled embedded device via the debug interface |
JLink data stream |
Helper class for issuing a command/response to embedded device via J-Link |
JLinkStream configuration options |