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.

TDA4VH-Q1: [CEER] sf probe is not working after programming eFUSE

Part Number: TDA4VH-Q1

Hi Team,

TI PDK: 10.1
Bootloader: SPL

we were using is25lx256 NOR flash, we added included patch at uboot for ISSI NOR flash which we use.

We see that when we use HS-FS board sf probe reposnse is "OK".

But when we program eFUSE, and when we try sf probe we get error like below:

image.png

any idea on this?

Thanks,
Sriram

  • Hi ,

    Our expert is currently out of office. Please expect a delay in response until early December.

    Best,
    Jared

  • Sriram,

    How did you program the efuse? Did you use keywriter to convert from HS FS to HS SE?

    Can you share the boot logs?

    What is your dip switch settings?

    - Keerthy 

  • Did you use keywriter to convert from HS FS to HS SE?

    Hi Keerthy, Yes I have programmed OTP using keywriter.

    Debug reponse: 0x0

    Device is NOR bootmode, I have flashed keywriter software in 0x0 offset in NOR & did a POR.

    Thanks.
    Sriram

  • Sriram,

    Please share the complete U-Boot logs as a text file attachment before you key in 'sf probe' command.

    - Keerthy

  • PFA, these logs were captured when trying to flash tiboot3, tispl, uboot binaries from DFU boot mode to NOR flash.

    U-Boot SPL 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    SYSFW ABI: 3.1 (firmware rev 0x0009 '9.2.4--v09.02.04 (Kool Koala)')
    Trying to boot from DFU
    cdns-usb3-peripheral usb@6000000: Unable to get USB2 phy (ret -61)
    cdns-usb3-peripheral usb@6000000: Unable to get USB3 phy (ret -61)
    cdns-usb3-peripheral usb@6000000: DRD version v1 (ID: 0004024e, rev: 00000200)
    cdns-usb3-peripheral usb@6000000: Initialized  ep0 support:  
    cdns-usb3-peripheral usb@6000000: Initialized  ep1out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15out support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep1in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep2in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep3in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep4in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep5in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep6in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep7in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep8in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep9in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep10in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep11in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep12in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep13in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep14in support: BULK, INT ISO
    cdns-usb3-peripheral usb@6000000: Initialized  ep15in support: BULK, INT ISO
    ######DOWNLOAD ... OK
    Ctrl+C to exit ...
    Authentication passed
    Authentication passed
    
    
    U-Boot 2023.04-ti-gf9b966c67473 (Mar 19 2024 - 20:31:40 +0000)
    
    SoC:   J784S4 SR1.0 HS-SE
    Model: Aptiv OSPAS-120 TDA4VH
    EEPROM not available at 0x50, trying to read at 0x51
    Reading on-board EEPROM at 0x51 failed -121
    Board: OSPAS-120 rev A0
    DRAM:  2 GiB (effective 12 GiB)
    idle-statesCore:  88 devices, 34 uclasses, devicetree: separate
    tps6594-watchdog watchdog@12: Watchdog disabled successfuly
    WDT:   Started watchdog@12 with servicing every 1000ms (60s timeout)
    Flash: 0 Bytes
    MMC:   mmc@4f80000: 0
    Loading Environment from nowhere... OK
    In:    serial@2840000
    Out:   serial@2840000
    Err:   serial@2840000
    am65_cpsw_nuss ethernet@46000000: K3 CPSW: nuss_ver: 0x6BA02102 cpsw_ver: 0x6BA82102 ale_ver: 0x00293904 Ports:1 mdio_freq:1000000
    EEPROM not available at 0x50, trying to read at 0x51
    Reading on-board EEPROM at 0x51 failed -121
    Net:   Could not get PHY for ethernet@46000000port@1: addr 0
    am65_cpsw_nuss_port ethernet@46000000port@1: phy_connect() failed
    No ethernet found.
    
    Hit any key to stop autoboot:  0 
    => 
    => env default -f -a; setenv dfu_alt_info ${dfu_alt_info_ospi}; dfu 0 sf 0:0
    ## Resetting to default environment
    Failed to create SPI flash at 0:0:25000000:0
    DFU entities configuration failed!
    (partition table does not match dfu_alt_info?)
    dfu - Device Firmware Upgrade
    
    Usage:
    dfu <USB_controller> [<interface> <dev>] [list]
      - device firmware upgrade via <USB_controller>
        on device <dev>, attached to interface
        <interface>
        [list] - list available alt settings
    
    => sf probe
    Failed to initialize SPI flash at 0:0 (error 0)
    


    Thanks,
    Sriram

  • Sriram,

    There is a switch on EVM to use NAND Vs Nor.

    Can you check if your custom board has similar setting and if that is pointing to NOR?

    Also was this working as is on HS-FS?

    - Keerthy

  • Can you check if your custom board has similar setting and if that is pointing to NOR?

    Hi keerthy, Its pointing to NOR.

    Also was this working as is on HS-FS?

    This is working on HS-FS.


    Thanks.
    Sriram

  • Sriram,

    Can you just boot to U-Boot prompt & do not execute:

    env default -f -a; setenv dfu_alt_info ${dfu_alt_info_ospi}; dfu 0 sf 0:0

    Just try:

    sf probe

    Does that fail?

    - Keerthy

  • Does that fail?

    Yes this is also fails.

    Thanks,
    Sriram

  • Sriram,

    Is it possible to change the sample to HSFS on the failing board and see if HSFS works and only HSSE fails?

    - Keerthy

  • Is it possible to change the sample to HSFS on the failing board

    Is it possible make HS-SE board to HS-FS?

    Thanks,
    Sriram

  • If there is any socketed board and if there is a provision to swap samples on the same board.

    - Keerthy

  • ok   Will check this internally and let you know.

    Thanks,
    Sriram

  • Hi Keerthy,

    This is not possible. 

    what could be the issue ?

    Thanks,

    Nagabhushan

  • Hi Sriram, Nagabhushan.

    Conversion o device from HS-FS to HS-SE will not affect ospi by any means. Can we do a similar experiment in another sample/device ?

    Regards
    Diwakar