bugAVR Downloader/UploaDEr - Bugs: bug #40145, 6.0.1 - STK500v2 fails on uploads...

 
 

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

bug #40145: 6.0.1 - STK500v2 fails on uploads to parts with pages greater than 256b

Submitted by:  Natan Keddem <nkeddem>
Submitted on:  Mon 30 Sep 2013 01:50:11 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: NonePrivacy: Public
Assigned to: NoneOriginator Name: Natan Keddem
Open/Closed: Open

Mon 30 Sep 2013 01:50:11 AM UTC, original submission:

The function stk500v2_paged_write(and possibly other paged write functions) need the following changes:
1 - Start utilizing the blocksize variable in the .conf file to determine the maximum size of data transmissions.

2 - Perform sanity checks on blocksize to ensure conformance to STK500v2 transfer protocol maximum body specifications. AVR068 states that the body should not exceed 275b, use this number or the buffer size you choose, which ever is less.

3 - Per AVR068, during a paged write transaction utilizing CMD_PROGRAM_FLASH_ISP the mode byte will alert the programmer when a page should be written.

AVR068 states:
For paged operation, the Write page bit decides if a Write Program Memory Page command should be issued after the data has been loaded into the page buffer. For devices with page size bigger than what can be transferred to STK500 in one command, several CMD_PROGRAM_FLASH_ISP commands must be issued. In such a case, only the last command should have the Write Page
mode bit set.

Natan Keddem <nkeddem>

 

Attached Files
file #29263:  doc2591.pdf added by nkeddem (158kB - application/pdf - AVR068 Attached)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by nkeddem (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to 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):

     

     

    Follows 1 latest change.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 30 Sep 2013 01:50:11 AM UTCnkeddemAttached File-=>Added doc2591.pdf, #29263

    Back to the top


    Powered by Savane 3.1-cleanup