Hi, I have small blue dev board with STM8S103F3P6 (from Aliexpress). I’ve found the examples from the link https://github.com/platformio/platform-ststm8/tree/develop/examples/native-blink and I’m trying to upload native-blink example. The build is successful, but I can’t upload the firmware…
I’m using STLink V2 programmator and this is my .ini file:
[env:stm8sblue]
platform = ststm8
board = stm8sblue
upload_protocol = stlinkv2
When I try to upload firmware I’m getting this error message:
Uploading .pio\build\stm8sblue\firmware.hex
Determine FLASH area
Due to its file extension (or lack thereof), “.pio\build\stm8sblue\firmware.hex” is considered as INTEL HEX format!
94 bytes at 0x8000... Tries exceeded
*** [upload] Error 4294967295
BTW where is button to insert code to the post disappeared?
To at least answer your last question
For your real problem - sorry no idea …
About the “how to post code” question:
Press [CTRL]
+[E]
on your keyboard or use the button shown below.
Haha, I know about that but as you can see, this icon disappeared
ctrl+e is not working too.
What is listed when you click on the gear-icon?
Yes, it’s hidden there, thanks.
Now, anyone knows the answer for the main question?
When I worked with STM8 chips, some of them needed their flash explicitly unlocked.
opened 06:46PM - 27 Jan 16 UTC
```
./stm8flash -c stlinkv2 -p stm8s103?3 -w ../sdcc-examples-stm8/blinky.ihx
``… `
results into
```
Determine FLASH area
Writing Intel hex file 194 bytes at 0x8000... Tries exceeded
```
There is stm8s103f3 controller on the "minimal system board". Can I help (e.g. providing of additional logs, testing) to make this toolset work with the controller mentioned?
Also, is there any native Linux way to flash stm8 as a temporary solution?
Hardware is similar to the listed in this [article](http://technologyrealm.blogspot.in/2015/07/getting-started-with-stm8-development.html)