VIM3 | USB_Burning_Tool | Romcode/Bl2_Boot stage Error

Which Khadas SBC do you use?

Amlogic A311D SBC with 5.0 TOPS NPU

Which system do you use? Android, Ubuntu, OOWOW or others?

Ubuntu 20

Which version of system do you use? Khadas official images, self built images, or others?

self built images

Please describe your issue below:

54% of khadas are failing to be flashed using USB_Burning_Tool_V2.2.0

Post a console log of your issue below:

[11:36:08 120][Global][Inf]--Image path C:\Users\BobbyYavi\Documents\WORK\EyeLock Firmware\FXT\VIM3_Image\VIM3_Ubuntu-minimal-focal_Linux-4.9_arm64_EMMC_V1.0.7-230214-develop.img
[11:36:08 120][Global][Inf]--OpenImg C:\Users\BobbyYavi\Documents\WORK\EyeLock Firmware\FXT\VIM3_Image\VIM3_Ubuntu-minimal-focal_Linux-4.9_arm64_EMMC_V1.0.7-230214-develop.img
[11:36:17 245][Global][Inf]--check img crc success! 
[11:36:17 245]Parse platform.conf 
[11:36:17 246][Global][Inf]--Parsing burning package
[11:36:17 246][Global][Inf]--Load configuration file C:\Program Files (x86)\Amlogic\USB_Burning_Tool\temp
[11:36:17 246][Global][Inf]--Parse burning configuration file C:\Program Files (x86)\Amlogic\USB_Burning_Tool\temp\burn_config.xml
[11:36:17 248][Global][Inf]--Get burning key
[11:36:32 415][Global][Inf]--Catch DBT_DEVICEARRIVAL
[11:36:32 416][Global][Inf]--Scan usb device
[11:36:32 416][Global][Inf]--Aml scan WorldCup Device
[11:36:32 417][Global][Inf]--Host: USB xHCI Compliant Host Controller
[11:36:32 417][Global][Inf]--DevPath:\\?\pci#ven_8086&dev_06ed&subsys_09c21028&rev_00#3&11583659&0&a0#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[11:36:32 417][Global][Inf]---->Roothub:USB#ROOT_HUB30#4&2c5d3a86&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[11:36:32 417][Global][Inf]-------->[Port0]NoDeviceConnected
[11:36:32 417][Global][Inf]-------->[Port1]NoDeviceConnected
[11:36:32 417][Global][Inf]-------->[Port2]\\?\usb#vid_1b8e&pid_c003#5&f65b9aa&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[11:36:32 417][Global][Inf]-------->[Port3]NoDeviceConnected
[11:36:32 417][Global][Inf]-------->[Port4]NoDeviceConnected
[11:36:32 418][Global][Inf]-------->[Port5]NoDeviceConnected
[11:36:32 418][Global][Inf]-------->[Port6]NoDeviceConnected
[11:36:32 418][Global][Inf]-------->[Port7]NoDeviceConnected
[11:36:32 418][Global][Inf]-------->[Port8]NoDeviceConnected
[11:36:32 418][Global][Inf]-------->[Port9]NoDeviceConnected
[11:36:32 418][Global][Inf]-------->[Port10]Other device
[11:36:32 418][Global][Inf]-------->[Port11]NoDeviceConnected
[11:36:32 418][Global][Inf]-------->[Port12]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port13]Other device
[11:36:32 419][Global][Inf]-------->[Port14]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port15]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port16]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port17]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port18]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port19]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port20]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port21]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port22]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port23]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port24]NoDeviceConnected
[11:36:32 419][Global][Inf]-------->[Port25]NoDeviceConnected
[11:36:32 419][Global][Inf]--Host: USB xHCI Compliant Host Controller
[11:36:32 420][Global][Inf]--DevPath:\\?\pci#ven_8086&dev_15e9&subsys_09c21028&rev_06#e1ac917085b3020000#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[11:36:33 020][Global][Inf]---->Roothub:USB#ROOT_HUB30#7&118c87f0&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[11:36:33 020][Global][Inf]-------->[Port0]NoDeviceConnected
[11:36:33 020][Global][Inf]-------->[Port1]NoDeviceConnected
[11:36:33 020][Global][Inf]-------->[Port2]NoDeviceConnected
[11:36:33 020][Global][Inf]-------->[Port3]NoDeviceConnected
[11:36:33 020][Global][Inf]--Scan USB host controller complete
[11:36:33 020][Global][Inf]--Update data center with HubMap
[11:36:33 020][Global][Inf]--Insert new hub1
[11:36:33 020][Global][Inf]--Update hub1 device data
[11:36:33 020][Global][Inf]--Update HUB1-1 
[11:36:33 020][HUB1-1][Inf]--Update device path
[11:36:33 020][Global][Inf]--Update HUB1-2 
[11:36:33 020][HUB1-2][Inf]--Update device path
[11:36:33 020][Global][Inf]--Update HUB1-3 \\?\usb#vid_1b8e&pid_c003#5&f65b9aa&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[11:36:33 020][HUB1-3][Inf]--Update device path
[11:36:33 021][Global][Inf]--Begin thread for HUB1-3
[11:36:33 021][Global][Inf]--Burning thread HUB1-3 start
[11:36:33 021][Global][Inf]--Update HUB1-4 
[11:36:33 021][Global][Inf]--Burning thread HUB1-3 begin run
[11:36:33 021][HUB1-4][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-5 
[11:36:33 021][HUB1-5][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-6 
[11:36:33 021][HUB1-6][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-7 
[11:36:33 021][HUB1-7][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-8 
[11:36:33 021][HUB1-8][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-9 
[11:36:33 021][HUB1-9][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-10 
[11:36:33 021][HUB1-10][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-11 
[11:36:33 021][HUB1-11][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-12 
[11:36:33 021][HUB1-12][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-13 
[11:36:33 021][HUB1-13][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-14 
[11:36:33 021][HUB1-14][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-15 
[11:36:33 021][HUB1-15][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-16 
[11:36:33 021][HUB1-16][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-17 
[11:36:33 021][HUB1-17][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-18 
[11:36:33 021][HUB1-18][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-19 
[11:36:33 021][HUB1-19][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-20 
[11:36:33 021][HUB1-20][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-21 
[11:36:33 021][HUB1-21][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-22 
[11:36:33 021][HUB1-22][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-23 
[11:36:33 021][HUB1-23][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-24 
[11:36:33 021][HUB1-24][Inf]--Update device path
[11:36:33 021][Global][Inf]--Update HUB1-25 
[11:36:33 022][HUB1-25][Inf]--Update device path
[11:36:33 022][Global][Inf]--Update HUB1-26 
[11:36:33 022][HUB1-26][Inf]--Update device path
[11:36:33 022][Global][Inf]--Add Hub1: \\.\USB#ROOT_HUB30#4&2c5d3a86&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8} to m_HubDeviceDataVector
[11:36:33 022][Global][Inf]--Scan end 
[11:36:42 912][Global][Inf]--User click start button
[11:36:42 914][Global][Inf]--SetErase
[11:36:42 915][Global][Inf]--Enable burning 1
[11:36:42 916][Global][Inf]--Scan usb device
[11:36:42 916][Global][Inf]--Aml scan WorldCup Device
[11:36:42 918][Global][Inf]--Host: USB xHCI Compliant Host Controller
[11:36:42 918][Global][Inf]--DevPath:\\?\pci#ven_8086&dev_06ed&subsys_09c21028&rev_00#3&11583659&0&a0#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[11:36:42 918][Global][Inf]---->Roothub:USB#ROOT_HUB30#4&2c5d3a86&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[11:36:42 918][Global][Inf]-------->[Port0]NoDeviceConnected
[11:36:42 918][Global][Inf]-------->[Port1]NoDeviceConnected
[11:36:42 920][Global][Inf]-------->[Port2]\\?\usb#vid_1b8e&pid_c003#5&f65b9aa&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[11:36:42 920][Global][Inf]-------->[Port3]NoDeviceConnected
[11:36:42 920][Global][Inf]-------->[Port4]NoDeviceConnected
[11:36:42 920][Global][Inf]-------->[Port5]NoDeviceConnected
[11:36:42 920][Global][Inf]-------->[Port6]NoDeviceConnected
[11:36:42 920][Global][Inf]-------->[Port7]NoDeviceConnected
[11:36:42 920][Global][Inf]-------->[Port8]NoDeviceConnected
[11:36:42 920][Global][Inf]-------->[Port9]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port10]Other device
[11:36:42 921][Global][Inf]-------->[Port11]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port12]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port13]Other device
[11:36:42 921][Global][Inf]-------->[Port14]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port15]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port16]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port17]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port18]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port19]NoDeviceConnected
[11:36:42 921][Global][Inf]-------->[Port20]NoDeviceConnected
[11:36:42 922][Global][Inf]-------->[Port21]NoDeviceConnected
[11:36:42 922][Global][Inf]-------->[Port22]NoDeviceConnected
[11:36:42 922][Global][Inf]-------->[Port23]NoDeviceConnected
[11:36:42 922][Global][Inf]-------->[Port24]NoDeviceConnected
[11:36:42 922][Global][Inf]-------->[Port25]NoDeviceConnected
[11:36:42 922][Global][Inf]--Host: USB xHCI Compliant Host Controller
[11:36:42 922][Global][Inf]--DevPath:\\?\pci#ven_8086&dev_15e9&subsys_09c21028&rev_06#e1ac917085b3020000#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[11:36:42 961][HUB1-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&f65b9aa&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000ab0
[11:36:43 023][HUB1-3][Inf]--CloneImageProxy
[11:36:43 023][Global][Inf]--OpenImg C:\Users\BobbyYavi\Documents\WORK\EyeLock Firmware\FXT\VIM3_Image\VIM3_Ubuntu-minimal-focal_Linux-4.9_arm64_EMMC_V1.0.7-230214-develop.img
[11:36:43 024][HUB1-3][Inf]--Connect path=USB xHCI Compliant Host Controller/P0/P2
[11:36:43 024][HUB1-3][Inf]--Start burning...
[11:36:43 055][Global][Inf]---->Roothub:USB#ROOT_HUB30#7&118c87f0&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[11:36:43 055][Global][Inf]-------->[Port0]NoDeviceConnected
[11:36:43 055][Global][Inf]-------->[Port1]NoDeviceConnected
[11:36:43 055][Global][Inf]-------->[Port2]NoDeviceConnected
[11:36:43 055][Global][Inf]-------->[Port3]NoDeviceConnected
[11:36:43 055][Global][Inf]--Scan USB host controller complete
[11:36:43 056][Global][Inf]--Update data center with HubMap
[11:36:43 056][Global][Inf]--Update hub1 device data
[11:36:43 056][Global][Inf]--Update HUB1-1 
[11:36:43 056][HUB1-1][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-2 
[11:36:43 056][HUB1-2][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-3 \\?\usb#vid_1b8e&pid_c003#5&f65b9aa&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[11:36:43 056][HUB1-3][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-4 
[11:36:43 056][HUB1-4][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-5 
[11:36:43 056][HUB1-5][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-6 
[11:36:43 056][HUB1-6][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-7 
[11:36:43 056][HUB1-7][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-8 
[11:36:43 056][HUB1-8][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-9 
[11:36:43 056][HUB1-9][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-10 
[11:36:43 056][HUB1-10][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-11 
[11:36:43 056][HUB1-11][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-12 
[11:36:43 056][HUB1-12][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-13 
[11:36:43 056][HUB1-13][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-14 
[11:36:43 056][HUB1-14][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-15 
[11:36:43 056][HUB1-15][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-16 
[11:36:43 056][HUB1-16][Inf]--Update device path
[11:36:43 056][Global][Inf]--Update HUB1-17 
[11:36:43 057][HUB1-17][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-18 
[11:36:43 057][HUB1-18][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-19 
[11:36:43 057][HUB1-19][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-20 
[11:36:43 057][HUB1-20][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-21 
[11:36:43 057][HUB1-21][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-22 
[11:36:43 057][HUB1-22][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-23 
[11:36:43 057][HUB1-23][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-24 
[11:36:43 057][HUB1-24][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-25 
[11:36:43 057][HUB1-25][Inf]--Update device path
[11:36:43 057][Global][Inf]--Update HUB1-26 
[11:36:43 057][HUB1-26][Inf]--Update device path
[11:36:43 057][Global][Inf]--Scan end 
[11:36:43 084][HUB1-3][Inf]--------------ERASE BOOTLOADER------------
[11:36:43 195][HUB1-3][Inf]--start SendIdentifyCmd
[11:36:43 195][HUB1-3][Inf]--3-2-0-0
[11:36:43 195][HUB1-3][Inf]-------------Download DDR.USB-----------
[11:36:43 195][HUB1-3][Inf]--Close device handle 0x00000ab0
[11:36:43 257][HUB1-3][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&f65b9aa&0&3#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000cb8
[11:36:43 320][HUB1-3][Inf]--3-2-0-0
[11:36:43 320][HUB1-3][Inf]--Control write pll reg1 0xfffa0000:0x000000b1
[11:36:43 825][HUB1-3][Inf]--Control write pll reg1 0xfffa0000:0x00005183
[11:36:44 341][HUB1-3][Inf]--Control write pll reg1 0xfffa0000:0x000000b1
[11:36:44 855][HUB1-3][Inf]--Control write pll reg1 0xfffa0000:0x00005183
[11:36:45 358][HUB1-3][Inf]--Write initial succeed
[11:36:45 358][HUB1-3][Inf]--Upload encrypt at 0xff800228
[11:36:45 359][HUB1-3][Inf]--ulValue = 0xe0f83180
[11:36:45 359][HUB1-3][Inf]--Read encrypt value succeed
[11:36:45 359][HUB1-3][Inf]--Download DDR.USB,size: 65536!
[11:36:45 388][HUB1-3][Inf]--Transfer complete 65536
[11:36:45 388][HUB1-3][Inf]--Run at address 0xfffa0000
[11:36:45 388][HUB1-3][Inf]--RunInRam success
[11:36:45 435][HUB1-3][Inf]--0-0-1-8-0-1-0-0
[11:36:45 435][HUB1-3][Inf]--CheckFileRunState return 1-8
[11:36:45 435][HUB1-3][Inf]--0-0-1-8-0-1-0-0
[11:36:45 435][HUB1-3][Inf]--G12 init 
[11:36:45 435][HUB1-3][Inf]--Get Encrpt ulValue = 0xe0f83180
[11:36:45 435][HUB1-3][Inf]--Have Semaphore
[11:36:45 435][HUB1-3][Inf]--Download BL2
[11:36:45 435][HUB1-3]Aml_Libusb_bl2_boot2 start! 
[11:36:45 445][HUB1-3]sequence= 0, datasize= 16384, fipOffset= 65536
[11:36:45 453][HUB1-3]sequence= 1, datasize= 49152, fipOffset= 393216
[11:36:45 459][HUB1-3]sequence= 2, datasize= 16384, fipOffset= 229376
[11:36:45 472][HUB1-3]sequence= 3, datasize= 49152, fipOffset= 245760
[11:36:45 530][HUB1-3]sequence= 4, datasize= 16384, fipOffset= 65536
[11:36:45 549][HUB1-3]sequence= 5, datasize= 49152, fipOffset= 393216
[11:36:45 560][HUB1-3]sequence= 6, datasize= 16384, fipOffset= 229376
[11:36:45 578][HUB1-3]sequence= 7, datasize= 49152, fipOffset= 245760
[11:36:45 635][HUB1-3]sequence= 8, datasize= 16384, fipOffset= 65536
[11:36:45 649][HUB1-3]sequence= 9, datasize= 49152, fipOffset= 393216
[11:36:45 658][HUB1-3]sequence= 10, datasize= 16384, fipOffset= 229376
[11:36:45 671][HUB1-3]sequence= 11, datasize= 49152, fipOffset= 245760
[11:36:45 751][HUB1-3]sequence= 12, datasize= 49152, fipOffset= 294912
[11:36:46 426][HUB1-3]sequence= 13, datasize= 16384, fipOffset= 65536
[11:36:46 427]Get CSW, result[FAIL]
[11:36:46 427][HUB1-3]check sum FAIL
[11:36:46 427][HUB1-3]fail in download, sequence 13, ret= -1001
[11:36:46 427][HUB1-3]Aml_Libusb_bl2_boot2 end! 
[11:36:46 427][HUB1-3][Inf]--Release Semaphore
[11:36:46 433][HUB1-3][Err]--[0x10401001]Romcode/Bl2_Boot stage Error
[


Hello @BobbyYavi

Try to use other usb port or usb cable.