I get the same error when deploying various sample projects.
I was able to deploy the HelloMeadow sample project successfully without error.
I then tried to deploy the Simon project and received the error below.
Now when I go back and try to deploy the HelloMeadow sample project, I continue to get the MeadowDeviceManagerException error, though the app is deployed and runs successfully.
Tried re-flashing the Meado.OS… didn’t help.
=======================
Deploying to Meadow …
Initializing Meadow
Checking files on device (may take several seconds)
Found Meadow.Foundation.dll
Found App.exe
Found mscorlib.dll
Found Meadow.dll
Found System.dll
Found Mono.Security.dll
Found System.Configuration.dll
Found System.Xml.dll
Found System.Security.dll
Found System.Core.dll
Found System.Numerics.dll
Error: Exception of type ‘MeadowCLI.DeviceManagement.MeadowDeviceManagerException’ was thrown.
I am also getting the same issue with no way to fix it, I tried re-flashing the micro and tried following the install directions again and had the same issues
=======================
Deploying to Meadow …
Initializing Meadow
Checking files on device (may take several seconds)
Found Meadow.Foundation.dll
Found App.exe
Found mscorlib.dll
Found Meadow.dll
Found System.dll
Found Mono.Security.dll
Found System.Configuration.dll
Found System.Xml.dll
Found System.Security.dll
Found System.Core.dll
Found System.Numerics.dll
Error: Exception of type ‘MeadowCLI.DeviceManagement.MeadowDeviceManagerException’ was thrown.
I had similar issues upgrading from 3.10 to 4.4. I updated my VS extension and my CLI at which point I could no longer update my meadow or deploy to it. I used dfu-util to copy over the 4.4 os file and after that I was able to perform the regular download and flash sequence using the latest CLI.
This was the dfu-util command I used (from my firmware directory):
dfu-util -a 0 -S 306735813238 -D Meadow.OS.bin -s 0x08000000 &&
dfu-util -a 0 -S 306735813238 -D Meadow.OS.Runtime.bin -s 0x08040000
canderson, did you upgrade from 3.10 directly to 4.4? Looking at your solution I assume there was a compatibility issues between the FW on the board and the VS extension?
A week ago I was able to successfully complete the update and also provide a program again.
Now I wanted to continue actually and also encountered the exception error as described here in the beginning.
What have I changed? The connection with the industrial interface I²C. Also from the template whose test application can not be provided.
The exception ‘MeadowCLI.DeviceManagement.MeadowDeviceManagerException’ always comes when the Meadow is restarted. That’s all I’ve noticed so far.
Update - got some action from this thread here but still nibbling around the edges.
I’m genuinely curious why there’s a special step to update Mono - and why that’s also not documented in a way that says “oh hey - when you update to use the latest beta you need to these steps…” that includes running “meadow --UpdateMonoRt”