Before logging an issue, please update to the latest release of Visual Micro from the Downloads Page.

When Logging a Support Issue in the Forum, please ensure you have also:-

  • Enabled vMicro > Compiler > Show Build Properties
  • Re-Compile your program with these settings enabled
 
Save the new Output to a Text File and....
  • Click the Reply button and attach as .txt file OR
  • Click here to Email us with the file attached, and a link to your post
Support requests without the output above may be impossible to answer, so please help us to help you
 
Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic trouble switching between C# Gui program and Arduino solutions (Read 324 times)
Lee Critchlow
Junior Member
**
Offline


Posts: 26
Location: TN
Joined: Jul 19th, 2022
trouble switching between C# Gui program and Arduino solutions
May 20th, 2025 at 8:52pm
Print Post  
I've been having a lot of trouble switching between C# Gui program and KeyboardMega, or KeyboardNano, KeyboardESP32, PressureNano.
Please find attached 'new 4.txt' which is the feedback from Microsoft (which is from a few days ago) and 'new 5.txt' which is the build for the current Nano.
With this build, when the upload is complete VS 2022 seems to be unresponsive and then restarting cyclically.
Please advise.
Thanks,
Lee
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Lee Critchlow
Junior Member
**
Offline


Posts: 26
Location: TN
Joined: Jul 19th, 2022
Re: trouble switching between C# Gui program and Arduino solutions
Reply #1 - May 20th, 2025 at 8:55pm
Print Post  
I don't see 'new 4.txt'
  

Please Register or Login to the Forum to see File Attachments
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2720
Joined: Feb 13th, 2019
Re: trouble switching between C# Gui program and Arduino solutions
Reply #2 - May 21st, 2025 at 9:05am
Print Post  
Thanks for the report and logs, and just a few questions to help us understand the detail further (apologies if this is on the Microsoft Report, if you could link that it may help us further):

1) Has this only started happening recently since updating Visual Micro, or has it been an issue in the past as well?

2) Does unplugging the board and then loading VS, and reconnecting it help to break the cyclical restarts?

3) Does disabling any Power Saving on the USB Device and Hub help at all from Device Manager?
  
Back to top
IP Logged
 
Lee Critchlow
Junior Member
**
Offline


Posts: 26
Location: TN
Joined: Jul 19th, 2022
Re: trouble switching between C# Gui program and Arduino solutions
Reply #3 - May 23rd, 2025 at 12:29am
Print Post  
1) Sorry, I do not recall when I last updated vMicro. Current version is 2.2025.0423.
2) unplugging the board and then loading VS ... I assume 'then loading VS' means restarting Vs2022. unplug Nano, restart Vs2022 the method I used was to click the X button, wait a few seconds for the Restart/Close pop-up, click Restart, when VS2022 is up, plug in Nano. I get some usage out of VS but it still cycles. If I restart a second time the cycle is much longer. 
3) No hub, plugged directly into PC back Panel.
« Last Edit: May 23rd, 2025 at 12:31am by Lee Critchlow »  
Back to top
 
IP Logged
 
Simon@Visual Micro
Administrator
*****
Offline


Posts: 2720
Joined: Feb 13th, 2019
Re: trouble switching between C# Gui program and Arduino solutions
Reply #4 - May 23rd, 2025 at 8:12am
Print Post  
Thanks for the update and the detail.

1) No problem, I just wondered whether this has always happened with these projects (but understand they may be new so don't know if it has always been an issue).

2) Ok, we will continue to investigate.  Can you link any example code which would allow us to easily replicate this, or can you let us know if you can send us the projects via email (exclude the .vs folder to save space)?

3) Understood, there is often an internal USB Hub within your PC that breaks out to the ports on the back panel.  If the power saving is off for the device and the USB Hub devices then it cant be related is all.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint