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

pc-ble-driver with nRF52840 on OSX

As state in the title I am trying to run pc-ble-driver on nRF52840 Dongle running examples on Mac OSX.

I uploaded connectivity_4.1.4_usb_with_s140_6.1.1.hex file on my dongle using nRF Connect programmer tool for OSX, and I am trying to run heart_rate_monitor example.

I obtain this output:

Info: Successfully opened /dev/tty.usbmodemXXXXXXXXXXXX. Baud rate: 115200. Flow control: none. Parity: none.
Status: 6, message: Target Reset performed
Error: h5_decode error, code: 0x802c, H5 error count: 1. raw packet: c0 60 00 01 01 c0
Error: h5_decode error, code: 0x802c, H5 error count: 2. raw packet: c0 60 00 01 01 c0
Error: h5_decode error, code: 0x802c, H5 error count: 3. raw packet: c0 60 00 01 01 c0
Error: h5_decode error, code: 0x802c, H5 error count: 4. raw packet: c0 60 00 01 01 c0
Status: 0, message: No response from device. Tried to send packet 6 times.
Failed to open nRF BLE Driver. Error code: 0x0D

Same output with both baud rate 1000000 and 115200 (what is the right baudrate to use?).

It seems an error stated in Issued.md file, but if I am right, there are instructions to resolve it only for nRF52840 DK board.

On the board both examples and my project under development works fine.

Thank you so much for any help.

Parents Reply Children
  • Hi, 

    What J-Link firmware version are you using?

    Can you try disabling J-Link MSD on your computer as well to see if that helps, described how to do so here

    Have you tried other USB sockets on your PC? Typically some may have power, some may have USB3 some may have USB2, etc., and also the internal routing inside the PC can lead to differences. 

    Could you provide more information about the USB CDC driver on the computers having this issue? The driver info in the Driver Details pane would be helpful.

    -Amanda

  • Hi, I have tried every single port of my MacBook Pro (I use a USB dongle connected to some of the thunderbolt port of my Mac), but the problem persists.

    I can not do the procedure to disable MSD on my mac because I do not have J-Link OB. I think that can not be a solution because affected devices are DK, and I am using a dongle. That also seems an operation to do on the device, not on the computer (I have done it to develop with my DK).

    The usb driver found on System Information panel on my Mac is: AppleUSBVHCIBCE. Hope this can help.

    Simone

Related