Problems with 16F876 on interrupts an WRITE / READ


Closed Thread
Results 1 to 2 of 2
  1. #1
    Join Date
    Oct 2004
    Location
    Hangover, Germany
    Posts
    289

    Default Problems with 16F876 on interrupts an WRITE / READ

    Hello,

    as seen in the PBP-manual, there is a problem with interrupts while eeprom-writes, but there are no problems while any READ-statement.

    We have big problems here, and I thing, they are from interrupts while accessing the internal eeprom.
    Is there any problem known ?

    I always used:
    GIE=0:Write EE_Adr,Dummy:GIE=1
    to turn off any interrupts inside the routine...
    PBP 2.50C, MCS+ 3.0.0.5, MPLAB 8, MPASM 5.14, ASIX Presto, PoScope, mE mikroBasic V7.2, PICKIT2

  2. #2
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default

    BigWumpus, I use this method all the time when accessing internal "program" memory and when writing "external eeprom memory" but have never had a problem with reading or writing internal eeprom. I always have at least 3 interrupts enabled during program execution. I have used 16F and 18F series parts with out any problems. Are you sure you are writing the correct data to eeprom?

    Dave Purola,
    N8NTA

Similar Threads

  1. Cleaning up code
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2009, 08:14
  2. write -read problem?
    By turkuaz in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 30th August 2009, 14:06
  3. SEROUT WORD variable problem
    By Tobias in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 19th April 2009, 12:20
  4. Q: using MCLR for Input on 12F683
    By picster in forum mel PIC BASIC Pro
    Replies: 46
    Last Post: - 31st January 2009, 16:25
  5. PIC16F684 + LCD to use the 256bytes of EEPROM - HELP
    By xnihilo in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 7th March 2008, 15:19

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts