Trying to 'deploy' on a Seeed nRF52840
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- macos, python
- Domain
- embedded-iot, tooling
Research direction
Start with the deployment traceback and inspect flash_nrf.py at line 31, where pynrfjprog.LowLevel.API is opened. Reproduce the deploy attempt with the Seeed nRF52840 connected and disconnected, then determine the required JLINKARM DLL or device setup. Done means deployment completes successfully on the reported hardware.
Written by the indexing model from the issue text.
Description
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?
- Dominant language
- Swift
- Stars
- 13.6k
- Forks
- 681
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from seemoo-lab/openhaystack
-
enhancement
Difficulty 4/5 3-5 days Newbie friendliness 25/100
seemoo-lab/openhaystack#291 ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 25/100
seemoo-lab/openhaystack#286 · 1 comment ·
-
question
Difficulty 4/5 3-5 days Newbie friendliness 25/100
seemoo-lab/openhaystack#283 · 3 comments ·
-
Can You help me Openquestion
Difficulty 5/5 Over a week Newbie friendliness 15/100
seemoo-lab/openhaystack#279 · 1 comment ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 20/100
seemoo-lab/openhaystack#278 ·
All issues in seemoo-lab/openhaystack
Similar issues
-
tvOS
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
skiptools/skip-fuse-ui#147 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
OneBusAway/onebusaway-ios#1438 · 1 reaction ·