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

STM32L0 discovery board, STLinkv2 not found #43

Open
rajesh0therascal opened this issue Mar 15, 2018 · 2 comments
Open

STM32L0 discovery board, STLinkv2 not found #43

rajesh0therascal opened this issue Mar 15, 2018 · 2 comments
Assignees
Labels

Comments

@rajesh0therascal
Copy link

rajesh0therascal commented Mar 15, 2018

I am getting this error when i try to connect my STM32L0 discovery board

Log:
Searching Device...
ST Link V2 / Nucleo not found or unable to access it.
Did you install the udev rules ?
USB error: -2

Using Ubuntu 16.04. installed using PPA. and this is first installation

After 1 hour: some changes in stlink.rules it started giving a different error

Searching Device...
ST Link V2 / Nucleo found!
Fetching version...
Changing mode to SWD...
Fetching mode...
Mode: Debug
Fetching status...
Status: Core Halted
Fetching MCU Info...
Device not found in database!
Disconnecting...
Disconnected.

Error log in terminal

6801 - Info: "Searching Device..."
6801 - Info: Cannot open device
6826 - Info: "ST Link V2 / Nucleo found!"
6826 - Info: "Fetching version..."
6826 - Info: "Changing mode to SWD..."
6927 - Info: "Fetching mode..."
6927 - Info: "Mode: Debug"
6927 - Info: "Fetching status..."
6929 - Info: "Status: Core Halted"
6929 - Info: "Fetching MCU Info..."
6929 - Info: CoreID: BC11477
7230 - Info: libusb_bulk_transfer Error reading: -7
7230 - Info: LIBUSB_ERROR_TIMEOUT
7530 - Info: libusb_bulk_transfer Error Writing: -7
7530 - Info: LIBUSB_ERROR_TIMEOUT
7530 - Error: In qint32 stlinkv2::sendCommand(const QByteArray&), at src/stlinkv2.cpp:671
7997 - Info: libusb_bulk_transfer Error reading: -7
7997 - Info: LIBUSB_ERROR_TIMEOUT
7997 - Info: CM0+ Searching at 40015800
7997 - Info: ChipID: 0x081
7997 - Error: Did not find chipID!
7997 - Info: "Device not found in database!"
7997 - Error: Device not found in database!
7997 - Info: "Disconnecting..."
7998 - Info: "Disconnected."

Pls help.

@fpoussin fpoussin changed the title STM23L0 discovery board, STLinkv2 not found STM32L0 discovery board, STLinkv2 not found Mar 26, 2018
@fpoussin
Copy link
Owner

Hi,

You need the chip id to add it to the devices.xml file.

@fpoussin fpoussin self-assigned this Mar 26, 2018
@jiapei100
Copy link

jiapei100 commented May 28, 2018

Same problem here. I'm using Nucleo-F767ZI . It seems Nucleo-F767ZI is NOT supported by QStlink2 yet?

35 Device descriptions loaded.
Searching Device...
ST Link V2 / Nucleo found!
Fetching version...
Fetching mode...
Mode: Debug
Changing mode to SWD...
Fetching mode...
Mode: Debug
Fetching status...
Status: Core Running
Fetching MCU Info...
Device not found in database!
Disconnecting...
Disconnected.

Cheers
Pei

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

No branches or pull requests

3 participants