DSPRelated.com
Forums

SDRAM in Our Custom board is unable to write...

Started by mall...@yahoo.co.in November 22, 2008
Hi!

I have custom Bf532 board which is having SDRAM MT48LC16M8A2
According to the datasheet i have written SDRAM regisers.All the previous boards are working properly...But, we have newly soldered one board...in that if i want to write any data it is giving the following error and asking to disconnect....
"Data verification is failed at address :0x00000000
Expected 0x22 ,Found 0x33
Unable to write memory
As the Previous boards are working for the same settings, i don't think so it is any software problem.........

Give me a clue.....what may be the reason.......

thank u..
Check power and ground. I bet you have a cold solder joint or a short
between address or data pins. You might need a microscope to look at it!

On Sat, 22 Nov 2008 m...@yahoo.co.in wrote:

> Hi!
>
> I have custom Bf532 board which is having SDRAM MT48LC16M8A2
> According to the datasheet i have written SDRAM regisers.All the previous boards are working properly...But, we have newly soldered one board...in that if i want to write any data it is giving the following error and asking to disconnect....
> "Data verification is failed at address :0x00000000
> Expected 0x22 ,Found 0x33
> Unable to write memory
> As the Previous boards are working for the same settings, i don't think so it is any software problem.........
>
> Give me a clue.....what may be the reason.......
>
> thank u..
>
thank u for u r reply........

I have checked connections for SHorts , ididn't find any...
I have checked the address and data line connections they are not shorted to each other.....

even i have checked the whole IC But ididn't find any short circuit...
First , ithought i want to check the IC without desoldering it..but i think i have desolder it ....

thank u.........
is there ant other way i can check

Hi!
>
>I have custom Bf532 board which is having SDRAM MT48LC16M8A2
>According to the datasheet i have written SDRAM regisers.All the previous boards are working properly...But, we have newly soldered one board...in that if i want to write any data it is giving the following error and asking to disconnect....
>"Data verification is failed at address :0x00000000
>Expected 0x22 ,Found 0x33
>Unable to write memory
>As the Previous boards are working for the same settings, i don't think so it is any software problem.........
>
>Give me a clue.....what may be the reason.......
>
>thank u..
>
>
Write a simple program to write and read the sdram. See what patterns you
get for one bit set in each bit location and one bit clear in each
location.

Check your power supply too.

It'll be simple to fix once you find the problem, but finding the actual
problem is always hard!

On Mon, 24 Nov 2008 m...@yahoo.co.in wrote:

> thank u for u r reply........
>
> I have checked connections for SHorts , ididn't find any...
> I have checked the address and data line connections they are not shorted to each other.....
>
> even i have checked the whole IC But ididn't find any short circuit...
> First , ithought i want to check the IC without desoldering it..but i think i have desolder it ....
>
> thank u.........
> is there ant other way i can check
>
> Hi!
> >
> >I have custom Bf532 board which is having SDRAM MT48LC16M8A2
> >According to the datasheet i have written SDRAM regisers.All the previous boards are working properly...But, we have newly soldered one board...in that if i want to write any data it is giving the following error and asking to disconnect....
> >"Data verification is failed at address :0x00000000
> >Expected 0x22 ,Found 0x33
> >Unable to write memory
> >As the Previous boards are working for the same settings, i don't think so it is any software problem.........
> >
> >Give me a clue.....what may be the reason.......
> >
> >thank u..
> >
> >
> >
>
iam sorry iam little bit late for reply..
Thank u for ur reply

I have tested SDRAM these days ...i got some results

First i don't want to desolder the SDRAM...,If there is no other possibility then only i have desolder it......

I have checked the Address signals and Data signals in DSO....they are OK..generating properly....

I have checked the SDQM0,1 lines and the BA0,1(Bank Select lines) they are OK...

I don't know the reason for this random behavior..

when iam trying to write 0x0 location(address) with different values(data), all the other locations(only even locations 0,2,4,6,8...0x186a0) values are modifing.......

just an Ex:
when iam writing Odd no's(1,3,5,..) no change in other location data values iam observing..

But, when iam writing the Even values iam observing the change in other location values in a systematic fashion...iam just giving that pattern
if iam putting 0x02 in the first location(0x0), then locations(2,4,6..0x186a0) are modyfiing with 0x2
with 04 in 0x0 location----->00 (2,4,6,8..0x186a0)
with 06---------------------02
with 08---------------------08
with 0A---------------------0A
with 0C---------------------08
with 0E---------------------0A
with 0x10-------------------00
with 0x12-------------------02
with 0x14-------------------00
with 0x16-------------------02
with 0x18-------------------08
with 0x1A-------------------0A
with 0x1C-------------------08
with 0x1E-------------------0A
with 0x20-------------------20

...........................

i didn't faced any problem like this.....and one more important thing for me is the already this SDRAM in our old boards is working properly.....

this newly soldered PCB only giving Problem.....

Thank u..

Hi!
>
>I have custom Bf532 board which is having SDRAM MT48LC16M8A2
>According to the datasheet i have written SDRAM regisers.All the previous boards are working properly...But, we have newly soldered one board...in that if i want to write any data it is giving the following error and asking to disconnect....
>"Data verification is failed at address :0x00000000
>Expected 0x22 ,Found 0x33
>Unable to write memory
>As the Previous boards are working for the same settings, i don't think so it is any software problem.........
>
>Give me a clue.....what may be the reason.......
>
>thank u..
>
>
Hi ,

I faced a similar problem on BF561 EZ KIT Board .
But wanted to check the board so i enabled all the STAMP switch for POST
check and after this was over .
I dont know the reason but it started to work with out any problems .
Later i check Video in out which uses the SDRAM and could see the proper
working
I dont really remember the problem .
On Mon, Dec 1, 2008 at 9:38 PM, wrote:

> iam sorry iam little bit late for reply..
>
> Thank u for ur reply
>
> I have tested SDRAM these days ...i got some results
>
> First i don't want to desolder the SDRAM...,If there is no other
> possibility then only i have desolder it......
>
> I have checked the Address signals and Data signals in DSO....they are
> OK..generating properly....
>
> I have checked the SDQM0,1 lines and the BA0,1(Bank Select lines) they are
> OK...
>
> I don't know the reason for this random behavior..
>
> when iam trying to write 0x0 location(address) with different values(data),
> all the other locations(only even locations 0,2,4,6,8...0x186a0) values are
> modifing.......
>
> just an Ex:
> when iam writing Odd no's(1,3,5,..) no change in other location data values
> iam observing..
>
> But, when iam writing the Even values iam observing the change in other
> location values in a systematic fashion...iam just giving that pattern
> if iam putting 0x02 in the first location(0x0), then
> locations(2,4,6..0x186a0) are modyfiing with 0x2
> with 04 in 0x0 location----->00 (2,4,6,8..0x186a0)
> with 06---------------------02
> with 08---------------------08
> with 0A---------------------0A
> with 0C---------------------08
> with 0E---------------------0A
> with 0x10-------------------00
> with 0x12-------------------02
> with 0x14-------------------00
> with 0x16-------------------02
> with 0x18-------------------08
> with 0x1A-------------------0A
> with 0x1C-------------------08
> with 0x1E-------------------0A
> with 0x20-------------------20
>
> ...........................
>
> i didn't faced any problem like this.....and one more important thing for
> me is the already this SDRAM in our old boards is working properly.....
>
> this newly soldered PCB only giving Problem.....
>
> Thank u..
> Hi!
> >
> >I have custom Bf532 board which is having SDRAM MT48LC16M8A2
> >According to the datasheet i have written SDRAM regisers.All the previous
> boards are working properly...But, we have newly soldered one board...in
> that if i want to write any data it is giving the following error and asking
> to disconnect....
> >"Data verification is failed at address :0x00000000
> >Expected 0x22 ,Found 0x33
> >Unable to write memory
> >As the Previous boards are working for the same settings, i don't think so
> it is any software problem.........
> >
> >Give me a clue.....what may be the reason.......
> >
> >thank u..
> >
> >
> >
> >
>
>

--
Thanking you
With best regards and wishes
Vatsa
On Mon, 1 Dec 2008 m...@yahoo.co.in wrote:

> iam sorry iam little bit late for reply..
> Thank u for ur reply
>
> I have tested SDRAM these days ...i got some results
>
> First i don't want to desolder the SDRAM...,If there is no other possibility then only i have desolder it......
>
> I have checked the Address signals and Data signals in DSO....they are OK..generating properly....
>
> I have checked the SDQM0,1 lines and the BA0,1(Bank Select lines) they are OK...
>
> I don't know the reason for this random behavior..
>
> when iam trying to write 0x0 location(address) with different values(data), all the other locations(only even locations 0,2,4,6,8...0x186a0) values are modifing.......
>
> just an Ex:
> when iam writing Odd no's(1,3,5,..) no change in other location data values iam observing..
>
> But, when iam writing the Even values iam observing the change in other
>location values in a systematic fashion...iam just giving that pattern
> if iam putting 0x02 in the first location(0x0), then
>locations(2,4,6..0x186a0) are modyfiing with 0x2
> with 04 in 0x0 location----->00 (2,4,6,8..0x186a0)
> with 06---------------------02
> with 08---------------------08
> with 0A---------------------0A
> with 0C---------------------08
> with 0E---------------------0A
> with 0x10-------------------00
> with 0x12-------------------02
> with 0x14-------------------00
> with 0x16-------------------02
> with 0x18-------------------08
> with 0x1A-------------------0A
> with 0x1C-------------------08
> with 0x1E-------------------0A
> with 0x20-------------------20

It sure looks to me like the address lines are busted inside the chip.
The only way to check that is to remove the chip and put it on one of
your old boards and see if that is ok.

But I guess I'm a touch confused - if you write 00 to every address and
read back every address, do you get 00? If you write 01, to just address
00, do you get back 00 from _all_ locations?

You should write 01, 02, 04, 08, 10, 20, 40 and 80 to location 0 after
zeroing all ram and then read back all ram. If some bits come back from
all locations, then ram is busted.

But to be sure you'd need to remove a bad ram from a new board and place
it on an old board. If that does not fail - your board has a wiring
problem somewhere. Figuring that out is obviously not a trivial thing to
do.

Patience, persistence, truth,
Dr. mike