avr-chat
[Top][All Lists]
Advanced

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

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


From: Stuart Longland (VK4MSL)
Subject: Re: [avr-chat] Verify on-target image
Date: Tue, 11 Apr 2017 13:59:21 +1000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0

Hi,
On 11/04/17 08:03, Sam Voss wrote:
> 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?

>From `man avrdude`:

>            -U memtype:op:filename[:format]
>                    Perform a memory operation as indi‐
>                    cated.  The memtype field specifies
>                    the memory type to operate on.  The
>                    available memory types are device-
>                    dependent, the actual configuration
>                    can be viewed with the part command in
>                    terminal mode.  Typically, a device's
>                    memory configuration at least contains
>                    the memory types flash and eeprom.
…
>                    v        read data from both the
>                             device and the specified file
>                             and perform a verify

In other words, -U flash:v:yourfile should do exactly as described.
-- 
Stuart Longland (aka Redhatter, VK4MSL)

I haven't lost my mind...
  ...it's backed up on a tape somewhere.



reply via email to

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