avrdude-dev
[Top][All Lists]
Advanced

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

[avrdude-dev] [bug #37812] STK500V2 not programming "blank" pages when n


From: Joerg Wunsch
Subject: [avrdude-dev] [bug #37812] STK500V2 not programming "blank" pages when not erasing flash (-D)
Date: Mon, 26 Nov 2012 09:15:12 +0000
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:10.0.2) Gecko/20100101 Firefox/10.0.2

Follow-up Comment #3, bug #37812 (project avrdude):

> The problem is that in the Arduino flow, the "full chip erase" is
> not happening (since this would erase the bootloader) and instead
> the boot loader erases PAGES during programming.

This is a bug in the Arduino bootloader, and you should report it
accordingly.

Sure, the bootloader is not supposed to actually perform a chip erase
(and a bootloader even has no means to do that at all), but it must
perform the best approximation of a chip erase, that would mean to
erase *all* application pages when being asked to erase the chip.
Everything else is asking for trouble.

Unfortunately, the STK500v2 command doesn't offer any means of erasing
just a page only (for non-Xmega devices), which is basically due to
the fact that there is no "page erase" ISP command.  That's the reason
why AVRDUDE cannot perform page erases here.


    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?37812>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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