Bug in interrupt mapping

General discussion on mikroPascal for AVR.
Post Reply
Author
Message
rudirabbit
Posts: 1
Joined: 24 Feb 2008 19:38

Bug in interrupt mapping

#1 Post by rudirabbit » 24 Feb 2008 20:20

Hi
I'm using version: 4.0.0.2 (demo edition) with CPU Mega2560.

Bug:
Interrupts > address $3A did not work

example:

Code: Select all

procedure Timer3_Interrupt_overflow;  org OVF3addr; 
begin
...... 
end;  
procedure EXT_Interrupt_7;  org INT7addr; 
begin 
....... 
end;    
procedure Timer1_Interrupt_overflow;  org OVF1addr; 
begin 
...... 
end; 
In asm:

Code: Select all

$0000   $940C   01BD   JMP   Interruptclock_main 
$0010   $940C   0193   JMP   Interruptclock_EXT_Interrupt_7 
$0028   $940C   0072   JMP   Interruptclock_Timer1_Interrupt_overflow 
Interruptvector for timer3 ($46) is missing !

sometimes this message :

Code: Select all

Access violation at address 00404DFE in module mikroPascalAVR. Read of address 00000265 
Bugfix needed !

Post Reply

Return to “mikroPascal for AVR General”