This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

DM365 erasing issue with low power DDR2

Hi all,

I am working on the custom DM365 Board, with all parts same as DM365 EVM except low power DDR2.

We are using the DDR2 part number MT47H64M16HR-3L:H.  

We are not able to erase the nand and flash the images also. 

The log as below:
Waiting for SFT on the DM36x...
Target: Starting UART Boot...
Target: BOOTUBL
BOOTUBL commmand received. Returning CMD and command...
CMD value sent. Waiting for DONE...
Target: DONE
DONE received. Command was accepted.
Target: BOOTME

        Target:	BOOTME


Please can anyone help out me.

Thanks,

lokesh

  • Hi,

    I think you will have to change DDR timing and configuration registers in UBL and flashing tool,
    according to your DDR datasheet and sprufi2.pdf.
    Configuration is in file device.c,  function  DEVICE_DDR2Init().

    Regards.

     

  • Hi Marko,

    Thanks for the reply. I have changed the DDR timing and configurations in flashing tool.

    I have changed all the configurations according to the the gel files of DM365EVM Revf.

    The only change i can see between EVM DDR and our DDR is low power mode.

    EVM DDR : MT47H64M16HR-3:E

    Our DDR :  MT47H64M16HR-3L

    Still I am facing the same issue

    Please suggest something on this.

    Thanks 

    Lokesh

  • Hi Lokesh.

    I am sorry it didn't work. Yes, it seems the only difference between those two DDRs is that -L is for low power.
    I dont really have experience with low power mode, i hope someone who have experience with that DDR  can help you.
    But i did try several other Micron MT47H64M16  models : -25, -25E, -187E.
    I also had problems until properly set  memory registers in UBL, like :
    - UBL did not start,
    - UBL stoped in the middle,
    - Linux frozen at  boot up,
    - aplication frozen when encoding is started;
    - board is randomly frozen after some time (working from 1 minute to  several hours).

    After i properly set memory registers for specific DDR model in device.c in DEVICE_DDR2Init() registers SDCR, SDRCR, SDTIMR SDTIMR, everything works fine with all DDR models.
    Reference is  TI  sprufi2.pdf  and  Micron  4561GbDDR2.pdf .

    I usually use  dm3xx_sd_boot-6.1 utillity for flashing from SD card, in that way i only have to change UBL, not gel.

     

    Regards.