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 get_SelectedProgrammerName() failure after version update (Read 1515 times)
YW50
Junior Member
**
Offline


Posts: 12
Joined: Sep 21st, 2022
get_SelectedProgrammerName() failure after version update
Mar 1st, 2023 at 9:55pm
Print Post  
After recent update I get the error trying to flash Portenta H7:

Error merging hex booloader: no colon char on the first line character
# Copy build result to 'Project>Property Pages>Intermediate Directory'
# Destination: "file:///[...]/Debug/"

Error during processing of the command. Please review or post the stack trace in the www.visualmicro.com forumObject reference not set to an instance of an object. (Visual.Micro.Visual.Studio.Arduino.Helper.SketchCompileUpload)
System.NullReferenceException: Object reference not set to an instance of an object.
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.get_SelectedProgrammerName()
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.CompileAndUpload(Project oProject, Boolean IsDebugStartCommand, Boolean IsUploadLast, Boolean UseGdbIfAvailable, Boolean noLaunchDebug)
   at Visual.Micro.Visual.Studio.Arduino.AddInApp.ExecCmd(String commandName)
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: get_SelectedProgrammerName() failure after version update
Reply #1 - Mar 1st, 2023 at 10:53pm
Print Post  
Hi,

Please follow the guide in yellow above.

The build output might show something else but after sending the output, a possible short term workaround might be to switch off "vMicro>Compiler>Copy Build Output to Intermediate" and vMicro>Compiler>Export Binary"
« Last Edit: Mar 1st, 2023 at 10:54pm by Tim@Visual Micro »  
Back to top
IP Logged
 
YW50
Junior Member
**
Offline


Posts: 12
Joined: Sep 21st, 2022
Re: get_SelectedProgrammerName() failure after version update
Reply #2 - Mar 2nd, 2023 at 3:31pm
Print Post  
The build log is attached.
Disabling copying doesn't solve the issue. The error happens on "merging hex bootloader", not on copying. So, I have to roll back the version.
BTW there is a typo in the error message (it's "booloader").
  

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: get_SelectedProgrammerName() failure after version update
Reply #3 - Mar 2nd, 2023 at 7:04pm
Print Post  
Thanks for the report. This is hopefully resolved in the LATEST update available from this forum https://www.visualmicro.com/forums/YaBB.pl?board=VS_ARDUINO_EXT_RELEASES

The update will also be pushed to the microsoft gallery over the comming day or so.

« Last Edit: Mar 2nd, 2023 at 7:05pm by Tim@Visual Micro »  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint