Part Number: TDA2EXEVM
Tool/software: Linux
Dear Sirs:
We are now trying to use DFU to recover the firmware for the future mass production. However, the DFU is not working in either SPL nor U-Boot.
Please help us to figure out what is wrong in our procedure.
Both J6E and TDA2EX board are tested. The Processor SDK VISION 03_02_00_00 is used.
We ever tried follow the instructs on several
1.

and
2.

3.

In SPL U-Boot DFU mode:
And Only SW2[0..7] = 00001000 can make USB1 to be seen in a Linux Host. All other SW2 settings can not be seen on the Linux host.
When Linux host see the J6E or TDA2EXEVM, the VID/PID are correct. But in usbboot_stand_alone can not pass the SPL to the board because failure in find_usb_device.
When filter_usb_device inside find_usb_device, the check of USB_DT_ENDPOINT and USB_DT_ENDPOINT_SIZE is incorrect then fail. Even if we bypass this checking . The code will then fail in n = ioctl(fd, USBDEVFS_CLAIMINTERFACE, &ifc); inside the find_usb_device.
In normal U-Boot DFU mode:
We issue the command as in the document.
=> setenv dfu_alt_info ${dfu_alt_info_mmc}
=> printenv dfu_alt_info
dfu_alt_info=boot part 0 1;rootfs part 0 2;MLO fat 0 1;MLO.raw raw 0x100 0x100;1
=> dfu 0 mmc 0
=> <INTERRUPT>
=> dfu 1 mmc 0
And then we issue
$ sudo dfu-util -D MLO -a MLO
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available
or we issue:
$ sudo dfu-util -c1 -i0 -a9 -D MLO
dfu-util 0.8
Copyright 2005-2009 Weston Schmidt, Harald Welte and OpenMoko Inc.
Copyright 2010-2014 Tormod Volden and Stefan Schmidt
This program is Free Software and has ABSOLUTELY NO WARRANTY
Please report bugs to dfu-util@lists.gnumonks.org
dfu-util: Invalid DFU suffix signature
dfu-util: A valid DFU suffix will be required in a future dfu-util release!!!
dfu-util: No DFU capable USB device available
None of them are working because they can not see the USB in the host. And lsusb in the host see no TI USB in the host.
We always use USB1 connector in the EVM.
If anything we did it wrong, please let us know and we can go test it again.
Thank you very much.
Regards,
/ckhsu