Hi
During my program I want to erase or write some data to flash memory, but simultaneous i want to
handle receive and transmit interrupt. Is it possible?
How do i can this?
Best Regards.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Short answer, no, this is not possible. The interrupt vectors are in Flash and reading or writing to the Flash memory while it is being programmed or erased is prohibited.
Take a look at your device family user's guide in the Flash Memory Controller section.
On some MSPs (namely the 5x family devices), the vector table can be moved to the end of ram. This is, however, not supported by the existing compilers (which place the top of stack to the end of ram). If you reserve space on the stack for the vector table and move it to ram and then configure the MSP to use it from there, and also move all ISRs to ram too, it is possible. it is, however, a big chunk to chew.
**Attention** This is a public forum