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.

System is not booting with new silicon revision

Other Parts Discussed in Thread: CCSTUDIO

Dear Ralph,

I am using the latest EZSDK, 5.03.01.15 for DM816x/ AM389x board. Previously I have used the part number TMS320DM8168BCYG2. Currently I am using TMS320DM8168CCYG2 part number with the same EZSDK. Seem only the silicon revision is changed with chip revision. In this case, my system is not at all booting.

So please suggest any solution to solve this issue and also I want to know what are changes needs to be done in the Software for new silicon revision chip.


Thanks in advance.

  • Hello Muhammad,

    The only difference between TMS320DM8168BCYG2 and TMS320DM8168CCYG2 is that the first one is silicon revision 2.0 and the second one is 2.1

    The difference between 2.1 and 2.0 are described in the DM816x silicon errata document.

    Muhammad Salih said:
    I am using the latest EZSDK, 5.03.01.15 for DM816x/ AM389x board.

    The latest EZSDK for DM816x is EZSDK 5.05.02.00

    The latest EZSDK for AM389x is EZSDK 5.04.00.11

    Muhammad Salih said:
    In this case, my system is not at all booting.

    As you are using old version of the u-boot, can you try switch to the newest u-boot available for DM816x device and try with it:

    http://arago-project.org/git/projects/?p=u-boot-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    Make sure you have this patch:

    http://arago-project.org/git/projects/?p=u-boot-omap3.git;a=commit;h=ca8a79a7462192d92106673fe4d62d48aee05624

    Best Regards,
    Pavel

  • Dear Pavel,

    Thank you very much for your prompt reply. Its already the below patch is applied in my source code.

    http://arago-project.org/git/projects/?p=u-boot-omap3.git;a=commit;h=ca8a79a7462192d92106673fe4d62d48aee05624

    Is it possible to do changes for the new silicon revision with my old source code instead of migrating to new one?.

    Thanks in advance

    Best Regards,

    Salih

  • Salih,

    Muhammad Salih said:
    Is it possible to do changes for the new silicon revision with my old source code instead of migrating to new one?

    Yes, you can change your current code instead of replace it with the new one. You should align your old u-boot with:

    http://arago-project.org/git/projects/u-boot-omap3.git?p=projects/u-boot-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    Regards,
    Pavel

  • Dear Pavel,

    Have I to do all the changes in the below patch files?

    Thanks in advance,

    Best Regards,

    Salih

  • Salih,

    Muhammad Salih said:
    Have I to do all the changes in the below patch files?

    If you just need to boot your 2.1 board, no, you do not need all these patches. You can first try with the u-boot from EZSDK 5.04.00.11 and see if you can successfully boot your 2.1 device. Then you can track and apply the patches between EZSDK 5.03.01.15 and EZSDK 5.04.00.11 and see which one(s) will fix this issue.

    http://software-dl.ti.com/dsps/dsps_public_sw/ezsdk/5_04_00_11/index_FDS.html

    In general, it will be good to align your u-boot with the latest release as you will fix other (not related to boot) issues.

    Regards,
    Pavel

  • Dear Pavel,

    Thank you very much for your support. I have downloaded the file ezsdk_dm816x-evm_5_04_00_11_setuplinux and tried to boot my system with U-boot source of it. But still I am not seeing any impact on my system behavior.

    Please let me know the difference between AM389X and DM8168 platforms.

    Currently I am downloading the file ezsdk_dm816x-evm_5_05_02_00_setuplinux from TI website.

    Thanks in advance

    Regards,

    Salih

  • Salih,

    Muhammad Salih said:
    Please let me know the difference between AM389X and DM8168 platforms.

    See the below guideline:

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/118980.aspx

    Muhammad Salih said:
    Currently I am downloading the file ezsdk_dm816x-evm_5_05_02_00_setuplinux from TI website.

    If you can not boot your board with this EZSDK and u-boot, then it might be a hardware issue.

    Best regards,
    Pavel

  • Dear Pavel,

    But I am not seeing any patches you have given in the below link which are applied with latest SDK U-boot source.

    http://arago-project.org/git/projects/u-boot-omap3.git?p=projects/u-boot-omap3.git;a=shortlog;h=refs/heads/ti81xx-master

    Seems like older only. Very of the changes are updated in the latest  SDK.

    Best Regards,

    Salih

  • Salih,

    The latest EZSDK (5.05.02.00) comes with PSP04.04.00.01 :

    ti-ezsdk_dm816x-evm_5_05_02_00/board-support/u-boot-2010.06-psp04.04.00.01

    The last u-boot patch is:

    ti81xx: nand: set buswidth correctly for 8/16 bit nands

    http://arago-project.org/git/projects/u-boot-omap3.git?p=projects/u-boot-omap3.git;a=commit;h=f8466a54a20c05484c1f3d179dfe7ed97e280ffd

    As you can see there are several patches on top, but these are not related to the silicon version detection, so you should be able to boot your 2.1 version with the u-boot from EZSDK 5.05.02.00

    Regards,
    Pavel

  • Dear Pavel,


    I have checked in the hardware side and I probed the DDR clock which is coming as per our expectation.  But still, I am not seeing any debug prints in my console. We are using DDR3 @796 MHz of frequency. Is there any related regarding DDR for 2.1 revision. SInce it is working fine with the Rev 2.0 board and of-course we are using the same DDR device for both the targets.

    I am struggling with this issue for very long and still its in the same status.

    Could please help me to pull out from this issue.

    Thanks in advance

    Regards,

    Salih

  • Muhammad,

    You are using EZSDK 5.05.00.02 and you still can not boot your DM816x PG2.1 custom board?

    DM816x u-boot has PG2.1 support with this patch:

    http://arago-project.org/git/projects/u-boot-omap3.git?p=projects/u-boot-omap3.git;a=commit;h=ca8a79a7462192d92106673fe4d62d48aee05624

    Muhammad Salih said:
    We are using DDR3 @796 MHz of frequency.

    Can you try at lower frequency, like 400MHz?

    http://processors.wiki.ti.com/index.php/TI81XX_PSP_UBOOT_User_Guide#Modifying_U-Boot_DDR3_frequency

    Muhammad Salih said:
    SInce it is working fine with the Rev 2.0 board and of-course we are using the same DDR device for both the targets.

    What is your boot source, is it MMC/SD card?

    May be DDR3 needs software leveling to run up. You can check at which stage your bootloader hang, with reading the trace vectors with CCStudio and JTAG. See the below links:

    DM816x TRM, section 25.12 Tracing, 25.3.2.3 RAM Exception Vectors, 25.3.2.4 Tracing Data


    http://processors.wiki.ti.com/index.php/Debug_Tips_for_DM81xx_Boot_Fail

    http://processors.wiki.ti.com/index.php/AM335x_board_bringup_tips

    http://processors.wiki.ti.com/index.php/DM816x_C6A816x_AM389x_DDR3_Init

    http://processors.wiki.ti.com/index.php/AM389x_C6A816x_DM816x_Hardware_Design_Guide

    http://processors.wiki.ti.com/index.php/AM389x_C6A816x_DM816x_Software_Design_Guide

    Regards,
    Pavel

  • Dear Pavel,

    Thank for your support. I have checked with low frequency in DDR. Seem like some hardware inductor causing this issue.

    Regards,

    Salih

  • Dear Pavel,

    I have tested with 675MHz of DDR frequency and its booting fine. But I am not able to do the same with 796Mhz.

    What can be issue in our target?.

    Please suggest me any solution to solve this issue.

    Thanks in advance.

    Regards,

    Salih

  • Muhammad,

    This is DDR3 timing parameters issue. Please go through the below wiki page to fine tune the DDR3 timing parameters for 796MHz:

    http://processors.wiki.ti.com/index.php/DM816x_C6A816x_AM389x_DDR3_Init

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/209423.aspx

    http://e2e.ti.com/support/dsp/davinci_digital_media_processors/f/717/t/281707.aspx

    Regards,
    Pavel

  • Dear Pavel,

    We are using XDS510 USB Emulator to run the DDR SW leveling test. I want to know what are the Target configurations needs to be set for TI8168 processor. We are using CCS v5 in Windows 7 PC. While trying to connect the target with emulator using CCS application, I am getting the below error message:

    IcePick_D_0: Error connecting to the target: Error 0x80000244/-2131 Fatal Error during: Register, Initialization, OCS,  Cannot access register at 0x00000000

    I want to know what might be the reason for this error message. Did I miss anything in the target configuration?.

    Please suggest any solution to solve this issue.

    Thanks in advance

    Regards,

    Salih

     

  • Salih,

    I have CCS v5.4.0 (linux version) in Ubuntu PC. From what I see at my side, you should select for your Target Configuration file:

    Connection: Spectrum Digital XDS510USB Emulator

    Board or Device: DM8168

    Then you can test your Target configuration with the "Test Connection" button - this run test which should be successful.

    Regards,
    Pavel