Sign in

username:

password:



Not a member?

Search c55x



Search tips

Subscribe to c55x



c55x by Keywords

AIC23 | C5509 | CCS | CSL | EMIF | EVM | GEL | GPIO | HPI | Interfacing | JTAG | McBSP | OMAP | Omap15 | OMAP59 | RTDX | SDRAM | TMS320VC5509 | USB | XDS5

Sponsor

NEW! TMS320C6474: 3x the performance. 1/3 the cost. Three 1 GHz cores on 1 chip.

Discussion Groups

Discussion Groups | TMS320C55x | Memory problem

Technical discussions about the TI C55x DSPs (including the c5501, c5502, c5503, c5507, c5509, c5510 and OMAP5910).

  

Post a new Thread

Memory problem - Moranjkic Adnan - Jul 26 8:49:18 2007



Hi All,
   
  I have one problem about memory. When I am trying to write in EXTMEM I do not have problem
but I have problem when I am reading same data from external memory. I do not see it as same
data as I save it. For example: if  I write  data in external memory and 
  if I read it it read first byte then 5th byte then 2nd then 6th, and so on. I found out that
if I am writing data as float data type I can read it without any problem, it means I read same
data I wrote. 
   
  Does anyone know how to solve this problem? Or if anyone hase suggestion it is welcome.
  Is there any other way to read data and to get correct value?
   
  Thanks,
  Ado



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Memory problem - Jeff Brower - Jul 26 12:47:56 2007

Moranjkic-

>   I have one problem about memory. When I am trying to write in EXTMEM I do not
> have problem but I have problem when I am reading same data from external memory.
> I do not see it as same data as I save it. For example: if  I write  data in
> external memory and
>   if I read it it read first byte then 5th byte then 2nd then 6th, and so on.
> I found out that if I am writing data as float data type I can read it without
> any problem, it means I read same data I wrote.
> 
>   Does anyone know how to solve this problem? Or if anyone hase suggestion it
> is welcome.
>   Is there any other way to read data and to get correct value?

If you can write 32-bit data Ok but not 16-bit or 8-bit data, then I suggest to
carefully check the byte-enable lines from 55x to the SDRAM (or SRAM) devices.  These
are lines labeled /EMIF_BEn on the 55x and typically labeled something like /BLE and
/BHE (for 16-bit wide mem device).

For example, if all /BLE and /BHE lines (2 on each x16 chip) are GND instead of
connected to DSP, then you would get exactly the problem you describe.

-Jeff



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Memory problem - Jeff Brower - Aug 16 14:53:04 2007

Adnan-
> Your suggestion is great. Thank you.
>
> Could you give me more directions? Or could you explain it to more?
>
> I am working on OMAP5910 (TMS320C55xx) and I cannot find more information and
> documentation about C55xx external memory, that is related to my problem.

First, which 55x device is it?  You have to know the exact core type, as there are
significant differences between EMIF for 5502/3, 5507, 5509, 5510, etc.

Second, try to find an "EMIF Reference Guide" document for your core type on TI's
website.  For example, this document:

  http://focus.ti.com/lit/ug/spru621f/spru621f.pdf

is valid for 5502/3.

-Jeff

PS. Please post to the group, not to me.
> Jeff Brower <j...@signalogic.com> wrote:
>
>      Moranjkic-
>
>      > I have one problem about memory. When I am trying to write in EXTMEM I
>      do not
>      > have problem but I have problem when I am reading same data from
>      external memory.
>      > I do not see it as same data as I save it. For example: if I write data
>      in
>      > external memory and
>      > if I read it it read first byte then 5th byte then 2nd then 6th, and so
>      on.
>      > I found out that if I am writing data as float data type I can read it
>      without
>      > any problem, it means I read same data I wrote.
>      >
>      > Does anyone know how to solve this problem? Or if anyone hase
>      suggestion it
>      > is welcome.
>      > Is there any other way to read data and to get correct value?
>
>      If you can write 32-bit data Ok but not 16-bit or 8-bit data, then I
>      suggest to
>      carefully check the byte-enable lines from 55x to the SDRAM (or SRAM)
>      devices. These
>      are lines labeled /EMIF_BEn on the 55x and typically labeled something
>      like /BLE and
>      /BHE (for 16-bit wide mem device).
>
>      For example, if all /BLE and /BHE lines (2 on each x16 chip) are GND
>      instead of
>      connected to DSP, then you would get exactly the problem you describe.
>
>      -Jeff
>



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )

Re: Memory problem - moranjkicadnan - Aug 17 7:34:42 2007

--- In c...@yahoogroups.com, Jeff Brower <jbrower@...> wrote:
>
> Moranjkic-
> 
> >   I have one problem about memory. When I am trying to write in
EXTMEM I do not
> > have problem but I have problem when I am reading same data from
external memory.
> > I do not see it as same data as I save it. For example: if  I
write  data in
> > external memory and
> >   if I read it it read first byte then 5th byte then 2nd then 6th,
and so on.
> > I found out that if I am writing data as float data type I can
read it without
> > any problem, it means I read same data I wrote.
> > 
> >   Does anyone know how to solve this problem? Or if anyone hase
suggestion it
> > is welcome.
> >   Is there any other way to read data and to get correct value?
> 
> If you can write 32-bit data Ok but not 16-bit or 8-bit data, then I
suggest to
> carefully check the byte-enable lines from 55x to the SDRAM (or
SRAM) devices.  These
> are lines labeled /EMIF_BEn on the 55x and typically labeled
something like /BLE and
> /BHE (for 16-bit wide mem device).
> 
> For example, if all /BLE and /BHE lines (2 on each x16 chip) are GND
instead of
> connected to DSP, then you would get exactly the problem you describe.
> 
> -Jeff
>
Hi All,

I just want to say that this forum give me great advices.
I want to thank Jeff.

Thanks
Adnan Moranjkic



(You need to be a member of c55x -- send a blank email to c55x-subscribe@yahoogroups.com )