• Support
  • Issue with the Load via Bootloader Task

chipmc what version of the extension are you using? Can you provide the full output? It’s likely looking in the wrong place. The path to your project should be nfed/samples/at_client. You may want to run the Zephyr Tools: Change Project to make sure you’re in the correct folder. Also remove the app folder if that still exists in your project.

    You can also check nfed/samples/at_client/build/zephyr to see if app_update.bin is there. (That’s where it’s pulled from) Since you’re using the NFED version, it should be building the sample with app_update.bin

    jaredwolff

    Jared,

    Thank you for your help. I am using the Zephyr plug-in v0.1.17

    The code does seem to be in nfed/samples/at_client

    I do not see an app folder.

    I executed the change project command and build - all completed successfully. But, when I went to load via bootloader, I get the message above. Not sure what I can give you for “full output” but happy to do so.

    I do see app_update.bin in the /nfed/samples/at_client/build/zephyr folder.

    Thanks,

    Chip

      chipmc that’s good it’s in nfed/samples/at_client. Now, to figure out why it can’t be found!

      chipmc I executed the change project command and build - all completed successfully. But, when I went to load via bootloader, I get the message above. Not sure what I can give you for “full output” but happy to do so.

      Ahh, right there isn’t any output on a failure like that. One thing you an confirm, can you run the Zephyr Tools: Change Project and select at_client? It’s very possible that it’s pointing to the wrong directory thus the failure.

      In the nfed folder can you also run git status -u

      Ahh found it. Try the Load and Monitor command. There was something in Load that I didn’t change over.

      jaredwolff

      Jared,Progress but not quite there.

      It no longer complains about the app_update.bin and the loading progress bar shows up. But it times out and gives the following errors:

      Load Error! Did you Init your project?

      and

      > Executing task: newtmgr -c vscode-zephyr-tools image upload /Users/chipmc/Documents/Maker/Zephyr/Demo/nfed/samples/at_client/build/zephyr/app_update.bin <
      
       0 B / 133.63 KiB [-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------]   0.00%Error: NMP timeout
      The terminal process "bash '-c', 'newtmgr -c vscode-zephyr-tools image upload /Users/chipmc/Documents/Maker/Zephyr/Demo/nfed/samples/at_client/build/zephyr/app_update.bin'" terminated with exit code: 1.
      
      Terminal will be reused by tasks, press any key to close it.

      I am now running v 0.1.18

      Chip

        chipmc make sure

        • You didn’t overwrite the bootloader (I assume you have not used a programmer to overwrite it)
        • The device is in bootloader mode (blue led is solid)
        • You don’t have any open serial monitoring to your port
        • Newmgr is configured with the correct port

        Almost there!

          jaredwolff

          Right, well I was not aware that you can’t have another device with a serial monitor. Thought that selecting the device port in Newtmgr was enough.

          Once I disconnected the other device, the upload went smoothly so in summary:

          • Zephyr Plugin v0.1.18
          • No other devices on Serial follow

          Thank you for your help, on with the Golioth demo example!

          Chip

            Terms and Conditions | Privacy Policy