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

Unable to find any ICDI devices (on beaglebone running debian 10) #31

Open
dataq-instruments opened this issue Sep 25, 2020 · 4 comments

Comments

@dataq-instruments
Copy link

dataq-instruments commented Sep 25, 2020

I am running debian 10, and had lm4flash installed, along with libusb

When I list all USB devices, it indicates TiVa is detected in Device 012, and ready to receive new flash

debian@beaglebone:~/monoApp$ lsusb
Bus 001 Device 011: ID 1cbe:00ff Luminary Micro Inc. Stellaris ROM DFU Bootloader
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

When I run lm4flash, I got this

debian@beaglebone:~/monoApp$ lm4flash -v 4208.bin
Unable to open USB device: LIBUSB_ERROR_ACCESS
Unable to find any ICDI devices

This first error line may not appear if i experiment different VID/PID (lm4flash will be rebuilt to match VID/PID)

Any pointer? Thanks!

@utzig
Copy link
Owner

utzig commented Sep 25, 2020

Maybe lack of permissions, can you run as root?

@dataq-instruments
Copy link
Author

dataq-instruments commented Sep 29, 2020

Thanks for your reply!

I also try sudo, similar result.

Sorry, I didn't see your response, so I modified the original question to add more info. I also tried other VID/PID, and rebuilt the app by (make release), and the error msg is similar:

@dataq-instruments
Copy link
Author

After some reading, I think my approach may be wrong, your app may not talk to TiVa microprocessor directly, only via the launchpad, that's why the VID/PID was default to 1CBE:00FD. Do you have one that can write to TiVa directly (1CBE:FF by default)?

@utzig
Copy link
Owner

utzig commented Sep 30, 2020

After some reading, I think my approach may be wrong, your app may not talk to TiVa microprocessor directly, only via the launchpad, that's why the VID/PID was default to 1CBE:00FD. Do you have one that can write to TiVa directly (1CBE:FF by default)?

Ah, I see, in that case lm4flash won't work but I believe you can use any DFU app to upload; check dfu-util.

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