I have a custom 2560 based board with an 8u2 usb chip with ICSP headers on both chips. There's no bootloader on it and I'm trying everything without luck. And I mean everything.
I have a Pololu AVR ISP programmer, a Arduino 2560 Mega V2 and a OSEPP 2560 (FTDI). Tried using all three to program the custom board on two different computers. I have two of the custom boards and have tried both of them also, same results.
Tried all three programmers on Ubuntu 11.10 and on Windows 7-64. I've tried avrdude, Arduino 1.0 IDE and AVR Studio 4 and 6 with all three devices to try and load the bootloader.
AVR Studio 4 can't find any of the programmers except the Pololu and when it does it says I need to downgrade it. I say ok and then it says it can't find a programmer.
Windows 7. Arduino 1.0 Arduino. Arduino as ISP, Burn firmware
avrdude: stk500_getsync(): not in sync: resp=0x00
Same error when I try to program either ICSP ports.
Windows 7. 2560 as ISP v1. Same error when I try to program either of the ICSP connectors on the new board.
c:\Program Files (x86)\arduino-1.0\hardware\arduino\bootloaders\stk500v2>avrdude
-p at90usb82 -F -P com3 -c avrisp -v -e -U flash:w:MEGA-dfu_and_usbserial_combi
ned.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m
avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"
Using Port : com3
Using Programmer : avrisp
avrdude: stk500_getsync(): not in sync: resp=0x00
avrdude done. Thank you.
c:\Program Files (x86)\arduino-1.0\hardware\arduino\bootloaders\stk500v2>
Windows 7. Pololu ISP programmer.
c:\Program Files (x86)\arduino-1.0\hardware\arduino\bootloaders\stk500v2>avrdude
-p at90usb82 -F -P com7 -c avrispv2 -v -e -U flash:w:MEGA-dfu_and_usbserial_com
bined.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m
avrdude: Version 5.10, compiled on Jan 19 2010 at 10:45:23
Copyright (c) 2000-2005 Brian Dean, http://www.bdmicro.com/
Copyright (c) 2007-2009 Joerg Wunsch
System wide configuration file is "C:\WinAVR-20100110\bin\avrdude.conf"
Using Port : com7
Using Programmer : avrispv2
AVR Part : AT90USB82
Chip Erase delay : 9000 us
PAGEL : PD7
BS2 : PC6
RESET disposition : possible i/o
RETRY pulse : SCK
serial program mode : yes
parallel program mode : yes
Timeout : 200
StabDelay : 100
CmdexeDelay : 25
SyncLoops : 32
ByteDelay : 0
PollIndex : 3
PollValue : 0x53
Memory Detail :
Block Poll Page
Polled
Memory Type Mode Delay Size Indx Paged Size Size #Pages MinW Max
W ReadBack
----------- ---- ----- ----- ---- ------ ------ ---- ------ ----- ---
-- ---------
eeprom 65 20 4 0 no 512 4 128 9000 90
00 0x00 0x00
flash 65 6 128 0 yes 8192 128 64 4500 45
00 0x00 0x00
lfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
hfuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
efuse 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
lock 0 0 0 0 no 1 0 0 9000 90
00 0x00 0x00
calibration 0 0 0 0 no 1 0 0 0
0 0x00 0x00
signature 0 0 0 0 no 3 0 0 0
0 0x00 0x00
Programmer Type : STK500V2
Description : Atmel AVR ISP V2
Programmer Model: AVRISP
Hardware Version: 15
Firmware Version Master : 2.10
Vtarget : 0.0 V
SCK period : 39.1 us
avrdude: stk500v2_command(): command failed
avrdude: stk500v2_command(): unknown status 0xc9
avrdude: stk500v2_program_enable(): cannot get connection status
avrdude: initialization failed, rc=-1
avrdude: AVR device initialized and ready to accept instructions
avrdude: Device signature = 0x000000
avrdude: Yikes! Invalid device signature.
avrdude: Expected signature for AT90USB82 is 1E 93 82
avrdude done. Thank you.