DT_14_int.bas - corruption of write data when in a Interrupt routine


Closed Thread
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838

    Wink DT_14_int.bas - corruption of write data when in a Interrupt routine

    HI , is it possible that data can be corrupted while doing a write to eeprom when in a interrupt routine using DT interrupts , if so how to avoid,

    maybe the dreaded pauseus command before returning from the service interrupt ???

    I ask cos sometimes i am seeing saved eeprom data that should not be there , and the only write command is done within an interrupt service routine,


    cheers

    sheldon

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default Re: DT_14_int.bas - corruption of write data when in a Interrupt routine

    Make sure you are not using DEFINE WRITE_INT 1.
    DT

  3. #3
    Join Date
    Feb 2012
    Location
    PERTH AUSTRALIA
    Posts
    838


    Did you find this post helpful? Yes | No

    Default Re: DT_14_int.bas - corruption of write data when in a Interrupt routine

    no noty using that defined for a write statement

Similar Threads

  1. USB data corruption
    By Charlie in forum USB
    Replies: 7
    Last Post: - 23rd March 2012, 12:34
  2. A Simple IOC Routine (Interrupt On Change)
    By lugo.p in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 8th March 2010, 19:53
  3. TMR1 100Hz Exactly Interrupt Routine
    By manumenzella in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 15th February 2007, 05:51
  4. WRITE routine for EEPROM writing
    By glaugle in forum PBP Wish List
    Replies: 5
    Last Post: - 17th July 2006, 17:00
  5. Can an asm interrupt contain gosub to a picbasic routine?
    By sougata in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 21st April 2005, 19:49

Members who have read this thread : 1

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