2020-04-21 02:25 PM
IDE's:
1. IAR - I succeed complying the project but when trying debugging it (with SWIM + ST-LINK2), I get the error message: "Failed to set configuration with MCU name STM8L051F3: SWIM error [30006]: Comm init error: chip does not answer."
In the Targets list there is no STM8L050J3 MCU so I chose the most similar MCU.
When I replace the STM8L051F3 MCU as the target with "STM8 - Unspecified" I'm getting the same error message when trying to debug except for the MCU name, (I get STM8S208MB instead of STM8L051F3 although I chose Unspecified MCU).
What seems the be the problem/solution ?
2. STVD (Toolset: STM8 Cosmic) - again, I succeed complying the project and failing debugging. I'm getting the error message:
-> Emulator reset (usb://usb)...
** Connection error (usb://usb): swim error [30006]: comm init error: chip does not answer
-> Failed to connect target.
Starting debug session...
-> Emulator reset (usb://usb)...