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

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

RE: [avr-gcc-list] basic UART Transmit interrupt problem


From: Dean Ferreyra
Subject: RE: [avr-gcc-list] basic UART Transmit interrupt problem
Date: Thu, 3 Jul 2003 14:29:42 -0700

Mark,

> I just realized that my problem with interrupts is
> a general one.

How about looking at the disassembled code, e.g.

    avr-objdump -d Test.out >Test.dis

and check out the __vectors section and see what they're hooked up to, e.g.

  00000000 <__vectors>:
       0:       0c 94 3b 05     jmp     0xa76
       4:       0c 94 7c 24     jmp     0x48f8
       8:       0c 94 5b 05     jmp     0xab6
       c:       0c 94 5b 05     jmp     0xab6

  ...

  00000a76 <__init>:
     a76:       11 24           eor     r1, r1
     a78:       1f be           out     0x3f, r1        ; 63

  ...

  00000ab6 <__bad_interrupt>:
     ab6:       0c 94 00 00     jmp     0x0

  ...

  000048f8 <__vector_1>:
    48f8:       1f 92           push    r1
    48fa:       0f 92           push    r0

Good luck.

Dean



reply via email to

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