Page 1 of 1

modification to be done in setpinIRQ()

Posted: Mon Jun 15, 2015 2:38 am
by qwerty
what are the modification to be done in SetPinIrq()

to accommodate the interrupt in j2[48]

I cant find the j2[48] option in case structure within SetPinIrq()

Product: MOD5441X
NNDK Version: 2.6.5
Platform: Windows 7

Re: modification to be done in setpinIRQ()

Posted: Mon Jun 15, 2015 10:04 am
by BBAdmin
Hello,

The reason is that level 7 is a special case - it in an unmaskable interrupt, and as such you cannot call any rtos functions, among other things. You also need to ensure, as the developer, that you can service they quickly enough. Your version is quite a few back, so I have attached the example of using an irq7 that is in the current examples folder of the nndk. You will see that I have edited your post to remove the NetBurner library file source code. We're fine with posting any of your code or our examples, but ask that users please not post complete NetBurner library source code. Snippets are fine if you need clarification on something.

This example was developed and tested with release 2.7.1. If it does not build or run with your 2.6.5 you may need to make edits or update to the latest tool set.

Hope this helps. This is a good topic/question to ask since unmaskable interrupts are unique.