Skip to main content
Arman Ilmak
Senior
June 1, 2019
Question

An online debugger for stm8s MCUs

Hey guys.I need to watch my variables online.On stm32 there was stm studio which I could watch them.

I use IAR as my compiler but for watching a variable I have to pause the debugger to see its value.

Whats your offer?

    This topic has been closed for replies.

    3 replies

    nestor
    Visitor II
    June 11, 2019

    IAR: view>live watch

    -- Nestor

    Philipp Krause
    Senior II
    June 16, 2019

    When using SDCC, GDB and OpenOCD, the following approach from STM32 should work:

    https://mcuoneclipse.com/2015/07/14/automatic-variable-expression-and-memory-display-with-gdb-and-eclipse/

    Sisto Zànier
    Senior
    July 16, 2019

    The STM-STUDIO-STM8 is the solution. (https://www.st.com/en/development-tools/stm-studio-stm8.html)

    I use it normally and with great satisfaction.

    The only limitation is that in your application, you cannot use the HALT or ACTIVE-HALT commands, but only WFE