From 46695ce6369c84607f6aae8a9d58dc9b7bbf7c8b Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Thu, 24 Nov 2016 14:17:16 +0100 Subject: [PATCH 1/5] Update README.md --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index 894f58a7..d802912e 100644 --- a/README.md +++ b/README.md @@ -53,6 +53,10 @@ In order to burn the bootloader with a J-Link, you will need `nrfjprog` from Nor - Extract the downloaded file and add the extracted path to your environment `PATH` variable - Check to make sure you can run `nrfjprog` from your terminal/command prompt +**OS X Note** At present, you will need to create a symlink in `/usr/local/bin` to the `nrfjprog` tool wherever you have added it. You can run the following command, for example: + + $ ln -s $HOME/prog/nordic/nrfjprog/nrfjprog /usr/local/bin/nrfjprog + ### Burning the Bootloader Once the tools above have been installed and added to your system path, from the Arduino IDE: From cfd02051265ee66f6238b208699bcca9fd6bd251 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Thu, 24 Nov 2016 14:42:18 +0100 Subject: [PATCH 2/5] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index d802912e..c2da0370 100644 --- a/README.md +++ b/README.md @@ -65,6 +65,13 @@ Once the tools above have been installed and added to your system path, from the - Select `Tools > Programmer > J-Link with Feather52` - Select `Tools > Burn Bootloader` with the board and J-Link connected +#### Manually Burning the Bootloader via nrfjprog + +You can also manually burn the bootloader from the command line via `nrfjprog` as follows: + + $ nrfjprog -e -f nrf52 + $ nrfjprog --program bootloader_with_s132.hex -f nrf52 + ## BLE Arduino Support This Arduino Core does **not** contain any Arduino style API's for BLE functionality. All the relevant Nordic SoftDevice (S110, S130, S132) header files are included build path when a SoftDevice is selected via the `Tools` menu. From dd2aef8fe75266a4b6c45ab133244227d9256f95 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Thu, 24 Nov 2016 14:42:46 +0100 Subject: [PATCH 3/5] Update README.md --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c2da0370..bb745311 100644 --- a/README.md +++ b/README.md @@ -69,8 +69,10 @@ Once the tools above have been installed and added to your system path, from the You can also manually burn the bootloader from the command line via `nrfjprog` as follows: - $ nrfjprog -e -f nrf52 - $ nrfjprog --program bootloader_with_s132.hex -f nrf52 +``` +$ nrfjprog -e -f nrf52 +$ nrfjprog --program bootloader_with_s132.hex -f nrf52 +``` ## BLE Arduino Support From f676228b80e91caa013fa8c4a620f145a572f238 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Thu, 24 Nov 2016 14:43:16 +0100 Subject: [PATCH 4/5] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index bb745311..cb865ef6 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,9 @@ In order to burn the bootloader with a J-Link, you will need `nrfjprog` from Nor **OS X Note** At present, you will need to create a symlink in `/usr/local/bin` to the `nrfjprog` tool wherever you have added it. You can run the following command, for example: - $ ln -s $HOME/prog/nordic/nrfjprog/nrfjprog /usr/local/bin/nrfjprog +``` +$ ln -s $HOME/prog/nordic/nrfjprog/nrfjprog /usr/local/bin/nrfjprog +``` ### Burning the Bootloader From e4fdddf589044436d57374372ea11f351dca5d88 Mon Sep 17 00:00:00 2001 From: Kevin Townsend Date: Thu, 24 Nov 2016 14:44:01 +0100 Subject: [PATCH 5/5] Update README.md --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index cb865ef6..906f5e74 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ You can also manually burn the bootloader from the command line via `nrfjprog` a ``` $ nrfjprog -e -f nrf52 $ nrfjprog --program bootloader_with_s132.hex -f nrf52 +$ nrfjprog --reset -f nrf52 ``` ## BLE Arduino Support