# Failed to flash Jetson AGX Xavier

**URL:** <https://forums.developer.nvidia.com/t/failed-to-flash-jetson-agx-xavier/310312>\
**Category:** Jetson AGX Xavier\
**Tags:** boot\
**Created:** [October 18, 2024, 12:57pm UTC](https://forums.developer.nvidia.com/t/failed-to-flash-jetson-agx-xavier/310312 "2024-10-18T12:57:02Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![KevinFFF](https://sea2.discourse-cdn.com/nvidia/user_avatar/forums.developer.nvidia.com/kevinfff/32/15508_2.png) [@KevinFFF](https://forums.developer.nvidia.com/u/KevinFFF)\
**Post date:** [November 1, 2024, 7:23am UTC](https://forums.developer.nvidia.com/t/failed-to-flash-jetson-agx-xavier/310312/12 "2024-11-01T07:23:27Z")

</div>

```auto
09:50:22.043 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_XAVIER_TARGETS - error is: import yaml
09:50:22.043 - error: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_XAVIER_TARGETS: ModuleNotFoundError: No module named 'yaml'
09:50:22.043 - info: Event: NV_L4T_FLASH_JETSON_LINUX_COMP@JETSON_AGX_XAVIER_TARGETS - error is: ModuleNotFoundError: No module named 'yaml'

```

I’ve found above yaml error in your SDKM log.  
Please check if [Use sdkmanager to flash the jetson orin nx failed - #27 by fschiffel](https://forums.developer.nvidia.com/t/use-sdkmanager-to-flash-the-jetson-orin-nx-failed/310757/27) could help in your case.

Are you using a fused board? (i.e. is the secureboot enabled in your case?)  
If so, you have to specify `-u` and `-v` options in flash command.

> [@furkandedizkan](#):
>
> `sudo ./flash.sh jetson-agx-xavier-devkit internal`

Please try using the following command instead.

```auto
$ sudo ./flash.sh jetson-agx-xavier-devkit mmcblk0p1

```

---

_[View the full topic](https://forums.developer.nvidia.com/t/failed-to-flash-jetson-agx-xavier/310312)._
