This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Preempting a task writing to flash

When addressing an (external) flash by a RTOS task, is it generally safe to allow that task to be preempted while it is updating the flash? What about interrupts during writing to flash?

Parents
  • please do correct me if I'm wrong: As long as I do not overwrite internal flash interrupt vectors, interrupts should not be a problem. that goes for external flash too, I guess? but can it be a problem if a task is preempted before the entire write cycle (on device level) has finished?

Reply
  • please do correct me if I'm wrong: As long as I do not overwrite internal flash interrupt vectors, interrupts should not be a problem. that goes for external flash too, I guess? but can it be a problem if a task is preempted before the entire write cycle (on device level) has finished?

Children
No data