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

Submitter:  Tobias Diedrich <ranma42>
Submitted:  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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code