We are facing some issue with flashing images on imx6ul custom board. We are using debug UART & USB for flashing images. After flashing images, we observed board cannot boot and no output appears at serial debug port. As USB port is recognizing so it’s in serial download mode but it not flashing any images. we tried with various flashing tools, please find observation mentioned below:
Note: We are using the HABv4 configuration: OPEN & HAB State: NON-SECURE
On Mfgtool the usb is recognized. On GUI we are getting message "Loading Uboot" but it not progressing further. Even we try to start again the same result we are getting.
In MfgTool.log it shows
ModuleID LevelID: Can't set m_hRunEvent before it initialized or it already run
In imx usb loader we tried to flash images but there also we failed. On console we are getting an error message as below
loading DCD table @0x910000
<<<488, 488 bytes>>>
report 3 in err=-7, last_trans=0 00 00 00 00
!!perform_dcd returned -1
do_download failed, err=-1
do_command err=-7, last_trans=0
3. uuu (Universal Update Utility) tool
uuu we did same thing to flash images. We can see our board is in serial downloader mode. We are getting the below messages
New USB Device Attached at 2:16
2:16>Start Cmd:SDP: boot -f "./../uboot/u-boot.imx"
So i have few questioned on
Thanks & Regards,
Hi Abhijeet ,
Could you please explain with detailed steps how did you flash images using debug UART serial port? On my Nano EVK board the USB-C appears to be the only option for serial download. I would like to use micro-B port to flash uboot and related files or boot it using this micro-B port. I built uuu in Visual Studio 2017, but could not find the way to redirected to the micro-B port.
please provide additional details:
1. had board passed ddr test ?
2. where were flashed images, emmc, nand or some other device ?
3. what bsp used, is it from nxp source.codeaurora.org/external/imx/linux-imx repository
linux-imx - i.MX Linux kernel or some other ?
for " write_dcd failed" error one can look at FAQ
Q. I see an error message that states "ERROR: DCD addr is out of valid range.", why is this and how do I resolve?
A. Sometimes, when using the register programming aid, there are registers writes that are not supported in the DCD range. Try looking for the following items and comment them out from the DDR initialization script:
wait = on setmem /16 0x020bc000 = 0x30 // disable watchdog (note the address for this may be different between i.MX6x devices)
Also this may be harwdare issue, suggest to attach jtag and try to read/write on registers. memory and
For support for non-nxp software may be suggested to proceed with help of