ok -> I try the code of CCS
#int_global
void isr(void)
{
#asm
goto 0x2008
nop
nop
nop
nop
nop
nop
goto 0x2018
#endasm
}
And then I get this ERROR:
Duplicate Interrupt function
I need this function to move the IRQs to the Application.
Can anyone help me ?
regards
Oliver
Al
Joined: 13 Nov 2003 Posts: 28 Location: Belfast
Re: Problem with my Bootloader PIC18
Posted: Mon Apr 05, 2004 5:43 am
These are 2 separate problems.
i wrote an bootloader and he works fine. today I want to compile again and i get an ERROR
invalid Org range
For the ORG error - do a search for INVALID ORG range - you will find others with the same problem. Also try to combine the above search with Author: Roger Courtney - He has some usefuls comments on it.
ok -> I try the code of CCS
#int_global
void isr(void)
{
#asm
goto 0x2008
nop
nop
nop
nop
nop
nop
goto 0x2018
#endasm
}
And then I get this ERROR:
Duplicate Interrupt function
[/quote]
For the second problem the #int_global interupt function names seems strange to me as this is a reference to all interupts. In my mind you should be waiting for a specific interrupt. For example if you are waiting for a character arriving on the RS232 line use #int_rda. Which interrupt are you waiting for?
Also Iwould rename the interupt something other than isr. _________________ Alan Murray
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum