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 Reply Children
  • OK - discovered map file...

    The startup400.a51 file I am using has

    ?C_CPURESET?0 segment code at 200000H
    
    causing the overlap - int vector code also goes in this area.

    I took this start-up code from the Hello World type example. I'm not really clear on how interrupt vectors / mem map / start up code fit together - should I be using a different type of start-up code that sets up int vectors too, or can I just shift where this code is?

    Thanks

    Trevor