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.

PROCESSOR-SDK-J784S4: eMMC interrupt withou data operation

Part Number: PROCESSOR-SDK-J784S4


Tool/software:

Hi

From time to time we are seeing the following Linux kernel message:

mmc0: Got data interrupt 0x00200000 even though no data operation was in progress.
mmc0: sdhci: ============ SDHCI REGISTER DUMP ===========
mmc0: sdhci: Sys addr:  0x00000000 | Version:  0x00001004
mmc0: sdhci: Blk size:  0x00007080 | Blk cnt:  0x00000001
mmc0: sdhci: Argument:  0x00000000 | Trn mode: 0x00000013
mmc0: sdhci: Present:   0x01ff00f0 | Host ctl: 0x0000003c
mmc0: sdhci: Power:     0x0000000b | Blk gap:  0x00000080
mmc0: sdhci: Wake-up:   0x00000000 | Clock:    0x00000007
mmc0: sdhci: Timeout:   0x00000000 | Int stat: 0x00000000
mmc0: sdhci: Int enab:  0x03ff000b | Sig enab: 0x03ff000b
mmc0: sdhci: ACmd stat: 0x00000000 | Slot int: 0x00000000
mmc0: sdhci: Caps:      0x7cecc801 | Caps_1:   0x98002407
mmc0: sdhci: Cmd:       0x0000153a | Max curr: 0x00000000
mmc0: sdhci: Resp[0]:   0x00000000 | Resp[1]:  0xffffffff
mmc0: sdhci: Resp[2]:   0x328f5903 | Resp[3]:  0x00d00f00
mmc0: sdhci: Host ctl2: 0x00000003
mmc0: sdhci: ADMA Err:  0x00000000 | ADMA Ptr: 0x0000000080f69200
mmc0: sdhci: ============================================

This has been seen on SDK 9.2 / 10.1 / 11.0.

The device tree is:

&main_sdhci0 {
	/* eMMC */
	status = "okay";
	non-removable;
	ti,driver-strength-ohm = <50>;
	disable-wp;
};

Can you assist fixing this issue, please?

Regards

Daniel

  • Hi Daniel,

    Sorry for the late reply.

    Can you help us with the following questions:

    • Are you using TI j784s4 evm or custom board.
    • What is the speed mode you are using?
    • Can you try and see if this same issue is reproduced on lower speed modes like legacy speed mode.
    • Can you also upload the entire logs in cases where the issue happens.

    Regards

    Gokul

  • Hi Gokul

    Are you using TI j784s4 evm or custom board.

    It's a custom board.

    • What is the speed mode you are using?
    • Can you try and see if this same issue is reproduced on lower speed modes like legacy speed mode.

    On SDK 9.2 we used HS200 mode and have seen this from time to time. On SDK 11.0 we are using HS400 mode and see it, too.

    Can you also upload the entire logs in cases where the issue happens.

    We haven't stored entire logs so far. Since this is very sporadic, I'll do it the next time.

    Regards

    Daniel

  • HI Daniel,

    Can you see if this issue is reproduced on lower speed modes like legacy speed mode.

    Also,it would be great with the logs in the issue case as it is hard to identify the root cause without the logs.

    Regards

    Gokul

  • Hi Gokul

    I don't know how I should test this. This is very sporadic and only happens from time to time.

    Do you have any idea how to stress this issue?

    Without the possibility to stress this issue I don't see any chance to test lower speeds. Change this in the productive version of our product is nothing we can do.

    Regards

    Daniel

  • HI Daniel,

    Sorry for the late reply.

    Can you try reducing the driver-strength parameter as below in the device tree and see if this issue is reproduced.


        

    &main_sdhci0 {
    	/* eMMC */
    	status = "okay";
    	non-removable;
    	ti,driver-strength-ohm = <33>;
    	disable-wp;
    };


    Regards

    Gokul