Add quick flash tooling

This commit is contained in:
Rob Moran
2017-12-31 21:16:39 +00:00
parent ec67a3711a
commit d6d0223161
19 changed files with 17719 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
_flash
firmware
.eslintrc
.gitignore

BIN
_flash/dfu_test_app_hrm_s140.zip Executable file

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1 @@
libjlinkarm_nrf51_nrfjprogdll.9.4.0.dylib

View File

@@ -0,0 +1 @@
libjlinkarm_nrf51_nrfjprogdll.9.dylib

Binary file not shown.

View File

@@ -0,0 +1 @@
libjlinkarm_nrf52_nrfjprogdll.9.4.0.dylib

View File

@@ -0,0 +1 @@
libjlinkarm_nrf52_nrfjprogdll.9.dylib

Binary file not shown.

View File

@@ -0,0 +1 @@
libjlinkarm_unknown_nrfjprogdll.9.4.0.dylib

View File

@@ -0,0 +1 @@
libjlinkarm_unknown_nrfjprogdll.9.dylib

BIN
_flash/libnrfjprogdll.9.4.0.dylib Executable file

Binary file not shown.

View File

@@ -0,0 +1 @@
libnrfjprogdll.9.4.0.dylib

1
_flash/libnrfjprogdll.dylib Symbolic link
View File

@@ -0,0 +1 @@
libnrfjprogdll.9.dylib

BIN
_flash/nrfjprog Executable file

Binary file not shown.

13
_flash/nrfjprog.ini Normal file
View File

@@ -0,0 +1,13 @@
; nrfjprog.exe configuration file.
[DEFAULT_CONFIGURATION]
; Define the desired family of devices to use by default by nrfjprog.exe when -f or --family arguments are not used. The only valid options are NRF51, NRF52 or UNKNOWN.
; If set to UNKNOWN an automatic family detection will be performed. The autodetect family operation will take time, so it is advised to use correct family if known.
Family = NRF51
; Define the desired clockspeed in kHz you want nrfjprog.exe use by default when -c or --clockspeed arguments are not used. The range of valid values go from 125 kHz to 50000 kHz.
Clockspeed = 2000
; Define the default QSPI ini file that describe the configuration of an external QSPI flash memory device. Ignore if your device does not have QSPI.
; If a different file than the default is used, ensure that all the keys included in the default file are included in the non-default file.
QspiIniFile = QspiDefault.ini

9
_flash/run.sh Executable file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -e
./nrfjprog --family NRF52 --eraseall
./nrfjprog --family NRF52 --program s132_nrf52_4.0.2_softdevice.hex --sectorerase --reset
./nrfjprog --family NRF52 --program secure_dfu_ble_s132_pca10040_debug.hex --sectoranduicrerase --reset
echo "test by flashing with dfu_test_app_hrm_s132.zip"

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff