Hi @jaredwolff,

I’m using the feather v5 with NCS V2.4.1 and are struggling to get the feather into bootloader mode by running zephyr-tools -b inside VSCode.

I get the following error: "Device found but failed to open: Operation not supported or unimplemented on this platform
Could not open device 10c4:ea60."

Do you have some more information regarding the zephyr-tools -b function?

In advance, thank you.
Kind Regards.

Thanks for the swift reply.

I’m using Windows 11.

I am using the feather as a prototype build and I have created a casing that only exposes the USB-C and not the MODE and RST button, the casing is going to be glued together. As there might be a need to do some minor changes to the code after the assembly I wanted to check the possibility to use the “zephyr-tools -b”.

Kind regards.

Unfortunately the driver in Windows doesn’t support zephyr-tools -b. You can do it from Linux or Mac though.

    jaredwolff

    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.

      jaredwolff

      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!

        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

          Terms and Conditions | Privacy Policy