cancel
Showing results for 
Search instead for 
Did you mean: 

How to solve this error? ===== DFU Interface ===== STM32_Programmer_CLI: symbol lookup error: STM32_Programmer_CLI: undefined symbol: libusb_get_port_number

KZura
Associate

I can't connect to my STM32MP157 evalaution board. I have installed required libraries as decribed in the tutorial: https://wiki.st.com/stm32mpu/wiki/STM32MP15_Discovery_kits_-_Starter_Package 5.1 Installing the STM32CubeProgrammer tool. However I get the following error:

===== DFU Interface  =====

STM32_Programmer_CLI: symbol lookup error: STM32_Programmer_CLI: undefined symbol: libusb_get_port_number

4 REPLIES 4
Olivier GALLIEN
ST Employee

Hi @KZura​ 

I suspect a problem with the USB/DFU driver.

Did you go through 5.2 Preparing the USB serial link for flashing also ?

Are you working with Windows or Linux host machine ?

Hope it help

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Hi OlivierG, thanks for your reply.

Yes I have went through 5.2 Preparing the USB serial link for flashing step.

I am using Linux 16.04 host machine.

What else could I provide to track this issue down?

Thanks!

Chris

Olivier GALLIEN
ST Employee

Can you share the full command you execute

Thx

Olivier

Olivier GALLIEN
In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Not the original poster, but I have the exact same issue.

Command is "STM32_Programmer_CLI -l usb"

Output is:

  -------------------------------------------------------------------

                       STM32CubeProgrammer v2.4.0                 

     -------------------------------------------------------------------

===== DFU Interface  =====

STM32_Programmer_CLI: symbol lookup error: STM32_Programmer_CLI: undefined symbol: libusb_get_port_number