openhaystack
openhaystack copied to clipboard
M1 mac nRf52832 adafruit feather failed
Describe the bug Everytime I try to flash my controller with nRF it shows this
Setting up python env in folder /var/folders/ch/7h7rtrkd1f3bjg10hdc32x380000gn/T/OpenHaystack/venv
Activate venv and install pynrfjprog and intelhex
Collecting pip Using cached pip-22.1.2-py3-none-any.whl (2.1 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.3 Uninstalling pip-20.2.3: Successfully uninstalled pip-20.2.3 Successfully installed pip-22.1.2 Collecting pynrfjprog Using cached pynrfjprog-10.15.4.post1.zip (23.7 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Using legacy 'setup.py install' for pynrfjprog, since package 'wheel' is not installed. Using legacy 'setup.py install' for future, since package 'wheel' is not installed. Installing collected packages: future, pynrfjprog Running setup.py install for future: started Running setup.py install for future: finished with status 'done' Running setup.py install for pynrfjprog: started Running setup.py install for pynrfjprog: finished with status 'done' Successfully installed future-0.18.2 pynrfjprog-10.15.4.post1 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/ch/7h7rtrkd1f3bjg10hdc32x380000gn/T/OpenHaystack/flash_nrf.py", line 120, in
done
To Reproduce Steps to reproduce the behavior:
- Get a m1 mac and open openhaystcack
- Flash nRf and plug in nRf52832 adafruit feather
Expected behavior Work? as a airtag
Screenshots
OpenHaystack version: Latest
macOS version: 12.4(running a m1 chip)
Additional context Also tried using a esp32 but it says it can not flash to micro:bit.
Seems abit messed up up there so I'll include the error again
Setting up python env in folder /var/folders/ch/7h7rtrkd1f3bjg10hdc32x380000gn/T/OpenHaystack/venv
Activate venv and install pynrfjprog and intelhex
Collecting pip Using cached pip-22.1.2-py3-none-any.whl (2.1 MB) Installing collected packages: pip Attempting uninstall: pip Found existing installation: pip 20.2.3 Uninstalling pip-20.2.3: Successfully uninstalled pip-20.2.3 Successfully installed pip-22.1.2 Collecting pynrfjprog Using cached pynrfjprog-10.15.4.post1.zip (23.7 MB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Collecting future Using cached future-0.18.2.tar.gz (829 kB) Preparing metadata (setup.py): started Preparing metadata (setup.py): finished with status 'done' Using legacy 'setup.py install' for pynrfjprog, since package 'wheel' is not installed. Using legacy 'setup.py install' for future, since package 'wheel' is not installed. Installing collected packages: future, pynrfjprog Running setup.py install for future: started Running setup.py install for future: finished with status 'done' Running setup.py install for pynrfjprog: started Running setup.py install for pynrfjprog: finished with status 'done' Successfully installed future-0.18.2 pynrfjprog-10.15.4.post1 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/ch/7h7rtrkd1f3bjg10hdc32x380000gn/T/OpenHaystack/flash_nrf.py", line 120, in