Failed to burn image to EMMC by USB_Burning_Tool

Here are my steps:

  1. Connect PC and VIM3pro by Type-C USB cable
  2. Enter upgrade mode by TST method
  3. The USB burning tool shows “connect success”
  4. Select the image to burn ( * VIM1_Ubuntu-server-bionic_Linux-4.9_arm64_EMMC_V1.0.7-210625)
  5. Click “Start” to burn the image
  6. Encountered the error showing in the USB_Burning_Tool
    Did you meet such issue before? How to fix it? Thanks

可以试着换别的USB端口或者USB数据线再试试。

After changing the USB cable, the error was still the same as before.

Here are some logs I captured from the console port while doing USB_Burning_Tool was trying to flash the eMMC.

BL2 Built : 15:22:05, Aug 28 2019. g12b g1bf2b53 - luan.yuan@droid15-sz

Board ID = 7
Set A53 clk to 24M
Set A73 clk to 24M
Set clk81 to 24M
A53 clk: 1200 MHz
A73 clk: 1200 MHz
CLK81: 166.6M
smccc: 00d8cf14
DDR driver_vesion: LPDDR4_PHY_V_0_1_18 build time: Aug 28 2019 15:22:01
board id: 7
Cfg max: 4, cur: 1. Board id: 255. Force loop cfg
DATA transfer complete...
fw parse done
DATA transfer complete...
AML DDR FW load done
DATA transfer complete...
PIEI prepare done
LPDDR4 probe
ddr clk to 1608MHz
DATA transfer complete...

dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of Write leveling coarse delay
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : ERROR : Training has failed!
Cfg max: 4, cur: 2. Board id: 255. Force loop cfg
ddr probe id done
DATA transfer complete...
fw parse done
DATA transfer complete...
AML DDR FW load done
DATA transfer complete...
PIEI prepare done
LPDDR4 probe
ddr clk to 1608MHz
DATA transfer complete...

dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of Write leveling coarse delay
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : ERROR : Training has failed!
Cfg max: 4, cur: 3. Board id: 255. Force loop cfg
ddr probe id done
DATA transfer complete...
fw parse done
DATA transfer complete...
AML DDR FW load done
DATA transfer complete...
PIEI prepare done
LPDDR4 probe
ddr clk to 1608MHz
DATA transfer complete...

dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : End of Write leveling coarse delay
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : ERROR : Training has failed!
Cfg max: 4, cur: 4. Board id: 255. Force loop cfg
ddr probe id done
DATA transfer complete...
fw parse done
DATA transfer complete...
AML DDR FW load done
DATA transfer complete...
PIEI prepare done
LPDDR4 probe
ddr clk to 1608MHz
DATA transfer complete...

dmc_version 0001
Check phy result
INFO : End of CA training
INFO : End of initialization
INFO : Training has run successfully!
Check phy result
INFO : End of initialization
INFO : End of read enable training
INFO : End of fine write leveling
INFO : ERROR : Training has failed!
All ddr config failed...
Try next cfg
Exit data request loop...Err0x00000020

Waht’s the hardware revision ? Can you take a photo of your VIM3 board?Have you change the hardware?

Here is the snapshot, it should be VIM3pro. I didn’t change any hardware yet.


Could we restore the SW to be the original one by something like hardware strapping when booting up instead of burning any image? It looks it’s hard to flash, maybe something was wrong in the internal config.
I asked this question in another thread, but you consider it as a duplicated topic.

Could you try to flash the latest Android image?

I tried to flash this version into eMMC: VIM3_Pie_V210128.7z
It looks it also failed to flash. Here is the snapshot.

Where you buy the board?

I bought the board from iCEasy(艾矽易).

I think you should reinstall driver. And also try using another USB port from your PC to connect the board. This happened to me once as well but it was due to some USB port or cable issue for me. Maybe it helps you too.

I tried another USB port and also changed another USB cable, but the issue was still there. I noticed there was some error logs related to ddr config shown in the console, like below. Not sure if there is any hardware issue.

Please check with this version : https://dl.khadas.com/Firmware/VIM3/Android/VIM3_Pie_V211220.7z

It’s the same, failed to flash the image. Here is the snapshot.

Okay, our sales will contact you.