I'm using a Tiva TM4C129 processor, with TivaWare support drivers. I have a few things which I do in non-interrupt time, and a few which I do in interrupt time. In non-interrupt time, I write some logging data out to EEPROM, and in interrupt time, I read data out of ADCs and put it in storage for later processing when I'm not in an interrupt handler.
Both reading the ADC and writing to the EEPROM use TivaWare functions.
What I'm seeing is that when I am in the middle of writing EEPROM, and an interrupt fires, I have a non-zero probability of the processor going out to lunch. I haven't determined exactly what's happening when we go out to lunch yet, only that it involves the interrupt being active while we're writing EEPROM.
Mostly, I just wanted to ask one question: EEPROMProgram doesn't say anything about not being interruptable, or needing me to disable interrupts. Is it safe to call EEPROMProgram when it can be interrupted?
More to come as I put more work into figuring out exactly where in the interrupt handlers we're going wonky.