Skip to content

OTA flash operations blocks interrupt handler #82325

Answered by MTsimon
MTsimon asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for the input! I actually came across this approach but ultimately decided on a different solution for my problem.

I opted to erase only the pages that are not already erased within the relevant OTA flash area during boot. This ensures the flash area is always ready for new writes.

The tradeoff is potentially longer boot times, but I can live with that. In practice, the longer boot times occur only if an OTA update fails midway or after a successful update. Since writing is much faster than erasing, this approach allows me to avoid missing any UART interrupts.

Replies: 1 comment 1 reply

Comment options

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

Answer selected by JarmouniA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
2 participants