UUU Issues with i.MX8MQ SBC

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

UUU Issues with i.MX8MQ SBC

2,075 Views
PaulDeMetrotion
Senior Contributor I

I am attempting to use the UUU tool to access a custom i.MX8MQ board. I am running into a USB library error that I am struggling to solve.

Here is the simple sequence of UUU commands being attempted: 
    uuu_version 1.0.
    SDP: boot -f imx-boot-imx8mqpicoitx-sd.bin-flash_evk-quad
    CFG: FB: -vid 0x0525 -pid 0xB4A4
   FB: ucmd printenv

   

The system does execute the boot command because I see the appropriate console output.

I then get the following error:

   Wait for Known USB Device Appear...
   >Start Cmd:CFG: FB: -vid 0x0525 -pid 0xB4A4
   >Okay (0.001s)
   New USB Device Attached at 2:32
   2:32>Start Cmd:SDP: boot -f imx-boot-imx8mqpicoitx-sd.bin-flash_evk-quad
   6400%libusb: error [windows_transfer_callback] detected I/O error 1167: [1167] The device is not connected.
   libusb: error [hid_submit_bulk_transfer] HID transfer failed: [1167] The device is not connected.
   2:32>Okay (0.511s)
   New USB Device Attached at 2:32

I enabled the USB debug feature in the USB library and got more information:

   [ 0.687522] [0000212c] libusb: debug [sync_transfer_cb] actual_length=65
   [ 0.687607] [0000212c] libusb: debug [libusb_free_transfer] transfer 000001D1A62168D8
   [ 0.687697] [0000212c] libusb: debug [libusb_alloc_transfer] transfer 000001D1A62168D8
   [ 0.687784] [0000212c] libusb: debug [libusb_submit_transfer] transfer 000001D1A62168D8
   [ 0.689430] [0000212c] libusb: debug [usbi_add_pollfd] add fd 2 events 1
   [ 0.689536] [0000212c] libusb: debug [hid_submit_bulk_transfer] matched endpoint 81 with interface 0
   [ 0.689631] [0000212c] libusb: debug [hid_submit_bulk_transfer] reading 65 bytes (report ID: 0x00)
   [ 0.689755] [0000212c] libusb: debug [libusb_get_next_timeout] next timeout in 0.999700s
   [ 0.689859] [0000212c] libusb: debug [libusb_handle_events_timeout_completed] doing our own event handling
   [ 0.689951] [0000212c] libusb: debug [handle_events] poll fds modified, reallocating
   [ 0.690038] [0000212c] libusb: debug [handle_events] poll() 2 fds with timeout in 1000ms
   [ 0.768103] [000075c8] libusb: debug [libusb_get_device_descriptor]
   [ 0.768319] [000075c8] libusb: debug [libusb_get_device_descriptor] id vendor = 0x0bda id product = 0x0158
   [ 0.968999] [000075c8] libusb: debug [libusb_get_device_descriptor]
   [ 0.969241] [000075c8] libusb: debug [libusb_get_device_descriptor] id vendor = 0x2109 id product = 0x2812
   [ 1.128464] [0000212c] libusb: debug [handle_events] poll() returned 1
   [ 1.128659] [0000212c] libusb: debug [windows_handle_events] checking fd 2 with revents = 0001
   [ 1.128790] [0000212c] libusb: debug [usbi_remove_pollfd] remove fd 2
   [ 1.129000] [0000212c] libusb: debug [windows_transfer_callback] handling I/O completion with errcode 1167, size 0
   [ 1.129352] [0000212c] libusb: error [windows_transfer_callback] detected I/O error 1167: [1167] The device is not connected.
   [ 1.129873] [0000212c] libusb: debug [usbi_handle_transfer_completion] transfer 000001D1A62168D8 has callback 00007FFFEC88EDF0
   [ 1.130235] [0000212c] libusb: debug [sync_transfer_cb] actual_length=0
   [ 1.130421] [0000212c] libusb: debug [libusb_free_transfer] transfer 000001D1A62168D8
   [ 1.130655] [0000212c] libusb: debug [libusb_kernel_driver_active] interface 0
   [ 1.130854] [0000212c] libusb: debug [libusb_detach_kernel_driver] interface 0
   [ 1.131070] [0000212c] libusb: debug [libusb_claim_interface] interface 0
   [ 1.131277] [0000212c] libusb: debug [libusb_alloc_transfer] transfer 000001D1A6216E58
   [ 1.131464] [0000212c] libusb: debug [libusb_submit_transfer] transfer 000001D1A6216E58
   [ 1.131774] [0000212c] libusb: debug [usbi_add_pollfd] add fd 2 events 1
   [ 1.131970] [0000212c] libusb: debug [hid_submit_bulk_transfer] matched endpoint 81 with interface 0
   [ 1.132252] [0000212c] libusb: debug [hid_submit_bulk_transfer] reading 65 bytes (report ID: 0x00)
   [ 1.132477] [0000212c] libusb: error [hid_submit_bulk_transfer] HID transfer failed: [1167] The device is not connected.

Any insights into the failure would be appreciated.

0 Kudos
1 Reply

2,024 Views
igorpadykov
NXP Employee
NXP Employee

Hi Paul

for libusb one can look at uuu manual p.2 UUU.pdf

also may be useful:

Releases · NXPmicro/mfgtools · GitHub 

WIN7 User Guide · NXPmicro/mfgtools Wiki · GitHub 

https://boundarydevices.com/recovering-i-mx-platforms-using-uuu/ 

Boundary Devices |Latest Snapshot, Chan:7689470 |RSSing.com" 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos