Errors flashing upgrade to OS 0.9.6.3

**

  • Original issue was not receiving Console.Writeline in VS, search indicated update needed
  • Getting an exception when attempting to update OS from 0.9.4.0 to 0.9.6.3
  • Meadow.CLI is at version 0.9.6.2
    **
    C:\Windows\System32>meadow flash os
    Flashing OS with C:\Users\user\AppData\Local\WildernessLabs\Firmware\0.9.6.3\Meadow.OS.bin
    dfu-util 0.10

Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2020 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util / Tickets

Match vendor ID from file: 0000
Match product ID from file: 0000
Opening DFU capable USB device…
ID 0483:df11
Run-time device DFU version 011a
Claiming USB DFU Interface…
Setting Alternate Setting #0
Determining device status: state = dfuERROR, status = 10
dfuERROR, clearing status
Determining device status: state = dfuIDLE, status = 0
dfuIDLE, continuing
DFU mode device DFU version 011a
Device returned transfer size 2048
DfuSe interface name: "Internal Flash "
Downloading element to address = 0x08000000, size = 2097152

Erase done. [=========================] 100% 2097152 bytes

Download done. [=========================] 100% 2097152 bytes
File downloaded successfully
Transitioning to dfuMANIFEST state
Warning: Invalid DFU suffix signature

Connecting to Meadow on COM3

ERROR
Meadow.CLI.Core.Exceptions.DeviceNotFoundException: Could not find a connected Meadow with the serial number 2072317C5230
at Meadow.CLI.Core.DeviceManagement.MeadowDeviceManager.FindMeadowBySerialNumber(String serialNumber, ILogger logger, Int32 maxAttempts, CancellationToken cancellationToken) in D:\a\Meadow.CLI\Meadow.CLI\main\Meadow.CLI.Core\DeviceManagement\MeadowDeviceManager.cs:212
at Meadow.CLI.Commands.DeviceManagement.FlashOsCommand.FindCurrentMeadowDevice(String serialPortName, String serialNumber, CancellationToken cancellationToken) in D:\a\Meadow.CLI\Meadow.CLI\main\Meadow.CLI\Commands\DeviceManagement\FlashOsCommand.cs:152
at Meadow.CLI.Commands.DeviceManagement.FlashOsCommand.ExecuteAsync(IConsole console) in D:\a\Meadow.CLI\Meadow.CLI\main\Meadow.CLI\Commands\DeviceManagement\FlashOsCommand.cs:78
at CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput) in D:\a\CliFx\CliFx\CliFx\CliApplication.cs:147
at CliFx.CliApplication.RunAsync(IReadOnlyList1 commandLineArguments, IReadOnlyDictionary2 environmentVariables) in D:\a\CliFx\CliFx\CliFx\CliApplication.cs:191
Done!

Reverted back to trying to install OS 0.9.4.0 and got same exception. Don't know if I can undo the upgrade of Meadow.CLI which is where I feel the issue stems.

I had the same problem. I did a “full stack meadow update”, and now it works.
https://blog.wildernesslabs.co/how-to-do-a-full-stack-update/
In this blog he also states:
" In my experience flashing boards several times, this process might show exceptions and errors, failing to complete successfully . When that happens, disconnect and reconnect the board in bootloader mode (or press and release the RST button while holding down the BOOT button), and try again."