AnsweredAssumed Answered

mcimx6q-sdb and imx_usb_loader.

Question asked by changyonglee on Mar 28, 2017
Latest reply on Mar 29, 2017 by changyonglee


When I image(u-boot) upgrade on mcimx6q-sdb. I use imx_usb_loader.

But I have problem. image load fail.
I think to The dcd value is incorrect from mx6_usb_work.conf.
Please check.


[lsusb info]
Bus 001 Device 016: ID 15a2:0054 Freescale Semiconductor, Inc. i.MX 6Dual/6Quad SystemOnChip in RecoveryMode
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 1.10
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x15a2 Freescale Semiconductor, Inc.
idProduct 0x0054 i.MX 6Dual/6Quad SystemOnChip in RecoveryMode
bcdDevice 0.01
iManufacturer 1
iProduct 2
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 4
bmAttributes 0xc0
Self Powered
MaxPower 10mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 5
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 1.10
bCountryCode 0 Not supported
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 76
Report Descriptors:
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0040 1x 64 bytes
bInterval 1

[imx_usb_loader error log]
config file <.//imx_usb.conf>
vid=0x066f pid=0x3780 file_name=mx23_usb_work.conf
vid=0x15a2 pid=0x004f file_name=mx28_usb_work.conf
vid=0x15a2 pid=0x0052 file_name=mx50_usb_work.conf
vid=0x15a2 pid=0x0054 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0061 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0063 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0071 file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x007d file_name=mx6_usb_work.conf
vid=0x15a2 pid=0x0076 file_name=mx7_usb_work.conf
vid=0x15a2 pid=0x0041 file_name=mx51_usb_work.conf
vid=0x15a2 pid=0x004e file_name=mx53_usb_work.conf
vid=0x15a2 pid=0x006a file_name=vybrid_usb_work.conf
vid=0x066f pid=0x37ff file_name=linux_gadget.conf
config file <.//mx6_usb_work.conf>
parse .//mx6_usb_work.conf
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename u-boot_dq.imx
load_size 0 bytes
load_addr 0x00000000
dcd 1
clear_dcd 0
plug 1
jump_mode 2
jump_addr 0x00000000
== end work item
loading DCD table @0x910000

<<<-192, 1024 bytes>>>
succeeded (status 0x128a8a12)

loading binary file(u-boot_dq.imx) to 177ff400, skip=0, fsize=6cc00 type=aa
out err=-7, last_trans=0 cnt=0x4000 max=0x400 transferSize=0x0 retry=0
out err=-7, last_trans=0 cnt=0x4000 max=0x200 transferSize=0x0 retry=1
out err=-7, last_trans=0 cnt=0x4000 max=0x100 transferSize=0x0 retry=2
out err=-7, last_trans=0 cnt=0x4000 max=0x80 transferSize=0x0 retry=3
out err=-7, last_trans=0 cnt=0x4000 max=0x40 transferSize=0x0 retry=4
out err=-7, last_trans=0 cnt=0x4000 max=0x20 transferSize=0x0 retry=5
out err=-7, last_trans=0 cnt=0x4000 max=0x10 transferSize=0x0 retry=6
out err=-7, last_trans=0 cnt=0x4000 max=0x8 transferSize=0x0 retry=7
out err=-7, last_trans=0 cnt=0x4000 max=0x10 transferSize=0x0 retry=8
out err=-7, last_trans=0 cnt=0x4000 max=0x8 transferSize=0x0 retry=9
out err=-7, last_trans=0 cnt=0x4000 max=0x10 transferSize=0x0 retry=10
Giving up
HAB security state: development mode (0x00000000)