1. According to the C6713 TI documentation maximum internal memory can be
configured as L2 cache is 64MB (0x10000).
2. The L2 cache memory should not be accessed by the user and is meant to
be handled by CPU only.
The solution might be to configure (0x00000000-0x0000FFFF) as L2 cache (for
CPU only) and (0x00010000-0x0003FFFF) as ISRAM to be accessed by the
program.
<srolle@cybectec.com> wrote in message
news:e8b72d86.0406071351.3e509087@posting.google.com...
| Hello,
|
| Can someone explain me the strange things that happend with my
| DSK6713/CCS 2.20.
|
| I had configure the cache to be all SRAM (0x00000000-0x00040000) with
| CCFG = 0 but :
| 1) When a use the memory windows in order to modify memory :
| 0x0002FFFF, the right value is read and the rigth value is write but
| when i modify 0x00030000, there are some strang value that appears and
| it is not possible to write a value
| 2) When i load .out programm, an error appears at 0x0002f5a0 : "A
| section of your programm falls into a memory region that is not
| writable...."
|
|
| I think the cache is not well configured. But.... CCFG is set to 0.
|
| Can someone could give me some good advices ?
Reply by Tim Wescott●June 8, 20042004-06-08
srolle@cybectec.com wrote:
> Tim Wescott <tim@wescottnospamdesign.com> wrote in message news:<10c9pmjael4a31b@corp.supernews.com>...
>
>>srolle@cybectec.com wrote:
>>
>>
>>>Hello,
>>>
>>>Can someone explain me the strange things that happend with my
>>>DSK6713/CCS 2.20.
>>>
>>>I had configure the cache to be all SRAM (0x00000000-0x00040000) with
>>>CCFG = 0 but :
>>>1) When a use the memory windows in order to modify memory :
>>>0x0002FFFF, the right value is read and the rigth value is write but
>>>when i modify 0x00030000, there are some strang value that appears and
>>>it is not possible to write a value
>>>2) When i load .out programm, an error appears at 0x0002f5a0 : "A
>>>section of your programm falls into a memory region that is not
>>>writable...."
>>>
>>>
>>>I think the cache is not well configured. But.... CCFG is set to 0.
>>>
>>>Can someone could give me some good advices ?
>>
>>I don't know your chip, but some processors will hijack portions of the
>>memory map for their own uses -- do you have a peripheral block mapped
>>to 0x30000 by default, perhaps? Close study of the fine documentation
>>produced by TI will be required. Good luck.
>
>
> Hello,
>
> No there is no peripheral block mapped here. I think it is the cache
> that is not correctly configured. but.... I check all registrer and
> CBD file and everything seems all right
Then you're down to reading the manual and cursing. Are you in a
position to get help from the TI applications engineers? They make up
for their bad documentation with good help when you need it.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Reply by srol...@cybectec.com●June 8, 20042004-06-08
Tim Wescott <tim@wescottnospamdesign.com> wrote in message news:<10c9pmjael4a31b@corp.supernews.com>...
> srolle@cybectec.com wrote:
>
> > Hello,
> >
> > Can someone explain me the strange things that happend with my
> > DSK6713/CCS 2.20.
> >
> > I had configure the cache to be all SRAM (0x00000000-0x00040000) with
> > CCFG = 0 but :
> > 1) When a use the memory windows in order to modify memory :
> > 0x0002FFFF, the right value is read and the rigth value is write but
> > when i modify 0x00030000, there are some strang value that appears and
> > it is not possible to write a value
> > 2) When i load .out programm, an error appears at 0x0002f5a0 : "A
> > section of your programm falls into a memory region that is not
> > writable...."
> >
> >
> > I think the cache is not well configured. But.... CCFG is set to 0.
> >
> > Can someone could give me some good advices ?
>
> I don't know your chip, but some processors will hijack portions of the
> memory map for their own uses -- do you have a peripheral block mapped
> to 0x30000 by default, perhaps? Close study of the fine documentation
> produced by TI will be required. Good luck.
Hello,
No there is no peripheral block mapped here. I think it is the cache
that is not correctly configured. but.... I check all registrer and
CBD file and everything seems all right
Reply by Tim Wescott●June 7, 20042004-06-07
srolle@cybectec.com wrote:
> Hello,
>
> Can someone explain me the strange things that happend with my
> DSK6713/CCS 2.20.
>
> I had configure the cache to be all SRAM (0x00000000-0x00040000) with
> CCFG = 0 but :
> 1) When a use the memory windows in order to modify memory :
> 0x0002FFFF, the right value is read and the rigth value is write but
> when i modify 0x00030000, there are some strang value that appears and
> it is not possible to write a value
> 2) When i load .out programm, an error appears at 0x0002f5a0 : "A
> section of your programm falls into a memory region that is not
> writable...."
>
>
> I think the cache is not well configured. But.... CCFG is set to 0.
>
> Can someone could give me some good advices ?
I don't know your chip, but some processors will hijack portions of the
memory map for their own uses -- do you have a peripheral block mapped
to 0x30000 by default, perhaps? Close study of the fine documentation
produced by TI will be required. Good luck.
--
Tim Wescott
Wescott Design Services
http://www.wescottdesign.com
Reply by srol...@cybectec.com●June 7, 20042004-06-07
Hello,
Can someone explain me the strange things that happend with my
DSK6713/CCS 2.20.
I had configure the cache to be all SRAM (0x00000000-0x00040000) with
CCFG = 0 but :
1) When a use the memory windows in order to modify memory :
0x0002FFFF, the right value is read and the rigth value is write but
when i modify 0x00030000, there are some strang value that appears and
it is not possible to write a value
2) When i load .out programm, an error appears at 0x0002f5a0 : "A
section of your programm falls into a memory region that is not
writable...."
I think the cache is not well configured. But.... CCFG is set to 0.
Can someone could give me some good advices ?