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 for bulk devices broken?

agners opened this issue · comments

Hello,

I am working on cleaning up the code a bit. I came across the following strange statement:

if (p_id->mode == MODE_HID) if (type == FT_APP) {

It leads to the fact that jump command is not executed for bulk devices (MX51/MX53).

I think this creept in accidentially since in that stament there is another if which checks for HID, and since the jump command seemed to be sent unconditionally before:

166097f

Anybody uses imx_usb_loader with such a device recently?

Hm, what is exaclty the conclusion here? It works even without any command for mx51 (except download before, I suppose?).

The (reenabled) report 4 is helpful in error cases and correct IMHO...