I need to save some important data(about 2KB) to the file in the nand flash. I need to do it quickly(about 2-5ms) when the external interrupt signal will come.
I know that i cant use open, write, close functions in the ISR.
Can someone tell me how to do it right?