Please help me, I have been trying to download the program into the microcontroller for 3 days …
I use CubeMX in combination with Atollic TrueStudio. A configuration is created in CubeMX, code is generated, then I open the project in TrueStudio, assemble the program – there are no errors.
Then I connect the stm32f100rb board, press Debug: the red LED starts flashing – as I understand it, this is the connection indicator…But when uploading to the board, it gives an error (see picture 1).
enter image description here
Here is the error itself in text:
Debugger connected
The detected ST-Link firmware version does not support the DAP read command
STM32CubeProgrammer v1.3.0
Log output file: C:UsersworkAppDataLocalTempSTM32CubeProgrammer_a08900.log
Error: ST-LINK V1 not supported
Error: ST-LINK v1 not supported.
Encountered Error when opening C:Program Files (x86)AtollicTrueSTUDIO for STM32 9.3.0ServersSTM32CubeProgrammerbinSTM32_Programmer_CLI.exe
The detected ST-Link firmware version does not support the DAP read command
Error in STM32CubeProgrammer
Debugger connection lost.
Shutting down…
The message in the picture says to change the debug settings. I go to debug settings: there is an opportunity to scan the board and check my driver (see picture 2): I do it. I click debug again and another error appears (see picture 3), and the indicator on the board does not blink anymore.
enter image description here
enter image description here
**Text error:
STMicroelectronics ST-LINK GDB server. Version 5.1.0
Copyright (c) 2018, STMicroelectronics. All rights reserved.
Starting server with the following options:
Persistent Mode : Disabled
Logging Level : 1
Listen Port Number : 61234
Status Refresh Delay : 15s
Verbose Mode : Disabled
SWD Debug : Enabled
Error in initializing ST-LINK device.
Reason: ST-LINK: ST-Link/V1_on_D not found.
**
The STM32 ST-LINK UTILITY was connected, the red LED is also flashing.
What am I doing wrong? I’m tired and already hysterical… Thanks!
I tried to update the driver in the STM32 UTILITY, it doesn’t seem to give any errors. It is displayed in the device manager as a disk device: I click update driver – it says that everything you need is already there…
Vika Kunysheva is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.