mbedflsh
module and utilities to flash, reset and test Mbed Enabled devices
Install
- All systems
-
curl cmd.cat/mbedflsh.sh
- Debian
-
apt-get install python3-mbed-host-tests
- Ubuntu
-
apt-get install python3-mbed-host-tests
- Kali Linux
-
apt-get install python3-mbed-host-tests
- Windows (WSL2)
-
sudo apt-get update
sudo apt-get install python3-mbed-host-tests
- Dockerfile
- dockerfile.run/mbedflsh
python3-mbed-host-tests
module and utilities to flash, reset and test Mbed Enabled devices
The mbed-host-tests module and mbedhtrun and mbedflsh utilities are used during ARM Mbed Enabled device development for: * Driving test binary flashing * Device reset * Test execution The default binary flashing method is one supported by mbed-enabled devices: a binary file is copied onto the mbed-enabled DUT's (Device Under Test) mounted drive (MSD). This procedure will automatically flash device with given binary file content. The default DUT reset method is one supported by mbed-enabled devices: the serial port (CDC) "sendBreak" command resets the target MCU on mbed-enabled platform. The test execution phase will consist of: * Opening connection between host computer and DUT * DUT will send to host preamble with test runner information such as: - test environment version - test timeout - preferred host test script (Python script which is used to supervise/instrument test execution) * Host will spawn host test script and test execution will be instrumented * Exchange data (in most cases text) between host and DUT This package contains the Python 3 module and mbedhtrun and mbedflsh utilities.