Pages: [1]   Go Down
Author Topic: Why is hex uploaded different to that downloaded?  (Read 340 times)
0 Members and 1 Guest are viewing this topic.
0
Offline Offline
Full Member
***
Karma: 4
Posts: 218
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset



 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
 
Logged

Manchester (England England)
Offline Offline
Brattain Member
*****
Karma: 619
Posts: 33974
Solder is electric glue
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 533
Posts: 26956
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Looks the same, just a different starting address, and 4 'characters'(?)/line with a checksum vs 8 bytes
Logged

Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Pages: [1]   Go Up
Jump to: