DSPRelated.com
Forums

Memory contents after S/W reset

Started by Sri April 10, 2006
Hi,
My board is having C6416 processor with 16MB SDRAM.
A very unexpected observation I have noted that after S/W reset the contents
of the SDRAM get changed, however contents of internal memory of C6416 don't
change.
Ideally contents of memory either external or inetrnal shall change only
after H/W reset.
Has anybody faced such problem before?
what about EMIF settings , does they have any impact on the observed
behaviour ?
Sri,

--- Sri wrote:

> Hi,
> My board is having C6416 processor with 16MB SDRAM.
> A very unexpected observation I have noted that
> after S/W reset the contents
> of the SDRAM get changed, however contents of
> internal memory of C6416 don't
> change.
> Ideally contents of memory either external or
> inetrnal shall change only
> after H/W reset.

What are you calling a s/w reset??
I am not aware of any such capability for C6000 DSPs -
unless you write the reset code yourself.

When you select 'Debug->Reset CPU' from CCS, you are
performing a hardware reset to the part. This will
trash your EMIF settings. If this is a problem and you
need to perform a reset, you can use a GEL file that
takes advantage of the 'OnReset()' GEL callback
function to execute an appropriatre GEL script.

Refer to C6000 GEL files [../cc/gel/] and CCS help for
details.

mikedunn

> Has anybody faced such problem before?
> what about EMIF settings , does they have any impact
> on the observed
> behaviour ?
>
Sri-

> My board is having C6416 processor with 16MB SDRAM.
> A very unexpected observation I have noted that after S/W reset the
> contents
> of the SDRAM get changed, however contents of internal memory of C6416
> don't change.

I think Mike asked you 'what do you mean by S/W Reset'? You have to be
more clear.

-Jeff