Contents: [Dobrica Pavlinušić's random unstructured stuff]
• Dobrica Pavlinušić's random unstructured stuff (STM8S003F3) 
• Dobrica Pavlinušić's random unstructured stuff (STM8S103F3) 
• Dobrica Pavlinušić's random unstructured stuff (SWIM programming) 

STM8S003F3

• STM8S003F3P6
• 3.3V
• LED on PD3
• http://www.cnx‑software.com/2015/04/13/how‑to‑program‑stm8s‑1‑board‑in‑linux/ 
dpavlin@x200:/rest/cvs/stm8flash$ git remote -v
origin  https://github.com/vdudouyt/stm8flash (fetch)
origin  https://github.com/vdudouyt/stm8flash (push)

dpavlin@x200:/rest/cvs$ git clone https://github.com/vdudouyt/sdcc-examples-stm8.git
dpavlin@x200:/rest/cvs$ cd sdcc-examples-stm8/
dpavlin@x200:/rest/cvs/sdcc-examples-stm8$ make
dpavlin@x200:/rest/cvs/sdcc-examples-stm8$ git diff
diff --git a/Makefile b/Makefile
index bec46da..e23d5e3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,6 +1,6 @@
 SDCC=sdcc
 SDLD=sdld
-OBJECTS=blinky.ihx uart.ihx sp_test.ihx
+OBJECTS=blinky.ihx uart.ihx
 
 .PHONY: all clean flash
 
dpavlin@x200:/rest/cvs/sdcc-examples-stm8$ make
sdcc -lstm8 -mstm8 --out-fmt-ihx   blinky.c
sdcc -lstm8 -mstm8 --out-fmt-ihx   uart.c

dpavlin@x200:/rest/cvs/stm8flash$ ./stm8flash -c stlinkv2 -p stm8s003 -w ../sdcc-examples-stm8/blinky.ihx 
Determine FLASH area
Writing Intel hex file 191 bytes at 0x8000... OK
Bytes written: 191

• http://stm8sdiscovery.nano‑age.co.uk/adventures‑in‑stm8‑assembler 
STM8S103F3
• STM8S103F3P6
• 3.3V
• LED on B5
SWIM programming
• http://www2.st.com/content/ccc/resource/technical/document/user_manual/ca/89/41/4e/72/31/49/f4/CD00173911.pdf/files/CD00173911.pdf/jcr:content/translations/en.CD00173911.pdf 
• https://github.com/cole3/STM8_SWIM 
• https://github.com/gicking/STM8_serial_flasher 
• https://github.com/gicking/stm8gal