avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Where did my interrupt vectors go?


From: Phillip Vogel
Subject: [avr-gcc-list] Where did my interrupt vectors go?
Date: Thu, 23 Dec 2004 15:24:04 -0500

This used to work, but since I upgraded winavr and changed to mega128
(used to be mega162), my interrupt vector table is empty, like this:

00000000 <__vectors>:
       0:       0c 94 6e 01     jmp     0x2dc
       4:       0c 94 8b 01     jmp     0x316
       8:       0c 94 8b 01     jmp     0x316
       c:       0c 94 8b 01     jmp     0x316
      10:       0c 94 8b 01     jmp     0x316
      14:       0c 94 8b 01     jmp     0x316
      18:       0c 94 8b 01     jmp     0x316
      1c:       0c 94 8b 01     jmp     0x316
      20:       0c 94 8b 01     jmp     0x316
      24:       0c 94 8b 01     jmp     0x316
      28:       0c 94 8b 01     jmp     0x316
      2c:       0c 94 8b 01     jmp     0x316
      30:       0c 94 8b 01     jmp     0x316
      34:       0c 94 8b 01     jmp     0x316
      38:       0c 94 8b 01     jmp     0x316
      3c:       0c 94 8b 01     jmp     0x316
      40:       0c 94 8b 01     jmp     0x316
      44:       0c 94 8b 01     jmp     0x316
      48:       0c 94 8b 01     jmp     0x316
      4c:       0c 94 8b 01     jmp     0x316
      50:       0c 94 8b 01     jmp     0x316
      54:       0c 94 8b 01     jmp     0x316
      58:       0c 94 8b 01     jmp     0x316
      5c:       0c 94 8b 01     jmp     0x316
      60:       0c 94 8b 01     jmp     0x316
      64:       0c 94 8b 01     jmp     0x316
      68:       0c 94 8b 01     jmp     0x316
      6c:       0c 94 8b 01     jmp     0x316
      70:       0c 94 8b 01     jmp     0x316
      74:       0c 94 8b 01     jmp     0x316
      78:       0c 94 8b 01     jmp     0x316
      7c:       0c 94 8b 01     jmp     0x316
      80:       0c 94 8b 01     jmp     0x316
      84:       0c 94 8b 01     jmp     0x316
      88:       0c 94 8b 01     jmp     0x316


Snips from my source file:

#include <avr/io.h>
#include <avr/interrupt.h>
#include <avr/signal.h>

/* Interrupt handlers */
SIGNAL(SIG_USART0_RECV)
{
  ...code here...
}

SIGNAL(SIG_USART0_DATA)
{
  ...code here...
}

Like I said, this all worked last week with an older version of winavr
and a mega162. The code compiles with no errors or warnings. What am I
missing here?

Thanks,

Phil




reply via email to

[Prev in Thread] Current Thread [Next in Thread]