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.

AM5729: AM5729: QSPI boot up issue

Part Number: AM5729
Other Parts Discussed in Thread: UNIFLASH,

Hi Anubhav,

Thanks for your help.

 In RTOS AM572x, i am able to flash my MLO and Bin app file throughu Uniflash. but i am facing QSPI BOOT-UP issue. Out of 10 times it's properly booting 7 times and 3 times it's not booting. Kindly check this  and help us to resolve this issue.

Regards,

Sathish

  • Hi,

    Can you explain more ? Sometimes teraterm connection can be the issue. Are you seeing SBL prints in those three times?

  • Hi Anubhav,

               yes i am seeing SBL prints 3 times. when i boot QSPI, application not working, only SBL boot up prints comes three times, MLO works.

    Regards,

    Sathish

  • Hi,

    I am little bit confused here. So, you are saying that after flashing the binaries, you are able to boot SBL all the time but application is not executing all the time. Am i correct? Can you share the logs for passing and failing cases?

  • Hi Anubhav,

                yes. you are correct  MLO SBL booting all the time. But application booting 7 times out of 10. 3 times application not booting. 

    Regards,

    Sathish

  • Hi Satish,

    I have few queries here:
    1) Which application are you trying to boot?
    2) On which core are you booting the application?
    3) Are you facing the same issue with all/multiple applications?
    4) When failing, does the execution stuck in sbl with app not getting loaded or failure happens during app execution?

    Also, can you please share the logs for failing and passing cases?

    Regards,

    Parth

  • Hi Parth,

    1) My project related application. Ex: app ( build project application file)

    2) AM5729 processor, CORE - A15 RTOS ENVIROMENT.

    3) yes. MLO booting all the time, Application booting 7 times out of 10 times. 3 times it's fail booting from QSPI. SD card MODE it's working fine.

    4) i think it's stuck with SBL. it's not started app file.

    --------------------------------------------------

    PASS LOG:

    **** PDK SBL ****
    SBL Revision: 01.00.09.02 (Oct 7 2021 - 10:37:19)
    Begin parsing user application
    **** PDK SBL ****
    SBL Revision: 01.00.09.02 (Oct 7 2021 - 10:37:19)
    Begin parsing user application
    Jumping to user application...

    TASK CREATED

    My custom application starts.

    -----------------------------------------------------------------

    above log TASK CREATED prints in my application. so my application is working fine.

    ------------------------------------------------------------

    FAIL LOG:

    **** PDK SBL ****
    SBL Revision: 01.00.09.02 (Oct 7 2021 - 10:37:19)
    Begin parsing user application
    **** PDK SBL ****
    SBL Revision: 01.00.09.02 (Oct 7 2021 - 10:37:19)
    Begin parsing user application
    Jumping to user application

    -----------------------------------------------------------------

    In above log it's stopped after "Jumping to user application". means my application is not working.

    Regards,

    Sathish

  • Hi Satish,

    It looks like for some reason SBL is not able to read app data properly when it is failing. Can you please validate the flash by running qspi diagnostic test multiple times and see if it is reading and writing properly. This will help us isolate, if the issue is with SBL or with the flash.

    Also, can you please share the qspi part number you are using?

    Regards,

    Parth

  • Hi Parth,

              Thanks.

               I Checked QSPI Diagnostic test multiple times. it's working fine.

              Our QSPI part numebr is "S25FL512SAGMFIR10".

    Regards,

    Sathisih

               

  • Hi Satish,

    My project related application. Ex: app ( build project application file)

    I tried to replicate the issue on my end by flashing eeprom diagnostic test on QSPI, I am able to boot the application all the time. Can you try flashing same example or (any other example) from the SDK and see if you are seeing the same behavior? 

    Regards,

    Parth

  • Hi Parth,

           i tried different application. but i am facing same issue. MLO always runnig, application not running all the time.

    Regards,

    Sathish

  • Hi Sathish,

    Can you try the following on your setup:

    1) Flash the MLO to QSPI

    2) Boot the board from QSPI flash

    3) Connect to A15 core without gel files.
        To remove the Gel files do the following:
        * Right click on the core and go to Open Gel File View
        * Right click GEL File window and click Remove All

    4) Load and run the QSPI diagnostic test.

    5) Repeat steps 2-4 multiple times and see if you are seeing any failure.

    Also, can you share the register dump for QSPI registers (0x4B300000 - 0x4B300070) for both the passing and failing cases.
    You can get the dump using Save Memory option from Memory Browser. 

    Regards,
    Parth

  • Hi Parth,

                   thanks for your support.

                   Now my QSPI is working properly. i am just removed my  "QSPI pinmux" in pinmux conffiguratiuon. can you please and confirm how it's worked. is there no issue in removing QSPI pinmux?

    Regards,

    Sathsih