I am having a strange issue while using pc-ble-driver-py to perform tests with a BLE peripheral:
In these tests, the Peripheral sends a lot of data as fast as possible using notifications with a MTU of 126 to the Central device. In this case, the Central is a nRF52 DK with the pc-ble-driver connectivity firmware connected via USB to a Windows 10 machine. After about 30 notifications (depending on the configured GAP event length, this figure can vary), the python script for our test seems to hang up and notifications are not received anymore. If I reduce the data rate sent by the Peripheral, all notifications are received successfully.
Here is where it gets strange, if I do the following two things, all the notifications are received successfully by the python script with the maximum data rate and the test is successful. I have to:
- Use another version of the JLink CDC UART Port driver (using v6.0.2601.5 from August 2018 instead of v1.34.0.44950 from June 2019)
- Open J-Link configurator and keep it open as long as the test is running
Do you have any idea about where this issue comes from ? I am aware that this issue is probably related to J-Link drivers but just in case you know what is happening.
More information about my setup:
- J-Link software package v6.60e, coming with Nordic command-line tools v10.6.0
- J-Link firmware on the nRF52 DK is dated 2019 Jan 7 14:07