Reply by Ritesh Patel November 14, 20052005-11-14
Hi jeronimo,

- I think you are trying to use on chip SARAM located at 28000-2FFFF
and others. It was observed that if any one of this region's memory got
changed with CCS emulator and now if you refresh then that value will be
seen everywhere in this region. This is because MP/MC may be 1 in your case.
*Make MP/MC = 0 in PMST register setting .* I think problem should go.

- see figure of memory map and setting page 21 of
tms320vc5416.pdfdata sheet. ( from TI's site).
- example value of *PMST could be 0x0128. but look at your settting
for other important bits in PMST.*
- You should not be changing PMST bit MP/MC then after else program
written in that area will be corrupted during run time.
-

Tell me if what I said works. ask for any help needed for extended
addressing in 54x.
Ritesh

On 11/13/05, Jeff Brower <jbrower@jbro...> wrote:

> Jerome
>
> > I am using a 5416 custom board and I am using only the
> > 5416 internal memory.
>
> In that case:
>
> -make sure DROM bit in PMST reg is set; I don't know if
> .gel file does that or not.
>
> -you cannot make data accesses -- either your code using
> ARn registers or with CCS display/watch windows -- to
> 0x28000. You can only load program instructions there,
> and then "view" that area of memory as program (single-
> step, disassemble, etc)
>
> With DROM set, then 0x8000-0xffff should be accessible as data memory and
> that's a
> good test of your board -- you should check that.
>
> -Jeff >
>


--
Ritesh Patel
M.Tech. IIT-Bombay


Reply by Ritesh Patel November 14, 20052005-11-14
Hi jeronimo,

- I think you are trying to use on chip SARAM located at 28000-2FFFF
and others. It was observed that if any one of this region's memory got
changed with CCS emulator and now if you refresh then that value will be
seen everywhere in this region. This is because MP/MC may be 1 in your case.
*Make MP/MC = 0 in PMST register setting .* I think problem should go.

- see figure of memory map and setting page 21 of
tms320vc5416.pdfdata sheet. ( from TI's site).
- example value of *PMST could be 0x0128. but look at your settting
for other important bits in PMST.*
- You should not be changing PMST bit MP/MC then after else program
written in that area will be corrupted during run time.
-

Tell me if what I said works. ask for any help needed for extended
addressing in 54x.
Ritesh

On 11/13/05, Jeff Brower <jbrower@jbro...> wrote:

> Jerome
>
> > I am using a 5416 custom board and I am using only the
> > 5416 internal memory.
>
> In that case:
>
> -make sure DROM bit in PMST reg is set; I don't know if
> .gel file does that or not.
>
> -you cannot make data accesses -- either your code using
> ARn registers or with CCS display/watch windows -- to
> 0x28000. You can only load program instructions there,
> and then "view" that area of memory as program (single-
> step, disassemble, etc)
>
> With DROM set, then 0x8000-0xffff should be accessible as data memory and
> that's a
> good test of your board -- you should check that.
>
> -Jeff


Reply by pravin patil November 14, 20052005-11-14
Jeff Brower <jbrower@jbro...> wrote:

Jerome

> I am using a 5416 custom board and I am using only the
> 5416 internal memory.


Also check the mode of operation, MP/MC. By default 5416.gel will make the miprocessor mode(MP/MC=1). U have to change to microcomputer mode(MP/MC=0) if u want to use this area. U can make the corresponding changes in the .gel file.(Also the DROM bit as said)

Pravin. Jeff Brower <jbrower@jbro...> wrote:
Jerome

> I am using a 5416 custom board and I am using only the
> 5416 internal memory.

In that case:

-make sure DROM bit in PMST reg is set; I don't know if
.gel file does that or not.

-you cannot make data accesses -- either your code using
ARn registers or with CCS display/watch windows -- to
0x28000. You can only load program instructions there,
and then "view" that area of memory as program (single-
step, disassemble, etc)

With DROM set, then 0x8000-0xffff should be accessible as data memory and that's a
good test of your board -- you should check that.

-Jeff


Reply by Jeff Brower November 13, 20052005-11-13
Jerome

> I am using a 5416 custom board and I am using only the
> 5416 internal memory.

In that case:

-make sure DROM bit in PMST reg is set; I don't know if
.gel file does that or not.

-you cannot make data accesses -- either your code using
ARn registers or with CCS display/watch windows -- to
0x28000. You can only load program instructions there,
and then "view" that area of memory as program (single-
step, disassemble, etc)

With DROM set, then 0x8000-0xffff should be accessible as data memory and that's a
good test of your board -- you should check that.

-Jeff



Reply by Jeff Brower November 12, 20052005-11-12
Jerome-

> I am loading the CCS with the c5416.gel then I try to change the
> 0x28000 position of memory but all the positions change from 0x28000
> to 0x2FFFF

To get an answer, you need a question.

TI does not have a 5416 DSK board, so what board is this? How much memory? What
type of memory?

-Jeff



Reply by jfa47 November 11, 20052005-11-11
Hi

I am loading the CCS with the c5416.gel then I try to change the
0x28000 position of memory but all the positions change from 0x28000
to 0x2FFFF

Best regards
Jerome