Since you’re able to communicate with the device it’s probably not a USB issue. Just to confirm, you can flip the orientation of your USB connector (turn it 180 degrees from the way you were using it) to see if that makes an improvement.

Do you only have one board to try this on Barliesque ?

    jaredwolff Just to confirm, you can flip the orientation of your USB connector

    With this device and USB cable I was able to install the Blinky and client_at projects, as well as upload the mfw_update app itself. Flipping the USB connector had no effect.

    jaredwolff Do you only have one board to try this on

    I have several devices on hand. I’ve just switched over to one of those and hit the same problem. This device is on COM11, so I used Zephyr Tools: Setup Newtmgr to switch to COM11, bauderate 1M. I installed the mfw_update app. Then used python3 update_modem.py mfw_nrf9160_1.3.1.zip com11 1000000 to attempt the upgrade. Same thing happens.

    I now have a second computer I’m in the process of getting set up for modem firmware updates. I’ve run into some problems getting computer #2 setup properly: The nfed folder doesn’t appear in VS Code, giving me no way of switching over to the mfw_update project.

    I’ve got one computer with which I can install the mfw_update. So I thought maybe I could use the other to perform the update. Here’s what happened there:

    > python3 update_modem.py mfw_nrf9160_1.3.1.zip com9 1000000
    # modem firmware upgrade over serial port example started.
    [HighLevel] Creating new probe
    [HighLevel] Initialize new probe.
    [Probes.com9] [ModemUARTDFUProbe] Dll directory is C:\Users\usaf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pynrfjprog\lib_x64.
    [Probes.com9] [ModemUARTDFUProbe] Find and connect to dfu dll
    [Probes.com9] [ModemUARTDFUProbe] Using DFU dll at C:\Users\usaf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pynrfjprog\lib_x64\NRFDFU.dll.
    [Probes.com9] [ModemUARTDFUProbe] Load library at C:\Users\usaf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pynrfjprog\lib_x64\NRFDFU.dll.
    [Probes.com9] [ModemUARTDFUProbe] GetErrorInfo failed.
    [Probes.com9] [ModemUARTDFUProbe] Failed to load dll at C:\Users\usaf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pynrfjprog\lib_x64\NRFDFU.dll.
    [HighLevel] Failed while initializing probe.
    [Probes.com9] b'An error was reported by NRFJPROG DLL: -151 NRFJPROG_SUB_DLL_COULD_NOT_BE_OPENED. \n[Probes.com9] [ModemUARTDFUProbe] GetErrorInfo failed.\n\textra: [Probes.com9] [ModemUARTDFUProbe] Failed to load dll at C:\\Users\\usaf\\AppData\\Local\\Packages\\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\\LocalCache\\local-packages\\Python39\\site-packages\\pynrfjprog\\lib_x64\\NRFDFU.dll.\n\textra: [HighLevel] Failed while initializing probe.'
    [HighLevel] Closing and freeing sub dlls.
    Traceback (most recent call last):
      File "C:\Users\usaf\ncs\v1.7.1\nfed\samples\mfw_update\update_modem.py", line 43, in <module>
        run(args.uart, args.firmware, args.baudrate)
      File "C:\Users\usaf\ncs\v1.7.1\nfed\samples\mfw_update\update_modem.py", line 25, in run
        with HighLevel.ModemUARTDFUProbe(api, uart, baudrate) as modem_dfu_probe:
      File "C:\Users\usaf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pynrfjprog\HighLevel.py", line 591, in __init__
        raise APIError(result, error_data=self.get_errors(), log=self._logger.error)
    pynrfjprog.APIError.APIError: An error was reported by NRFJPROG DLL: -151 NRFJPROG_SUB_DLL_COULD_NOT_BE_OPENED.
    [Probes.com9] [ModemUARTDFUProbe] GetErrorInfo failed.
            extra: [Probes.com9] [ModemUARTDFUProbe] Failed to load dll at C:\Users\usaf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pynrfjprog\lib_x64\NRFDFU.dll.
            extra: [HighLevel] Failed while initializing probe.

      Barliesque if you got another machine to work, I expect to think it’s some type of issue with the Python library. In the case of the above, it looks like maybe you didn’t install the library?

      **Failed to load dll** at C:\Users\usaf\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\pynrfjprog\lib_x64\NRFDFU.dll.

        I have installed python 3.9 from WIndows Store – on both machines.

          I’ve tried downgrading both machines with: pip install "pynrfjprog<10.14"
          Neither was able to complete the update.

          An error was reported by NRFJPROG DLL: -220 TIME_OUT.

            Barliesque I’m not sure how long you want to spend on this but my next step would be to reach out to Nordic since it’s their library.

            Alternatively, you may want to get your hands on a nRF9160dk so you can update modem firmware that way. Or, another alternative, you can send it my way and I can update the modem firmware for you. Let me know.

              jaredwolff Or, another alternative, you can send it my way and I can update the modem firmware for you.

              That is kind. Unfortunately, we haven’t got the time available for turnaround. Would you be up for checking things out directly with TeamViewer?

                Success at last. I don’t have a clear picture of what exactly had to be done, as Brian got on with TeamViewer to have a poke around. Anyway, it looks like things are working at long last. Thank you, Jared, for your help.

                  Barliesque oh awesome. If you have an idea of what Brian did that would be helpful for everyone to know. Overall I’m glad you’re unstuck!!

                    Terms and Conditions | Privacy Policy