boundarydevices / imx_usb_loader

USB & UART loader for i.MX5/6/7/8 series

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

imx_usb.exe compiled for Windows using minGW fails on WIndows 7 (Works on 8&10)

HED-mwoldt opened this issue · comments

I am working with the Variscite DART-6UL board and attempting to download files from an application in Windows. I loaded minGW application compiler on my PC and compiled the imx_usb.exe following the steps in the README.cmd file. The imx_usb.exe compiled and runs just fine on Windows 10 and Windows 8 but when I try to run it on Windows 7 I get an error when it tries to load and use the the second driver (vid=0525 pid=b4a4) in the bootloader.
Do you know if there is something different I have to do to build the imx_usb for Windows 7? Does it support Windows 7?

Below is the output when I attempt to download files:
C:\Users\Woldtm\AppData\Local\Temp>C:\Users\Public\LinuxDeviceDownloader\LinuxDe
viceDownloader_1.1.90\cygwin64\bin\bash --login -c "cd /usr/tmp/temp; ./hed_down
load.sh . DOWNLOAD"
mkstemp: No such file or directory
RELEASE_DIR = .
DOWNLOAD = 1
DOWNLOAD_DIR = ./download
REPARTITION = 0
SECURE_ERASE = 0
WIPE_DATA = 0
WIPE_PERSISTENT = 0
PERSISTENT_TAR =
BACKUP_PERSISTENT = 0
READ_FUSES = 0
WRITE_FUSES = 0
WRITE_HAB_DATA = 0
MAKE_EMMC_PSLC = 0
TOUCH_CALIBRATE = 0
TOUCH_VERIFY = 0
BOARD_TEST = 0
mkdir: created directory '/tmp/hed_download'
config file <C:/Users/Public/LinuxDeviceDownloader/LinuxDeviceDownloader_1.1.90/
cygwin64/tmp/hed_download/\imx_usb.conf>
vid=0x15a2 pid=0x0080 file_name=pm-04h.conf
-> vid=0x0525 pid=0xb4a4 file_name=pm-04h_spl.conf
config file <C:/Users/Public/LinuxDeviceDownloader/LinuxDeviceDownloader_1.1.90/
cygwin64/tmp/hed_download/\pm-04h.conf>
parse C:/Users/Public/LinuxDeviceDownloader/LinuxDeviceDownloader_1.1.90/cygwin6
4/tmp/hed_download/\pm-04h.conf
Trying to open device vid=0x15a2 pid=0x0080
Interface 0 claimed
HAB security state: development mode (0x56787856)
== work item
filename ./SPL-mfgtool
load_size 0 bytes
load_addr 0x83f00000
dcd 0
clear_dcd 0
plug 0
jump_mode 3
jump_addr 0x00000000
== end work item

loading binary file(./SPL-mfgtool) to 00908400, skip=0, fsize=fc00 type=aa

<<<64512, 64512 bytes>>>
succeeded (security 0x56787856, status 0x88888888)
jumping to 0x00908400
config file <C:/Users/Public/LinuxDeviceDownloader/LinuxDeviceDownloader_1.1.90/
cygwin64/tmp/hed_download/\pm-04h_spl.conf>
parse C:/Users/Public/LinuxDeviceDownloader/LinuxDeviceDownloader_1.1.90/cygwin6
4/tmp/hed_download/\pm-04h_spl.conf
Trying to open device vid=0x0525 pid=0xb4a4
claim interface failed

Waiting for module to boot and USB networking to initialize.
........

imx_usb.zip

This issue has been resolved. It was a timing issue with the PC and how fast the drivers were loading.