烧录.bat 653 B

123456789101112131415
  1. cd ..
  2. cd ..
  3. cd ..
  4. nrfjprog --family nRF52 --eraseall
  5. nrfutil settings generate --family NRF52 --application ./pca10040/s132/arm5_no_packs/_build/nrf52832_xxaa.hex --application-version 1 --bootloader-version 1 --bl-settings-version 2 ./dfu_readme/app_setting_cp.hex
  6. mergehex --merge ./dfu_readme/app_setting_cp.hex ./dfu_readme/sd_boot_cp.hex --output ./dfu_readme/setting_sd_boot_cp.hex
  7. mergehex --merge ./pca10040/s132/arm5_no_packs/_build/nrf52832_xxaa.hex ./dfu_readme/app_setting_cp.hex ./dfu_readme/sd_boot_cp.hex --output ./dfu_readme/app_setting_sd_boot_cp.hex
  8. nrfjprog --program ./dfu_readme/app_setting_sd_boot_cp.hex -f nrf52 --reset