Microchip Studio - Windows 10 PRO - No import Arduino

Go To Last Post
7 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi

Since I upgraded from Windows 10 Home to Windows 10 PRO I am no longer able to import projects from Arduino.
What I do is:

Microchip Studio (7.0.2542) - File - New - Project - Create Project from Arduino sketch - OK

Now appears the window to select the sketch, but when I click on button [...] to select the sketch, immediately is show the error: Value does not fall within the expected range.

Does anyone know what can I do?

Thank you

Livio

Attachment(s): 

This topic has a solution.
Last Edited: Fri. Feb 12, 2021 - 09:40 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Is that a new computer, or just a change of OS?

If new computer - have you also installed the Arduino IDE?

 

If existing computer - is the Arduino IDE still working?

 

See Tip #1 for how to put your picture in your post - where we can see it:

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
Last Edited: Fri. Feb 12, 2021 - 09:34 AM
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

rlivio wrote:
when I click on button [...] to select the sketch

What if you just type or paste the sketch name?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
This reply has been marked as the solution. 
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 1

It's an old computer with Windows 10 Home, upgraded to PRO some years ago.

Arduino IDE is installed.

 

What if you just type or paste the sketch name?

Ok, writing the path and the name of the sketch IT WORKS !!!

 

Thank you

 

Livio

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

rlivio wrote:
writing the path and the name of the sketch IT WORKS !!!

Having done that once, does the browse button [...] now work ?

Top Tips:

  1. How to properly post source code - see: https://www.avrfreaks.net/comment... - also how to properly include images/pictures
  2. "Garbage" characters on a serial terminal are (almost?) invariably due to wrong baud rate - see: https://learn.sparkfun.com/tutorials/serial-communication
  3. Wrong baud rate is usually due to not running at the speed you thought; check by blinking a LED to see if you get the speed you expected
  4. Difference between a crystal, and a crystal oscillatorhttps://www.avrfreaks.net/comment...
  5. When your question is resolved, mark the solution: https://www.avrfreaks.net/comment...
  6. Beginner's "Getting Started" tips: https://www.avrfreaks.net/comment...
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

You are not the first one to notice this - there have been other threads. Atmel should really default that to a C:\ starting point (or maybe %USERPROFILE% so something like C:\Users\myID\)

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

awneil wrote:
Having done that once, does the browse button [...] now work ?

I tried again.

 

The first time, after typing path and file name and pressing OK, Microchip Studio closed.

The second time it worked, but always writing the path and file name by hand, pressing the key [...] to browse always gives the same error.

But it's not a big deal, as long as it works once so I have a basic design for a certain processor, then if I need other libraries I can add them by hand in Microchip Studio.