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

Error code 13 when trying to open nRF52840 Dongle with pc-ble-driver-py

When I open device just after I plug it in the PC it work fine, but when I try to do it again (exit python script and run it again) I'm getting Error code 13.

Firmware: connectivity_1.2.3_usb_with_s132_3.1.hex 

Steps I do:

1. Open

2. Connect

3. Disconnect

4. Close

When I'm not connected to any device it will work fine, but when I'm connected to something the pc-ble-driver-py will raise error on the next time I'm trying to open the device.

When I'm closing device without disconnecting It will run fine sometimes, but not always. Only thing that will fix it is unplugging and plugging dongle to the PC or reset device through nRF Connect (Programmer app)

So how do I open device without errors?

Parents
  • Hi,

    I'm a little bit confused, so it always work fine the first time you plug it in the PC. It also works fine when you close it and run the application again if the dongle isn't connected to any device. But if the dongle is connected to a device and you closing the application without disconnecting first, it only works sometimes? Am I correct?

    Does this also happen if you connect then disconnect before closing the application?

    Error code 13 means timeout in comminucation between ble-driver and connectivity firmware.

Reply
  • Hi,

    I'm a little bit confused, so it always work fine the first time you plug it in the PC. It also works fine when you close it and run the application again if the dongle isn't connected to any device. But if the dongle is connected to a device and you closing the application without disconnecting first, it only works sometimes? Am I correct?

    Does this also happen if you connect then disconnect before closing the application?

    Error code 13 means timeout in comminucation between ble-driver and connectivity firmware.

Children
Related