avrdude-dev
[Top][All Lists]
Advanced

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

Re: [avrdude-dev] program error?


From: Theodore A. Roth
Subject: Re: [avrdude-dev] program error?
Date: Sun, 23 Mar 2003 17:20:49 -0800 (PST)

On Sun, 23 Mar 2003, Brian Dean wrote:

:)> So should it maybe be the default behavior then with an option to turn it
:)> off?
:)
:)Maybe.  Several folks have been bitten by this.  I don't really have
:)much experience with other programmers - do they always automatically
:)perform a chip erase before programming?
:)
:)My personal preference is to not erase the chip by default.  I don't
:)tend to like it when programs do stuff like that without me explicitly
:)asking for it.

With uisp, you would do this:

  uisp -dprog=stk500 -dpart=atmega128 --erase --upload if=foo.srec

or you could do this:

  uisp -dprog=stk500 -dpart=atmega128 --erase
  uisp -dprog=stk500 -dpart=atmega128 --upload if=foo.srec

If you don't erase first, the upload fails as is expected.

I agree with Brian, it's not nice when a program a program does things 
behind your back.

Ted





reply via email to

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