extra vectors

Go To Last Post
2 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

Hi,

When looking at the .inc files I notice that the m8535def.inc has 21 interrupts defined and the AT90S8535.xml file shows only 17. The "extra" ones seem to be

.equ TWIaddr =$011 ;Irq. vector address for Two-Wire Interface
.equ I2Caddr =$011 ; Irq. vector address for Inter Intergrated Circuit interface
.equ INT2addr=$012 ;External Interrupt2 Vector Address
.equ OC0addr =$013 ;Output Compare0 Interrupt Vector Address
.equ SPMRaddr=$014 ;Store Program Memory Ready Interrupt Vector

these, as the .xml file in part description doesn't go higher than $010. I am wanting to use these files to generate asm code, but if they are weird, I am then kinda stuck. Any ideas what is going on?

Thanks,

Tall Daniel

admin's test signature
 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

What's going on is that the m8535def.inc is for the ATmega8535 and the AT90S8535.xml is for the AT90S8535, which is a different device. The include file for the latter is called 8535def.inc

-Geir