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

improper fixup

sorry for a new thread when there are many threads on this topic but its just that i couldnt find any satisfactory solution :
I am using keil evaluation version (small rom less than 2k) and i am getting the improper fixup error for the interrupts . When i comment those interrupt function , i dont get these error. From other threads , i understand that the code starts from 800h in this version and the interrupt is located in 13h and it is not possible to jump in code size : small .

Is there any solution for this or does it mean interrupts cannot be used in this model ?
Please help me out here.. struck for several days

Thanks !
Ram

Parents
  • } void main()
    { setup_interrupts();
    delay(10);
    }

    if you had followed the posting instructions (above the "Enter Message Details Below" field) your code would have come out like this and I'd have spotted a problem immediately

    }
    void main()
    {
        setup_interrupts();
        delay(10);
    }
    

    you need

    }
    void main()
    {
        setup_interrupts();
    //    delay(10);
        while (1);
    }
    

    erik

Reply
  • } void main()
    { setup_interrupts();
    delay(10);
    }

    if you had followed the posting instructions (above the "Enter Message Details Below" field) your code would have come out like this and I'd have spotted a problem immediately

    }
    void main()
    {
        setup_interrupts();
        delay(10);
    }
    

    you need

    }
    void main()
    {
        setup_interrupts();
    //    delay(10);
        while (1);
    }
    

    erik

Children
No data