Getting this error while generating firmware image for an example package(blinky) given in nRF5_SDK_15.2.0 SDK
nrfutil pkg generate --hw-version 52 --application blinky_pca10056.hex --key-file priv.pem -application-version 2 --sd-req 0x00 blinky_pca10056.zip
Error :-
File "/Library/Python/2.7/site-packages/nrfutil-5.1.0-py2.7.egg/nordicsemi/dfu/nrfhex.py", line 187, in tobinfile
size = self.size()
File "/Library/Python/2.7/site-packages/nrfutil-5.1.0-py2.7.egg/nordicsemi/dfu/nrfhex.py", line 152, in size
size = max_address - min_address + 1
TypeError: unsupported operand type(s) for -: 'NoneType' and 'int'