TDA4VL-Q1: The application layer has repeatedly read the temporary write protection status of EMMC through CMD30, but the results are inconsistent

Part Number: TDA4VL-Q1

Tool/software:

Hi expert,

My SDK version is pdk_j721s2_08_05_00_36.

When I tried to obtain the temporary write protect status of a specified address using the MMCSD_v2_getUdaWriteProtectStatus () function, I found that the result returned correctly the first time, but returned an error result the second time I read it.

As shown below, I intentionally filled the specified feature value 0xA5 with u8_boot_wpStatus [4]. The first time I obtained the temporary write protect status, u8_boot_wpStatus was updated to the correct return value, but the second time it returned 0xA5A5A5A5 directly, indicating that the underlying driver did not pass the correct value back during the second call

The DATA0 waveforms obtained from the EMMC response during these two readings are as follows:

May I ask why this APL did not return the correct value for the second time? How to debug this issue?

best regards!

wl.wang