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 Instructions to use Visual Micro w Standalone ATMega328 and USBasp? (Read 3365 times)
pkupers
Newbies
*
Offline


Posts: 1
Joined: Feb 16th, 2013
Instructions to use Visual Micro w Standalone ATMega328 and USBasp?
Feb 17th, 2013 at 11:19pm
Print Post  
Hello,

I am just starting with Visual Micro - and I have a question.

Does this plugin support programming the Arduino without the bootloader - i.e., I have a standalone ATMega328 chip on a breadboard that I use with a USBasp programmer to upload programs.

Can someone point me to instructions on how to use Visual Micro in this mode - and if code debugging is still possible?

Thanks,
Paul K.
  
Back to top
 
IP Logged
 
Marius
Developer
****
Offline


Posts: 204
Location: Centurion RSA
Joined: Sep 7th, 2011
Re: Instructions to use Visual Micro w Standalone ATMega328 and USBasp?
Reply #1 - Feb 18th, 2013 at 5:15am
Print Post  
The short answer is no. What I do is to provide the TX and RX pins on my project and then make use of a USB converter board. You can get them from Sparkfun. You could also use any other two spare pins as the debugger can make use of Softserial. These have to be speciied in the project settings for the debugger to work. The debugger compiles a very small piece of code into your code. This piece of code will make use of whatever ports are spicified to communicate with VM to provide debug information.

You still have to program the chip with the boot loader making use of your ISP device.
Atmel chips has a one wire debug feature but it is not used by most IDE's. I found all that it is good for is to destroy the chip. It tends to lock the chip in a strange mode and you need a High Voltage Programmer to get it out of the lock. Not worth the trouble.

Hope it make sense.
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint