Skip to content

avrdude is slow #1598

Closed Answered by stefanrueger
sprintersb asked this question in Q&A
Dec 19, 2023 · 9 comments · 4 replies
Discussion options

You must be logged in to vote

Writing 0xff's is void, no matter if an erase cycle is issued or not

Fist of all, we are talking flash memory here not eeprom or other memories. And then, some programmers hide the physical nature of NOR-memory. Take, for example, -c arduino that serves an optiboot bootloader. This bootloader deploys an SPM page erase cycle before writing the page. In this case the flash memory does not look like NOR-flash to AVRDUDE. Sending an 0xff-page actually sets bits even if they were not set before. This is because optiboot has decided to use SPM page erase before it writes a page. Optiboot could have been programmed so that flash memory actually looks like NOR-flash, but it wasn't. It is [edit:…

Replies: 9 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by mcuee
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@mcuee
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@stefanrueger
Comment options

Comment options

You must be logged in to vote
2 replies
@stefanrueger
Comment options

@sprintersb
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
3 participants
Converted from issue

This discussion was converted from issue #1597 on December 19, 2023 14:25.