This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Creating an image file to DFU on SDK8.0

hi, to do DFU on SDK 8.0, if use the MCP on PC, it wants to select a zip file, if select a hex file, it will fail. I have created the bin image,but I can’t create the zip file by nrf.exe. can you give some advise about howto create the zip file for MCP to do DFU more detail, and the MCP on Android(V2.0.3) can’t do DFU either select hex file or zip file, is there any update version for android? Thanks Kevin

Parents
  • C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf 的 目录

    2015/03/25 15:29 . 2015/03/25 15:29 .. 2015/03/25 15:20 19,672 hrs.bin 2015/03/02 15:36 8,666,112 nrf.exe 2015/03/12 09:35 nrfsdk 2 个文件 8,685,784 字节 3 个目录 192,709,287,936 可用字节

    C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf>nrf .exe dfu genpkg app.zip --application hrs.bin --application-version 0xffff --dev -revision 0xffff --dev-type 0xffff --sd-req 0x0064 Traceback (most recent call last): File "nrf.py", line 134, in File "nrf.py", line 129, in main File "nrfsdk\calliope\cli.pyc", line 498, in Execute File "nrfsdk\calliope\backend.pyc", line 1016, in Run File "C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7 \nrf\nrfsdk\nordic\dfu\cli\genpkg.py", line 96, in Run package.generate_package(zipfile_path) File "nordicsemi\dfu\package.pyc", line 200, in generate_package File "nordicsemi\dfu\package.pyc", line 214, in create_zip_package File "zipfile.pyc", line 752, in init IOError: [Errno 13] Permission denied: 'app.zip'

Reply
  • C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf 的 目录

    2015/03/25 15:29 . 2015/03/25 15:29 .. 2015/03/25 15:20 19,672 hrs.bin 2015/03/02 15:36 8,666,112 nrf.exe 2015/03/12 09:35 nrfsdk 2 个文件 8,685,784 字节 3 个目录 192,709,287,936 可用字节

    C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7\nrf>nrf .exe dfu genpkg app.zip --application hrs.bin --application-version 0xffff --dev -revision 0xffff --dev-type 0xffff --sd-req 0x0064 Traceback (most recent call last): File "nrf.py", line 134, in File "nrf.py", line 129, in main File "nrfsdk\calliope\cli.pyc", line 498, in Execute File "nrfsdk\calliope\backend.pyc", line 1016, in Run File "C:\Program Files (x86)\Nordic Semiconductor\Master Control Panel\3.8.0.7 \nrf\nrfsdk\nordic\dfu\cli\genpkg.py", line 96, in Run package.generate_package(zipfile_path) File "nordicsemi\dfu\package.pyc", line 200, in generate_package File "nordicsemi\dfu\package.pyc", line 214, in create_zip_package File "zipfile.pyc", line 752, in init IOError: [Errno 13] Permission denied: 'app.zip'

Children
No Data
Related