Skip to content
This repository was archived by the owner on Mar 10, 2025. It is now read-only.

STM32L0 discovery board, STLinkv2 not found #43

@rajesh0therascal

Description

@rajesh0therascal

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.

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions