DSPRelated.com
Forums

RE: Re: Memory map setting in CCS

Started by Animesh Adhya October 25, 2005
Hi,

I had faced the same problem. This is how I fixed it. It may not work
for you. However I had also used the same emulator. I went to the memory
map section and changed all the mapped memory types to one type, i.e.
either IDRAM or PRAM. This fixed the error. This was probably because in
the configuration section, it said that the board I was using had only
one page of memory. So when I tried to load the .const and .cnit
sections to the other page, i.e. IDRAM, it probably gave an error. Its
just my guess that I am saying here and I do not know why this exactly
happened and how it got fixed when I did this. However try doing this
and it should work for you too. The other option I think is restarting
the PC and then again reconfiguring the emulator. :-)

with Regards,
Animesh

-----Original Message-----
From: code-comp@code... [mailto:code-comp@code...] On
Behalf Of magrusa70
Sent: Tuesday, October 25, 2005 6:34 AM
To: code-comp@code...
Subject: [code-comp] Re: Memory map setting in CCS

I have exactly the same problem.
Sorry but i do not have much experience on DSP.
Can anyone help me?

Marco Agrusa
Capgemini Italia
marco.agrusa@marc... --- In code-comp@code..., "torgeirjakobsen"
<torgeir.jakobsen@a...> wrote:
>
> Hi
>
> I have a problem with the emulation through Code Composer Studio.
So,
> far I have used the simulator when developing my software for the
> TMS320VC5510 DSP. Now I want to emulate to eliminate the last few
> bugs that I have in my program. I use the XDS510PP Plus emulator,
and
> it seems to work ok against the DSP on our hardware.
> The loading of my program is not correct. Writing to the registers
in
> io-space does not work, this actually changes the same address in
> data memory.
> I think the problem is that I have to specify a memory map to CCS.
> This was not necessary in the simulator. I have made a gel-file
which
> corresponds to my memory settings in my project linker command
file,
> but I get an error message when loading the program.
>
> Error message:
> Load failed. A section of your program falls into a memory region
> that is not writable. Check your linker configuration and/or memory
> map.
>
> The error comes when CCS tries to load the .const section, but it
> also seems to give the same error on the .cinit section. I also get
> the same error message when using the same gel-file in the
simulator.
> I have made all memory writable in the gel-file. So, I do not
> understand why I get this message.
>
> Has anyone experienced the same problem ?
>