bugAVR Downloader/UploaDEr - Bugs: bug #40144, flash config for ATtiny1634 is...


You are not allowed to post comments on this tracker with your current authentication level.

bug #40144: flash config for ATtiny1634 is wrong

Submitted by:  Tobias Diedrich <ranma42>
Submitted on:  Sun 29 Sep 2013 11:41:38 PM UTC  
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  None Privacy:  Public
Assigned to:  None Originator Name:  Tobias Diedrich
Open/Closed:  Open Release:  None
Programmer hardware:  Device type: 

Sun 29 Sep 2013 11:41:38 PM UTC, original submission:

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.

Tobias Diedrich <ranma42>


No files currently attached


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by ranma42 (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    No changes have been made to this item

    Back to the top

    Powered by Savane 3.3