# System reboot when SD CARD insert

**URL:** <https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188>\
**Category:** Jetson Xavier NX\
**Tags:** boot\
**Created:** [March 23, 2022, 9:53am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188 "2022-03-23T09:53:23Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![allison\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@allison\_chen](https://forums.developer.nvidia.com/u/allison_chen)\
**Post date:** [March 23, 2022, 9:53am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/1 "2022-03-23T09:53:23Z")

</div>

Hi,

We found that insert some SD Card cause system reboot.  
schematic as same as design guide.  
You can see the photo as below, we measure waveform when SD card insert.  
Waveform is: SD CLK/SD DATA0/ SD POWER CONTROL  
while we plug-in SD card, we can see that voltage of channel 3 from 1.8V(un-insert) drop to 0V(inserted)  
It seems system reboot when CLK voltage change from 3.3V to 1.8V(orange arrow)

 ![1231](https://global.discourse-cdn.com/nvidia/original/3X/d/e/deed2e6c84203430549d714bb19318cbc4eb0709.png)

Attached is UART log while SD card inserted, please check it.  
If you need more information, please let us know.  
[SD\_2.txt](https://forums.developer.nvidia.com/uploads/short-url/8fYF2XMnWGFcvROUockBcrknb1c.txt) (14.3 KB)

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 24, 2022, 2:43am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/5 "2022-03-24T02:43:37Z")

</div>

Does this 100% happen or just randomly happen?

---

<div class="post-metadata">

**Author:** ![jeremysung1002](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@jeremysung1002](https://forums.developer.nvidia.com/u/jeremysung1002)\
**Post date:** [March 25, 2022, 10:18am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/6 "2022-03-25T10:18:11Z")

</div>

Hi Wayne,

This symptom is 100% happen.  
In addition, we use standard SD not micro-SD card slot.  
Not sure, do we need to do extra setting for standard SD?

Thanks,  
Jeremy

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 25, 2022, 11:25am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/7 "2022-03-25T11:25:05Z")

</div>

Hi,

Could you try to attach log from the beginning? Also, when you don’t do “hotplug” but directly leave the sdcard in jetson and boot up, will you hit this issue?

---

<div class="post-metadata">

**Author:** ![allison\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@allison\_chen](https://forums.developer.nvidia.com/u/allison_chen)\
**Post date:** [March 29, 2022, 2:06am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/8 "2022-03-29T02:06:58Z")

</div>

Hi Wayne,

Attached is log when we insert SD card.  
[SD\_2.txt](https://forums.developer.nvidia.com/uploads/short-url/8fYF2XMnWGFcvROUockBcrknb1c.txt) (14.3 KB)

Besides, reboot issue also happened when we insert SD in jetson then boot up

Thanks,  
Allison

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 29, 2022, 2:45am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/9 "2022-03-29T02:45:22Z")

</div>

Could you share your device tree and schematic?

---

<div class="post-metadata">

**Author:** ![allison\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@allison\_chen](https://forums.developer.nvidia.com/u/allison_chen)\
**Post date:** [March 29, 2022, 2:54am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/10 "2022-03-29T02:54:58Z")

</div>

Hi Wayne,

Please refer attached  
[V0.1\_SD.pdf](https://forums.developer.nvidia.com/uploads/short-url/trZxgLpoD1Z51y8dgPTEf2duYSP.pdf) (267.5 KB)

Thanks,  
Allison

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 29, 2022, 2:58am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/11 "2022-03-29T02:58:41Z")

</div>

And the device tree…?

---

<div class="post-metadata">

**Author:** ![allison\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@allison\_chen](https://forums.developer.nvidia.com/u/allison_chen)\
**Post date:** [March 29, 2022, 3:04am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/12 "2022-03-29T03:04:37Z")

</div>

Hi Wayne,

please refer attached  
[device\_tree.7z](https://forums.developer.nvidia.com/uploads/short-url/oVQ3QQEM2tIqNtg4UwkP0gM5FzU.7z) (30.3 KB)

Thanks,  
Allison

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 29, 2022, 3:07am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/13 "2022-03-29T03:07:33Z")

</div>

Hi,

Could you convert the dtb file back to dts file by using dtc tool and attach it?

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 29, 2022, 3:08am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/14 "2022-03-29T03:08:15Z")

</div>

Oh. I see it in the tarball.

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 29, 2022, 3:12am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/15 "2022-03-29T03:12:02Z")

</div>

Hi,

I am a little confused by your design. Do you use a GPIO to control your VDD SD or not?

---

<div class="post-metadata">

**Author:** ![allison\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@allison\_chen](https://forums.developer.nvidia.com/u/allison_chen)\
**Post date:** [March 29, 2022, 3:24am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/16 "2022-03-29T03:24:16Z")

</div>

Hi Wayne,

I use GPIO07 to control VDD SD,  
Combine Q16 and Q17, this part just like a IC to swtich

Thanks,  
Allison

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 29, 2022, 3:27am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/17 "2022-03-29T03:27:53Z")

</div>

Hi,

If you have a GPIO to control the VDD SD, then always-on setting should not be added to devicetree.

---

<div class="post-metadata">

**Author:** ![allison\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@allison\_chen](https://forums.developer.nvidia.com/u/allison_chen)\
**Post date:** [March 29, 2022, 3:38am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/18 "2022-03-29T03:38:06Z")

</div>

Hi Wayne,

But I observed from waveform, SD VDD will supply after SD CARD insert.  
We’ll also check this devicetree is correct or not.  
On the other hand, is it cause system reboot?

Thanks,  
Allison

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 29, 2022, 3:45am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/19 "2022-03-29T03:45:58Z")

</div>

The error you hit is CPU error and the CBB says the error code is “SLV”. Generally, it means “Accessing any clock gated IO”.

So yes, the power supply timing may affect the reboot here.

---

<div class="post-metadata">

**Author:** ![allison\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@allison\_chen](https://forums.developer.nvidia.com/u/allison_chen)\
**Post date:** [March 30, 2022, 2:57am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/20 "2022-03-30T02:57:36Z")

</div>

Hi Wayne,

I think our schematic is meet your requirement, could you describe more details about “Accessing and clock gated IO”?

Thanks,  
Allison

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 30, 2022, 3:02am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/21 "2022-03-30T03:02:07Z")

</div>

Hi,

I mean you should correct your device tree first…

---

<div class="post-metadata">

**Author:** ![momo\_chen](https://developer.download.nvidia.com/images/forums/profile-default-devtalk-84.png) [@momo\_chen](https://forums.developer.nvidia.com/u/momo_chen)\
**Post date:** [March 30, 2022, 5:13am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/22 "2022-03-30T05:13:11Z")

</div>

Dear Wayne,

According you mention “always-on setting should not be added to devicetree”.  
Did you just meaning the vmmc-always-on?  
Or the both that include vmmc and vqmmc’s always-on should be remove?  
p.s. the vqmmc-always-on is exist in the tegra194-soc-sdhci.dtsi default.

```auto
nvidia,vmmc-always-on;
nvidia,vqmmc-always-on;

```

Best Regards,  
MOMO Chen

---

<div class="post-metadata">

**Author:** ![WayneWWW](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/waynewww/32/14043_2.png) [@WayneWWW](https://forums.developer.nvidia.com/u/WayneWWW)\
**Post date:** [March 30, 2022, 5:25am UTC](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188/23 "2022-03-30T05:25:56Z")

</div>

You can delete both.

[Next page](https://forums.developer.nvidia.com/t/system-reboot-when-sd-card-insert/209188.md?page=2)
