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.

RTOS/AM5728: boot from sd card and the app stopped at Fvid2_start()

Part Number: AM5728

Tool/software: TI-RTOS

My project is test well by xds200. So I created the app and copy the MLO and app into the sdcard. The MLO is good and the app start. But, when app goto Fvid2_start(), the app stopped. I am so confused. And I check the CM_CORE_AON__VPE, VPE_PRM, and CM_CORE__CAM register. The register is same. Can you give me some advice to make it work?

  • Is there some special register need to enable in the MLO? I check my gel files and sbl files, but I didn't find the difference.
  • Hi,

    Can you clarify what Processor SDK RTOS release you used for test? In the GEL file, there are calls to enable DSS:

    prcm_set_clkdomain_state(DSS_CM_CORE, DSS_CM_CORE__CM_DSS_CLKSTCTRL, SW_WKUP );
    prcm_set_dss_mode(DSS_CM_CORE, DSS_CM_CORE__CM_DSS_DSS_CLKCTRL, MODE_ENABLED );

    They may not in the inside the SBL/MLO.

    Also, what is the application? Is it one of the driver examples under \drv\vps or it is your own application?

    Regards, Eric
  • Thanks for your reply.
    My pdk is pdk_am57xx_1_0_13.
    My application use camera capture image then solve it. It is like vps_lookbackExample. And I place the vps app into the SD but it didn't work too. I found there are
    CSL_FINST(dssCmReg->CM_DSS_DSS_CLKCTRL_REG, DSS_CM_CORE_CM_DSS_DSS_CLKCTRL_REG_MODULEMODE, ENABLED);

    in the evmAM572x_clock.c. So the DSS should be enabled. Can you give me a aviliable MLO or a board_lib? I think this will be the good ways to make me find the key to solve it.
  • Hi,

    Thanks for the info! I checked team here and VPS test failure using MMCSD boot (MLO+APP) is a known issue and tracked in our bug tracking system, the planned fix is end of Q2 2019.

    Please use the JTAG/CCS approach to develop/test your application till we fixed in using boot-loader. Sorry for this!

    Regards, Eric
  • Can you force the pace? My project will end in April. It's too short time to change my design.


    And can you give me a bug list to let me avoid the problem?


    In the Linix, is there same bug?


    Please help me, and this bug is so serious.
  • If I didn't use FVID2, is there other way to capture the image? I just want to get the image quickly.
  • Hi,

    We release Processor SDK RTOS every quarter, the next one is already in code freeze and planned to GA end of Q1. After that, there is one by the end of the Q2, where we planned to fix this issue.

    I will raise your concern, but requiring a fix by the end of April is very hard. This involves in debug/test/release cycle.

    In the Linix, is there same bug? >>>> I am not sure you meant use Linux host PC for processor SDK RTOS? If yes, the bug is the same. If you use Linux OS running on AM57x (that is Processor SDK Linux), this should work.

    If I didn't use FVID2, is there other way to capture the image? I just want to get the image quickly. >>> No, capture image is done via VIP using FVID2 API, if you use Processor SDK RTOS.

    >>>>My project will end in April. It's too short time to change my design. >>>> If you don't mind, can you explain what is your final product, how the AM572x is used, how it booted, the production timeline, and AM572x volume info? Please don't put any sensitive information here.

    Regards, Eric
  • I need the am5728 to capture image and decode it. That is my most important task. I need to boot the MLO and app from SDcard or emmc. Now, I'm stuck here. May be you can give me another solution. And I wang to send you other private information but I can't find the way.
  • Hi,

    I sent you a "friendship request" in E2E, please accept that. Then you should be able to send me private information.

    Regards, Eric

  • Is AM437x has the same problem? I will check the request. Thank you.
  • Hi,

    RTOS VPS driver only supports the AM57x device, not the AM437x.

    Regards, Eric
  • Hi,

    This issue was recorded in TI internal bug tracking system and was assigned to engineer team to investigate. The fix is preliminarily planned in the PRSDK RTOS 6.0 release (by end of Q2 2019). Please check with that release once is available. I am closing this thread.

    Regards, Eric