# cc6ul 1GB and imx\_usb

**URL:** <https://forums.digi.com/t/cc6ul-1gb-and-imx-usb/19156>\
**Category:** Linux\
**Tags:** usb, imx6, cc6\
**Created:** [February 15, 2018, 2:46pm UTC](https://forums.digi.com/t/cc6ul-1gb-and-imx-usb/19156 "2018-02-15T14:46:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sampo](https://avatars.discourse-cdn.com/v4/letter/s/59ef9b/32.png) [@Sampo](https://forums.digi.com/u/Sampo)\
**Post date:** [February 15, 2018, 2:46pm UTC](https://forums.digi.com/t/cc6ul-1gb-and-imx-usb/19156/1 "2018-02-15T14:46:39Z")

</div>

I’m having trouble downloading software to a cc6ul 1GB processor through the USB port.

I did my initial SW work with a cc6ulsbc with the 256MB version of the processor. With that, everything worked fine. I am using linux-dey version 2.2-r3.3.

Now I have a custom board with the 1GB processor. The connections are somewhat different comapred to the SBC, but both the USB terminal and the USB device connectors are identical. And the terminal works fine, but for soem reason I am unable to copy software to the processor.

Before powering on the board, I ground BOOT\_MODE1. The USB device is recognized correctly:  
[3314150.869378] usb 1-1: new high-speed USB device number 59 using ehci-pci  
[3314151.228434] usb 1-1: New USB device found, idVendor=15a2, idProduct=007d  
[3314151.228437] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0  
[3314151.228439] usb 1-1: Product: SE Blank 6UL  
[3314151.228440] usb 1-1: Manufacturer: Freescale SemiConductor Inc  
[3314151.400800] hid-generic 0003:15A2:007D.0009: hiddev0,hidraw1: USB HID v1.10 Device [Freescale SemiConductor Inc SE Blank 6UL] on usb-0000:02:03.0-1/input0

Then I try to copy u-boot to the processor with imx\_usb from the sdk, with conf files from etc/imx-loader.d/, but imx\_usb is unable to copy the image:  
sudo ./imx\_usb u-boot-ccimx6ulsbc1GB-2015.04-r0.imx  
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  
15a2:007d(mx6\_qsb) bConfigurationValue =1  
Interface 0 claimed  
HAB security state: development mode (0x56787856)  
== work item  
filename /home/digi/titanum/bitbake/tmp/deploy/images/ccimx6ulsbc/u-boot-ccimx6ulsbc1GB-2015.04-r0.imx  
load\_size 0 bytes  
load\_addr 0x00000000  
dcd 1  
clear\_dcd 0  
plug 1  
jump\_mode 2  
jump\_addr 0x00000000  
== end work item  
Setting boot\_data\_ptr to 0  
main dcd length 1e0  
sub dcd length 1dc  
write\_reg\_command err=-7, last\_trans=0  
write\_reg\_command err=-7, last\_trans=0  
write\_reg\_command err=-7, last\_trans=0  
write\_reg\_command err=-7, last\_trans=0  
write\_reg\_command err=-7, last\_trans=0  
write\_reg\_command err=-7, last\_trans=0  
write\_reg\_command err=-7, last\_trans=0  
!!perform\_dcd returned -4  
HAB security state: development mode (0x00000000)

Any ideas on what could be wrong?
