Home/Support/Support Forum/RCM6600W: Difficulty setting up a basic ISR.
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

RCM6600W: Difficulty setting up a basic ISR.

0 votes
I'm having difficulty setting up a very basic ISR for a serial routine on the RCM6600W.

I've shaved the ISR down to the point that it's just clearing the interrupt and exiting.

When the interrupt is triggered, the main loop stops running. Then, typically but not always, the debugger loses its connection.

Is there anything glaringly wrong with the bare-bones linked example:

https://gist.github.com/caseymarquis/81aac00cf99960c1d9872468b41b492e

If not, then does anyone have any suggestions as to what could be going wrong? The symptoms being failure to return to the main loop and loss of my connection to the debugger.
asked Nov 7, 2016 in Rabbit by casey New to the Community (18 points)

Please log in or register to answer this question.

1 Answer

0 votes
 
Best answer
Turns out I was using SetVectIntern wrong, so the interrupt was never assigned. I switched to manually assigning interrupts via assembly like RS232.LIB does.
answered Nov 8, 2016 by casey New to the Community (18 points)
...