Skip to content

Commit

Permalink
Merge pull request #8 from per1234/fix-attiny85-patch
Browse files Browse the repository at this point in the history
Correct patch for ATtiny85 erase and flash delay config adjustments
  • Loading branch information
per1234 authored Jun 21, 2022
2 parents 4a05dcb + 14b0b51 commit 11fb0ea
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions patches/0003-Attiny85-increase-delay.patch
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From fe39d175efd3ed8c070725bff3e19a401530d87e Mon Sep 17 00:00:00 2001
From 5159dabdf85df1f9402a9870545c0a03ed470b4a Mon Sep 17 00:00:00 2001
From: Umberto Baldi <[email protected]>
Date: Tue, 3 May 2022 16:17:51 +0200
Subject: [PATCH] Attiny85: increase delay More details at
Expand All @@ -10,10 +10,19 @@ Co-authored-by: Martino Facchin <[email protected]>
1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/avrdude.conf.in b/src/avrdude.conf.in
index 4008218..b2ed5ae 100644
index 362b616..62e9f61 100644
--- a/src/avrdude.conf.in
+++ b/src/avrdude.conf.in
@@ -10050,7 +10050,7 @@ part
@@ -11009,7 +11009,7 @@ part
avr910_devcode = 0x20;
signature = 0x1e 0x93 0x0b;
reset = io;
- chip_erase_delay = 4500;
+ chip_erase_delay = 400000;

pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
"x x x x x x x x x x x x x x x x";
@@ -11075,7 +11075,7 @@ part
" x x x x x x x x";

mode = 0x41;
Expand All @@ -22,7 +31,7 @@ index 4008218..b2ed5ae 100644
blocksize = 4;
readsize = 256;
;
@@ -10438,8 +10438,8 @@ part
@@ -11084,8 +11084,8 @@ part
size = 8192;
page_size = 64;
num_pages = 128;
Expand All @@ -33,15 +42,6 @@ index 4008218..b2ed5ae 100644
readback_p1 = 0xff;
readback_p2 = 0xff;
read_lo = " 0 0 1 0 0 0 0 0",
@@ -11016,7 +11016,7 @@ part
avr910_devcode = 0x20;
signature = 0x1e 0x93 0x0b;
reset = io;
- chip_erase_delay = 4500;
+ chip_erase_delay = 400000;

pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
"x x x x x x x x x x x x x x x x";
--
2.17.1

0 comments on commit 11fb0ea

Please sign in to comment.