Home/Support/Support Forum/cc6ul 1GB and imx_usb
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

cc6ul 1GB and imx_usb

0 votes
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?
asked Feb 15, 2018 in Linux by Sampo New to the Community (0 points)

Please log in or register to answer this question.

...