This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SDRAM issue

Hi All,

We have interfaced 1 SDRAM to LPC3250 (Lower 16 bit data line) .This SDRAM is from Micron technolgies 32 MB(MT48LC16M16A2).

Now problem is that we are not sure whether ,can we run our application code from the SDRAM ,because access from processor will be 32 bit wide , since we didn't connected anything on upper data line we will read junk values .

After seeing the refrence schematics provided by NXP we concluded that there is mistake in our hardware we should have connected 2 SDRAM (one on upper 16 bit and othe on Lower 16 bit) .

Question :

Is there still some way to run our code , can we build our code with THUMB instruction (16 bit)and run the code.

Please give your valuable feedback.

Thanks & Regards
Sumit

Parents
  • Hi all,

    To the earlier post we would like to add another observation

    if write happens only on location which are offset of 2 starting from 0x80000002, when we are reading nothing is written into memory please refer below log for clarity

    Write :
    Mem Loc: value

    0x80000002 0x2222
    0x80000006 0x4444
    0x8000000A 0x6666

    Read :
    Mem Loc: value
    0x80000000 0x33cc
    0x80000002 0x33cc
    0x80000004 0x33cc
    0x80000006 0x33cc
    0x80000008 0x33cc
    0x8000000A 0x33cc

    Please throw some light on the matter

    Thanks & Regards
    Sumit

Reply
  • Hi all,

    To the earlier post we would like to add another observation

    if write happens only on location which are offset of 2 starting from 0x80000002, when we are reading nothing is written into memory please refer below log for clarity

    Write :
    Mem Loc: value

    0x80000002 0x2222
    0x80000006 0x4444
    0x8000000A 0x6666

    Read :
    Mem Loc: value
    0x80000000 0x33cc
    0x80000002 0x33cc
    0x80000004 0x33cc
    0x80000006 0x33cc
    0x80000008 0x33cc
    0x8000000A 0x33cc

    Please throw some light on the matter

    Thanks & Regards
    Sumit

Children
No data