I'm running on Windows 10 and am trying to connect to my BMD-350 development board with an NRF52832.
I've also attempted to execute this with Python 3.9 and 3.8 (both installed via source, both 32-bit).
When attempting to run the heart_rate_collector.py example, this is the error I'm receiving:
> python .\heart_rate_collector.py NRF52 COM4
Serial port used: COM4
2022-06-09 12:30:24,180 [28100/LogThread] Successfully opened COM4. Baud rate: 1000000. Flow control: none. Parity: none.
2022-06-09 12:30:24,180 [28100/LogThread] evt> severity(20) message(Successfully opened COM4. Baud rate: 1000000. Flow control: none. Parity: none.)
2022-06-09 12:30:24,181 [28292/StatusThread] RpcAppStatus.resetPerformed: Target Reset performed
2022-06-09 12:30:24,181 [28292/StatusThread] evt> status code(RpcAppStatus.resetPerformed) message(Target Reset performed)
2022-06-09 12:30:26,368 [28292/StatusThread] RpcAppStatus.pktSendMaxRetriesReached: No response from device. Tried to send packet 6 times.
2022-06-09 12:30:26,387 [28292/StatusThread] evt> status code(RpcAppStatus.pktSendMaxRetriesReached) message(No response from device. Tried to send packet 6 times.)
Traceback (most recent call last):
File ".\heart_rate_collector.py", line 216, in <module>
main(serial_port)
collector.open()
File ".\heart_rate_collector.py", line 86, in open
self.adapter.driver.open()
File "<path-to>\venv\lib\site-packages\pc_ble_driver_py\ble_driver.py", line 106, in wrapper
raise NordicSemiException(
pc_ble_driver_py.exceptions.NordicSemiException: Failed to open. Error code: NRF_ERROR_TIMEOUT
I've already flashed the BMD-350 with connectivity_4.1.4_usb_with_s132_5.1.0.hex and have attempted this with flashing all the other available hex files as well.
I've already had this board working when when running on on Python 2.7 and using the pc-ble-driver-py 0.11.4 library. The goal here is to upgrade the libraries to Python3.
I've looked over some of the other support tickets here and I haven't been able to resolve my issue.
Any help would be appreciated!