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

Using external INT0 on DSTINI400 in C with Keil

I have bodged an Exar UART onto a DSTINIs400 board & need to use INT0 with it. As a starting point pressing a push button to create an INT to test a handler gets executed would be nice before getting into writing various UART routines.

When I compile my C code, I get the
warning L30: memory space overlap
from c:200003H
to c:200007H

I'm not sure why this has happened & how do I get it working??

I am using the mon390 code to debug.

Help! Thanks

Trevor

Parents
  • Thanks for the reply.

    The code I have written doesn't contain anything else, I am using:

    void Ext_INT0 (void) interrupt 0
    {
    counter++;
    }

    to test INT0, but I get a similar warning (with different addresses) if I change the interrupt number from 0 through to 8, implying that the first 9 are being used...

    Could it be something to do with mem map & vector address location, or someting else under the target options?

    Trevor

Reply
  • Thanks for the reply.

    The code I have written doesn't contain anything else, I am using:

    void Ext_INT0 (void) interrupt 0
    {
    counter++;
    }

    to test INT0, but I get a similar warning (with different addresses) if I change the interrupt number from 0 through to 8, implying that the first 9 are being used...

    Could it be something to do with mem map & vector address location, or someting else under the target options?

    Trevor

Children