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.

AM1808 using DDR2

Other Parts Discussed in Thread: AM1808

Hi, 

I'm using DDR2 sdram in my AM1808 board, but DDR2 is not support in TI's SDK, so, any tips how to modify the kernel to support DDR2 ?

 

Best regards,

Power Pan

  • You should be able to rebuild the UBL to update the DDR2/mDDR config registers. The source comes with the SDK, and you check your DDR2 settings using a GEL file to make sure they work before building them into the UBL.

    Jeff

  • Hi, Jeff, 

     

    thanks for replying.

    where could I get the UBL of hawkboard? I downloaded the spread sheet to calculate the DDR2 register, but, don't know how to fill the form to get correct value, is there any explain how to use the spreadsheet?

     

    Best regards,

    Power Pan

  • Instructions on using the spreadsheet are on the wiki: http://processors.wiki.ti.com/index.php/Programming_mDDR/DDR2_EMIF_on_OMAP-L1x/C674x

    Just get the datasheet for the memory device you are using and plug in the timing parameters required.

    Hawkboard does not use a UBL. It converts U-boot to AIS format and boots it directly. You can use a hex editor to look at the U-boot AIS file and see what the DDR registers were configured to that way.

    Jeff

  • Hi, Jeff,

    still some green clock blank don't know what to fill, like IBANK_POS, DDR2EN TIMING_UNLOCK .... is it matter? 

    and saw the DDR2 SPEC, there are 2 mode registers in DDR2, so AM1808 will output default setting to those register without our setting the value, right?

    anyway, we'll try first, cause we change the DDR2 memory, and making it work is kinder embarrassing, both software engineer and hardware engineer will have a headache how to deal with the case, do you have any reference how to debug this using CCS? our ccs for linux always crashes and CCS4 could not compile the UBL the first after import the free license file, it makes things even tough.

    like import project-> build -> target->launch TI debugger(or debug active project? -> load gel file, then ?

     

    regards,

    Power Pan

  • IBANK_POS should be 0. TIMING_UNLOCK should be 0 also.

    After you are connected to the target, open up the memory window to 0xC0000000 and try to write values there. If your DDR is configured correctly you should be able to read and write to that memory window.

    Jeff

  • Hi, jeff, 

    there is memory test in BSL of logicPD package, I run the test, my DDR2 could run up to 204M, what will be the highest frequency supported by AM1808?

    Regards,

    Power Pan