Skip to content

Commit 11fb0ea

Browse files
authored
Merge pull request #8 from per1234/fix-attiny85-patch
Correct patch for ATtiny85 erase and flash delay config adjustments
2 parents 4a05dcb + 14b0b51 commit 11fb0ea

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed
+13-13
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
From fe39d175efd3ed8c070725bff3e19a401530d87e Mon Sep 17 00:00:00 2001
1+
From 5159dabdf85df1f9402a9870545c0a03ed470b4a Mon Sep 17 00:00:00 2001
22
From: Umberto Baldi <[email protected]>
33
Date: Tue, 3 May 2022 16:17:51 +0200
44
Subject: [PATCH] Attiny85: increase delay More details at
@@ -10,10 +10,19 @@ Co-authored-by: Martino Facchin <[email protected]>
1010
1 file changed, 4 insertions(+), 4 deletions(-)
1111

1212
diff --git a/src/avrdude.conf.in b/src/avrdude.conf.in
13-
index 4008218..b2ed5ae 100644
13+
index 362b616..62e9f61 100644
1414
--- a/src/avrdude.conf.in
1515
+++ b/src/avrdude.conf.in
16-
@@ -10050,7 +10050,7 @@ part
16+
@@ -11009,7 +11009,7 @@ part
17+
avr910_devcode = 0x20;
18+
signature = 0x1e 0x93 0x0b;
19+
reset = io;
20+
- chip_erase_delay = 4500;
21+
+ chip_erase_delay = 400000;
22+
23+
pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
24+
"x x x x x x x x x x x x x x x x";
25+
@@ -11075,7 +11075,7 @@ part
1726
" x x x x x x x x";
1827

1928
mode = 0x41;
@@ -22,7 +31,7 @@ index 4008218..b2ed5ae 100644
2231
blocksize = 4;
2332
readsize = 256;
2433
;
25-
@@ -10438,8 +10438,8 @@ part
34+
@@ -11084,8 +11084,8 @@ part
2635
size = 8192;
2736
page_size = 64;
2837
num_pages = 128;
@@ -33,15 +42,6 @@ index 4008218..b2ed5ae 100644
3342
readback_p1 = 0xff;
3443
readback_p2 = 0xff;
3544
read_lo = " 0 0 1 0 0 0 0 0",
36-
@@ -11016,7 +11016,7 @@ part
37-
avr910_devcode = 0x20;
38-
signature = 0x1e 0x93 0x0b;
39-
reset = io;
40-
- chip_erase_delay = 4500;
41-
+ chip_erase_delay = 400000;
42-
43-
pgm_enable = "1 0 1 0 1 1 0 0 0 1 0 1 0 0 1 1",
44-
"x x x x x x x x x x x x x x x x";
4545
--
4646
2.17.1
4747

0 commit comments

Comments
 (0)