Meadow F7 Unable to Deploy

A quick blog post here, to hopefully help the next person who runs into this problem.

While trying to run my first Meadow F7 application with Windows 10 and Visual Studio 2019, every time I would go to DEPLOY the app, the Meadow would disconnect and the app would fail to deploy.

The error would ultimately come back with

Couldn't initialize serial port

It would fail on step

[3/31/2020 12:18:32 AM]   Deploying to Meadow on COM3...
[3/31/2020 12:18:32 AM]   Initializing Meadow                 

The OS would make the sound that a USB device connection was lost, and then it would get the initialize serial port error.

The way I ended up fixing this was to go to the Windows 10 Power & Sleep settings, get into your “plan”’s settings page, and click on the Change advanced power settings option. From there, scroll down to USB Settings, and I changed the USB selective suspend setting from ENABLED to DISABLED. Click Apply.

image

As soon as I did this I was able to deploy the app with Visual Studio 2019 to the Meadow F7 board. You may need to disconnect and reconnect the board, and check the Meadow Device Explorer to make sure you have the correct com port selected (in my case Com3).

Recent Comments

There are currently no comments. Be the first to make a comment.

Add Comment

Please add your comment by filling out the field(s) below. Your comment may need to be approved before it becomes visible.
Enter your first name for display with the comment
Enter your last name for display with the comment.
Enter your email address so that we may contact you if necessary. We will also use this for your Gravatar.
Enter the URL to your website. URLs may be removed from comments.
Enter your comment here.
If you can't type Human2 in, you can't post, plain and simple.
Submit Comment Cancel
Chris Hammond

Chris Hammond is a father, husband, leader, developer, photographer and car guy. Chris has long specialized in ASP.NET and DotNetNuke (DNN) development, so you will find a variety of posts relating to those topics. For more information check out the about me page.

If you are looking for DotNetNuke consulting please visit my business website at https://www.christoc.com/

Find me on Twitter, GitHub and LinkedIn.