DSPRelated.com
Forums

Code crash b4 main

Started by goelhss May 7, 2003
Hi C6x,

I am using EVM 6201, with CCS 2.0.
The problem i am facing is: when i load my code and run, sometimes it
crashes. I do a "Go main.." And it does not even reach _main.
I then reset it and then code works fine.

This happens even when I have just started CCS, built the code and
loaded it.

What is the reason ?
My main confusion is that even when code has not been run, (not even
reached _main after a fresh start..), how can code be buggy ?
Anything wrong with cmd file ?

Data is in int. memory and code is in ext. memory, with cache enabled
in main function.

Please help.

Thanks and regards,
vishal.




Try performing a GEL->Reset_EMIF... prior to loading the program - this will
insure the EMIF registers are set properly prior to loading the program.

Thom

-----Original Message-----
From: goelhss [mailto:]
Sent: Wednesday, May 07, 2003 5:21 AM
To:
Subject: [c6x] Code crash b4 main

Hi C6x,

I am using EVM 6201, with CCS 2.0.
The problem i am facing is: when i load my code and run, sometimes it
crashes. I do a "Go main.." And it does not even reach _main.
I then reset it and then code works fine.

This happens even when I have just started CCS, built the code and
loaded it.

What is the reason ?
My main confusion is that even when code has not been run, (not even
reached _main after a fresh start..), how can code be buggy ?
Anything wrong with cmd file ?

Data is in int. memory and code is in ext. memory, with cache enabled
in main function.

Please help.

Thanks and regards,
vishal.

_____________________________________
Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you
want your answer to be distributed to the entire group.

_____________________________________
About this discussion group:

To Join: Send an email to

To Post: Send an email to

To Leave: Send an email to

Archives: http://www.yahoogroups.com/group/c6x

Other Groups: http://www.dsprelated.com ">http://docs.yahoo.com/info/terms/