Meadow F7 Unable to Deploy

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 comment here.
If you can't type DNNRocks in, you can't post, plain and simple.
Submit Comment Cancel

Chris Hammond

Chris Hammond is a father, husband, leader, software developer, photographer and car guy. Chris focuses on the latest in technology including artificial intelligence (AI) and has spent decades becoming an expert in ASP.NET and DotNetNuke (DNN) development. You will find a variety of posts relating to those topics here on the website. For more information check out the about Chris Hammond page.

Find me on Twitter, GitHub and LinkedIn.