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 Upload buttons for COM and OTA (Read 1490 times)
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Upload buttons for COM and OTA
Jun 8th, 2022 at 5:40pm
Print Post  
I usually use OTA to update my code. When I'm debugging I always have the serial debug window open connected via a serial port to the device.

Sometimes I manage to introduce a bug that makes my board crash (rare I know but it happens to us all..)
I then have to change from the IP address to the COM port to upload to the board. Then when it's all ok again I have to change back to the IP address.

It would be great to have the option to upload EITHER via OTA or to COM directly from the toolbar buttons to save the hassle of switching to and from COM to IP address.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload buttons for COM and OTA
Reply #1 - Nov 9th, 2022 at 2:17am
Print Post  
Sorry for the delay. Open the Serial Monitor using the "Other" option. That allows you to leave the IP address as the main port selection.

Visual Micro supports multiple Serial Monitors therefore ports can be monitored unrelated to the current project.
  
Back to top
WWW  
IP Logged
 
Acuario
Full Member
***
Offline


Posts: 233
Location: Spain
Joined: Aug 28th, 2015
Re: Upload buttons for COM and OTA
Reply #2 - Jan 4th, 2023 at 6:27am
Print Post  
Hi, 
ok I know multiple ports can be monitored but that doesn't solve this problem.
For example; the 'default' port is selected as the ip address, the 'Other' is the com port.

When I do an upload it defaults to the 'default' port setting - obviously.
If I now want to (or have to!) upload to the com port I have to change the default port to the com port.
To return to ota I then have to change back again to the ip address.

In this case using the Other does not help me at all..

What I'm suggesting is an alternative button to upload to a separate port, for example the port selected on the 'Other' port setting.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12076
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload buttons for COM and OTA
Reply #3 - Jan 4th, 2023 at 2:50pm
Print Post  
Yes its a good idea. In the meantime you could switch on the "Save Board and Port for Config" as shown in the image.

Then drop down the configuration names and add one called "Release COM1" and "Release OTA" or "Upload OTA" or something else Smiley

Then you just have to change the configuration and click build/upload.
« Last Edit: Jan 4th, 2023 at 2:51pm by Tim@Visual Micro »  

Please Register or Login to the Forum to see File Attachments
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint