Sign in

username:

password:



Not a member?

Search adsp



Search tips

Subscribe to adsp



adsp by Keywords

AD1819 | AD7332 | ADSP-2106 | ADSP-21060 | ADSP-21065L | ADSP-2116 | ADSP-21160M | ADSP-2181 | ADSP-218x | ADSP-219 | ADSP-2199 | ADSP219 | BF531 | BF532 | BF533 | BF535 | Blackfin | FFT | JTAG | LDF | SDRAM | SHARC | SPORT | UART | VDSP++ | VisualDSP

Discussion Groups

Discussion Groups | Analog Devices DSPs | Core fault...............????

Technical discussions related to Analog Devices DSPs (including Blackfin, TigerSHARC, SHARC and ADSP-21xx DSPs).

  

Post a new Thread

Core fault...............???? - mall...@yahoo.co.in - Jan 3 8:58:47 2008



Hi!

Iam trying to implement SPIHT algorithm on blackfin processor....
I have checked for the Simulation it's working properly..............
when iam trying to do in BF533 Ezkitlite.............this problem is coming.........
Iam trying to explain my problem.........

 I have used section("sdram0")
             #include "Image.h" for loading image 

when the control comes to call cSPIHT( ) function(SPIHT encoding) it is giving this message and
then processor is running fully not coming 

"Core fault detected before halt at address: 0x20000004.  Attempting to reset processor.
	Core fault detected before halt at address: 0x20000006.  Attempting to reset processor.
	Warning: Address 0x1FCCC8EA does not exist in the memory map."

Iam trying to know about this in net....if anybody faced this already help me.........



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Core fault...............???? - Mike Rosing - Jan 3 11:10:03 2008

On Wed, 2 Jan 2008 m...@yahoo.co.in wrote:

> Hi!
>
> Iam trying to implement SPIHT algorithm on blackfin processor....
> I have checked for the Simulation it's working properly..............
> when iam trying to do in BF533 Ezkitlite.............this problem is coming.........
> Iam trying to explain my problem.........
>
>  I have used section("sdram0")
>              #include "Image.h" for loading image
>
> when the control comes to call cSPIHT( ) function(SPIHT encoding) it is giving this
message and then processor is running fully not coming
>
> "Core fault detected before halt at address: 0x20000004.  Attempting to reset
processor.
> 	Core fault detected before halt at address: 0x20000006.  Attempting to reset processor.
> 	Warning: Address 0x1FCCC8EA does not exist in the memory map."

Your last warning is the main clue.  You have a bad pointer.  Take a look
at the code before that call and dump all the registers.  You may be
adding in too large an offset to your image address buffer and it goes off
the end during the processing.

Debugging gets down to the last bit.  And usually that one last bit takes
the longest to find!

Patience, persistence, truth,
Dr. mike



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )

Re: Core fault...............???? - mall...@yahoo.co.in - Jan 8 6:29:50 2008

Thank for u for helping...........

I have solved my problem................
After i have posted here...., i have some other problems like in some function big sized
temporary variables are always 0xeeeeeeee they are not changing the values in
program............

Upto now... based on my output the problem i think is my internal variables are very large
size(i have 2 arrays of size 4100 and 12 arrays of size 1100).......
so, i think the space allocated for the stack is not sufficient for storing big sized internal
variables......
after that through the options in startup code in visualdsp4.5 i have changed the stack space
to external SDRAM and size i increased...then it is working.........Implementing STACK in SDRAM
is very inefficient i think ..........

if anybody know is there any other way to handle this situation help me.........
Thank u.........

Hi!
>
>Iam trying to implement SPIHT algorithm on blackfin processor....
>I have checked for the Simulation it's working properly..............
>when iam trying to do in BF533 Ezkitlite.............this problem is coming.........
>Iam trying to explain my problem.........
>
> I have used section("sdram0")
>             #include "Image.h" for loading image 
>
>when the control comes to call cSPIHT( ) function(SPIHT encoding) it is giving this message
and then processor is running fully not coming 
>
>"Core fault detected before halt at address: 0x20000004.  Attempting to reset
processor.
>	Core fault detected before halt at address: 0x20000006.  Attempting to reset processor.
>	Warning: Address 0x1FCCC8EA does not exist in the memory map."
>
>Iam trying to know about this in net....if anybody faced this already help me.........



(You need to be a member of adsp -- send a blank email to adsp-subscribe@yahoogroups.com )