lm4tools icon indicating copy to clipboard operation
lm4tools copied to clipboard

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

Open dataq-instruments opened this issue 5 years ago • 4 comments

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!

dataq-instruments avatar Sep 25 '20 19:09 dataq-instruments

Maybe lack of permissions, can you run as root?

utzig avatar Sep 25 '20 19:09 utzig

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 avatar Sep 29 '20 17:09 dataq-instruments

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)?

dataq-instruments avatar Sep 29 '20 19:09 dataq-instruments

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.

utzig avatar Sep 30 '20 00:09 utzig