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.

TDA2P-ACD: U-Boot isolate_io function is failed

Part Number: TDA2P-ACD
Other Parts Discussed in Thread: TDA2

Hello.

We made the custom board with TDA2P-ACD chip.
And I tried to boot using SD CARD with MLO and u-boot.img in it.
But it didn't boot.
TDA2P EVM board with the same firmware boot well.

When I checked the log by quickly initializing the UART in SPL, I got an error "IODELAY: Isolation of Device IOs failed" in the function __recalibrate_iodelay_end in the file dra7xx_iodelay.c.
And I found out that the error occurred because the code below returned an error.
----------------------------- In dra7xx_iodelay.c ----------------------------
static int isolate_io(u32 isolate)
{
if (isolate) {
clrsetbits_le32((*ctrl)->control_pbias, SDCARD_PWRDNZ,
SDCARD_PWRDNZ);
clrsetbits_le32((*ctrl)->control_pbias, SDCARD_BIAS_PWRDNZ,
SDCARD_BIAS_PWRDNZ);
}

/* Override control on ISOCLKIN signal to IO pad ring. */
clrsetbits_le32((*prcm)->prm_io_pmctrl, PMCTRL_ISOCLK_OVERRIDE_MASK,
PMCTRL_ISOCLK_OVERRIDE_CTRL);
if (!wait_on_value(PMCTRL_ISOCLK_STATUS_MASK, PMCTRL_ISOCLK_STATUS_MASK,
(u32 *)(*prcm)->prm_io_pmctrl, LDELAY)) {
return ERR_DEISOLATE_IO << isolate; <-----------------
}
------------------------------------------------------------------------------

I'd like to know why this happens.

------------------------------------ Full log ------------------------------------
U-Boot SPL 2016.05-00010-g9551b3d-dirty (Apr 10 2020 - 17:10:32)
DRA762-GP ES1.0
IODELAY: Isolation of Device IOs failed
Leveling timeout on EMIF1
SDRAM: identified size not same as expected size identified: 4 expected: 40000000
----------------------------------------------------------------------------------

Best Regards,
Yousik Kim.

  • Hi Yousik,

    2016.05 was about 4 years old now.
    There can be multiple factors for this to fail like board design, aging of the device, total power on hours of
    the device.

    Is it failing always? We had customers reporting occasional failure on some TDA2 devices in the past.

    Can you Kindly migrate to the latest SDK for DRA7:
    http://downloads.ti.com/infotainment/esd/jacinto6/processor-sdk-linux-automotive/6_00_00_03/index_FDS.html

    Best Regards,
    Keerthy

  • Hi Keerthy,

    It always fails.
    This is the board we've made recently and it's first test.

    We are using PROCESSOR_SDK_VISION_03_07_00_00, and U-Boot received from this SDK was 2016.05.

    It worked fine on the EVM board, so I think this is a H/W problem.
    But I am not sure which part to look at about this problem.

    Isolation Sequence part of "20.4.6.1.7 Isolation Requirements" of TDA2Px TRM document is failing.
    I want expert advice.

    Best Regards,
    Yousik Kim.

  • Hi Yousik Kim,

    You are right this most certainly looks like Hardware board design issue(IO related). I am definitely
    not the expert in the board design front. May be you will have to share more hardware details in a different
    new query that could be assigned to right hardware expert. From bootloader side if you nothing else
    to ask for i would request you to resolve this issue and raise a new one with more hardware details
    so it can assigned to right expert.

    Best Regards,
    Keerthy