cancel
Showing results for 
Search instead for 
Did you mean: 

stm8s103f3 : Getting Tries exceeded with stlink ubuntu

SS.Sagar
Associate III

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.

1 REPLY 1
Cristian Gyorgy
Senior III

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?