Page 2 of 2

Re: The application crashes after 40days

Posted: Thu Apr 22, 2010 4:35 pm
by rnixon
Hmm. It certainly was my intention.
kumarjosh wrote:Hi rnixon & khoney
I think you are not answering to my question.

Thanks
kumar V

Re: The application crashes after 40days

Posted: Fri Apr 23, 2010 10:32 am
by pbreed
Do you have any user written interrupts?
What are they and what are they doing?

Do any of these call any of the forbiden functions listed in the programers guide section on interrupts?

Re: The application crashes after 40days

Posted: Fri Apr 23, 2010 10:36 am
by pbreed
Also in your trap it shows that you are using FIFOs in your user tasks.

How are you allocating /allocating the fifo elements?

You must never ever reuse one until it has been removed from the fifo by the receiver of the fifo object.

It also needs to be allocated in a a way that is global in scope.

Paul

Re: The application crashes after 40days

Posted: Mon Apr 26, 2010 1:42 am
by kumarjosh
Hi pbreed,
Thanks for your analyses.
I am not written any user interrupts...
I will look into how the "FIFO" allocation/reallocation happening for user tasks.

Regards,
kumar V

Re: The application crashes after 40days

Posted: Mon Apr 26, 2010 3:32 am
by kumarjosh
Hi greengene,
I have execute this command “StdioCheckIntc()” on console my application and it says unknown command.
Also I have searched in the code to find any piece of code for it.
Please let me how to execute it?
Regards,
Kumar

Re: The application crashes after 40days

Posted: Mon Apr 26, 2010 10:34 am
by greengene
the function first came in rev 2.3 of nndk.
the declaration is in nburn\v2.40\include\bsp.h and
the function is located in a platform directory, e.g.,
nburn\v2.40\MOD5282\system\StdioIntCheck.cpp

Re: The application crashes after 40days

Posted: Tue Apr 27, 2010 4:21 am
by kumarjosh
Hi greengene,
We are using the nndk1.98 version that’s why I am not able to fine this function.
Please let me know if any alternative is available to know the list interrupts supported.
Thanks
kumar V

Re: The application crashes after 40days

Posted: Tue Apr 27, 2010 9:55 am
by rnixon
Hi Kumar,

If this is for a product and not an educational project, I would highly recommend updating. That is very old version.