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.

TDA4VM: how to improve ospi boot time

Part Number: TDA4VM

Hi.

expert.

I ported nor flash device. (micron MT35XU01GBBA -> cypress S28HS01GTGZBHB030)

After I tested boot time Cypress flash is a little slower. 0.8 seconds (micron boot time 1.9 sec -> cypress boot time 2.7 sec)

In the sbl_ospi.c file, the ospi option uses the SOC_J7200 option
Which option should I use to reduce boot time?(dac enable ,phy enable...)
bootloader: SBL

sdk version: 7_1

os: QNX

  • Hello TI support,

    My name is Scott, Infineon memory solutions (ex-Cypress) product application engineer. We would be grateful if the TI engineering support representative could actively respond to the above issues. The above issue has a serious impact on our business and we have a tight schedule with the issue resolved by next week.

    The 0.8 second slower boot time is difficult to acceptable for us as we can't review TI's system software including boot loader. As far as we know, there is no flash programming/erasing operations in the booting process, and SPI NOR flash memory using the same serial clock frequency provides the same read performance, so there is no reason to slow down the boot completion time. I would like to ask you to check whether TI's software is configured to use the maximum read performance of our octal flash memory with the octal DDR interface (8D-8D-8D) enabled.

    Please check if the octal DDR interface (8D-8D-8D) of our flash memory can be activated on time, or if any flash configuration is being set to the volatile configuration registers at every booting, or if the legacy SPI 1S-1S-1S is not being used for booting. In addition, if you have any questions about the flash memory interface, please let us know at any time. You also contact me at the following email address.

    Scott Heo

    Email: Scott.Heo@Infineon.com

    Product Applications Engineering, Flash Solutions, Memory Solutions

    An Infineon Technologies Company

    www.infineon.com

  • Hi Scott,

    Please share the following details:
    1) How are you profiling your boot time?
    2) Please share the changes done to use the cypress flash with j721e
    3) Please run the ospi flash testapp available at <PDK>\packages\ti\drv\spi\test\ospi_flash\src at you end and share the logs.

    Regards,
    Parth

  • Hello Parth,

    Thank you for your prompt replying. I presume that Youngwon Cho, my customer is able to reply to your inquiries since we Infineon do not have H/W platform designed by him. Thanks again.

    Hello Youngwon Cho,

    Could you please provide reply to TI's inquiries?

    Best regards,
    Scott Heo

  • 3) Please run the ospi flash testapp available at <PDK>\packages\ti\drv\spi\test\ospi_flash\src at you end and share the logs.

    MCU Boot Task started at 3181 usecs and finished at 40431177 usecs
    [INFO] App start!
    
     OSPI RCLK running at 133333333 MHz.
    
     OSPI UT 7
    
    
     OSPI flash test slave to write tuning data to flash
    
     Board_flashOpen elpased time 77 us
    
     OSPI NOR device ID: 0x5b1b, manufacturer ID: 0x34
    

    In code Board_flashWrite() is hanged.

    Could you modify "main_ospi_flash_test.c" code? I think that this code is updated for xSPI.

    Thank you.

  • Hi,

    Can you try using the main_ospi_flash_test.c ? 

    Also, please share the other details mentioned in the previous query.

    Regards,
    Parth