建立BootLoader settings

藉由指令另外產生 Bootloader Settings 和 MBR parameters storage



範例,針對nrf52840的Application app.hex產生名為 seetings.hex的 bootloader settings

nrfutil settings generate --family NRF52840 --application app.hex --application-version 3 --bootloader-version 2 --bl-settings-version 1 settings.hex

顯示bootloader settings的內容

nrfutil settings display settings.hex



實際操作

nrfutil settings generate --family NRF52840 --application ble_app_blinky_pca10056_s140.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 settings.hex


確認記憶體位置和 bootloader裡的設定是否相同



Each nRF device has a corresponding --family setting:

Family setting nRF devices
NRF51 nRF51xxx
NRF52 nRF52832, nRF52833
NRF52QFAB nRF52832-QFAB, nRF52820
NRF52810 nRF52810, nRF52811, nRF52805
NRF52840 nRF52840

Table 1. --family settings


The --bl-settings-version depends on the SDK version:

SDK version BL settings version
<=12.0 1
>=15.3.0 2

留言