DSPRelated.com
Forums

Memory problems

Started by akalya May 7, 2003

Hello all:

I have been observing very random memory errors in the data I am
writing out of a 6711-DSP's (external) SDRAM. The few culprits that I
can shortlist are:
* EDMA transfers into circular buffer (in SDRAM) holding data for
the PCI bus to take
* Board-to-host transfer
* EDMA transfers writing/reading data to/from process memory (L2
cache). There is a huge number of them.

Has anyone faced similar problems with memory in such an
environment ? I would really appreciate it if someone can point me to
the most likely cause of this corruption. I have a few more symptoms
that I can link to your suggestion to see where it takes me.

Thank you very much in advance,

Regards
Anand




Akalya,

I assume you are using Cache_flush() correctly ?
Be sure you understand what it does and why you need to use it.

- Andrew E. At 09:10 PM 5/7/2003 +0000, akalya wrote:

>Hello all:
>
>I have been observing very random memory errors in the data I am
>writing out of a 6711-DSP's (external) SDRAM. The few culprits that I
>can shortlist are:
> * EDMA transfers into circular buffer (in SDRAM) holding data for
>the PCI bus to take
> * Board-to-host transfer
> * EDMA transfers writing/reading data to/from process memory (L2
>cache). There is a huge number of them.
>
>Has anyone faced similar problems with memory in such an
>environment ? I would really appreciate it if someone can point me to
>the most likely cause of this corruption. I have a few more symptoms
>that I can link to your suggestion to see where it takes me.
>
>Thank you very much in advance,
>
>Regards
>Anand >
>_____________________________________
>Note: If you do a simple "reply" with your email client, only the author of
this message will receive your answer. You need to do a "reply all" if you want
your answer to be distributed to the entire group.
>
>_____________________________________
>About this discussion group:
>
>To Join: Send an email to
>
>To Post: Send an email to
>
>To Leave: Send an email to
>
>Archives: http://www.yahoogroups.com/group/c6x
>
>Other Groups: http://www.dsprelated.com >">http://docs.yahoo.com/info/terms/





Hello All!

Just for interest: can anyone explain how Code Composer puts
breakpoints, i.e. what feature of the architecture does it use to do
it?
--
Best regards,
Michael Kapralov mailto:




wrote:

>Hello All!
>
> Just for interest: can anyone explain how Code Composer puts
> breakpoints, i.e. what feature of the architecture does it use to do
> it?
That is not docummented by TI. If you set a breakpoint on an instruction
in CCS and then view the corresponding
memory as data there will be no visible difference. However, if you set
a breakpoint , have some different code copy
the memory with the breakpoint in it to a different memory location and
then view it you will find that the most significant
bit of the instruction is set. If you set this bit yourself to hardcode
a breakpoint CCS will be confused and possibly crash.

/Regards, P Ligander