mbed-os/TESTS/host_tests
Filip Jagodzinski 7db3a8a34a Tests: USB: DTR fix for Linux hosts
A DTR line is used to signal that the host has configured a terminal and
is ready to transmit and receive data from the USB CDC/Serial device.
When this test suite is run with the use of a Linux host, a workaround has
to be used to overcome some platform specific DTR line behavior.
Every time the serial port file descriptor is opened, the DTR line is
asserted until the terminal attributes are set.
As a consequence, the device receives a premature DTR signal with a
duration of 200-500 us before the correct, long-lasting DTR signal set by
the host-side test script. (tested on the Linux kernel 4.15.0)

The solution is to wait for the first DTR spike, ignore it, and wait for
the correct DTR signal again.
2019-02-22 10:53:21 -06:00
..
crash_reporting.py Increase the timeout for the host side script and the test 2019-01-22 16:04:47 -06:00
device_echo.py Modifying echo test to be driven more from the device. 2018-04-23 17:56:13 -05:00
pyusb_basic.py Fix USB traceback during testing when wrong size 2019-02-22 10:53:20 -06:00
rtc_calc_auto.py Fix Python 3 syntax in rtc host test 2019-01-03 12:04:36 -06:00
rtc_reset.py Fix for issue #8214 2018-09-24 14:05:12 +02:00
system_reset.py use forced_reset_timeout as delay after reset 2018-10-02 18:01:08 -05:00
timing_drift_auto.py Update timing calculations 2017-06-28 16:29:38 -05:00
trng_reset.py Fix TRNG test to use reset from python script and not from code 2018-09-05 17:36:53 +03:00
usb_device_serial.py Tests: USB: DTR fix for Linux hosts 2019-02-22 10:53:21 -06:00