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 issues (Read 5897 times)
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Upload issues
Dec 30th, 2013 at 1:47am
Print Post  
I have small issues getting Arduino sketches to load.
1. Using File Open Arduino always goes to directory of "examples". How do I change that? Usually "properties", but I cannot find the correct menu.
2.I can "load" the scketch but cannot debug it. Somting about "missing programmer". 
3. DO I have to do AVR solution or can I just "load" assuming I can get answer to item 2.
4. Like to open recent sketch on start-up. Is that possible?

Any help will be appreciated.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload issues
Reply #1 - Dec 30th, 2013 at 2:37am
Print Post  
Hi,

Quote:
1. Using File Open Arduino always goes to directory of "examples". How do I change that? Usually "properties", but I cannot find the correct menu.

"File Open > Sketch Project" will always position to the "Arduino Sketchbook Folder". You can configure the folder either in the Arduino Ide or in Visual Micro. 

In Visual Micro, click the list of Applications combo box then click <Configuration Manager>. In this window you can set the SketchBook folder for Arduino 1.0.x or 1.5.x etc.


Quote:
2.I can "load" the scketch but cannot debug it. Somting about "missing programmer". 

You have ticked "Tools>Visual Micro>Upload using programmer" by mistake. Please un-tick this option for normal serial usb. tip: Programmers are additional hardware, you do not have one.

Quote:
3. DO I have to do AVR solution or can I just "load" assuming I can get answer to item 2.


I am not sure I understand the question. You should be able to open a sketch then click debug>start.

Quote:
4. Like to open recent sketch on start-up. Is that possible?


If you use the standard Atmel Studio commands to open the Atmel Studio projects and solutions that Visual Micro automatically creates they will be added to the recent lists. 

Exampels of standard commands are "File>Open>File or File>Open>Project or File>Open>Solution.

Let me know if this does not make sense.
« Last Edit: Dec 30th, 2013 at 2:38am by Tim@Visual Micro »  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: Upload issues
Reply #2 - Dec 30th, 2013 at 9:08pm
Print Post  
Tim,
I used "upload last sketch build " and got this error message 'Upload Using' requires a programmer. Upload cancelled.
I do have the COM port set and getting replies ( compilation) SO I am still doing it wrong. 
Not that if that matters for now , but how can I get as much as possible from the compiler - kinda of "verbose" option.
I did changed the sketches directory, thanks for that.

I find it interesting that Studio 6 reports much lower "dynamic memory" usage than the Arduino IDE does.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload issues
Reply #3 - Dec 30th, 2013 at 10:51pm
Print Post  
Hi,

1) An "'Upload using' requires a programmer" error

Please un-tick the menu item called "Tools>Visual Micro>Upload using programmer".

2)How upload works

Normally you would upload by clicking the green right pointing arrow on the tool bar or on the Debug menu "Start without debugging". All the standard "start" commands are overridden to perform an upload when working with an Arduino project. However "Upload last" avoids the recompile stage.

Thanks
  
Back to top
IP Logged
 
Vaclav
Junior Member
**
Offline


Posts: 81
Joined: Dec 28th, 2013
Re: Upload issues
Reply #4 - Dec 31st, 2013 at 12:19am
Print Post  
User error! It work works now. It helps to follow instructions!

Compiling 'Atlas_2014_37' for 'Arduino Uno'
Binary sketch size: 15348 bytes (used 48% of a 32256 byte maximum) (12.20 secs)
Minimum Memory Usage: 621 bytes (30% of a 2048 byte maximum)
Uploading to I/O board using 'COM8'
Done uploading
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload issues
Reply #5 - Dec 31st, 2013 at 12:48am
Print Post  
Great thanks for the update  Smiley
  
Back to top
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Upload issues
Reply #6 - Dec 31st, 2013 at 2:31pm
Print Post  
Off-Topic replies have been moved to this Topic.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint