Microsoft Windows [Version 6.1.7601] Copyright (c) 2009 Microsoft Corporation. All rights reserved. C:\Users\ALaw>cd C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil keys --gen-key private_key.txt Generated key at: private_key.txt C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil keys --show-vk hex private_key.tx t Verification key Qx: d78ea2728b31c63b185402f4209803b478d0828b02a0f44da9f5d782b04 7fe45 Verification key Qy: b60bf4db2e572b4b6053c0c7e9371b309c93ee53c300906afc6c7f2d99c e11cd C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil dfu genpkg --application bin/blin ky/blinky_nrf52832_xxAA_s132_6.0.0.hex --company-id 0x00000059 --application-id 1 --application-version 2 --key-file private_key.txt --sd-req 0x009D --mesh dfu_ test.zip Key file was given, setting DFU version to 0.8 Zip created at dfu_test.zip C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>cd tools/dfu C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src\tools\dfu>python device_page_generator.py -d nrf52832_xxAA -sd "s132_6.0.0" Wrote device page for nrf52832_xxAA with the s132_6.0.0 SoftDevice to bin/device _page_nrf52832_xxAA_s132_6.0.0.hex. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src\tools\dfu>cd .. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src\tools>cd .. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfjprog --eraseall Erasing user available code and UICR flash areas. Applying system reset. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfjprog --program bin/softdevice/s132_nr f52_6.0.0_softdevice.hex --chiperase Parsing hex file. Erasing user available code and UICR flash areas. Applying system reset. Checking that the area to write is not protected. Programming device. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfjprog --program bin/bootloader/armcc/m esh_bootloader_serial_armcc__nrf52832_xxAA.hex Parsing hex file. ERROR: The file specified could not be found. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfjprog --program bin/bootloader/armcc/m esh_bootloader_serial_armcc_nrf52832_xxAA.hex Parsing hex file. Reading flash area to program to guarantee it is erased. Checking that the area to write is not protected. Programming device. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfjprog --program examples\dfu\build\dfu _nrf52832_xxAA_s132_6.0.0_Debug\dfu_nrf52832_xxAA_s132_6.0.0.hex Parsing hex file. Reading flash area to program to guarantee it is erased. Checking that the area to write is not protected. Programming device. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfjprog --program tools/dfu/bin/device_p age_nrf52832_xxAA_s132_6.0.0.hex Parsing hex file. Reading flash area to program to guarantee it is erased. Checking that the area to write is not protected. Programming device. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfjprog --reset Applying system reset. Run. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil dfu serial -pkg dfu_test.zip -p C OM46 -b 115200 -fc --mesh Upgrading target on COM46 with DFU package C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_sr c\dfu_test.zip. Flow control is enabled. [------------------------------------] 0% Failed to upgrade target. Error is: Failed to establish connection Possible causes: - bootloader, SoftDevice or application on target does not match the requirement s in the DFU package. - baud rate or flow control is not the same as in the target bootloader. - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil --verbose dfu serial -pkg dfu_tes t.zip -p COM46 -b 115200 -fc --mesh Upgrading target on COM46 with DFU package C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_sr c\dfu_test.zip. Flow control is enabled. [------------------------------------] 0%Flushing com-port... Opened com-port Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, applicat ion size: 1912 Sending DFU start packet, afterwards we wait for the flash on target to be initi alized before continuing. PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd Failed to upgrade target. Error is: Failed to establish connection Possible causes: - bootloader, SoftDevice or application on target does not match the requirement s in the DFU package. - baud rate or flow control is not the same as in the target bootloader. - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode. Closing serial port... C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil dfu serial -pkg dfu_test.zip -p C OM46 -b 57600 -fc --mesh Upgrading target on COM46 with DFU package C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_sr c\dfu_test.zip. Flow control is enabled. [------------------------------------] 0% Failed to upgrade target. Error is: Failed to establish connection Possible causes: - bootloader, SoftDevice or application on target does not match the requirement s in the DFU package. - baud rate or flow control is not the same as in the target bootloader. - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode. C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil --verbose dfu serial -pkg dfu_tes t.zip -p COM46 -b 38400 -fc --mesh Upgrading target on COM46 with DFU package C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_sr c\dfu_test.zip. Flow control is enabled. [------------------------------------] 0%Flushing com-port... Opened com-port Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, applicat ion size: 1912 Sending DFU start packet, afterwards we wait for the flash on target to be initi alized before continuing. PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd Failed to upgrade target. Error is: Failed to establish connection Possible causes: - bootloader, SoftDevice or application on target does not match the requirement s in the DFU package. - baud rate or flow control is not the same as in the target bootloader. - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode. Closing serial port... C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil --verbose dfu serial -pkg dfu_tes t.zip -p COM46 -b 19200 -fc --mesh Upgrading target on COM46 with DFU package C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_sr c\dfu_test.zip. Flow control is enabled. [------------------------------------] 0%Flushing com-port... Opened com-port Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, applicat ion size: 1912 Sending DFU start packet, afterwards we wait for the flash on target to be initi alized before continuing. PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd Failed to upgrade target. Error is: Failed to establish connection Possible causes: - bootloader, SoftDevice or application on target does not match the requirement s in the DFU package. - baud rate or flow control is not the same as in the target bootloader. - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode. Closing serial port... target -> PC: e8 C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil --verbose dfu serial -pkg dfu_tes t.zip -p COM46 -b 14400 -fc --mesh Upgrading target on COM46 with DFU package C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_sr c\dfu_test.zip. Flow control is enabled. [------------------------------------] 0%Flushing com-port... Opened com-port Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, applicat ion size: 1912 Sending DFU start packet, afterwards we wait for the flash on target to be initi alized before continuing. PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd Failed to upgrade target. Error is: Failed to establish connection Possible causes: - bootloader, SoftDevice or application on target does not match the requirement s in the DFU package. - baud rate or flow control is not the same as in the target bootloader. - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode. Closing serial port... C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>nrfutil --verbose dfu serial -pkg dfu_tes t.zip -p COM46 -b 9600 -fc --mesh Upgrading target on COM46 with DFU package C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_sr c\dfu_test.zip. Flow control is enabled. [------------------------------------] 0%Flushing com-port... Opened com-port Starting DFU upgrade of type 4, SoftDevice size: 0, bootloader size: 0, applicat ion size: 1912 Sending DFU start packet, afterwards we wait for the flash on target to be initi alized before continuing. PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd PC -> target: 0502aabbccdd Failed to upgrade target. Error is: Failed to establish connection Possible causes: - bootloader, SoftDevice or application on target does not match the requirement s in the DFU package. - baud rate or flow control is not the same as in the target bootloader. - target is not in DFU mode. If using the SDK examples, press Button 4 and RESET and release both to enter DFU mode. Closing serial port... C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src> C:\Nordic\nrf5_SDK_for_Mesh_v2.0.1_src>