Skip to main content
Visitor II
April 2, 2020
Question

"Failed to set configuration with MCU name STM8S003F3: SWIM PROG error [6]: Error getting prog status"

  • April 2, 2020
  • 2 replies
  • 1664 views

I'm using IAR with a ST-link and having problems getting this code to flash. What does this error mean and how do I fix it?

    This topic has been closed for replies.

    2 replies

    Visitor II
    April 6, 2020

    I don't know, but:

    To check if this is an issue with yourhardware vs. your software configuration, you could check if it works with different software, e.g. stm8flash (it can write Intel hex files onto the STM8S003F3, works for me with Intel Hex from IAR; SDCC, Cosmic, Raisonance).

    Visitor II
    April 9, 2020

    Also check your programming connector is short. I had something similar and it worked with a shorter lead.