This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

To make mesh dfu package: Error: No such command 'genpkg'

hello,

I'm trying to make mesh DUF. and have the difficulty about mesh dfu package generating.

follow this guide in the frist step . here
when i run the command :

  • ////////////////////////////////////////////
    l16@ubuntu:~/my_nrf/pc-nrfutil-6.1$ python3.7 nordicsemi/__main__.py dfu genpkg --application ../light_switch_server_nrf52832_xxAA_s132_7.2.0.hex \
    > --company-id 0x00000059 \
    > --application-id 1 \
    > --application-version 2 \
    > --sd-req 0x00CB \
    > --../mesh dfu_test.zip
    Usage: __main__.py dfu [OPTIONS] COMMAND [ARGS]...
    Try '__main__.py dfu --help' for help.
  • Error: No such command 'genpkg'.
    ///////////////////////////////////////////
    environment:
    pc-nrfutil: download form this page , Source code.zip (v6.1.0), here
    compiled in:
       ubuntu 16.04
       python3.7.5
       pip 20.1.1 for python3.7.5
    ///////////////////////////////////////////

I found there is no command "python3.7 nordicsemi/__main__.py dfu genpkg"?
i have tryed the windows revision nrfutil.exe (v6.1.0 and v6.0.0) here
and linux compiled revision (v6.1.0) nrfutil-linux here
but it doesn't work.all replied an error about "No such command 'genpkg'".


I found there is a command: nrfutil pkg generate ... ( or python3.7 nordicsemi/__main__.py pkg generate )
but , it don't have the option "company-id". maybe it is not for the mesh dfu package generating.

so, i can't find the reason and need the help about how to generate the mesh dfu package.
hope the help and look forward to your reply!

thanks

Parents Reply Children
No Data
Related