DSPRelated.com
Forums

writing to sdram in a ts101 rev 1.3 board

Started by aman...@yahoo.com January 31, 2006
Hi friends!

i'm having a relatiively trivial problem of writing a long data to sdram of a ts101 rev1.3 board using DMA or otherwise. If data length is equal to 512 words(page boundary), there is no problem, but for larger data, it is not happening properly... data gets written but not correctely... specifically, write to the last page gets repeated on the previous pages also.i hav tried everything: memory fill option, writing from file, dma etc. If anyone has encountered the same prob.(not necessarily on same processor) and suggest a solution i'll be vry thankful

aman


On Tue, 31 Jan 2006 amanrsian@aman... wrote:

> Hi friends!
>
> i'm having a relatiively trivial problem of writing a long data to sdram of a ts101 rev1.3 board using DMA or otherwise. If data length is equal to 512 words(page boundary), there is no problem, but for larger data, it is not happening properly... data gets written but not correctely... specifically, write to the last page gets repeated on the previous pages also.i hav tried everything: memory fill option, writing from file, dma etc. If anyone has encountered the same prob.(not necessarily on same processor) and suggest a solution i'll be vry thankful
>

Sounds like address bits are not getting set. Stop at the boundary and
single step it if you can to watch the internal dma registers. Sorry I
don't know anything about this particular processor.

Patience, persistence, truth,
Dr. mike



Please check setting of EBIU_SDBCTL register.
Try following.
If your SDRAM size is 32MB, then use EBIU_SDBCTL = 0x0013