2024-10-18 12:40 AM
Hello,
I am somewhat new to the STM environment, but I started because I have a project where I need to implement CAN, and I happened to come across an STM8 discovery kit. This comes with an ST-Link integrated with an STM32, but I have tried to program it in several ways and I always get the message: 'ST-Link is not in DFU mode. Please Restart.' However, from what I’ve found, this is usually triggered by a button or a pin configuration set to High to enter DFU mode. Could anyone help me with this issue or provide some information on how I can update the firmware?
Thanks in advance.
2024-10-18 01:10 AM
Isn't the STM8 basically obsolete? Why start with that now?
The tool is trying to update the ST-LINK firmware, it needs to install drivers for the card in that mode, or have you unplug and replug the device to achieve that.
What version of windows? Win7 can take several minutes to locate and install drivers the first go around.
ST-LINK Utilities are old, the ST-LINK probably doesn't need an update.
2024-10-18 10:36 AM
You are trying to program STM32 MCU that is part of ST-LINK. You should program STM8 MCU and you do this with STVP that is part of STVD. You can also program it inside STVD IDE.