[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [avr-chat] Verify on-target image

From: Rolf Pfister
Subject: Re: [avr-chat] Verify on-target image
Date: Tue, 11 Apr 2017 07:54:34 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:45.0) Gecko/20100101 Thunderbird/45.1.0

Am 11.04.17 um 00:03 schrieb Sam Voss:
I was wondering if it was possible to compare the hex file that is
currently on the chip to hex files on the host and determine which (if
any) were the flashed version?

With avrdude you could do this:
avrdude -p m8 -c avr910 -P /dev/ttyUSB0 -U flash:r:flash.hex:i
This will write the content of the microcontroller to the file flash.hex.

But when compared the contents of flash.hex with your hex file
usally you will get a difference even the content is the same.
So it needs to convert to binary first to compare the two hex files.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]