DSPRelated.com
Forums

a question about memory view

Started by bigbibby2002 March 20, 2008
hello everybody,
I use ccs3.1 to develop TMS320C6416, with the CCS I use the command;
view\memory ,I can't see the data that are below address
0x00040000,they are all "------" and the addresses are invisible as
same, the data from 0x00000000~0x003fffff is ok! As shown below:

0x00000000 0x14725869
0x00000004 0x36945782
.......
0x0003FFFFF0 0x12345678
0x0003FFFFF4 0x87654321
0x0003FFFFF8 0x45678912
0x0003FFFFFC 0x45625879
----------
----------
----------
----------
----------
----------
----------
.............

What's going on?



Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467
Are you using simulator? If yes, you need to declare this space in the setup of the simulator.
But normally addresses from 0 to 400000 are internal memory, after it's all external memory if you have some...maybe you don't have, or it is mapped somewhere else.
bigbibby2002,

On Thu, Mar 20, 2008 at 8:06 AM, bigbibby2002 wrote:

> hello everybody,
> I use ccs3.1 to develop TMS320C6416, with the CCS I use the command;
> view\memory ,I can't see the data that are below address
> 0x00040000,they are all "------" and the addresses are invisible as
> same, the data from 0x00000000~0x003fffff is ok! As shown below:
>
> 0x00000000 0x14725869
> 0x00000004 0x36945782
> .......
> 0x0003FFFFF0 0x12345678
> 0x0003FFFFF4 0x87654321
> 0x0003FFFFF8 0x45678912
> 0x0003FFFFFC 0x45625879
> ----------
> ----------
> ----------
> ----------
> ----------
> ----------
> ----------
> .............
>
> What's going on?
There is no memory there and CCS knows it.
If you check the specs on a 6416, you will find that it has 1 MB of
internal memory.
1MB = 0x100000 [the last address is 0xFFFFF].

If you check the contents of memory locations 0, 0x100000, 0x200000,
0x300000, ... you will probably find they have the same contents. You
can verify this by opening four memory windows showing the four
addresses above. Modify one of the addresses and you will see the
others update to the same value [you may have to do a refresh to get
them to update].

mikedunn
>
>

--
www.dsprelated.com/blogs-1/nf/Mike_Dunn.php


Check Out Industry's First Single-Chip, Multi-Format, Real-Time HD Video Transcoding Solution for Commercial & Consumer End Equipment: www.ti.com/dm6467