Jetson tx2 os flash error

When I use SDKManager to flash tx2. The progress has been stuck 99.8%. Could you teach me how to fix this problem?

09:47:46 INFO : Flash Jetson TX2 : *** Flashing target device started. ***
09:47:47 INFO : Flash Jetson TX2 : Welcome to Tegra Flash
09:47:47 INFO : Flash Jetson TX2 : version 1.0.0
09:47:47 INFO : Flash Jetson TX2 : Type ? or help for help and q or quit to exit
09:47:47 INFO : Flash Jetson TX2 : Use ! to execute system commands
09:47:47 INFO : Flash Jetson TX2 :
09:47:47 INFO : Flash Jetson TX2 : [ 0.0256 ] tegrasign_v2 --key None --getmode mode.txt
09:47:47 INFO : Flash Jetson TX2 : [ 0.0265 ] Assuming zero filled SBK key
09:47:47 INFO : Flash Jetson TX2 : [ 0.0556 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.0557 ] Generating RCM messages
09:47:47 INFO : Flash Jetson TX2 : [ 0.0656 ] tegrarcm_v2 --listrcm rcm_list.xml --chip 0x18 0 --download rcm mb1_recovery_prod.bin 0 0
09:47:47 INFO : Flash Jetson TX2 : [ 0.0665 ] RCM 0 is saved as rcm_0.rcm
09:47:47 INFO : Flash Jetson TX2 : [ 0.0793 ] RCM 1 is saved as rcm_1.rcm
09:47:47 INFO : Flash Jetson TX2 : [ 0.0796 ] List of rcm files are saved in rcm_list.xml
09:47:47 INFO : Flash Jetson TX2 : [ 0.0853 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.0853 ] Signing RCM messages
09:47:47 INFO : Flash Jetson TX2 : [ 0.0882 ] tegrasign_v2 --key None --list rcm_list.xml --pubkeyhash pub_key.key
09:47:47 INFO : Flash Jetson TX2 : [ 0.0900 ] Assuming zero filled SBK key
09:47:47 INFO : Flash Jetson TX2 : [ 0.1073 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.1074 ] Copying signature to RCM mesages
09:47:47 INFO : Flash Jetson TX2 : [ 0.1082 ] tegrarcm_v2 --chip 0x18 0 --updatesig rcm_list_signed.xml
09:47:47 INFO : Flash Jetson TX2 : [ 0.1195 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.1195 ] Parsing partition layout
09:47:47 INFO : Flash Jetson TX2 : [ 0.1350 ] tegraparser_v2 --pt flash.xml.tmp
09:47:47 INFO : Flash Jetson TX2 : [ 0.1480 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.1480 ] Creating list of images to be signed
09:47:47 INFO : Flash Jetson TX2 : [ 0.1605 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --list images_list.xml zerosbk
09:47:47 INFO : Flash Jetson TX2 : [ 0.3098 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.3099 ] Generating signatures
09:47:47 INFO : Flash Jetson TX2 : [ 0.3109 ] tegrasign_v2 --key None --list images_list.xml --pubkeyhash pub_key.key
09:47:47 INFO : Flash Jetson TX2 : [ 0.3139 ] Assuming zero filled SBK key
09:47:47 INFO : Flash Jetson TX2 : [ 0.7357 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.7357 ] Generating br-bct
09:47:47 INFO : Flash Jetson TX2 : [ 0.7664 ] Updating dev and MSS params in BR BCT
09:47:47 INFO : Flash Jetson TX2 : [ 0.7665 ] tegrabct_v2 --dev_param emmc.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --brbct br_bct.cfg --chip 0x18 0
09:47:47 INFO : Flash Jetson TX2 : [ 0.8315 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.8315 ] Updating bl info
09:47:47 INFO : Flash Jetson TX2 : [ 0.8324 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
09:47:47 INFO : Flash Jetson TX2 : [ 0.8487 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.8487 ] Updating smd info
09:47:47 INFO : Flash Jetson TX2 : [ 0.8496 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 --updatesmdinfo flash.xml.bin
09:47:47 INFO : Flash Jetson TX2 : [ 0.8624 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.8624 ] Updating Odmdata
09:47:47 INFO : Flash Jetson TX2 : [ 0.8633 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatefields Odmdata =0x1090000
09:47:47 INFO : Flash Jetson TX2 : [ 0.8799 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.8800 ] Get Signed section of bct
09:47:47 INFO : Flash Jetson TX2 : [ 0.8808 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --listbct bct_list.xml
09:47:47 INFO : Flash Jetson TX2 : [ 0.8917 ]
09:47:47 INFO : Flash Jetson TX2 : [ 0.8925 ] tegrasign_v2 --key None --list bct_list.xml --pubkeyhash pub_key.key
09:47:47 INFO : Flash Jetson TX2 : [ 0.8933 ] Assuming zero filled SBK key
09:47:48 INFO : Flash Jetson TX2 : [ 0.9038 ]
09:47:48 INFO : Flash Jetson TX2 : [ 0.9039 ] Updating BCT with signature
09:47:48 INFO : Flash Jetson TX2 : [ 0.9047 ] tegrabct_v2 --brbct br_bct_BR.bct --chip 0x18 0 --updatesig bct_list_signed.xml
09:47:48 INFO : Flash Jetson TX2 : [ 0.9225 ]
09:47:48 INFO : Flash Jetson TX2 : [ 0.9225 ] Generating coldboot mb1-bct
09:47:48 INFO : Flash Jetson TX2 : [ 0.9235 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_cold_boot_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr mobile_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 0.9263 ] MB1-BCT version: 0xf
09:47:48 INFO : Flash Jetson TX2 : [ 0.9265 ] Copying Sdram info from 2 to 3 set
09:47:48 INFO : Flash Jetson TX2 : [ 0.9570 ] Packing sdram param for instance[0]
09:47:48 INFO : Flash Jetson TX2 : [ 0.9592 ] Packing sdram param for instance[1]
09:47:48 INFO : Flash Jetson TX2 : [ 0.9595 ] Packing sdram param for instance[2]
09:47:48 INFO : Flash Jetson TX2 : [ 0.9597 ] Packing sdram param for instance[3]
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 0.9607 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 0.9611 ] Appending platform config data of size :- 3048
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 0.9643 ] Parsing config file :mobile_scr.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 0.9649 ] Appending platform config data of size :- 12240
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 0.9673 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 0.9676 ] Appending platform config data of size :- 24
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 0.9685 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 0.9689 ] Appending platform config data of size :- 648
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 0.9704 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 0.9722 ] Appending platform config data of size :- 64
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 0.9746 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 0.9756 ] Appending platform config data of size :- 1628
09:47:48 INFO : Flash Jetson TX2 : [ 0.9759 ]
09:47:48 INFO : Flash Jetson TX2 : [ 0.9759 ] Updating mb1-bct with firmware information
09:47:48 INFO : Flash Jetson TX2 : [ 0.9767 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatefwinfo flash.xml.bin
09:47:48 INFO : Flash Jetson TX2 : [ 0.9799 ] MB1-BCT version: 0xf
09:47:48 INFO : Flash Jetson TX2 : [ 0.9878 ]
09:47:48 INFO : Flash Jetson TX2 : [ 0.9879 ] Updating mb1-bct with storage information
09:47:48 INFO : Flash Jetson TX2 : [ 0.9886 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_cold_boot_bct_MB1.bct --updatestorageinfo flash.xml.bin
09:47:48 INFO : Flash Jetson TX2 : [ 0.9919 ] MB1-BCT version: 0xf
09:47:48 INFO : Flash Jetson TX2 : [ 1.0053 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0062 ] tegrahost_v2 --chip 0x18 --align mb1_cold_boot_bct_MB1.bct
09:47:48 INFO : Flash Jetson TX2 : [ 1.0157 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0165 ] tegrahost_v2 --appendsigheader mb1_cold_boot_bct_MB1.bct zerosbk
09:47:48 INFO : Flash Jetson TX2 : [ 1.0265 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0276 ] tegrasign_v2 --key None --list mb1_cold_boot_bct_MB1_sigheader.bct_list.xml
09:47:48 INFO : Flash Jetson TX2 : [ 1.0285 ] Assuming zero filled SBK key
09:47:48 INFO : Flash Jetson TX2 : [ 1.0396 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0408 ] tegrahost_v2 --updatesigheader mb1_cold_boot_bct_MB1_sigheader.bct.encrypt mb1_cold_boot_bct_MB1_sigheader.bct.hash zerosbk
09:47:48 INFO : Flash Jetson TX2 : [ 1.0551 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0551 ] Generating recovery mb1-bct
09:47:48 INFO : Flash Jetson TX2 : [ 1.0560 ] tegrabct_v2 --chip 0x18 0 --mb1bct mb1_bct.cfg --sdram P3310_A00_8GB_Samsung_8GB_lpddr4_204Mhz_A02_l4t.cfg --misc tegra186-mb1-bct-misc-si-l4t.cfg --scr minimal_scr.cfg --pinmux tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg --pmc tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg --pmic tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg --brcommand tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg --prod tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 1.0570 ] MB1-BCT version: 0xf
09:47:48 INFO : Flash Jetson TX2 : [ 1.0572 ] Copying Sdram info from 2 to 3 set
09:47:48 INFO : Flash Jetson TX2 : [ 1.0888 ] Packing sdram param for instance[0]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0906 ] Packing sdram param for instance[1]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0908 ] Packing sdram param for instance[2]
09:47:48 INFO : Flash Jetson TX2 : [ 1.0911 ] Packing sdram param for instance[3]
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 1.0915 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 1.0930 ] Appending platform config data of size :- 3048
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 1.0947 ] Parsing config file :minimal_scr.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 1.0972 ] Appending platform config data of size :- 12240
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 1.1289 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 1.1293 ] Appending platform config data of size :- 24
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 1.1300 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 1.1320 ] Appending platform config data of size :- 648
09:47:48 INFO : Flash Jetson TX2 :
09:47:48 INFO : Flash Jetson TX2 : [ 1.1347 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 1.1347 ] Appending platform config data of size :- 64
09:47:48 INFO : Flash Jetson TX2 : [ 1.1347 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.1347 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
09:47:48 INFO : Flash Jetson TX2 : [ 1.1347 ] Appending platform config data of size :- 1628
09:47:48 INFO : Flash Jetson TX2 : [ 1.1347 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.1348 ] Updating mb1-bct with firmware information
09:47:48 INFO : Flash Jetson TX2 : [ 1.1356 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
09:47:48 INFO : Flash Jetson TX2 : [ 1.1386 ] MB1-BCT version: 0xf
09:47:48 INFO : Flash Jetson TX2 : [ 1.1480 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.1480 ] Updating mb1-bct with storage information
09:47:48 INFO : Flash Jetson TX2 : [ 1.1489 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
09:47:48 INFO : Flash Jetson TX2 : [ 1.1522 ] MB1-BCT version: 0xf
09:47:48 INFO : Flash Jetson TX2 : [ 1.1597 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.1605 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
09:47:48 INFO : Flash Jetson TX2 : [ 1.1719 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.1727 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
09:47:48 INFO : Flash Jetson TX2 : [ 1.1837 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.1848 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
09:47:48 INFO : Flash Jetson TX2 : [ 1.1869 ] Assuming zero filled SBK key
09:47:48 INFO : Flash Jetson TX2 : [ 1.1998 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.2010 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
09:47:48 INFO : Flash Jetson TX2 : [ 1.2113 ]
09:47:48 INFO : Flash Jetson TX2 : [ 1.2114 ] Copying signatures
09:47:48 INFO : Flash Jetson TX2 : [ 1.2123 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
09:47:53 INFO : Flash Jetson TX2 : [ 1.3037 ]
09:47:53 INFO : Flash Jetson TX2 : [ 1.3038 ] Boot Rom communication
09:47:53 INFO : Flash Jetson TX2 : [ 1.3046 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
09:47:53 INFO : Flash Jetson TX2 : [ 1.3078 ] BootRom is not running
10:04:34 INFO : Flash Jetson TX2 : [ 6.4595 ]
10:04:34 INFO : Flash Jetson TX2 : [ 7.4607 ] tegrarcm_v2 --isapplet
10:21:30 INFO : Flash Jetson TX2 : [ 1007.6756 ]
10:21:30 INFO : Flash Jetson TX2 : [ 1007.6968 ] tegradevflash_v2 --iscpubl
10:21:30 INFO : Flash Jetson TX2 : [ 1007.6976 ] CPU Bootloader is not running on device.

Please use flash script directly and see if it stuck at same place

cd Linux_for_Tegra
sudo ./flash jetson-tx2 mmcblk0p1

  1. Are you using a VM?
  2. Could you change another usb cable?

I have the same problem. Using Linux OS, tried various USB cables… Was the problem solved?
Below is the final part of installation process

[ 0.3532 ] MB1-BCT version: 0xf
[ 0.3534 ] Copying Sdram info from 2 to 3 set
[ 0.3651 ] Packing sdram param for instance[0]
[ 0.3652 ] Packing sdram param for instance[1]
[ 0.3654 ] Packing sdram param for instance[2]
[ 0.3656 ] Packing sdram param for instance[3]

[ 0.3657 ] Parsing config file :tegra186-mb1-bct-pinmux-quill-p3310-1000-c03.cfg
[ 0.3660 ] Appending platform config data of size :- 3048

[ 0.3662 ] Parsing config file :minimal_scr.cfg
[ 0.3664 ] Appending platform config data of size :- 12240

[ 0.3673 ] Parsing config file :tegra186-mb1-bct-pad-quill-p3310-1000-c03.cfg
[ 0.3675 ] Appending platform config data of size :- 24
[ 0.3675 ]
[ 0.3675 ] Parsing config file :tegra186-mb1-bct-pmic-quill-p3310-1000-c04.cfg
[ 0.3675 ] Appending platform config data of size :- 648
[ 0.3675 ]
[ 0.3675 ] Parsing config file :tegra186-mb1-bct-bootrom-quill-p3310-1000-c03.cfg
[ 0.3675 ] Appending platform config data of size :- 64
[ 0.3675 ]
[ 0.3675 ] Parsing config file :tegra186-mb1-bct-prod-quill-p3310-1000-c03.cfg
[ 0.3675 ] Appending platform config data of size :- 1628
[ 0.3675 ]
[ 0.3675 ] Updating mb1-bct with firmware information
[ 0.3681 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatefwinfo flash.xml.bin
[ 0.3688 ] MB1-BCT version: 0xf
[ 0.3690 ]
[ 0.3691 ] Updating mb1-bct with storage information
[ 0.3697 ] tegrabct_v2 --chip 0x18 --mb1bct mb1_bct_MB1.bct --updatestorageinfo flash.xml.bin
[ 0.3705 ] MB1-BCT version: 0xf
[ 0.3709 ]
[ 0.3716 ] tegrahost_v2 --chip 0x18 --align mb1_bct_MB1.bct
[ 0.3723 ]
[ 0.3729 ] tegrahost_v2 --appendsigheader mb1_bct_MB1.bct zerosbk
[ 0.3737 ]
[ 0.3745 ] tegrasign_v2 --key None --list mb1_bct_MB1_sigheader.bct_list.xml
[ 0.3751 ] Assuming zero filled SBK key
[ 0.3762 ]
[ 0.3770 ] tegrahost_v2 --updatesigheader mb1_bct_MB1_sigheader.bct.encrypt mb1_bct_MB1_sigheader.bct.hash zerosbk
[ 0.3777 ]
[ 0.3778 ] Copying signatures
[ 0.3784 ] tegrahost_v2 --chip 0x18 0 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[ 0.3959 ]
[ 0.3960 ] Boot Rom communication
[ 0.3967 ] tegrarcm_v2 --chip 0x18 0 --rcm rcm_list_signed.xml
[ 0.3974 ] BootRom is not running
[ 5.9104 ]
[ 6.9150 ] tegrarcm_v2 --isapplet
[ 1015.1311 ]
[ 1015.1418 ] tegradevflash_v2 --iscpubl
[ 1015.1448 ] CPU Bootloader is not running on device.
[ 2030.9394 ]
[ 2031.9441 ] tegrarcm_v2 --isapplet
[ 3046.7496 ]
[ 3046.7528 ] tegradevflash_v2 --iscpubl
[ 3046.7555 ] CPU Bootloader is not running on device.
[ 4062.5545 ]
[ 4063.5585 ] tegrarcm_v2 --isapplet

Are you using a VM? Was the log from JetPack, or from a command line? If command line, what was the command? Just noticed, this is a duplicate of:
https://devtalk.nvidia.com/default/topic/1072874/jetson-tx2/jetson-tx2-flash-problem/
(put any reply there)

To debug a flash problem, if you’ve clarified not using a VM, then please try to dump the UART log from serial console.

https://www.jetsonhacks.com/2017/03/24/serial-console-nvidia-jetson-tx2/

During the flash process, the device would still dump debug message from uart. Please share that log with us. Thanks.