diff --git a/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs b/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs index b489e7e5..a298c6dc 100644 --- a/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs +++ b/Source/v2/Meadow.Cli/Commands/Current/Firmware/FirmwareWriteCommand.cs @@ -255,6 +255,8 @@ protected override async ValueTask ExecuteCommand() await WriteEspFiles(connection, deviceInfo, package); + await connection.WaitForMeadowAttach(); + // reset device if (connection != null && connection.Device != null) {