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

STM32F207 - Error "Device not found in database" but present #48

Open
User3546 opened this issue Oct 23, 2018 · 0 comments
Open

STM32F207 - Error "Device not found in database" but present #48

User3546 opened this issue Oct 23, 2018 · 0 comments
Labels

Comments

@User3546
Copy link

User3546 commented Oct 23, 2018

With qstlink2, after clicking on 'Connect', i get:

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

The device is not found in the database. But i work on a STM32F207, and in the /usr/share/qstlink2/devices.xml, this device is present:

     <device type="STM32F2xx" coretype="CM3">
      <core_id>0x2ba01477</core_id>
      <chip_id>0x411</chip_id>
      <flash_size_reg>0x1FFF7A22</flash_size_reg>
      <flash_int_reg>0x40023c00</flash_int_reg>
      <buffer_size>0x8000</buffer_size>
      <loader>loader_f2.bin</loader>
     </device>

In the terminal, i get more information:

user@user-VirtualBox:~$ qstlink2 
Verbose level: 3
Version: 1.2.3
174 - Info: libpng warning: iCCP: known incorrect sRGB profile
188 - Info: Devices list loaded.
200 - Info: "32 Device descriptions loaded."
3975 - Info: "Searching Device..."
3975 - Info: Cannot open device
4003 - Info: "ST Link V2 / Nucleo found!"
4003 - Info: "Fetching version..."
4010 - Info: "Changing mode to SWD..."
4123 - Info: "Fetching mode..."
4138 - Info: "Mode: Debug"
4138 - Info: "Fetching status..."
4144 - Info: "Status: Unknown"
4144 - Info: "Fetching MCU Info..."
4150 - Info: CoreID: 2BA01477
4162 - Info: CM3/4 Searching at E0042000
4162 - Info: ChipID: 0x005
4162 - Error: Did not find chipID!
4162 - Info: "Device not found in database!"
4162 - Error: Device not found in database!
4162 - Info: "Disconnecting..."
4168 - Info: "Disconnected."

I remark that the chip_id does not correspond to the one in the devices.xml file. Should i change it? Is 0x411 an incorrect one?

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