Skip to main content
Visitor II
December 21, 2013
Question

STM8/128 demo fw broken (UARTs)

  • December 21, 2013
  • 4 replies
  • 722 views
Posted on December 21, 2013 at 16:23

The STM8/128-EVAL demo firmware provided by ST is broken:

It does not correctly enable the output pins for the TX lines. Thus you will never see anything on the USARTs in the adc demos that are supposed to use them.

Philipp

P.S.: I've put a simple, working USART demo for the STM8/128-EVAL at

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

it repeatedly outputs ''Hello world!'' at 1200 baud, 1 stop bit.

    This topic has been closed for replies.

    4 replies

    Visitor II
    December 21, 2013
    Posted on December 21, 2013 at 23:38

    I replaced the demo by one for 9600 baud.

    Visitor II
    October 26, 2014
    Posted on October 26, 2014 at 17:22

    Based on the demo I wrote a short tutorial on serial I/O using sdcc on the STM8/128-EVAL:

    http://www.colecovision.eu/stm8/128-EVAL%20Serial.shtml

    Philipp

    Visitor II
    October 27, 2014
    Posted on October 27, 2014 at 08:47

    I noticed a little problem.

    These html lines:

    #include 

    <stdint.h>

    #include 

    <stdio.h>

    are shown as empty '#include' in the browser.

    Visitor II
    October 27, 2014
    Posted on October 27, 2014 at 09:59

    Thanks. It is fixed now (in all three tutorials that were affected).

    Philipp