Skip to main content
KZura
Associate
September 19, 2019
Question

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

  • September 19, 2019
  • 2 replies
  • 1905 views

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

This topic has been closed for replies.

2 replies

Olivier GALLIEN
Technical Moderator
October 1, 2019

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.
KZura
KZuraAuthor
Associate
October 1, 2019

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
Technical Moderator
October 1, 2019

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.
CGibe.1
Visitor II
May 18, 2020

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