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.

TDA3: TDA3xx Example Image convert to an LPDDR2

Part Number: TDA3


Hello.

I am trying to create an image on the Custom Board of TDA3 + LPDDR2.

The final purpose is to verify that the I2C communication of the Custom Board is operating normally.

I would like to build the image by modifying the example file used in the Vision SDK UserGuide TDA3xx.pdf and check it using CCS boot.

※ Flow Summary
-------------------------------------------------- ---
PROCESSOR_SDK_VISION_03_04_00_00\ti_component_drivers\pdk_01_10_00_08\packages\ti\csl\example\i2c\i2c_led_blank

Add the contents of the this file to the example code of the UserGuide.

Use gmake to build the image file below.
vision_sdk_arp32_1_release.xearp32F
vision_sdk_c66xdsp_1_release.xe66
vision_sdk_c66xdsp_2_release.xe66
vision_sdk_ipu1_0_release.xem4
vision_sdk_ipu1_1_release.xem4

Boot the image using CCS Boot (UserGuide 3.7).

When boot CCS, select Scripts -> TDA3xx MULTICORE Initialization -> TDA3xx_MULTICORE_EnableCores, then select DDR Memory Setting -> LPDDR2 400Mhz.

All other parts are the same as the guide.
-------------------------------------------------- ---

I did this, but it did not run properly.

So I checked PROCESSOR_SDK_VISION_03_04_00_00\vision_sdk\apps\configs\tda3xx_evm_bios_all\cfg.mk file.

The file had DDR_MEM = DDR_MEM_512M and Supported values: DDR_MEM_512M DDR_MEM_128M.

How do I modify this image file for LPDDR2?

Thank you for your help.

(I've asked similar questions about booting qspi before, but this is a completely separate issue.)

  • Hi Kim,

    can you translate the non-English part of your post to English (or remove it if it is insignificant).

    Thanks,
    Yordan
  • It was my mistake.
    I uploaded all the translation process.
    Modified. Sorry.
  • Hi Kim,

    Do you want to modify the i2c led app and run on your custom board?
    you can build and run the pdk examples independently without loading vsdk images.

    Please follow the pdk user guide at pdk_01_10_00_08/docs/userguide/html/PDK_TDA_Software_Developer_Guide.html
    You can check the page for "csl" for details of the example.
    refer the "Building the PDK" page on how to build and run the examples.

    the example code does not configure the DDR separately, this is done in GEL/SBL.

    Regards,
    Prasad

  • Thank you for answer.

    This answer is very useful, but it's a bit different from what I want.

    What I want is to make sure that the image actually works on the Custom board.
    (This is because it works well on the TDA3 EVM board.)

    Does booting CCS using vsdk image with JTAG have anything to do with memory configuration when building image?

    For example, in VisionSDK_UserGuide_TDA3xx.pdf, we know that vsdk image is written to DDR3_512MHz when booting CCS.
    (I know that it is set to DDR3_512Mhz by default in Target Configuration File.)

    Is there any problem to use this vsdk image on TDA3xx LPDDR2_400MHz board or DM50x LPDDR2_400Mhz board without any changes?
    (Change DDR Memory Set to LPDDR2_400MHz by using Script.)

    Sorry I did not explain well.

    Thank you.
  • HI,

    In VSDK, we only configure DDR size.
    If you want to change DDR frequency then you have change it in SBL code and if you are loading the binaries from CCS then changes needs to be done in gel files.

    Regards,
    Anuj
  • I understood.
    Thank you!