Skip to main content
Visitor II
May 18, 2019
Question

stm8s103f3 : Getting Tries exceeded with stlink ubuntu

  • May 18, 2019
  • 1 reply
  • 1373 views

Hi

I am using stm8s103 controller and stlink programmer on Ubuntu.

I have configured the system with SDCC for STM8S controller.

I am getting following error while writing binary in flash.

Following is the error i am getting,

Determine FLASH area
Due to its file extension (or lack thereof), "blink.ihx" is considered as INTEL HEX format!
245 bytes at 0x8000... Tries exceeded

Looks like programmer is not able to flash...

any help will be appreciated.

    This topic has been closed for replies.

    1 reply

    Visitor II
    May 19, 2019

    You get this error message, usually, when the SWIM connection is not functional.

    Please check your SWIM connection and that the MCU in powered and functional (Reset & SWIM pins!).

    Do you use the standalone StlinkV2 programmer or some development board with integrated Stlink interface?