|
|
View previous topic :: View next topic |
Author |
Message |
Tom Theron Guest
|
Interrupt priorities with PCH? |
Posted: Fri Nov 09, 2001 8:39 am |
|
|
PIC18C252 has two interrupt vectors, one for high priority and one for low priority. Has anybody tried to utilize this using PCH? According to what I can read in the documentation, I can't find any implementation... It will be real sad if you have this superior interrupt functionality available, but the compiler cannot handle it!
Tom
___________________________
This message was ported from CCS's old forum
Original Post ID: 1034 |
|
|
Darren Rook
Joined: 06 Sep 2003 Posts: 287 Location: Milwaukee, WI
|
Re: Interrupt priorities with PCH? |
Posted: Fri Nov 09, 2001 3:26 pm |
|
|
:=PIC18C252 has two interrupt vectors, one for high priority and one for low priority. Has anybody tried to utilize this using PCH? According to what I can read in the documentation, I can't find any implementation... It will be real sad if you have this superior interrupt functionality available, but the compiler cannot handle it!
PCH doesn't support this.
Yet.
It will in the future; we are working on it.
___________________________
This message was ported from CCS's old forum
Original Post ID: 1041 _________________ I came, I saw, I compiled. |
|
|
Tom Theron Guest
|
Re: Interrupt priorities with PCH? |
Posted: Tue Nov 13, 2001 3:47 am |
|
|
:=:=PIC18C252 has two interrupt vectors, one for high priority and one for low priority. Has anybody tried to utilize this using PCH? According to what I can read in the documentation, I can't find any implementation... It will be real sad if you have this superior interrupt functionality available, but the compiler cannot handle it!
:=
:=PCH doesn't support this.
:=
:=Yet.
:=
:=It will in the future; we are working on it.
Saddest of all is that I've tried to implement my own interrupt scheduler by inserting code in the 0008 interrupt space using the #org directive. The compiler then goes bezerk and looses all awareness of the lower priority interrupts. My higher priority interrupt functions well, but when you look at the assembly generated, the compiler treats the other interrupts as normal functions and just flushes over the 0018 interrupt space.
We jumped from 16C.. to 18C.. MAINLY because of the interrupt scheduler. We have legacy code in PCM. Now that functionality can't be achieved without rewriting half the code in assembler, so the whole impetus of bying PCH is lost. I've already lost so much $ in terms of battling with this, that we could just as well have moved to a totally different compiler (that works).
-Tom
___________________________
This message was ported from CCS's old forum
Original Post ID: 1079 |
|
|
|
|
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
|
Powered by phpBB © 2001, 2005 phpBB Group
|