Pages: 1 [2]   Go Down
Author Topic: How to get USB-Serial hex back to Arduino UNO Rev3 / solved  (Read 4291 times)
0 Members and 1 Guest are viewing this topic.
Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got:

Code:
C:\Documents and Settings\Owner\Desktop>md5sum Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex
374845d004d03c6ca0535bb4b6f19235 *Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Same as before:

Quote
Code:
MD5 (Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex) = 374845d004d03c6ca0535bb4b6f19235
Logged

Estonia
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I get
Code:
8642f9f240d1d0fdeb1d2f6fb0185452
for mine. Compared to your's which is 21kb, the one I was using so far is a whopping 34kb in size..

And for the one you linked, I get the same MD5 as you do
Code:
374845d004d03c6ca0535bb4b6f19235
« Last Edit: May 20, 2012, 04:53:02 am by TT » Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

You don't have the right file. Edit the file. It should have this in it:

Code:
:1000000090C00000A9C00000A7C00000A5C000006B
:10001000A3C00000A1C000009FC000009DC0000060
:100020009BC0000099C0000097C0000048C40000B9
:100030000CC4000091C000008FC000008DC0000003
:100040008BC0000089C0000087C0000085C0000090
:1000500083C0000081C000007FC0000002C100001A
:100060007BC0000079C0000077C0000075C00000B0
:1000700073C0000071C000006FC000006DC00000C0
:100080006BC0000069C0000067C0000065C00000D0
...
:0A3CF0000FBE01960895F894FFCF6F
:103CFA0001021E948920DCFB120110010000002041
:103D0A00EB03EF2F00000001000109021B00010173
:103D1A000080320904000000FE01020009210300AC
:0A3D2A0000000C000104030904006E
:0400000300003000C9
:00000001FF
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

It should be 20907 bytes. If it isn't you don't have it.
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Try this...

• Go here...
https://github.com/arduino/Arduino/blob/master/hardware/arduino/firmwares/Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex

• On the right side, about 1/3 the way down, locate the Raw button

• Right-click Raw

• Click Save Link As

• Save the file to a convenient location

• Retry flipping
Logged

Estonia
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Yep, the second file I downloaded, gets the same md5 and the size is 20907 bytes..
Seems like its the same hex but you could email me yours to be sure? Three's a crowd  smiley
Logged

Global Moderator
Offline Offline
Brattain Member
*****
Karma: 452
Posts: 18694
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

If the md5 is the same I don't need to email it. Use that one.

Use the 20907 byte file with the md5 sum of 374845d004d03c6ca0535bb4b6f19235
Logged

Estonia
Offline Offline
Newbie
*
Karma: 0
Posts: 17
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I got it working!!

We were trying to use the wrong HEX all the time.

Instead of Arduino-COMBINED-dfu-usbserial-atmega16u2-Uno-Rev3.hex  I had to use Arduino-usbserial-atmega16u2-Uno-Rev3.hex from here : https://github.com/arduino/Arduino/blob/master/hardware/arduino/firmwares/arduino-usbserial/Arduino-usbserial-atmega16u2-Uno-Rev3.hex

Code:
md5 ba4b38e08f625cacfbeb3fb4a70d5567

The first sign that got my attention was that this HEX was also 12228 bytes like the HID hex file. They appeared to be identical (at least size-wise).

Although the Flip software is a bit odd and doesn't always upload the hex although it seems to succeed (checked what was uploaded by saving the FLASH as a new file) I finally pulled it off.

Windows greeted me with a new device and after installing the UNO drivers I just successfully uploaded the Blink sketch smiley


Amazing how much relief a blinking led can create.



Big thanks to Nick and Coding Badly for your support!
« Last Edit: May 20, 2012, 10:27:05 am by TT » Logged

Global Moderator
Dallas
Offline Offline
Shannon Member
*****
Karma: 176
Posts: 12283
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset


Sorry about pointing you to the wrong file.  I'm glad you have it working.
Logged

Pages: 1 [2]   Go Up
Jump to: