Fix writing of last word on DWORD TPI parts (#1115)

* Fix writing of last word on DWORD TPI parts

* Add n_word_writes AVRMEM config option

* TPI word chunk mode in avr_write_mem

* Simplify addition of n_words_write mem component to grammar

Co-authored-by: Stefan Rueger <stefan.rueger@urclocks.com>
This commit is contained in:
Dan Applegate
2022-10-17 09:15:50 -04:00
committed by GitHub
parent 08f4f6c63f
commit 946b701b08
7 changed files with 41 additions and 14 deletions

View File

@@ -148,6 +148,7 @@
# size = <num> ; # bytes
# page_size = <num> ; # bytes
# num_pages = <num> ; # numeric
# n_word_writes = <num> ; # TPI only: if set, number of words to write
# min_write_delay = <num> ; # micro-seconds
# max_write_delay = <num> ; # micro-seconds
# readback = <num> <num> ; # pair of byte values
@@ -13346,6 +13347,7 @@ part parent ".reduced_core_tiny"
memory "flash"
size = 2048;
page_size = 16;
n_word_writes = 2;
offset = 0x4000;
blocksize = 128;
;
@@ -13365,6 +13367,7 @@ part parent ".reduced_core_tiny"
memory "flash"
size = 4096;
page_size = 64;
n_word_writes = 4;
offset = 0x4000;
blocksize = 128;
;