Unfortunately the driver in Windows doesn’t support zephyr-tools -b
. You can do it from Linux or Mac though.
V5 - nRF9160 Feater bootloader mode zephyr-tools -b inside VSCode.
Ok, great thank you for the help
This might be a stupid question but I’ll ask it anyway. Could a solution be running linux on a virtual machine?
Not stupid.
That should work as long as you connect the serial port from the nRF9160 Feather to your VM.
Perfect, I’ll have a go at the WM then. Thank you for your response, I have really enjoyed working with the nrf9160 feather. Great product!
mlYallow Thank you. It means a lot.
Let me know if you run into any other snags!
jaredwolff Hi again.
I have just created a ubuntu WM and are able to “build” and “load via bootloader” but when I try to run the “zephyr-tools -b” command I get the following error message:
"Device found but failed to open: Access denied (insufficient permissions)
Could not open device 10c4:ea60."
Do you have any suggestions on how to provide the permissions needed? I’ve seen some people run vs code in root but it is highly unrecommended. Any suggestions?
Kind regards.
jaredwolff Yes, I had to do this before being able to “load via bootloader”, sorry should have mentioned it. But still the same issue regarding “zephyr-tools -b”
You may need to create a udev rule for the board:
Create a file called 50-nrf9160-feather.rules
and place it in /etc/udev/rules.d
with the following contents:
SUBSYSTEM=="usb", ATTRS{idVendor}=="10c4", ATTRS{idProduct}=="ea60" GROUP="users", MODE="0666"⏎
Just tried that without any luck.
Btw. Had to do the following before “load via bootloader” worked.
sudo su
//type your password
cd /
cd dev
chown username ttyUSB0
Don’t know if this helps in any way but it might help others
Typically you need to restart you computer after adding a udev rule. Glad you got it working though!
jaredwolff , oh didn’t know you had to restart, that helped! Again thanks for the great support!
Kind regards
You’re very welcome. Have fun