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 Compatable with ATmega328P Xplained board from Atmel? (Read 2548 times)
Norm Lane
Newbies
*
Offline


Posts: 8
Joined: Dec 23rd, 2014
Compatable with ATmega328P Xplained board from Atmel?
Apr 5th, 2015 at 3:55am
Print Post  
I haven't been able to debug my arduino sketch. It seems to compile ok but I get...
Uploading to I/O board using 'COM14'
The uploader returned an error


Not very informative.
Do I need to remove visualmicro code in order to use the xplained board?

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


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compatable with ATmega328P Xplained board from Atmel?
Reply #1 - Apr 5th, 2015 at 5:18pm
Print Post  
Hi Norm,

Does it upload OK using the Arduino Ide? If not what error do you see?

In Visual Micro, switch on "tools>visual micro>verbose messages" then try the upload again and post the output

Thanks

  
Back to top
IP Logged
 
Norm Lane
Newbies
*
Offline


Posts: 8
Joined: Dec 23rd, 2014
Re: Compatable with ATmega328P Xplained board from Atmel?
Reply #2 - Apr 5th, 2015 at 9:40pm
Print Post  
When they say verbose they aren't kidding. Here's what I get after it compiles.
I get basically the same thing from the Arduino IDE. 


Binary sketch size: 12,050 bytes (used 39% of a 30,720 byte maximum) (3.20 secs)
Minimum Memory Usage: 725 bytes (35% of a 2048 byte maximum)
Uploading to I/O board using 'COM14'
Uploader started for board Arduino Duemilanove or Diecimila w/ ATmega328
Upload method will be: bootloader
Uploading via Bootloader 
Flushing the serial port
c:\arduino\hardware\tools\avr\bin\avrdude "-Cc:\arduino/hardware/tools/avr/etc/avrdude.conf" -v -patmega328p -carduino -PCOM14 -b57600 -D atmega328/rvlevel.hex:i"
avrdude: Version 6.0.1, compiled on Jan 15 2015 at 16:58:43
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
         Copyright (c) 2007-2009 Joerg Wunsch

         System wide configuration file is "c:\arduino/hardware/tools/avr/etc/avrdude.conf"

         Using Port                    : COM14
         Using Programmer              : arduino
         Overriding Baud Rate          : 57600
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 3 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 4 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 5 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 6 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 7 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 8 of 10: not in sync: resp=0x23
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 9 of 10: not in sync: resp=0x23

Upload timed out waiting for a response
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compatable with ATmega328P Xplained board from Atmel?
Reply #3 - Apr 5th, 2015 at 9:49pm
Print Post  
Smiley

Did you remember to burn an Arduino bootloader?

  
Back to top
IP Logged
 
Norm Lane
Newbies
*
Offline


Posts: 8
Joined: Dec 23rd, 2014
Re: Compatable with ATmega328P Xplained board from Atmel?
Reply #4 - Apr 9th, 2015 at 12:26am
Print Post  
Well, it looks like I bricked it trying to use Flip. I don't even get a power light. Although if I plug in a 5v power supply the light comes on. Fortunately it was cheap.
  
Back to top
 
IP Logged
 
Tim@Visual Micro
Administrator
*****
Offline


Posts: 12163
Location: United Kingdom
Joined: Apr 10th, 2010
Re: Compatable with ATmega328P Xplained board from Atmel?
Reply #5 - Apr 9th, 2015 at 5:19am
Print Post  
sorry to hear that but thanks for the update
  
Back to top
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint