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 Arduino update via C# (Read 2565 times)
j_witt
Newbies
*
Offline


Posts: 4
Joined: Feb 18th, 2014
Arduino update via C#
Sep 19th, 2014 at 2:27pm
Print Post  
I`d like to create a tool to update the Arduino via a windows based tool to roll out updates to users which do not have any experience using the Arduino or VisualMicro platform.

I got it so far, that I only need to do the update out of my tool and that is the problem now.

I don`t know which parameters I need to define to use the avrdude to update the arduino mega 2560. Here is which command I try to use;

tools\\avr\\avrdude.exe -c avrdude.conf -p atmega2560p -c stk500v1 -P " + avrport + " -b 57600 -D -U flash:w:avr/AVRImage.hex:i

But it diesn`t work. Anyone with experience out here who could help out? I am sure it cannot be too complicated but I am looking at it for hours and do not find the solution.

Best
j_witt
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Arduino update via C#
Reply #1 - Sep 19th, 2014 at 2:31pm
Print Post  
Hi,

If you switch on tools>visual micro>verbose messages you will see the command that visual micro uses.

You should also get it working using a .bat file first with hardcoded values then you will know you have the correct settings.

  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint