· Chris Hammond
Last Updated

Meadow F7 Unable to Deploy

Having trouble deploying your Meadow F7 application on Windows 10? Learn how to fix the 'Couldn't initialize serial port' error with this solution!

Having trouble deploying your Meadow F7 application on Windows 10? Learn how to fix the 'Couldn't initialize serial port' error with this solution!

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).

Back to Blog

Related Posts

View All Posts »