Burning Ubuntu emmc with tool return error

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

Ubutnu

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

vim1-ubuntu-18.04-server-linux-4.9-fenix-1.1.1-220725-emmc.img

Please describe your issue below:

I got correctly connected my VIM1 to my PC with the burning tool. I was trying to burn the image above but I got error when the tool is saying flashing the uboot at 4%

Error is [0x10302001]Romcode/Switch status/Check connect/Enum device error

It seems the device got disconnected for some reason

Post a console log of your issue below:


[23:38:43 501][Global][Inf]--Scan USB host controller complete
[23:38:43 501][Global][Inf]--Update data center with HubMap
[23:38:43 501][Global][Inf]--Update hub1 device data
[23:38:43 501][Global][Inf]--Update HUB1-1 \\?\usb#vid_1b8e&pid_c003#5&237ffa2&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}
[23:38:43 501][HUB1-1][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-2 
[23:38:43 501][HUB1-2][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-3 
[23:38:43 501][HUB1-3][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-4 
[23:38:43 501][HUB1-4][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-5 
[23:38:43 501][HUB1-5][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-6 
[23:38:43 501][HUB1-6][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-7 
[23:38:43 501][HUB1-7][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-8 
[23:38:43 501][HUB1-8][Inf]--Update device path
[23:38:43 501][Global][Inf]--Update HUB1-9 
[23:38:43 502][HUB1-9][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-10 
[23:38:43 502][HUB1-10][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-11 
[23:38:43 502][HUB1-11][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-12 
[23:38:43 502][HUB1-12][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-13 
[23:38:43 502][HUB1-13][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-14 
[23:38:43 502][HUB1-14][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-15 
[23:38:43 502][HUB1-15][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-16 
[23:38:43 502][HUB1-16][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-17 
[23:38:43 502][HUB1-17][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-18 
[23:38:43 502][HUB1-18][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-19 
[23:38:43 502][HUB1-19][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-20 
[23:38:43 502][HUB1-20][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-21 
[23:38:43 502][HUB1-21][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-22 
[23:38:43 502][HUB1-22][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-23 
[23:38:43 502][HUB1-23][Inf]--Update device path
[23:38:43 502][Global][Inf]--Update HUB1-24 
[23:38:43 502][HUB1-24][Inf]--Update device path
[23:38:43 502][Global][Inf]--Scan end 
[23:38:43 528][HUB1-1][Inf]--Open device handle \\?\usb#vid_1b8e&pid_c003#5&237ffa2&0&1#{a5dcbf10-6530-11d2-901f-00c04fb951ed}  0x00000778
[23:38:43 590][HUB1-1][Inf]--CloneImageProxy
[23:38:43 590][Global][Inf]--OpenImg C:\Users\nicoc\Downloads\vim1-ubuntu-18.04-server-linux-4.9-fenix-1.1.1-220725-emmc.img
[23:38:43 590][HUB1-1][Inf]--Connect path=Controller host USB conforme a xHCI/P0/P0
[23:38:43 590][HUB1-1][Inf]--Start burning...
[23:38:43 650][HUB1-1][Inf]--------------ERASE BOOTLOADER------------
[23:38:43 760][HUB1-1][Inf]--start SendIdentifyCmd
[23:38:43 761][HUB1-1][Inf]--2-4-0-0
[23:38:43 761][HUB1-1][Inf]-------------Download DDR.USB-----------
[23:38:43 761][HUB1-1][Inf]--2-4-0-0
[23:38:43 761][HUB1-1][Inf]--Control write pll reg1 0xd9000000:0x000000b1
[23:38:44 273][HUB1-1][Inf]--Control write pll reg1 0xd9000000:0x00005183
[23:38:44 784][HUB1-1][Inf]--Control write pll reg1 0xd9000000:0x000000b1
[23:38:45 297][HUB1-1][Inf]--Control write pll reg1 0xd9000000:0x00005183
[23:38:45 810][HUB1-1][Inf]--Write initial succeed
[23:38:45 810][HUB1-1][Inf]--Upload encrypt at 0xc8100228
[23:38:45 810][HUB1-1][Inf]--ulValue = 0xadfc318c
[23:38:45 810][HUB1-1][Inf]--Read encrypt value succeed
[23:38:45 810][HUB1-1][Inf]--Download DDR.USB,size: 49152!
[23:38:45 819][HUB1-1][Inf]--Transfer complete 49152
[23:38:45 819][HUB1-1][Inf]--Run at address 0xd9000000
[23:38:45 820][HUB1-1][Inf]--RunInRam success
[23:38:45 832][HUB1-1][Inf]--2-2-0-8-0-1-0-0
[23:38:45 832][HUB1-1][Inf]--CheckFileRunState return 8
[23:38:45 832][HUB1-1][Inf]--Run at address 0xd900c000
[23:38:45 832][HUB1-1][Inf]--RunInRam succeed
[23:38:46 085][HUB1-1][Inf]--runResult:0x       0,paraMagic:0x7856efab
[23:38:46 085][HUB1-1][Inf]--ddrCapacity:0x     800
[23:38:46 085][HUB1-1][Inf]--2-2-0-8-0-1-0-0
[23:38:46 085][HUB1-1][Inf]-------------Download UBOOT.USB-----------
[23:38:46 085][HUB1-1][Inf]--Get Encrpt ulValue = 0xadfc318c
[23:38:46 085][HUB1-1][Err]--download 1 time!
[23:38:46 085][HUB1-1][Inf]--Download UBOOT.USB buffer at 0x0200c000
[23:38:46 149][HUB1-1][Inf]--Transfer complete
[23:38:46 353][HUB1-1][Inf]--2-2-0-8-0-1-0-0
[23:38:46 354][HUB1-1][Inf]--DownCheckPara succeed
[23:38:46 354][HUB1-1][Inf]--2-2-0-8-0-1-0-0
[23:38:46 354][HUB1-1][Inf]--RunInAddr at address 0xd900c000
[23:38:46 384][HUB1-1][Inf]--ReadCheckPara succeed
[23:38:46 384][HUB1-1][Inf]--2-2-0-8-0-1-0-0
[23:38:46 384][HUB1-1][Inf]--DownRunPara succeed
[23:38:46 385][HUB1-1][Inf]--2-2-0-8-0-1-0-0
[23:38:46 385][HUB1-1][Inf]--RunInAddr at address 0xd900c000
[23:38:47 730][Global][Inf]--Catch DBT_DEVICEREMOVECOMPLETE
[23:38:47 730][Global][Inf]--Scan usb device
[23:38:47 730][Global][Inf]--Aml scan WorldCup Device
[23:38:47 731][Global][Inf]--Host: Controller host USB conforme a xHCI
[23:38:47 731][Global][Inf]--DevPath:\\?\pci#ven_8086&dev_a36d&subsys_12641025&rev_10#3&11583659&0&a0#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[23:38:47 731][Global][Inf]---->Roothub:USB#ROOT_HUB30#4&8670eb8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[23:38:47 731][Global][Inf]-------->[Port0]NoDeviceConnected
[23:38:47 731][Global][Inf]-------->[Port1]NoDeviceConnected
[23:38:47 731][Global][Inf]-------->[Port2]NoDeviceConnected
[23:38:47 731][Global][Inf]-------->[Port3]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port4]Other device
[23:38:47 732][Global][Inf]-------->[Port5]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port6]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port7]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port8]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port9]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port10]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port11]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port12]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port13]Other device
[23:38:47 732][Global][Inf]-------->[Port14]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port15]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port16]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port17]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port18]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port19]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port20]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port21]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port22]NoDeviceConnected
[23:38:47 732][Global][Inf]-------->[Port23]NoDeviceConnected
[23:38:47 732][Global][Inf]--Scan USB host controller complete
[23:38:47 732][Global][Inf]--Update data center with HubMap
[23:38:47 732][Global][Inf]--Update hub1 device data
[23:38:47 732][Global][Inf]--Update HUB1-1 
[23:38:47 732][HUB1-1][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-2 
[23:38:47 732][HUB1-2][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-3 
[23:38:47 732][HUB1-3][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-4 
[23:38:47 732][HUB1-4][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-5 
[23:38:47 732][HUB1-5][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-6 
[23:38:47 732][HUB1-6][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-7 
[23:38:47 732][HUB1-7][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-8 
[23:38:47 732][HUB1-8][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-9 
[23:38:47 732][HUB1-9][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-10 
[23:38:47 732][HUB1-10][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-11 
[23:38:47 732][HUB1-11][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-12 
[23:38:47 732][HUB1-12][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-13 
[23:38:47 732][HUB1-13][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-14 
[23:38:47 732][HUB1-14][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-15 
[23:38:47 732][HUB1-15][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-16 
[23:38:47 732][HUB1-16][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-17 
[23:38:47 732][HUB1-17][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-18 
[23:38:47 732][HUB1-18][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-19 
[23:38:47 732][HUB1-19][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-20 
[23:38:47 732][HUB1-20][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-21 
[23:38:47 732][HUB1-21][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-22 
[23:38:47 732][HUB1-22][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-23 
[23:38:47 732][HUB1-23][Inf]--Update device path
[23:38:47 732][Global][Inf]--Update HUB1-24 
[23:38:47 732][HUB1-24][Inf]--Update device path
[23:38:47 732][Global][Inf]--Scan end 
[23:38:47 751][HUB1-1][Inf]--Device is removed
[23:39:00 192][HUB1-1][Inf]--Detect Device connect timeout
[23:39:00 192][HUB1-1][Inf]--Close device handle 0x00000778
[23:39:00 254][HUB1-1][Err]--Device path is null or device connect status is error
[23:39:00 420][HUB1-1][Err]--[0x10302001]Romcode/Switch status/Check connect/Enum device error
[23:39:24 256][Global][Inf]--Catch DBT_DEVICEARRIVAL
[23:39:24 256][Global][Inf]--Scan usb device
[23:39:24 256][Global][Inf]--Aml scan WorldCup Device
[23:39:24 258][Global][Inf]--Host: Controller host USB conforme a xHCI
[23:39:24 258][Global][Inf]--DevPath:\\?\pci#ven_8086&dev_a36d&subsys_12641025&rev_10#3&11583659&0&a0#{3abf6f2d-71c4-462a-8a92-1e6861e6af27}
[23:39:24 258][Global][Inf]---->Roothub:USB#ROOT_HUB30#4&8670eb8&0&0#{f18a0e88-c30c-11d0-8815-00a0c906bed8}
[23:39:24 258][Global][Inf]-------->[Port0]Other device
[23:39:24 258][Global][Inf]-------->[Port1]NoDeviceConnected
[23:39:24 258][Global][Inf]-------->[Port2]NoDeviceConnected
[23:39:24 258][Global][Inf]-------->[Port3]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port4]Other device
[23:39:24 259][Global][Inf]-------->[Port5]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port6]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port7]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port8]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port9]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port10]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port11]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port12]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port13]Other device
[23:39:24 259][Global][Inf]-------->[Port14]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port15]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port16]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port17]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port18]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port19]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port20]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port21]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port22]NoDeviceConnected
[23:39:24 259][Global][Inf]-------->[Port23]NoDeviceConnected
[23:39:24 259][Global][Inf]--Scan USB host controller complete
[23:39:24 259][Global][Inf]--Update data center with HubMap
[23:39:24 260][Global][Inf]--Update hub1 device data
[23:39:24 260][Global][Inf]--Update HUB1-1 
[23:39:24 260][HUB1-1][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-2 
[23:39:24 260][HUB1-2][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-3 
[23:39:24 260][HUB1-3][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-4 
[23:39:24 260][HUB1-4][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-5 
[23:39:24 260][HUB1-5][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-6 
[23:39:24 260][HUB1-6][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-7 
[23:39:24 260][HUB1-7][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-8 
[23:39:24 260][HUB1-8][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-9 
[23:39:24 260][HUB1-9][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-10 
[23:39:24 260][HUB1-10][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-11 
[23:39:24 260][HUB1-11][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-12 
[23:39:24 260][HUB1-12][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-13 
[23:39:24 260][HUB1-13][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-14 
[23:39:24 260][HUB1-14][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-15 
[23:39:24 260][HUB1-15][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-16 
[23:39:24 260][HUB1-16][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-17 
[23:39:24 260][HUB1-17][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-18 
[23:39:24 260][HUB1-18][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-19 
[23:39:24 260][HUB1-19][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-20 
[23:39:24 260][HUB1-20][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-21 
[23:39:24 260][HUB1-21][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-22 
[23:39:24 260][HUB1-22][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-23 
[23:39:24 260][HUB1-23][Inf]--Update device path
[23:39:24 260][Global][Inf]--Update HUB1-24 
[23:39:24 260][HUB1-24][Inf]--Update device path
[23:39:24 260][Global][Inf]--Scan end 

(https://dl.khadas.com/Firmware/Krescue/system/VIM1.krescue.sd.img.gz)

Burn that on SD and boot into krescue.

https://docs.khadas.com/products/sbc/vim1/install-os/boot-into-upgrade-mode#tab__tst-mode-recommended
1 Like

@NicoCaldo

Please see here to avoid small details :wink:

I just made a verification of these problems. Here are some Suggestions and my verification results.

I verify the firmware used.Please click download:
http://dl.khadas.com/products/vim1/firmware/ubuntu/emmc/vim1-ubuntu-18.04-server-linux-4.9-fenix-1.1.1-220725-emmc.img.xz
http://dl.khadas.com/products/vim1/firmware/ubuntu/emmc/vim1-ubuntu-18.04-xfce-linux-4.9-fenix-1.1.1-220725-emmc.img.xz
Install OS into eMMC on Ubuntu
https://docs.khadas.com/products/sbc/vim1/install-os/install-os-into-emmc-via-usb-tool

lihao@lihao-OptiPlex-7060:~$ burn-tool -v aml -b VIM1 -i vim1-ubuntu-18.04-server-linux-4.9-fenix-1.1.1-220725-emmc.img.xz 
Try to burn Amlogic image...
Decompressing image ...
Burning image 'vim1-ubuntu-18.04-server-linux-4.9-fenix-1.1.1-220725-emmc.img' for 'VIM1/VIM2' to eMMC...
Unpacking image [OK]
Initializing ddr ........[OK]
Running u-boot ........[OK]
Create partitions [OK]
Writing device tree [OK]
Writing bootloader [OK]
Wiping  data partition [OK]
Wiping  cache partition [OK]
Writing logo partition [OK]
Writing rootfs partition [OK]
Do you want to reset the board? y/n [n]? y
Resetting board [OK]
Time elapsed: 4 minute(s).
Done!
Wed Dec 21 11:01:51 AM CST 2022

lihao@lihao-OptiPlex-7060:~$ burn-tool -v aml -b VIM1 -i vim1-ubuntu-18.04-xfce-linux-4.9-fenix-1.1.1-220725-emmc.img.xz 
Try to burn Amlogic image...
Decompressing image ...
Burning image 'vim1-ubuntu-18.04-xfce-linux-4.9-fenix-1.1.1-220725-emmc.img' for 'VIM1/VIM2' to eMMC...
Unpacking image [OK]
Initializing ddr ........[OK]
Running u-boot ........[OK]
Create partitions [OK]
Writing device tree [OK]
Writing bootloader [OK]
Wiping  data partition [OK]
Wiping  cache partition [OK]
Writing logo partition [OK]
Writing rootfs partition [OK]
Do you want to reset the board? y/n [n]? y
Resetting board [OK]
Time elapsed: 9 minute(s).
Done!
Wed Dec 21 09:57:22 AM CST 2022

Verification of the SSH connection (I didn’t do any configuration and just with the board connected to power and LAN)

lihao@lihao-OptiPlex-7060:~$ ssh khadas@192.168.31.201
The authenticity of host '192.168.31.201 (192.168.31.201)' can't be established.
ED25519 key fingerprint is SHA256:BinlXX96TDYQnmCi3Fu6pZVUTx/s7KQ9sf4rHtBC53c.
This key is not known by any other names
Are you sure you want to continue connecting (yes/no/[fingerprint])? yes
Warning: Permanently added '192.168.31.201' (ED25519) to the list of known hosts.
khadas@192.168.31.201's password: 

Welcome to Fenix 1.1.1 Ubuntu 18.04.6 LTS Linux 4.9.241  
 _  ___               _            __     _____ __  __ _ 
| |/ / |__   __ _  __| | __ _ ___  \ \   / /_ _|  \/  / |
| ' /| '_ \ / _` |/ _` |/ _` / __|  \ \ / / | || |\/| | |
| . \| | | | (_| | (_| | (_| \__ \   \ V /  | || |  | | |
|_|\_\_| |_|\__,_|\__,_|\__,_|___/    \_/  |___|_|  |_|_|
                                                         

 * Website:        https://www.khadas.com
 * Documentation:  https://docs.khadas.com
 * Forum:          https://forum.khadas.com

Last login: Wed Dec 21 01:58:29 2022
To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

khadas@Khadas:~$ 


I hope you can try it with this firmware. If you have any questions, please leave a message.

I’m using this procedure with a Windows PC using your tool USB_Burning_tool_v2.x.x.exe and this is the one that crash.
Instead of work around the problem using Ubuntu is there a fix? I can set up a VM and run Ubuntu to try to flash it but I prefer to use Windows

@NicoCaldo

Plesese remember to decompress the image before you load with usb tool.

Plesese remember to decompress the image before you load with usb tool.

I did. It won’t even load on the USB Burning Tool if not decompressed

Hi @NicoCaldo

Please try to burn an Android firmware in the same way. Whether the same problem will arise.

I use the Ubuntu version of Pi Imager, here is the windows version

https://downloads.raspberrypi.org/imager/imager_latest.exe

Under custom you can select the khadas image from your download location and install.

You will have to use the button press sequence in the manual to force it to boot from SD if it still has android installed. Pretty sure that after you overwrite emmc it will autoboot from SD.

Also, if you are using a VM like virtualbox in windows to host ubuntu you will have to map your usb drive to that instance of VM or the port will not work.

The issue was that after having processed the Running u-boot task, VIM1 disconnected itself from Windows to reconnect rightly after. Unfortunately, your USB_Burning_tool_v2.x.x.exe don’t see that the VIM1 is reconnecting to the USB and directly launch the Error is [0x10302001]Romcode/Switch status/Check connect/Enum device error making the burning process fail.

In Linux, the command line process waits the right amount of time to see the VIM1 reconnected back on the USB and it’s able to complete the process.

See below the screenshot. I’m using a VirtualBox VM with Ubuntu on a Windows 10 host. The first try was the one that failed because VIM1 disconnected on running u-boot and I didn’t manually reconnected to the VM after Windows saw it again. The second try I was able to reconnect the VIM1 to the Virtual Box VM after the running u-boot completed

I just had the same issue, disconnected after 4%
I then wildly pressed three times “function key” again, and pressed refresh in the software and got over this point point where it looses connection.
Good luck future people

1 Like