The PHiLIP (Primitive Hardware In the Loop Integration Product) PAL (Protocol Abstraction Layer)
The application layer based on the mm_pal
for PHiLIP
.
Providing helpers and connection details specifically for PHiLIP.
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
First connect PHiLIP to the computer so a serial port connection is available.
To log into PHiLIP run:
philip-cli
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.
This project has been set up using PyScaffold 4.3.1. For details and usage information on PyScaffold see https://pyscaffold.org/.