I'm trying to attach to the Interrupt for the analog comparator but my routine never seems to get called. It looks like it should be called because the ACO bit in the ACSR register is set.
I have the following routine in my code. Is this the correct way for me to attach to an interrupt vector?
If the interrupt does not fire at all, the number of causes is not that big, most of which have nothing to do with the OS.
(1) Did the program compile without warnings?
(2) Is the setting of cfgSysGCCstartup equal to cfgKeep?
(3) Did you start modifying the helloWorld example of did you make your own?
(4) Is the hardware cause for the interrupt really present?
Hopes this helps you out. Btw, you activated to many options, but they will not harm you, just costs bytes. If the problem remains, please zip your project and it to me (yes by mail) i will look if i can find the cause, and post the result here.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for the help. I moved over to the HelloWorld example configuration file, and found where I forgot to wrap several of the bit masks with _BV() and a few other goofy things and the world started working like I expect.
Maybe one day I'll take the words in the documentation seriously ;).
FemtoOS looks like it will turn out to be a great OS for my needs. I really do appreciate the efforts that Ruud and the others have put into it.
-joe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Yall,
I'm trying to attach to the Interrupt for the analog comparator but my routine never seems to get called. It looks like it should be called because the ACO bit in the ACSR register is set.
I have the following routine in my code. Is this the correct way for me to attach to an interrupt vector?
I also have the following defines in my config file:
Any help will be appreciated.
Thanks,
Joe
If the interrupt does not fire at all, the number of causes is not that big, most of which have nothing to do with the OS.
(1) Did the program compile without warnings?
(2) Is the setting of cfgSysGCCstartup equal to cfgKeep?
(3) Did you start modifying the helloWorld example of did you make your own?
(4) Is the hardware cause for the interrupt really present?
Hopes this helps you out. Btw, you activated to many options, but they will not harm you, just costs bytes. If the problem remains, please zip your project and it to me (yes by mail) i will look if i can find the cause, and post the result here.
Thanks for the help. I moved over to the HelloWorld example configuration file, and found where I forgot to wrap several of the bit masks with _BV() and a few other goofy things and the world started working like I expect.
Maybe one day I'll take the words in the documentation seriously ;).
FemtoOS looks like it will turn out to be a great OS for my needs. I really do appreciate the efforts that Ruud and the others have put into it.
-joe
Thanks!