Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remote upload to Adafruit NRF52831 #174

Open
Swifster opened this issue Apr 17, 2023 · 0 comments
Open

Remote upload to Adafruit NRF52831 #174

Swifster opened this issue Apr 17, 2023 · 0 comments

Comments

@Swifster
Copy link

Auto-detected: /dev/ttyUSB0
Uploading .pio/build/adafruit_feather_nrf52832/firmware.hex
Traceback (most recent call last):
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/adafruit-nrfutil.py", line 12, in
cli()
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/click/core.py", line 1137, in call
return self.main(*args, **kwargs)
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/click/core.py", line 1062, in main
rv = self.invoke(ctx)
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/click/core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/click/core.py", line 1668, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/click/core.py", line 1404, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/click/core.py", line 763, in invoke
return __callback(*args, **kwargs)
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/nordicsemi/main.py", line 290, in serial
dfu = Dfu(package, dfu_transport=serial_backend)
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/nordicsemi/dfu/dfu.py", line 66, in init
self.manifest = Package.unpack_package(self.zip_file_path, self.unpacked_zip_path)
File "/home/tk/.platformio/packages/tool-adafruit-nrfutil/site-packages/nordicsemi/dfu/package.py", line 361, in unpack_package
with ZipFile(package_path, 'r') as pkg:
File "/usr/lib/python3.9/zipfile.py", line 1257, in init
self._RealGetContents()
File "/usr/lib/python3.9/zipfile.py", line 1324, in _RealGetContents
raise BadZipFile("File is not a zip file")
zipfile.BadZipFile: File is not a zip file
*** [upload] Error 1
========================== [FAILED] Took 5.84 seconds ==========================

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant