You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Mon 30 Sep 2013 01:50:11 AM UTC
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.
file #29263: doc2591.pdf
This issue was migrated from https://savannah.nongnu.org/bugs/?40145
The text was updated successfully, but these errors were encountered: