Add a short description here!
Project description
philip-pal2
The PHiLIP (Primitive Hardware In the Loop Integration Product) PAL (Protocol Abstraction Layer)
Description
The application layer based on the mm_pal
for PHiLIP
.
Providing helpers and connection details specifically for PHiLIP.
PHiLIP PAL Installation
As this is both a python library (Phil interface) and application (philip-cli
) you may or may not want to install in a virtual environment.
Generally, a simple pip installation should work:
pip install philip-pal2
Logging on to PHiLIP CLI
First connect PHiLIP to the computer so a serial port connection is available.
To log into PHiLIP run:
philip-cli
Running single PHiLIP commands
Besides the full PHiLIP PAL Shell there is also CLI mode for simple one-shot access to PHiLIP interface functions. It allows to reset the PHiLIP MCU and the connected DUT.
After connecting PHiLIP simply run python3 -m philip_pal --help
to get the
following full usage description:
usage: python3 -m philip_pal [-h] [--verbose] [--dut_reset] [--reset] [port]
positional arguments:
port PHiLIP serial port
optional arguments:
-h, --help show this help message and exit
--verbose Enable more output
--dut_reset Reset device-under-test (DUT)
--reset Reset PHiLIP MCU
To get output use --verbose
, otherwise commands will silently be executed.
Note
This project has been set up using PyScaffold 4.3.1. For details and usage information on PyScaffold see https://pyscaffold.org/.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for philip_pal2-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 66acfa792294ecc5f47f21bd38388852bcfb220ccd8cd42b18963f6f764bfaec |
|
MD5 | 65c3e161d7e55a9a22fac9e5d4e805ec |
|
BLAKE2b-256 | 54174aae65ecfbcd15a268c75208c96dbb7aa89cae0f9b304d0ca40f5d9295b2 |