Hi All,
I just recently updated to a Mac w/ Apple M1 silicon and am struggling to get my (previously working) scripts to work w/o error.
Specifically, this command/error sequence:
nrfutil pkg generate --hw-version 52 --application-version 4025 --application RunScribe-40.25.hex --sd-id 0xce --sd-req 0xce --app-boot-validation VALIDATE_ECDSA_P256_SHA256 --key-file private.key RS_40.25.zip
sd_id_list: <map object at 0x103b869a0> - sd_req_list: <map object at 0x103b864f0>
Traceback (most recent call last):
File "/Users/timsterc/miniforge3/envs/py38/bin/nrfutil", line 8, in <module>
sys.exit(cli())
File "/Users/timsterc/miniforge3/envs/py38/lib/python3.8/site-packages/click/core.py", line 829, in __call__
return self.main(*args, **kwargs)
File "/Users/timsterc/miniforge3/envs/py38/lib/python3.8/site-packages/click/core.py", line 782, in main
rv = self.invoke(ctx)
File "/Users/timsterc/miniforge3/envs/py38/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/timsterc/miniforge3/envs/py38/lib/python3.8/site-packages/click/core.py", line 1259, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/timsterc/miniforge3/envs/py38/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/timsterc/miniforge3/envs/py38/lib/python3.8/site-packages/click/core.py", line 610, in invoke
return callback(*args, **kwargs)
File "/Users/timsterc/miniforge3/envs/py38/lib/python3.8/site-packages/nordicsemi/__main__.py", line 805, in generate
sd_req_list += set(sd_id_list) - set(sd_req_list)
TypeError: unsupported operand type(s) for +=: 'map' and 'set'
I've installed the latest (6.1.3) nrfutil via pip ... and have tried numerous Python versions (3.8.6, 3.8.12, 3.9.9) ... all result in the same error.
Any hints would be greatly appreciated!