aboutsummaryrefslogtreecommitdiff
path: root/HISTORY.md
diff options
context:
space:
mode:
authorThomas Hebb <tommyhebb@gmail.com>2014-11-07 17:59:30 -0500
committerThomas Hebb <tommyhebb@gmail.com>2014-11-07 22:47:08 -0500
commit05b57c3cc3160e3c66dea7b88e707e9327b96bf4 (patch)
treec9aed8fdde4cd0be6fd88074c4ead096d23ea163 /HISTORY.md
parentfe5c2b6ce13b9b63548d7e39a75ebfb92fbd854c (diff)
Allow avrdude to erase the chip before programming during ispload
We currently pass the -D (do not erase) option to avrdude unconditionally in order to work around an Arduino Mega bootloader bug. However, this has the side-effect of breaking the ispload target for all non-XMEGA chips, since a write operation on these chips essentially ANDs the new program with the existing memory contents. If the memory is not first erased to contain only 0xff, the resulting image is garbage. This patch makes it so we pass -D when we're using the Arduino bootloader but don't pass it when we're using ISP directly.
Diffstat (limited to 'HISTORY.md')
-rw-r--r--HISTORY.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/HISTORY.md b/HISTORY.md
index d20aada..5a9d100 100644
--- a/HISTORY.md
+++ b/HISTORY.md
@@ -32,6 +32,7 @@ I tried to give credit whenever possible. If I have missed anyone, kindly add it
- Fix: Add "avrispmkii" to the list of isp that don't have a port. (Issue #279). (https://github.com/sej7278)
- Fix: Make CXX compile .cpp files instead of CC. (Issue #285). (https://github.com/sej7278)
- Fix: Changed IDE download URL *again* for Travis-CI. (https://github.com/sej7278)
+- Fix: Allow avrdude to erase the chip before programming during ispload (https://github.com/tchebb)
### 1.3.4 (2014-07-12)
- Tweak: Allow spaces in "Serial.begin (....)". (Issue #190) (https://github.com/pdav)