Hi does anyone know if there is a size limit on the size of an isr with the pic16?

Views: 57

Reply to This

Replies to This Discussion

the interrupt service routine can be placed in the body of the main code, so the size is limited only by the program memory sizes, unless you mean the code you place at the interrupt vector? I don't think there is a hard limit on that either, since you can just place the main code block after it wherever it ends.

My code gets stuck in the main section when I enable timer interrupts, as if it never returns from interrupts, but the interrupts are still happening. My TA said it might be the size of the isr because he 'has seen it before'. I went to ask emami and he said it might have something to do with bank selection. Haven't tried it yet.

RSS

© 2024   Created by PML.   Powered by

Badges  |  Report an Issue  |  Terms of Service