The application crashes after 40days

Discussion to talk about software related topics only.
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: The application crashes after 40days

Post 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
User avatar
pbreed
Posts: 1081
Joined: Thu Apr 24, 2008 3:58 pm

Re: The application crashes after 40days

Post 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?
User avatar
pbreed
Posts: 1081
Joined: Thu Apr 24, 2008 3:58 pm

Re: The application crashes after 40days

Post 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
kumarjosh
Posts: 9
Joined: Wed Apr 07, 2010 2:07 am

Re: The application crashes after 40days

Post 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
kumarjosh
Posts: 9
Joined: Wed Apr 07, 2010 2:07 am

Re: The application crashes after 40days

Post 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
greengene
Posts: 164
Joined: Wed May 14, 2008 11:20 am
Location: Lakeside, CA

Re: The application crashes after 40days

Post 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
kumarjosh
Posts: 9
Joined: Wed Apr 07, 2010 2:07 am

Re: The application crashes after 40days

Post 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
rnixon
Posts: 833
Joined: Thu Apr 24, 2008 3:59 pm

Re: The application crashes after 40days

Post 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.
Post Reply