Serial Download using USB micro AB connectors on iMX8ML (iMX8MPlus)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Serial Download using USB micro AB connectors on iMX8ML (iMX8MPlus)

870 Views
swapnilturambekar
Contributor I

Hi 

I am trying to flash iMX8ML processor (using imx8mp-lpddr4-evk.conf file) in custom board. Is my configuration file correct to flash iMX8ML processor? In the custom board I am using Micro AB USB connector. We are trying to flash using usb1 port. but after bootloader the flashing process stucked. 

What changes I have to made to flash using micro AB USB connector.? Please suggest. I have attached the log for the same. can someone please guide here to flash the board.

0 Kudos
2 Replies

830 Views
BiyongSUN
NXP Employee
NXP Employee

It is very clear debug log information the custom board has no typeC chip different from the i.MX8MP evk.

The NXP bsp release is design for the i.MX8MP evk board, which has typeC chip. 

Please remove the typeC configuration in uboot configuration file. 

if the custom board has no usb id pin as otg, you can use the dr_mode with "peripheral" in dts.

And finished the necessary modification according to the custom board hardware design. 

 

 

DRAM: 6 GiB
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port2 init failed, err=-19
tcpc_init: Can't find device id=0x50
setup_typec: tcpc port1 init failed, err=-19
MMC: FSL_SDHC: 1, FSL_SDHC: 2

 

Tags (1)

842 Views
Yuri
NXP Employee
NXP Employee

@swapnilturambekar 
Hello,

    i.MX boot ROM in (USB) serial downloader mode configures
i.MX USB port as a HID devices. USB3 (/ C) is not supported at this
stage. Under UUU, i.MX boot ROM is used only to download u-boot.imx
via HID device, then the following configuring is a prerogative of
U-boot. Customers can adapt (UUU) U-boot as needed.

Also it is possible to use TFTP under U-boot

Regards,
Yuri.

0 Kudos