Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imx_usb for bulk devices broken? #70

Open
agners opened this issue Feb 9, 2018 · 2 comments
Open

imx_usb for bulk devices broken? #70

agners opened this issue Feb 9, 2018 · 2 comments

Comments

@agners
Copy link

agners commented Feb 9, 2018

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?

@tkisky
Copy link
Contributor

tkisky commented Feb 9, 2018 via email

@agners
Copy link
Author

agners commented Feb 10, 2018

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants