Flashing firmware on the ATMEGA8U2

802 views
Skip to first unread message

Marco Prata

unread,
Mar 17, 2014, 7:52:38 AM3/17/14
to make...@googlegroups.com
Hi All

First post here but a long time follower.

I have a Rep1 where i believe the ATMEGA8U2 has died. 
Everything else seems ok. Voltages are as they should, and i can test conductivity from all the pins to chip. 

I see there is a ISCP connector on the motherboard but i cannot find the firmware for it. Is it available?
And if so what should i get to flash to firmware onto the board?

Planning on getting the chip for electronics supplier and replacing it (have a hot air gun);

Thank You

Jetguy

unread,
Mar 17, 2014, 9:40:58 AM3/17/14
to make...@googlegroups.com
FWIW, the 8u2 doies from any voltage over 5 volts (5.5 is enough to kill them)
 
Yes, there is an ICSP 6 pin header label for the 8u2 right there by it.
Yes, the bootloader is here on the official MakerBot github
 
Yes the intstructions are there on the readme
TO DOWNLOAD THE HEX FILE:
1. Connect the AVR ISP MKII compatible programmer to the 8U2 6 pin programming header
2. Ensure the Board is Powered
3. navigate to the directory containing the .hex file in the terminal
4. Execute the following avrdude command: avrdude -p at90usb82 -F -P usb -c avrispmkii -U flash:w:Makerbot-usbserial.hex -U lfuse:w:0xFF:m -U hfuse:w:0xD9:m -U efuse:w:0xF4:m -U lock:w:0x0F:m
5. If unsuccessful ("Error in USB Receive"), try again.  It sometimes takes a few tries

Dan Newman

unread,
Mar 17, 2014, 10:17:28 AM3/17/14
to make...@googlegroups.com

Jetguy

unread,
Mar 17, 2014, 11:06:46 AM3/17/14
to make...@googlegroups.com
Dan, good point on that link but just to clarify, this is a  Replicator 1 AKA Mightyboard Rev E.
I know the directory I linked is built for a rev E and has the correct USB PID for Rev E
 
In the directory you linked, the user must be carefull and select the Makerbot-usbserial.hex when talking about a Rev E board right?
The other boards for the 2 and 2X revisions are marked pretty well.

Just saying,  don't want to confuse conveyor in makerware, that's one of the ways it detects what bot is plugged in via the USB PID and that's what coded into the hex for the 8u2.

Dan Newman

unread,
Mar 17, 2014, 11:09:52 AM3/17/14
to make...@googlegroups.com
On 17/03/2014, 8:06 AM, Jetguy wrote:
> Dan, good point on that link but just to clarify, this is a Replicator 1
> AKA Mightyboard Rev E.
> I know the directory I linked is built for a rev E and has the correct USB
> PID for Rev E
>
> In the directory you linked, the user must be carefull and select the
> *Makerbot-usbserial.hex*<https://github.com/makerbot/MightyBoardFirmware/blob/master/dist/MightyBoard/Makerbot-usbserial.hex> when
> talking about a Rev E board right?

Correct.

> The other boards for the 2 and 2X revisions are marked pretty well.

Yes.

> Just saying, don't want to confuse conveyor in makerware, that's one of
> the ways it detects what bot is plugged in via the USB PID and that's what
> coded into the hex for the 8u2.

Actually, I'm not sure it really looks at the USB PID as opposed to pulling
the values MBI stores out of the 1280's EEPROM. I've seen the code to do the
latter. Doing the former is actually a bit of a pain as it is OS dependent.

Dan

Marco Prata

unread,
Mar 17, 2014, 2:50:18 PM3/17/14
to make...@googlegroups.com
Thanks for the tips

Already ordered the programmer

Rgds
Reply all
Reply to author
Forward
0 new messages