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

MCU Info Device not found in database #26

Closed
tlamb96 opened this issue May 23, 2016 · 6 comments
Closed

MCU Info Device not found in database #26

tlamb96 opened this issue May 23, 2016 · 6 comments
Assignees
Labels

Comments

@tlamb96
Copy link

tlamb96 commented May 23, 2016

I'm using an STM32f4 Discovery board. When I try to flash the board, everything is fine until I reach the line:
Fetching MCU Info... Device not found in database! Disconnecting... Disconnected.
Any help would be great.

@fpoussin fpoussin self-assigned this May 25, 2016
@fpoussin
Copy link
Owner

Hi,

Can you provide some debug output?

Thanks.

@fpoussin fpoussin added the bug label May 25, 2016
@tlamb96 tlamb96 closed this as completed May 25, 2016
@tlamb96 tlamb96 reopened this May 25, 2016
@tlamb96
Copy link
Author

tlamb96 commented May 25, 2016

Sorry I didn't mean to close the issue. The output is:
Verbose level: 3
Version: 1.2.3
274 - Info: Could not open the devices.xml file. Using internal data.
276 - Info: Devices list loaded.
279 - Info: "32 Device descriptions loaded."
6282 - Info: "Searching Device..."
6309 - Info: "ST Link V2 / Nucleo found!"
6309 - Info: "Fetching version..."
6315 - Info: "Changing mode to SWD..."
6425 - Info: "Fetching mode..."
6428 - Info: "Mode: Debug"
6428 - Info: "Fetching status..."
6432 - Info: "Status: Core Running"
6432 - Info: "Fetching MCU Info..."
6435 - Info: CoreID: 000
6441 - Error: Did not find chipID!
6442 - Info: "Device not found in database!"
6442 - Error: Device not found in database!
6442 - Info: "Disconnecting..."
6446 - Info: "Disconnected."
Any help would be great. The longer debug found here: http://pastebin.com/gdp030x1

@fpoussin
Copy link
Owner

fpoussin commented May 25, 2016

Which OS are you running?
Are you sure the SWD jumpers are in place on the board?

#16

@tlamb96
Copy link
Author

tlamb96 commented May 26, 2016

Ubuntu 14.04 and both of the jumpers are on the connect to the STLink pins (CN3 I believe)

@tlamb96
Copy link
Author

tlamb96 commented Jun 7, 2016

My STM32F4 board was shipped with Read Out Protection to level 1 which disables any writing to the memory. As an STM32 novice, this took quite a lot of time to figure out but is now fixed.

@tlamb96 tlamb96 closed this as completed Jun 7, 2016
@fpoussin
Copy link
Owner

fpoussin commented Jun 7, 2016

Thanks for the info, I'll have a look at making some checks in the code from now on.

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

2 participants