This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

EEPROM and INTERRUPTS

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

Parents
  • 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.

Reply
  • 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.

Children