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

usb driver of nrf52840 for mac os

hi.,

we develop a product that use nrf52840,and it need to suport usb dfu in windowns and mac.and also need achieve cdc communication .this funcation is ok in windows,and in the mac ,there is some suspicious。

1.where is the file of .pkg that usb cdc driver of mac os?

2. how to use the urfutil.exe to dfu in the mac os? 

Parents
  • Hi,

    1.where is the file of .pkg that usb cdc driver of mac os?

    We do not supply a CDC driver for macOS. It is not needed as this is supported out of the box in macOS (as most other modern operating systems).

    2. how to use the urfutil.exe to dfu in the mac os? 

    You do it as you would any other operating system, but specify the correct path to the CDC device. I tested now in Big Sur, and then my nRF52840 device with USB CDC appears as /dev/tty.usbmodem146301. You can use ls -l /dev/tty.usbmodem* to see what it is in your case.

    You can see all relevant options for nrfutil in this case by typing nrfutil dfu usb-serial --help

    So you should use something like:

    nrfutil dfu usb-serial -pkg app_dfu_package.zip -p /dev/tty.usbmodem146301 -b 115200

  • Hi,if there is any doc for the way use the nrfutil in the mac os,i know in the windows we can call the api of nrfutil.exe by bat file after download  nrfutil.exe and  set windows path .but in the mac os ,in the mac os if i need download the nrfutil.app,and then input the command of nrfutil in the t erminal?

Reply Children
Related