[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avrdude-dev] [bug #40144] flash config for ATtiny1634 is wrong
From: |
Tobias Diedrich |
Subject: |
[avrdude-dev] [bug #40144] flash config for ATtiny1634 is wrong |
Date: |
Sun, 29 Sep 2013 23:41:39 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/29.0.1547.65 Safari/537.36 |
URL:
<http://savannah.nongnu.org/bugs/?40144>
Summary: flash config for ATtiny1634 is wrong
Project: AVR Downloader/UploaDEr
Submitted by: ranma42
Submitted on: Sun 29 Sep 2013 11:41:38 PM GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: None
Status: None
Privacy: Public
Assigned to: None
Originator Name: Tobias Diedrich
Originator Email:
Open/Closed: Open
Discussion Lock: Any
_______________________________________________________
Details:
The addressing config for flash programming is off ( loadpage_lo / loadpage_hi
/ writepage).
According to the datasheet it is 512 32-word pages,
so it needs to be a3-0 for loadpage and a12-a4 for writepage.
The sympton is verification failures and on reading back the flash blocks of
32 words corrupted data followed by 3 x 32 words of 0xff.
After changing it to:
loadpage_lo = " 0 1 0 0 0 0 0 0",
" 0 0 0 x x x x x",
" x x x x a3 a2 a1 a0",
" i i i i i i i i";
loadpage_hi = " 0 1 0 0 1 0 0 0",
" 0 0 0 x x x x x",
" x x x x a3 a2 a1 a0",
" i i i i i i i i";
writepage = " 0 1 0 0 1 1 0 0",
" 0 0 0 a12 a11 a10 a9 a8",
" a7 a6 a5 a4 x x x x",
" x x x x x x x x";
it now works fine for me.
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/bugs/?40144>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avrdude-dev] [bug #40144] flash config for ATtiny1634 is wrong,
Tobias Diedrich <=