Thread: iDuino MPGuino
View Single Post
Old 02-20-2009, 11:39 AM   #145 (permalink)
rmccomiskie
EcoModding Lurker
 
Join Date: Aug 2008
Location: Massachusetts USA
Posts: 84

Ziggy - '95 Audi S6 Sedan

Manfred - '97 Audi A6 Quattro Sedan
90 day: 20.61 mpg (US)

Clarabell - '03 Audi A4 Quattro Avant

Sherman - '98 Audi A6 Quattro Avant

Cab - '96 Audi Cabriolet
Thanks: 0
Thanked 2 Times in 2 Posts
Can't Upload to MPGuino

My Fundamental Logic MPGuino v1.0 has developed a problem. I cannot upload to it. I get this message from Arduino:

Code:
Binary sketch size: 14300 bytes (of a 14336 byte maximum)

C:\Program Files\arduino-0011\hardware/tools/avr/bin/avrdude -CC:\Program Files\arduino-0011\hardware/tools/avr/etc/avrdude.conf -v -v -v -v -pm168 -cstk500v1 -P\\.\COM6 -b19200 -D -Uflash:w:F:\Arduino\mpguino_075\mpguino_075_017\applet\mpguino_075_017.hex:i 



avrdude: Version 5.4-arduino, compiled on Oct 11 2007 at 19:12:32
         Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/

         System wide configuration file is "C:\Program Files\arduino-0011\hardware/tools/avr/etc/avrdude.conf"

         Using Port            : \\.\COM6
         Using Programmer      : stk500v1
         Overriding Baud Rate  : 19200
avrdude: ser_open(): setting dtr
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Send: 0 [30]   [20] 
avrdude: Recv: 
avrdude: stk500_getsync(): not in sync: resp=0xfe
avrdude: Send: Q [51]   [20] 
avrdude: Recv: 
avrdude: stk500_disable(): protocol error, expect=0x14, resp=0x51

avrdude done.  Thank you.
My research says that this response indicates the MPGuino is not responding to avrdude. Yes, yes. I made sure that the correct COM port was selected.

The programming setup has to be correct because I can remove the ATmega from the MPGuino, put it in my iDuino and upload the sketch to it. Then move the ATmega back to the MPGuino and it works just fine. I have 2 ATmegas and have been moving them back and forth to accomplish the uploads.

Since I can always upload to either ATmega in the iDuino and never upload to either ATmega in the MPGuino, I assume the problem lies in the MPGuino.

I've checked the assembly of the MPGuino and I see nothing that could be shorting out. I have spacers between the display and the MPGuino board. Is it possible that the FTDI chip is corrupted? If so, how can I test it? Is there a tool I can use?
  Reply With Quote