[mC PIC 8.1] PIC16 EEPROM_write() problem

Discuss about beta versions of mikroC compiler.
Post Reply
Author
Message
bruno
Posts: 767
Joined: 10 Sep 2005 02:10
Location: Lyon, France
Contact:

[mC PIC 8.1] PIC16 EEPROM_write() problem

#1 Post by bruno » 03 Apr 2008 14:49

Hello,

EEPROM_write() always sets INTCON.GIE bit instead of restoring it : if any interrupt was pending and authorized but not processed in the ISR, the MCU will freeze, or some unwanted interrupts may happen.

(not tested with PIC18)
Bruno
Bored with 7-segment ? Try the [url=http://www.micro-examples.com/public/microex-navig/doc/079-touchclock.html]TouchClock[/url]

Post Reply

Return to “mikroC Beta testing”