This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

pc_ble_py driver unable to connect to NRF52840

I am trying to use the connectivity firmware with an NRF52840 dongle to communicate with an nRF52840-dk through the nordic UART service, but I am unable to use the pc_ble_py or c driver to communicate with it. I have tried using the python heart rate collector and advertising example programs but both running into some communication issue when I try to open the connection to the dongle. I have tried using manually built and precompiled firmware using versions 4.1.1 and 4.1.4 and both have this issue. 

2021-04-23 11:23:50,497 [7684/LogThread] Successfully opened COM30. Baud rate: 1000000. Flow control: none. Parity: none.
2021-04-23 11:23:50,497 [18608/StatusThread] status
2021-04-23 11:23:50,499 [7684/LogThread] evt> severity(20) message(Successfully opened COM30. Baud rate: 1000000. Flow control: none. Parity: none.)
2021-04-23 11:23:50,500 [18608/StatusThread] RpcAppStatus.resetPerformed: Target Reset performed
2021-04-23 11:23:50,500 [18608/StatusThread] evt> status code(RpcAppStatus.resetPerformed) message(Target Reset performed)
2021-04-23 11:23:50,875 [7684/LogThread] h5_decode error, code: 0x802c, H5 error count: 1. raw packet: c0 60 00 01 01 c0 
2021-04-23 11:23:50,875 [7684/LogThread] evt> severity(40) message(h5_decode error, code: 0x802c, H5 error count: 1. raw packet: c0 60 00 01 01 c0 )
2021-04-23 11:23:51,193 [7684/LogThread] h5_decode error, code: 0x802c, H5 error count: 2. raw packet: c0 60 00 01 01 c0 
2021-04-23 11:23:51,194 [7684/LogThread] evt> severity(40) message(h5_decode error, code: 0x802c, H5 error count: 2. raw packet: c0 60 00 01 01 c0 )
2021-04-23 11:23:51,451 [7684/LogThread] h5_decode error, code: 0x802c, H5 error count: 3. raw packet: c0 60 00 01 01 c0 
2021-04-23 11:23:51,453 [7684/LogThread] evt> severity(40) message(h5_decode error, code: 0x802c, H5 error count: 3. raw packet: c0 60 00 01 01 c0 )
2021-04-23 11:23:51,769 [7684/LogThread] h5_decode error, code: 0x802c, H5 error count: 4. raw packet: c0 60 00 01 01 c0 
2021-04-23 11:23:51,769 [7684/LogThread] evt> severity(40) message(h5_decode error, code: 0x802c, H5 error count: 4. raw packet: c0 60 00 01 01 c0 )
2021-04-23 11:23:52,089 [7684/LogThread] h5_decode error, code: 0x802c, H5 error count: 5. raw packet: c0 60 00 01 01 c0 
2021-04-23 11:23:52,089 [7684/LogThread] evt> severity(40) message(h5_decode error, code: 0x802c, H5 error count: 5. raw packet: c0 60 00 01 01 c0 )
2021-04-23 11:23:52,650 [18608/StatusThread] status
2021-04-23 11:23:52,651 [18608/StatusThread] RpcAppStatus.pktSendMaxRetriesReached: No response from device. Tried to send packet 6 times.
2021-04-23 11:23:52,654 [18608/StatusThread] evt> status code(RpcAppStatus.pktSendMaxRetriesReached) message(No response from device. Tried to send packet 6 times.)

Additionally I am seeing the same issue when I try to use the c driver heart rate examples. There must be something super small I am missing so any guidance would be greatly appreciated! 

Parents Reply Children
Related