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.

OSPI example application



Hi, 

In pdk@psdk_rtos_auto_j7_06_01_00_15, 

Can any OSPI example application be used?

When I try to build flashwriter, there are some compiling errors .

ex.

psdk_rtos_auto_j7_06_01_00_15/pdk/packages/ti/boot/sbl/tools/flashWriter/qspi/src/sbl_qspi_writer.c:59:10: fatal error: ti/drv/mmcsd/soc/MMCSD_v1.h: No such file or directory
#include <ti/drv/mmcsd/soc/MMCSD_v1.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.

Which one is correct and usable now?

  • Hi,

    Can you post the build command that you are trying to use?

    And from which directory you are invoking the build?

    Regards,
    Prasad

  • Hi,

    Are you looking for OSPI flash writer or some example to verify the OSPI interface?

    Flash writer under SBL which you are trying to build is not meant for TDA4 platform, so you see build errors.

    You can use SPI driver example or OSPI diag test if you need some OSPI example. Please see below build instructions which need to be run from pdk\packages\ti\build folder

    SPI Driver example - make BOARD=j721e_evm CORE=<Core ID > OSPI_Flash_TestApp

    Diagnostic Test - make BOARD=j721e_evm CORE=<Core ID (mpu1_0 or mcu1_0)> ospi_board_diag

    Binary for driver example will be created at pdk/packages\ti\binary\OSPI_Flash_TestApp

    Binary for diag test will be created at pdk/packages/ti/board/bin

    - Pratap.

  • Hi,

    Are you looking for OSPI flash writer or some example to verify the OSPI interface?

    Flash writer under SBL which you are trying to build is not meant for TDA4 platform, so you see build errors.

    You can use OSPI driver example or OSPI diag test if you need some OSPI example. Please see below build instructions which need to be run from pdk\packages\ti\build folder

    OSPI Driver example - make BOARD=j721e_evm CORE=<Core ID > OSPI_Flash_TestApp

    Diagnostic Test - make BOARD=j721e_evm CORE=<Core ID (mpu1_0 or mcu1_0)> ospi_board_diag

    Binary for driver example will be created at pdk/packages\ti\binary\OSPI_Flash_TestApp

    Binary for diag test will be created at pdk/packages/ti/board/bin

    - Pratap.

  • Hi,

    I haven't heard back from you, I'm assuming you were able to resolve your issue.

    If not, just post a reply below (or create a new thread if the thread has locked due to time-out).

    - Pratap.