cancel
Showing results for 
Search instead for 
Did you mean: 

Tutorial for stm8 development using free tools (sdcc)

Philipp Krause
Senior II
Posted on March 28, 2014 at 14:51

There now is a complete free toolchain for stm8 development (in particular we have an sdcc port for stm8 and we have stm8flash). I wrote a short tutorial on how to get started with stm8 development using free tools on the STM8/128-EVAL board. It can be found here:

http://www.colecovision.eu/stm8/tutorial0.html

Philipp

P.S.: sdcc 3.4.0 is not released yet, but you can use sdcc 3.4.0 rc2.

#gdb7 #stm8-sdcc-linux-minikit-2.0
7 REPLIES 7
os_kopernika
Associate II
Posted on April 09, 2014 at 20:00

Hi.

Did you manage to overcome this debugging problem?

Is it possible to gdb debug the sdcc port?

There were numerous requests in here asking for gdb7 sources. The links provided no longer work.

Philipp Krause
Senior II
Posted on April 12, 2014 at 10:43

Which debugging problem?

terry2
Associate II
Posted on June 30, 2014 at 00:04

Very fine work Krause!

I picked up a bunch of the so-called STM8 Minimum Development systems from eBay on impulse. They're inexpensive ~$2-3 and I was originally under the impression that the USB connector was how they are programmed. I was quickly

________________

Attachments :

stm8_minikit_v2_ebay.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006HzNQ&d=%2Fa%2F0X0000000bKi%2FZXiHGktUqpFhuA1185bAm2vovXqQx..z_1oNcHFQKLQ&asPdf=false
terry2
Associate II
Posted on June 30, 2014 at 00:05

an incomplete message, my apologies

terry2
Associate II
Posted on June 30, 2014 at 00:20

Hello Krause,

was making the comment that your work on SDCC for the STM8 along with your concise tutorial was extremely beneficial to me. I had picked up a bunch of these cheap so-called STM8 Minimum Development kits off of eBay for a couple of bucks each. I originally thought that the USB connector was for programming, but it's simply a way to get power to the board, no USB connectivity whatsoever.

The board is an STM8S003F3P6 processor, and is my first foray into STM microcontrollers. As a Linux-ish person, I was glad to find your work on the SDCC and the reference to the stm8flash utility for linux worked great.

I dabble in PIC micros mostly, with a smattering of Arduino and MSP4 I'm pretty mediocre in this stuff but it's fun to finally get the LED's to blink.

I gather from the lack of 'STM8 for dummies' references that this is a fairly professional and concise device, and reading the dense 100 pages for the STM8S003 processor shows a bewildering list of options and capabilities.

As I muddle through this processor I am continually grateful for the dedication of individuals like yourself who've assisted in making these abstract little devices somewhat more tangible to the hobbyist.

As end-users of some sophisticated tools, we sometimes assume that someone will always rise to the challenge of developing ways to access technology. Thank you for your efforts.

Sincerely

Terry

________________

Attachments :

stm8_minikit_v2_ebay.jpg : https://st--c.eu10.content.force.com/sfc/dist/version/download/?oid=00Db0000000YtG6&ids=0680X000006Htiu&d=%2Fa%2F0X0000000aWB%2F19.T6ymRsTCLfnwmrJI5iTOmJ7_DGxag6yaow9zub98&asPdf=false
sue_manson
Associate II
Posted on January 25, 2016 at 21:43

Your link,

http://www.colecovision.eu/stm8/tutorial0.html

, is broken.  Has the tutorial been moved or updated?

Thanks!

Philipp Krause
Senior II
Posted on January 28, 2016 at 14:49

The tutorial has been moved and updated and more tutorials have been written. At

http://www.colecovision.eu/stm8/

There are links to all the tutorials for STM8 development with free tools I wrote.

Philipp