Error 4 when flashing TX1

Hello,

I’m trying to flash my TX1 device, and here’s the error I got:

*** Flashing target device started. ***
Welcome to Tegra Flash
version 1.0.0
Type ? or help for help and q or quit to exit
Use ! to execute system commands
 
[   0.0000 ] Generating RCM messages
[   0.0011 ] tegrarcm --listrcm rcm_list.xml --chip 0x21 --download rcm nvtboot_recovery.bin 0 0
[   0.0020 ] RCM 0 is saved as rcm_0.rcm
[   0.0025 ] RCM 1 is saved as rcm_1.rcm
[   0.0025 ] List of rcm files are saved in rcm_list.xml
[   0.0025 ] 
[   0.0025 ] Signing RCM messages
[   0.0035 ] tegrasign --key None --list rcm_list.xml --pubkeyhash pub_key.key
[   0.0044 ] Assuming zero filled SBK key
[   0.0120 ] 
[   0.0120 ] Copying signature to RCM mesages
[   0.0156 ] tegrarcm --chip 0x21 --updatesig rcm_list_signed.xml
[   0.2232 ] 
[   0.2233 ] Parsing partition layout
[   0.2245 ] tegraparser --pt flash.xml.tmp
[   0.2257 ] 
[   0.2257 ] Creating list of images to be signed
[   0.2265 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --list images_list.xml
[   0.5696 ] 
[   0.5696 ] Generating signatures
[   0.5706 ] tegrasign --key None --list images_list.xml --pubkeyhash pub_key.key
[   0.5741 ] Assuming zero filled SBK key
[   0.7149 ] 
[   0.7149 ] Generating br-bct
[   0.7160 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.cfg --chip 0x21
[   0.7168 ] Copying Sdram info from 1 to 2 set
[   0.8226 ] Copying Sdram info from 2 to 3 set
[   0.8226 ] 
[   0.8226 ] Updating boot device parameters
[   0.8238 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatedevparam flash.xml.bin
[   0.8247 ] Warning: No sdram params
[   0.9178 ] 
[   0.9178 ] Updating bl info
[   0.9189 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updateblinfo flash.xml.bin --updatesig images_list_signed.xml
[   2.0635 ] 
[   2.0635 ] Updating secondary storage information into bct
[   2.0646 ] tegraparser --pt flash.xml.bin --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   2.5305 ] 
[   2.5306 ] Updating board information from board config into bct
[   2.5316 ] tegraparser --boardconfig board_config_p2597-devkit.xml --chip 0x21 --updatecustinfo P2180_A00_LP4_DSC_204Mhz.bct
[   2.9445 ] 
[   2.9445 ] Updating Odmdata
[   2.9457 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatefields Odmdata =0x84000
[   2.9465 ] Warning: No sdram params
[   3.4998 ] 
[   3.4998 ] Get Signed section bct
[   3.5009 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --listbct bct_list.xml
[   3.5957 ] 
[   3.5958 ] Signing BCT
[   3.5977 ] tegrasign --key None --list bct_list.xml --pubkeyhash pub_key.key
[   3.5986 ] Assuming zero filled SBK key
[   3.5992 ] 
[   3.5992 ] Updating BCT with signature
[   3.6002 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatesig bct_list_signed.xml
[   4.1745 ] 
[   4.1746 ] Copying signatures
[   4.1758 ] tegrahost --chip 0x21 --partitionlayout flash.xml.bin --updatesig images_list_signed.xml
[   4.1770 ] Run tegrabct to update tboot signature in bct
[   4.3818 ] 
[   4.3818 ] Updating BFS information
[   4.3831 ] tegrabct --bct P2180_A00_LP4_DSC_204Mhz.bct --chip 0x21 --updatebfsinfo flash.xml.bin
[   4.5868 ] 
[   4.5869 ] Boot Rom communication
[   4.5879 ] tegrarcm --chip 0x21 --rcm rcm_list_signed.xml
[   4.5892 ] BootRom is not running
[   4.6117 ] 
[   4.6118 ] Sending BCTs
[   4.6128 ] tegrarcm --download bct P2180_A00_LP4_DSC_204Mhz.bct
[   4.6136 ] Applet is not running on device. Continue with Bootloader
[   4.6183 ] 
[   4.6183 ] Sending bootloader and pre-requisite binaries
[   4.6195 ] tegrarcm --download ebt cboot.bin 0 0 --download rp1 tegra210-jetson-tx1-p2597-2180-a01-devkit.dtb 0
[   4.6205 ] Applet is not running on device. Continue with Bootloader
[   4.6225 ] 
[   4.6225 ] Retrieving storage infomation
[   4.6239 ] tegrarcm --oem platformdetails storage storage_info.bin
[   4.6248 ] Applet is not running on device. Continue with Bootloader
[   4.6269 ] 
[   4.6279 ] tegradevflash --oem platformdetails storage storage_info.bin
[   4.6286 ] Cboot is not running on device.
[   4.6304 ] 
Error: Return value 4
Command tegradevflash --oem platformdetails storage storage_info.bin
Failed flashing t210ref.

I only copied part of the log that I think would be useful for debugging. I’m using JetPack L4T 3.1. What is the problem here?

Best regards,

Usually the first question is if you were using a native Linux install, or if there is anything special about it, e.g., a VM or live DVD. You would also want to be sure that there is no HUB or other intervening issue on the USB side. Can you describe your host and physical cabling to the Jetson (the USB side)?