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

How to program the nRF52840 dongle from Linux or Windows command line

I have a BLE application that I successfully program onto the dongle by pushing the reset button on the dongle and using the "programmer" application from nRF Connect. 

The client, who will be programming many of these dongles, isn't impressed at having to use a GUI to do the programming. 

I need to program my application and softdevice to the dongle. I don't mind combining the .hex files so there is only one blob to be downloaded. 

To summarize, the process the client wants is (1) insert dongle (2) press DFU button (3) run script to program dongle. 

Thoughts? 

Related