Go Down

Topic: Why is hex uploaded different to that downloaded? (Read 442 times) previous topic - next topic

april



the hex I get back is not the same as the hex I send out can anyone say why?

Got back
:200000000C9434000C943E000C943E000C943E000C943E000C943E000C943E000C943E00FA
:200020000C943E000C943E000C943E000C943E000C943E000C943E000C943E000C943E00D0
:200040000C943E000C943E000C943E000C943E000C943E000C943E000C943E000C943E00B0
:200060000C943E000C943E0011241FBECFEFD8E0DEBFCDBF0E9440000C9456000C9400009B
:2000800081E084B941E02AEF30E045B988EE93E0F9013197F1F70197D9F715B888E293E2D3
:1000A000F9013197F1F70197D9F7EFCFF894FFCF26
:00000001FF


Sent out
:100000000C9434000C943E000C943E000C943E0082
:100010000C943E000C943E000C943E000C943E0068
:100020000C943E000C943E000C943E000C943E0058
:100030000C943E000C943E000C943E000C943E0048
:100040000C943E000C943E000C943E000C943E0038
:100050000C943E000C943E000C943E000C943E0028
:100060000C943E000C943E0011241FBECFEFD8E04C
:10007000DEBFCDBF0E9440000C9456000C940000DF
:1000800081E084B941E02AEF30E045B988EE93E0A1
:10009000F9013197F1F70197D9F715B888E293E2A2
:1000A000F9013197F1F70197D9F7EFCFF894FFCF26
:00000001FF

Grumpy_Mike

There are a number of different ways you can send a hex file.
It looks like it is encoding it on longer lines when you get it back.
See:-
http://en.wikipedia.org/wiki/Hex_file
I haven't looked at it all but it looks like it is actually the same data.

CrossRoads

Looks the same, just a different starting address, and 4 'characters'(?)/line with a checksum vs 8 bytes
Designing & building electrical circuits for over 25 years.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy