Causes of microSD card read failure

Dear support team.

We are using the following SoM and BSP to process SD card reading using a carrier board developed in-house.

We have noticed several times that SD cards cannot be loaded when the power is turned on at the customer’s site.
We are investigating the problem, but have not been able to identify the cause as it is not reproducible.

00581100: Verdin iMX8M Plus Quad 4GB Wi-Fi / Bluetooth IT
TorizonCore: version 6.2.0

Communication log between SoM + carrier board (host) ⇔ microSD (card) was checked using protocol analyzer,
Power initialization was performed without problems, but 2 out of 10 times (2nd and 9th), after power initialization,
The host was repeatedly sending the command CMD63 to the card, and the card was not responding,
The card was not responding, or there was a point where the response was not correct.

The log is attached.
https://share.toradex.com/s1fm93ohv4rusnj

Do you know why it is sending CMD63 repeatedly?
Is there a possibility that the repeated CMD63 commands are causing the SD card to not read properly?
Is this CMD63 command issued by the Toradex BSP driver?
If CMD63 is issued by Toradex’s BSP, is there any way to prevent CMD63 from firing repeatedly?

Thank you in advance.

Dear support team.

I just checked with the SD card manufacturer,
CMD63 commands were not supported.

In addition, CMD63 is not supported by the manufacturer of the SD card,
vendor-specific command.

Why does the BSP (driver) issue CMD63?
Also, is it possible to disable CMD63?

Please tell me.

Thank you in advance.

@alvaro.tx
補足です。
SDカードメーカーはSoMがSDカードに対して、CMD63を発行していると言っています。
またこのCMD63はSDカードでは定義していません。
(つまり、SDカードからはSoMに対して、CMD63は発行してないと言っています)

<SDカードメーカーの見解>
ご質問のあった”CMD63”についてご報告申し上げます。
SDカードの規格仕様書においてCMD63について"CMD60 …CMD63 Reserved for manufacturer"
との記載がございます。
CMD63は、SDカード、MicroSDカードの(製造、供給元)において個別に定義を行い使用される目的で
予約(Reserve)されているものです。お使い頂いているSDカードにおいては、CMD63には、定義がされていないことを確認しました。
すなわちCMD63は、使われていないコマンドでございます。
従いまして、ホストからのCMD63に対するMicroSDカードからの応答が今回のアドテック様からの
ご報告の結果となったと思われます。
どの様なホスト側のソフトウエアになっているかが判らないのですが、
当社としましては、ホスト側ソフトウェア内の当該CMD63に関係の部分をご確認、
あるいは、修正されることがご提案できるかと思います。

その上で、
・何故、BSP(ドライバー)が、このCMD63を発行しているのでしょうか?
・また、CMD63を無効化することはできるのでしょうか?

教えてください。

@kentaro

ご返信が遅れてしまい申し訳ありません。また、追加情報をありがとうございます。

SDカードに関してですが、NXPのiMX SDカードサブシステムをそのまま使用しており、標準のLinux SDサブシステムを使用しています。正直なところ、このCMD63が何をするのかは分からなくて、複数の製品で発生しない限り調査は難しいです。。。

このSDカードは他のLinuxホストで正常に動作しましたか?他のSoMではどうでしょうか?SDカード、SoM、またはキャリアボードのいずれかにハードウェアの問題がある可能性も考えられます。

以上、引き続きよろしくお願いいたします。
アルバロ。