I have migrated a project that uses Thread DFU from SDK for Thread and Zigbee 1.0.0 to 2.0.0.
I have successfully loaded the new MBR, bootloader, settings and program via nrfjprog and Segger.
I downloaded the standalone nrfutil 4.0.0 (running on Windows 7) from here
Initially I got a dialog from Windows saying it couldn't find VCRUN140.dll, even though that dll is on my pc at C:\Windows\System32
I copied the dll to the same directory where I installed nrfutil.exe
Now, when I run it I get this error:
nrfutil dfu thread -f -pkg my_dfu_package.zip -p COM11 --channel 15 --panid 4660 Traceback (most recent call last): File "nordicsemi\__main__.py", line 1133, in <module> File "site-packages\click\core.py", line 722, in __call__ File "site-packages\click\core.py", line 697, in main File "site-packages\click\core.py", line 1066, in invoke File "site-packages\click\core.py", line 1066, in invoke File "site-packages\click\core.py", line 895, in invoke File "site-packages\click\core.py", line 535, in invoke File "nordicsemi\__main__.py", line 1014, in thread File "nordicsemi\__main__.py", line 65, in ble_driver_init File "c:\python27\Lib\site-packages\PyInstaller\loader\pyimod03_importers.py", line 389, in load_m odule File "site-packages\pc_ble_driver_py\ble_driver.py", line 106, in <module> RuntimeError: Could not load shared library C:\Users\Frantec\AppData\Local\Temp\_MEI10~1\lib\win\x86 _32\pc_ble_driver_shared_sd_api_v3.dll : '[Error 193] %1 is not a valid Win32 application'. Failed to execute script __main__
What else do I need?
Mary