Hello,
I now have to disable the interrupts to use EEPROM read and write. What is the reason for this? For flash writes I can understand since the code executes from flash, but for EEPROM, and especially for EEPROM reads... Is there a workaround? Is it a NEW COMPILER BUG? I didn't do it with the last project and it worked 110%. Without it, the EEPROM is almost entirely useless.
Answers by reply only please.
Nick
Your code has bugs:
They could be bugs in your interrupt handlers, which mess-up your "EEPROM" routines;
They could be bugs in your "EEPROM" routines not (properly) coping with interrupts;
Or both!
"Is it a NEW COMPILER BUG?"
Extremely unlikely.
Or neither.
I use a FINITE-STATE MACHINE (FINITE-STATE AUTOMATON). It might be something you have heard of. All transitions are verified as correct.
AND I do not even use INTERRUPTS! This is why I think something else is wrong. Why must I disable them now?
So why are you enabling them?
View all questions in Keil forum