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

Trying to 'deploy' on a Seeed nRF52840 #217

Open
megamaniac opened this issue Oct 2, 2023 · 2 comments
Open

Trying to 'deploy' on a Seeed nRF52840 #217

megamaniac opened this issue Oct 2, 2023 · 2 comments
Labels
question Further information is requested

Comments

@megamaniac
Copy link

megamaniac commented Oct 2, 2023

Hi,

I think perhaps this is a little over my head, but I was hoping maybe you more knowledgeable folks could hold my hand a little trying to deploy OpenHaystack on a Seeed nRF52840.

When hotting 'deploy' I get the following error:

Could Not Deploy
# Setting up python env in folder /var/folders/qw/25lz8fwx67s1l2wbzgcdg1l80000gn/T/OpenHaystack/venv
# Activate venv and install pynrfjprog and intelhex
Requirement already satisfied: pip in /private/var/folders/qw/25lz8fwx67s1l2wbzgcdg1l80000gn/T/OpenHaystack/venv/lib/python3.9/site-packages (21.2.4)
Collecting pip
Using cached pip-23.2.1-py3-none-any.whl (2.1 MB)
Installing collected packages: pip
Attempting uninstall: pip
Found existing installation: pip 21.2.4
Uninstalling pip-21.2.4:
Successfully uninstalled pip-21.2.4
Successfully installed pip-23.2.1
Collecting pynrfjprog
Using cached pynrfjprog-10.23.0-py3-none-any.whl
Collecting future (from pynrfjprog)
Using cached future-0.18.3-py3-none-any.whl
Collecting tomli-w (from pynrfjprog)
Using cached tomli_w-1.0.0-py3-none-any.whl (6.0 kB)
Installing collected packages: tomli-w, future, pynrfjprog
Successfully installed future-0.18.3 pynrfjprog-10.23.0 tomli-w-1.0.0
Collecting intelhex
Using cached intelhex-2.3.0-py2.py3-none-any.whl (50 kB)
Installing collected packages: intelhex
Successfully installed intelhex-2.3.0
### Executing python script ###
[*] Opening API with device family UNKNOWN, reading the device family.
Traceback (most recent call last):
File "/var/folders/qw/25lz8fwx67s1l2wbzgcdg1l80000gn/T/OpenHaystack/flash_nrf.py", line 120, in <module>
flash_openhaystack_fw(public_key=b64decode(args['public_key']), symmetric_key=b64decode(args['symmetric_key']), update_interval=args['update_interval'], hex_path=args['path_to_hex'])
File "/var/folders/qw/25lz8fwx67s1l2wbzgcdg1l80000gn/T/OpenHaystack/flash_nrf.py", line 31, in flash_openhaystack_fw
with LowLevel.API(
File "/private/var/folders/qw/25lz8fwx67s1l2wbzgcdg1l80000gn/T/OpenHaystack/venv/lib/python3.9/site-packages/pynrfjprog/LowLevel.py", line 2472, in __enter__
self.open()
File "/private/var/folders/qw/25lz8fwx67s1l2wbzgcdg1l80000gn/T/OpenHaystack/venv/lib/python3.9/site-packages/pynrfjprog/LowLevel.py", line 258, in open
raise APIError(result, error_data=self.get_errors())
pynrfjprog.APIError.APIError: An error was reported by NRFJPROG DLL: -101 JLINKARM_DLL_COULD_NOT_BE_OPENED.
### done

I get this error wether my Seeed device is plugged in or not. Just wondering if I have missed something?

@megamaniac megamaniac added the question Further information is requested label Oct 2, 2023
@koenvervloesem
Copy link

See my answer to your question here: #212

@megamaniac
Copy link
Author

Apologies, I completely missed that that was Openhaystack-Zephyr, rather than the original.

I shall give that a go.

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

No branches or pull requests

2 participants