Writing internal EEPROM from within a fault exception

cancel
Showing results for 
Search instead for 
Did you mean: 

Writing internal EEPROM from within a fault exception

97 Views
NXP Employee
NXP Employee
Content originally posted in LPCWare by stewo on Tue Dec 09 10:00:29 MST 2014
Hello,

is it possible to write to the internal EEPROM of LPC4078 from within a fault exception handler? We tried but it seems not to work, so I'd like to know if it's generally impossible or if I'm doing something wrong.

Thanks
Labels (1)
0 Kudos
2 Replies

7 Views
NXP Employee
NXP Employee
Content originally posted in LPCWare by stewo on Wed Dec 10 01:26:12 MST 2014
I wrote my own driver which polls the interrupt status register (busy waiting) to detect when the write operation has finished. So it's not interrupt based if that's the question. The driver works well during regular operation but it hangs when I try to write from within a fault handler.
0 Kudos

7 Views
NXP Employee
NXP Employee
Content originally posted in LPCWare by TheFallGuy on Tue Dec 09 11:40:37 MST 2014
How are you writing to the EEPROM?
0 Kudos