Writing internal EEPROM from within a fault exception

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Writing internal EEPROM from within a fault exception

899 次查看
lpcware
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
标签 (1)
0 项奖励
回复
2 回复数

809 次查看
lpcware
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 项奖励
回复

809 次查看
lpcware
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 项奖励
回复