Hi all,
I finally had some spare cycles and thought I’d set up the nRF9160 that I purchased ages ago. I’m on OSX and following the guide, I only got to 7 before the Nordic tools setup stopped. The error I got is:

Command failed: hdiutil detach /Volumes/ncs-toolchain-v1.5.0 1 hdiutil: detach: only a single device name can be specified Usage: hdiutil detach [options] <devname> hdiutil detach -help

Now the Setup is stuck at “Installing” and I haven’t got the fainthest idea what to do with the error. Do I just kill the Toolchain Manager? Restart the setup? Any suggestions are most welcome 😉

    Jensa hmmm what version of OS X are you using? Do you have the .dmg open elsewhere?

    Oh. Good point!
    I opened the DMG to see what was going to be installed. I’m on macOS Big Sur 11.2.1 on M1 silicone. In closed the app, Removed the SDK (v1.5.0) and tried installing again. Got the same error, but this time the installer finished? I’ll just progress.

    Thanks for the swift reply! Now let’s see if I can get this working from Norway ;-)

    Minor thing regarding the documentation and getting to Blinky. The documentation says I should load:

    ncs/zephyr/samples/basic/blinky

    The 4 blinky files on my computer are:

    /System/Volumes/Update/mnt1/opt/nordic/ncs/v1.5.0/bootloader/mcuboot/testplan/mynewt/apps/blinky

    /System/Volumes/Data/opt/nordic/ncs/v1.5.0/bootloader/mcuboot/testplan/mynewt/apps/blinky
    /System/Volumes/Data/opt/nordic/ncs/v1.5.0/nfed/samples/blinky
    /System/Volumes/Data/opt/nordic/ncs/v1.5.0/modules/tee/tfm-mcuboot/testplan/mynewt/apps/blinky
    /System/Volumes/Data/opt/nordic/ncs/v1.5.0/zephyr/samples/basic/blinky

    I guess it’s the latter that is the correct blinky? Maybe this has changed with v1.5? Compiling this looks good. No errors. Upload does however not work. I first set up the correct connection since the device is not showing as the usual /dev/tty.SLAB_USBtoUART:

    newtmgr conn add serial type=serial connstring=‘dev=/dev/tty.usbserial-2110,baud=1000000’

    Then I try to upload and it stops at this:

    newtmgr -c serial image upload build/zephyr/app_update.bin
    0 B / 65.69 KiB [————————————————————————————————————————] 0.00%
    Error: NMP timeout

    Suggestions?

      Jensa

      Jensa I guess it’s the latter that is the correct blinky?

      The “correct” blinky is the one in nfed. You don’t need to modify anything for it to work. Compile, load, done.

      Jensa /dev/tty.SLAB_USBtoUART:

      I believe that there is another serial port associated with that SiLabs chip. Unfortunately, I don’t think it does anything! Make sure you have the drivers installed especially if you’re on a newer version of Mac OSX.

      Hi again,
      I use Silab based boards all day and I even have designed a couple myself and they have always just worked. But surely - reinstalling the drivers made tty.SLAB_USBtoUART show up! I think that’s related to the latest Mac OS update that I did a couple days ago.

      I am however still getting the same error now. When running “newtmgr conn show”, I get this:

      Connection profiles: 
        serial: type=serial, connstring='dev=/dev/tty.SLAB_USBtoUART,baud=1000000'

      Looks good? I used the blinky in /System/Volumes/Data/opt/nordic/ncs/v1.5.0/nfed/samples/blinky and checked that the required line in prj.conf is present. I then build successfully, but when I upload I get this:

      newtmgr -c serial image upload build/zephyr/app_update.bin
       0 B / 65.69 KiB [-----------------------------------------------------------------------------------------------------------------]   0.00%
       Error: NMP timeout

      Still stuck…

        Jensa are you putting the board into boot loader mode? Also make sure you’re not connected to it elsewhere (like LTE Link Monitor, etc)

        I’m just plugging the board in. Not holding any buttons or pressing them. Should I put it in Bootloader mode? If so - how do I do that?

        Btw: The board appears to have blinky installed already since the blue LED next to the battery connector is blinking. The green (and weaker) LED is solid.

        If you’ve already configured newtmgr the next thing is to use it. All on that same page here

        Terms and Conditions | Privacy Policy