Skip to content

Commit 76b562d

Browse files
committed
Update README.md
Add flashing a SoftDevice section
1 parent 002f43a commit 76b562d

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,27 @@ No additional setup required.
3939
5. Select ```J-Link (Interface 2)``` from the device dropdown
4040
6. Click ```Replace Driver```
4141

42+
### Flashing a SoftDevice
43+
44+
1. ```cd <SKETCHBOOK>```, where ```<SKETCHBOOK>``` is your Arduino Sketch folder:
45+
* OS X: ```~/Documents/Arduino```
46+
* Linux: ```~/Arduino```
47+
* Windows: ```~/Documents/Arduino```
48+
2. Create the following directories: ```tools/nRF5FlashSoftDevice/tool/```
49+
3. Download [nRF5FlashSoftDevice.jar](https://github.com/sandeepmistry/arduino-nRF5/releases/download/tools/nRF5FlashSoftDevice.jar) to ```<SKETCHBOOK>/tools/nRF5FlashSoftDevice/tool/```
50+
4. Restart the Arduino IDE
51+
5. Select your nRF board from the Tools -> Board menu
52+
6. Select a SoftDevice from the Tools -> "SoftDevice: " menu
53+
7. Select a Programmer (J-Link, ST-Link V2, or CMSIS-DAP) from the Tools -> "Programmer: " menu
54+
8. Select Tools -> nRF5 Flash SoftDevice
55+
9. Read license agreement
56+
10. Click "Accept" to accept license and continue, or "Decline" to decline and abort
57+
11. If accepted, SoftDevice binary will be flashed to the board
58+
4259
### From git (for core development)
4360

4461
1. Follow steps from Board Manager section above
45-
2. ```cd <SKETCHBOOK>/hardware```, where ```<SKETCHBOOK>``` is your Arduino Sketch folder:
62+
2. ```cd <SKETCHBOOK>```, where ```<SKETCHBOOK>``` is your Arduino Sketch folder:
4663
* OS X: ```~/Documents/Arduino```
4764
* Linux: ```~/Arduino```
4865
* Windows: ```~/Documents/Arduino```

0 commit comments

Comments
 (0)